:root {
  color-scheme: light dark;
  --accent: #4a9c7a;
  --accent-strong: #287f5e;
  --accent-soft: #dcead2;
  --ink: #17231d;
  --muted: #58655e;
  --page: #f1f5f2;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(23, 35, 29, 0.1);
  --shadow: 0 24px 80px rgba(30, 70, 51, 0.12);
  --radius: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(74, 156, 122, 0.2), transparent 30rem),
    linear-gradient(155deg, #f7faf8 0%, var(--page) 48%, #eaf1ed 100%);
  color: var(--ink);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 78%, transparent);
  backdrop-filter: blur(18px) saturate(145%);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--accent-strong); font-family: "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.075em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-strong); }

.hero { min-height: 76vh; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(44px, 7vw, 96px); padding: 72px 0 84px; }
.eyebrow { margin: 0 0 16px; color: var(--accent-strong); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -0.045em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); line-height: 0.92; }
.hero h1 span { color: var(--accent-strong); }
.lede { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 750; text-decoration: none; box-shadow: 0 8px 28px rgba(23, 35, 29, 0.07); }
.button.primary { border-color: var(--accent-strong); background: var(--accent-strong); color: white; }

.phone-stage { position: relative; display: grid; place-items: center; min-height: 650px; }
.halo { position: absolute; width: min(100%, 520px); aspect-ratio: 1; border-radius: 42% 58% 60% 40%; background: linear-gradient(145deg, var(--accent-soft), #9bc7b2); filter: saturate(0.9); transform: rotate(-8deg); }
.phone { position: relative; width: min(320px, 76vw); padding: 9px; border: 1px solid rgba(255,255,255,.62); border-radius: 52px; background: #111714; box-shadow: 0 38px 90px rgba(18, 52, 36, .3); transform: rotate(3deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 92px; height: 25px; border-radius: 18px; background: #0d100f; transform: translateX(-50%); }
.phone img { width: 100%; border-radius: 44px; }

.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.section h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1; }
.section-intro { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.feature-number { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 850; }
.feature h3 { margin: 56px 0 10px; font-size: 1.45rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 38px; border-radius: 38px; background: #102019; color: #f4f8f5; overflow: hidden; }
.showcase-copy { padding: clamp(4px, 3vw, 36px); }
.showcase h2 { margin: 0 0 20px; }
.showcase p { color: #b9c9c0; line-height: 1.65; }
.showcase-list { margin: 28px 0 0; padding: 0; list-style: none; }
.showcase-list li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); font-weight: 700; }
.screens { position: relative; min-height: 600px; }
.screen-card { position: absolute; width: min(270px, 65%); padding: 7px; border-radius: 42px; background: #080c0a; box-shadow: 0 28px 66px rgba(0,0,0,.38); }
.screen-card img { border-radius: 35px; }
.screen-card:first-child { top: 20px; left: 8%; transform: rotate(-7deg); }
.screen-card:last-child { right: 2%; bottom: 12px; transform: rotate(7deg); }

.privacy-band { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding: clamp(30px, 6vw, 72px); border: 1px solid var(--line); border-radius: 38px; background: var(--card); box-shadow: var(--shadow); }
.privacy-band h2 { margin: 0; }
.privacy-band p { color: var(--muted); line-height: 1.65; }
.privacy-links { display: grid; align-content: center; gap: 12px; }
.privacy-links a { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 750; text-decoration: none; }

.legal-main { width: min(820px, calc(100% - 40px)); min-height: calc(100vh - 145px); margin: 0 auto; padding: 72px 0 100px; }
.legal-main h1 { font-size: clamp(2.65rem, 7vw, 4.9rem); line-height: 1; }
.legal-card { margin-top: 34px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.legal-card h2 { margin: 2.1em 0 .5em; font-size: 1.55rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 1.6em 0 .4em; font-size: 1.15rem; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 1rem; line-height: 1.72; }
.legal-card a { color: var(--accent-strong); }
.legal-card .updated { margin-top: 0; font-size: .92rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: inherit; text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero, .section-head, .showcase, .privacy-band { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .phone-stage { min-height: 590px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 34px; }
  .screens { min-height: 560px; }
}

@media (max-width: 520px) {
  .wrap, .legal-main { width: min(100% - 28px, 1120px); }
  .nav { min-height: 64px; }
  .brand { font-size: 1.75rem; }
  h1 { font-size: clamp(2.85rem, 17vw, 4.5rem); }
  .hero { padding: 46px 0 62px; }
  .phone-stage { min-height: 500px; }
  .section { padding: 70px 0; }
  .showcase { padding: 22px; border-radius: 30px; }
  .screens { min-height: 470px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 32px 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f6f3;
    --muted: #b7c2bc;
    --page: #0b110e;
    --card: rgba(22, 31, 27, 0.88);
    --line: rgba(237, 247, 241, 0.11);
    --accent: #79c69f;
    --accent-strong: #92d3b1;
    --accent-soft: #223c2f;
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
  }
  body { background: radial-gradient(circle at 85% 5%, rgba(74,156,122,.16), transparent 30rem), #0b110e; }
  .site-header { background: rgba(11, 17, 14, 0.82); }
  .button.primary { color: #0d2117; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
