:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #53677c;
  --soft: #e9f1f7;
  --sky: #f3f7fc;
  --paper: #ffffff;
  --accent: #2f6f8f;
  --accent-dark: #20536e;
  --warm: #f3ba62;
  --line: rgba(23, 33, 43, 0.12);
  --shadow: 0 24px 70px rgba(23, 49, 67, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shell: min(1160px, calc(100vw - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sky);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 247, 252, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(23, 49, 67, 0.06);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 11px; box-shadow: 0 7px 18px rgba(47, 111, 143, 0.18); }

.primary-nav { display: flex; align-items: center; gap: 6px; }

.primary-nav > a,
.language-menu summary {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"],
.language-menu summary:hover { color: var(--ink); background: rgba(255, 255, 255, 0.72); }

.language-menu { position: relative; }
.language-menu summary { list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: " ↓"; font-size: 0.75em; }

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 154px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.language-options a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
}

.language-options a:hover,
.language-options a[aria-current="true"] { color: var(--ink); background: var(--soft); }

.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  left: 54%;
  top: -380px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 55%, rgba(243, 186, 98, 0.34), rgba(107, 174, 205, 0.2) 45%, transparent 68%);
  pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 70px; align-items: center; }

.eyebrow {
  margin: 0 0 17px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
}

.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 10px 24px rgba(23, 33, 43, 0.18); }
.button-secondary { border-color: var(--line); background: var(--paper); }
.button-link { padding-inline: 4px; color: var(--accent-dark); }

.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 0.86rem; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 900; }

.device-stage { min-height: 610px; position: relative; display: grid; place-items: center; }
.device-halo {
  position: absolute;
  inset: 6% 0 4%;
  border-radius: 48% 52% 43% 57%;
  background: linear-gradient(145deg, rgba(106, 171, 200, 0.48), rgba(255, 255, 255, 0.8) 56%, rgba(243, 186, 98, 0.37));
  filter: saturate(0.9);
}

.device {
  position: absolute;
  overflow: hidden;
  border: 8px solid #17212b;
  border-radius: 38px;
  background: #17212b;
  box-shadow: 0 36px 76px rgba(23, 49, 67, 0.27);
}

.device img { width: 100%; height: 100%; object-fit: cover; }
.device-ios { width: min(284px, 48vw); aspect-ratio: 1320 / 2868; right: 14%; top: 2%; transform: rotate(2.7deg); z-index: 2; }
.device-android { width: min(224px, 40vw); aspect-ratio: 1080 / 1920; left: 6%; bottom: 1%; transform: rotate(-5deg); z-index: 3; border-radius: 29px; border-width: 7px; }
.proof-chip { position: absolute; z-index: 4; right: 0; bottom: 8%; max-width: 220px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: 0 16px 38px rgba(23,49,67,.14); color: var(--muted); font-size: .82rem; font-weight: 680; backdrop-filter: blur(12px); }

.section { padding: 96px 0; }
.section-white { background: var(--paper); }
.section-dark { color: white; background: var(--ink); }

.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.05em; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 248px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(155deg, #fff, #f7fafc); }
.feature-number { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--accent-dark); background: var(--soft); font-size: .75rem; font-weight: 850; }
.feature-card h3 { margin: 36px 0 12px; font-size: 1.24rem; line-height: 1.16; letter-spacing: -0.025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.split-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.split-card { padding: 38px; border-radius: var(--radius-lg); background: var(--paper); }
.split-card:nth-child(2) { background: linear-gradient(145deg, #e6f2f7, #f5ede2); }
.split-card .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--accent); font-size: 1.3rem; }
.split-card h2 { margin: 34px 0 13px; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.05; letter-spacing: -0.04em; }
.split-card p { margin: 0; color: var(--muted); }
.split-card .button { margin-top: 20px; }

.final-cta { padding: 94px 0; text-align: center; }
.final-cta h2 { max-width: 760px; margin: 0 auto; font-size: clamp(2.4rem, 5.3vw, 4.8rem); line-height: 1; letter-spacing: -0.055em; }
.final-cta p { max-width: 600px; margin: 21px auto 0; color: #b7c7d6; font-size: 1.07rem; }
.final-cta .store-actions { justify-content: center; }
.final-cta .button-primary { color: var(--ink); background: white; }
.final-cta .button-secondary { color: white; border-color: rgba(255,255,255,.24); background: transparent; }

.page-hero { padding: 84px 0 58px; }
.page-hero h1 { max-width: 910px; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-hero .lead { max-width: 760px; margin-top: 25px; color: var(--muted); font-size: 1.16rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.content-main { display: grid; gap: 46px; }
.content-section { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }
.content-section h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -0.035em; }
.content-section p { color: var(--muted); }
.content-section ul, .content-section ol { display: grid; gap: 13px; padding-left: 23px; color: var(--muted); }
.content-section li::marker { color: var(--accent); font-weight: 800; }
.quote { padding: 25px; border-left: 4px solid var(--warm); border-radius: 0 18px 18px 0; background: white; font-size: 1.08rem; }

.aside-card { position: sticky; top: 106px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 18px 45px rgba(23, 49, 67, 0.07); }
.aside-card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.aside-card p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.aside-card .button { width: 100%; margin-top: 8px; }

.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.asset-preview { overflow: hidden; height: 190px; display: grid; place-items: center; padding: 18px; background: var(--soft); }
.asset-preview img { max-height: 100%; width: auto; border-radius: 12px; }
.asset-label { position: relative; z-index: 1; display: block; min-height: 60px; padding: 14px; background: white; font-size: .85rem; font-weight: 760; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card { display: flex; min-height: 320px; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(150deg, #fff, #f4f8fb); }
.guide-card h2 { margin: 13px 0 16px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
.guide-card > p:not(.guide-kicker, .guide-status) { margin: 0; color: var(--muted); }
.guide-card .button { align-self: flex-start; margin-top: auto; }
.guide-kicker { margin: 0; color: var(--accent-dark); font-size: .78rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.guide-status { margin: 18px 0 0; padding: 10px 12px; border: 1px solid rgba(243, 186, 98, .55); border-radius: 12px; color: #6b4a16; background: rgba(255, 244, 224, .82); font-size: .84rem; font-weight: 680; }

.site-footer { padding: 50px 0; border-top: 1px solid var(--line); background: #ebf2f7; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 64px; align-items: start; }
.footer-brand { margin-bottom: 13px; }
.site-footer p { max-width: 560px; margin: 0; color: var(--muted); font-size: .86rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }
.footer-nav a { color: var(--muted); font-size: .87rem; font-weight: 650; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 760px; }
  .device-stage { max-width: 600px; width: 100%; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1160px); --radius-lg: 24px; }
  .nav-shell { min-height: 68px; }
  .nav-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 0; border-radius: 12px; background: white; }
  .nav-toggle span:not(.sr-only) { width: 19px; height: 2px; background: var(--ink); }
  .primary-nav { position: absolute; left: 14px; right: 14px; top: 62px; display: none; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a, .language-menu summary { padding: 11px; }
  .language-options { position: static; box-shadow: none; margin-top: 4px; }
  .hero { padding: 55px 0 72px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.35rem); }
  .device-stage { min-height: 480px; }
  .device-ios { width: 240px; right: 5%; }
  .device-android { width: 178px; left: 3%; }
  .proof-chip { right: 1%; bottom: 2%; max-width: 190px; }
  .section { padding: 70px 0; }
  .feature-grid, .split-grid, .asset-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .asset-preview { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .footer-note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
