:root {
  --bg: #f4efe7;
  --bg-strong: #ede7de;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-muted: #f8f6f1;
  --hero-surface: rgba(255, 255, 255, 0.08);
  --hero-surface-strong: rgba(255, 255, 255, 0.14);
  --text: #18222d;
  --text-soft: #62707c;
  --text-inverse: #f5fbff;
  --text-inverse-soft: rgba(236, 245, 249, 0.76);
  --line: rgba(24, 34, 45, 0.1);
  --line-strong: rgba(24, 34, 45, 0.16);
  --line-inverse: rgba(255, 255, 255, 0.12);
  --primary: #1d7c86;
  --primary-strong: #0d495d;
  --accent: #37d3c2;
  --hero-start: #06263f;
  --hero-end: #0d5d69;
  --shadow-xl: 0 34px 72px rgba(8, 28, 40, 0.14);
  --shadow-lg: 0 22px 48px rgba(12, 30, 42, 0.12);
  --shadow-md: 0 16px 32px rgba(18, 32, 40, 0.08);
  --radius-2xl: 38px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(29, 124, 134, 0.08), transparent 18%),
    radial-gradient(circle at 86% 6%, rgba(13, 73, 93, 0.08), transparent 18%),
    linear-gradient(180deg, #f7f3ec 0%, #f4efe7 48%, #f1ebe2 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.backdrop-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
}

.orb-a {
  top: 110px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(55, 211, 194, 0.18);
}

.orb-b {
  right: -90px;
  top: 260px;
  width: 360px;
  height: 360px;
  background: rgba(29, 124, 134, 0.12);
}

.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 34, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 34, 45, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 84%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 32px rgba(76, 91, 109, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(6, 38, 63, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

main {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 44px;
  background:
    radial-gradient(circle at top right, rgba(55, 211, 194, 0.16), transparent 24%),
    linear-gradient(135deg, var(--hero-start) 0%, #083652 48%, var(--hero-end) 100%);
  box-shadow: var(--shadow-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #baf8eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading .eyebrow,
.apk-copy .eyebrow,
.cta-copy .eyebrow {
  border-color: rgba(24, 34, 45, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
}

.hero-copy h1,
.section-heading h2,
.apk-copy h2,
.cta-copy h2 {
  margin: 18px 0 16px;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 11.2ch;
  color: var(--text-inverse);
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
}

.hero-copy {
  min-width: 0;
}

.hero-text,
.section-heading p,
.apk-copy p,
.cta-copy p {
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 56ch;
  color: var(--text-inverse-soft);
}

.section-heading p,
.apk-copy p,
.cta-copy p,
.hero-points span,
.trust-item span,
.showcase-card p,
.showcase-card li,
.screen-card p,
.ops-card p,
.apk-list li,
.summary-item span,
.apk-badge span,
.site-footer {
  color: var(--text-soft);
}

.hero-actions,
.apk-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 73, 93, 0.26);
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.hero-section .secondary-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-points div {
  padding: 18px;
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius-lg);
  background: var(--hero-surface);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.hero-points strong,
.trust-item strong,
.showcase-card strong,
.showcase-card h3,
.screen-card h3,
.ops-card h3,
.summary-item strong,
.apk-badge strong {
  display: block;
  margin-bottom: 8px;
}

.hero-points strong,
.summary-item strong,
.visual-topline,
.metric strong {
  color: var(--text-inverse);
}

.hero-points span,
.summary-item span {
  color: var(--text-inverse-soft);
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.visual-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-chip.live {
  background: rgba(186, 248, 235, 0.12);
  color: #c8fff4;
}

.status-chip.soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse-soft);
}

.hero-collage {
  position: relative;
  min-height: 720px;
}

.device-shot,
.story-screen,
.inline-screen,
.screen-preview {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, #e8edf1 0%, #d8e2ea 100%);
  box-shadow: var(--shadow-lg);
}

.device-shot::before,
.story-screen::before,
.inline-screen::before,
.screen-preview::before {
  content: "";
  position: absolute;
  inset: 10px 50% auto 50%;
  width: 26%;
  min-width: 72px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(17, 30, 43, 0.22);
  z-index: 1;
}

.device-shot img,
.story-screen img,
.inline-screen img,
.gallery-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device-shot {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.shot-primary {
  top: 0;
  left: 4%;
  width: 58%;
  aspect-ratio: 1080 / 1686;
  transform: rotate(-6deg);
}

.shot-secondary {
  top: 10%;
  right: 0;
  width: 38%;
  aspect-ratio: 1080 / 1686;
}

.shot-tertiary {
  right: 16%;
  bottom: 0;
  width: 34%;
  aspect-ratio: 1080 / 1686;
  transform: rotate(7deg);
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.summary-item {
  padding: 18px 20px;
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius-lg);
  background: var(--hero-surface);
}

.trust-strip,
.showcase-grid,
.screen-gallery,
.ops-grid {
  display: grid;
  gap: 18px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item,
.showcase-card,
.screen-card,
.ops-card,
.apk-card,
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.trust-item {
  padding: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.apk-copy h2,
.cta-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading.compact {
  margin-bottom: 22px;
}

.showcase-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
}

.showcase-card {
  padding: 24px;
}

.card-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.story-copy ul,
.apk-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.story-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-screen,
.inline-screen {
  aspect-ratio: 1080 / 1686;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inline-screen {
  border: 1px solid var(--line);
}

.screen-gallery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.screen-card {
  padding: 18px;
}

.screen-preview {
  height: 420px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.image-preview {
  background: linear-gradient(180deg, #f3f6f9 0%, #dce7ed 100%);
}

.gallery-shot {
  object-position: top center;
}

.screen-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.screen-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
}

.apk-card,
.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.apk-side {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(248, 246, 241, 0.78);
}

.apk-badge {
  display: flex;
  align-items: center;
  gap: 18px;
}

.apk-badge img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(6, 38, 63, 0.12));
}

.apk-badge strong {
  font-size: 1.16rem;
}

.apk-badge span,
.apk-list li {
  line-height: 1.65;
}

.apk-list li + li {
  margin-top: 10px;
}

.ops-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-card {
  padding: 24px;
}

.stack-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-wrap span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.cta-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
  margin-top: 28px;
  padding-top: 12px;
  font-size: 0.92rem;
}

@media (max-width: 1320px) {
  .screen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-section {
    gap: 32px;
    padding: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 4vw, 4.1rem);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .feature-story {
    grid-template-columns: 1fr;
  }

  .screen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero-section,
  .apk-card,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 620px;
    max-width: 620px;
    margin: 0 auto;
  }

  .hero-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  main {
    gap: 56px;
  }

  .trust-strip,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .site-header.open .site-nav {
    display: flex;
  }

  .site-header.open .site-nav a:hover {
    background: rgba(13, 73, 93, 0.06);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max));
    padding-top: 12px;
  }

  .hero-section,
  .apk-card,
  .cta-card,
  .trust-item,
  .showcase-card,
  .screen-card,
  .ops-card {
    border-radius: 28px;
  }

  .hero-section {
    padding: 28px 20px;
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-text,
  .section-heading p,
  .apk-copy p,
  .cta-copy p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-collage {
    min-height: 480px;
  }

  .shot-primary {
    left: 0;
    width: 62%;
  }

  .shot-secondary {
    width: 40%;
  }

  .shot-tertiary {
    right: 10%;
    width: 36%;
  }

  .story-screens,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-preview {
    height: 520px;
  }

  .ops-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .apk-actions,
  .cta-actions {
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.94rem;
  }

  .hero-collage {
    min-height: 400px;
  }

  .shot-primary {
    width: 66%;
    transform: rotate(-4deg);
  }

  .shot-secondary {
    top: 12%;
    width: 42%;
  }

  .shot-tertiary {
    right: 6%;
    width: 40%;
    transform: rotate(5deg);
  }

  .screen-preview {
    height: 460px;
  }

  .apk-side {
    padding: 20px;
  }

  .apk-badge {
    align-items: flex-start;
  }
}
