:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #18332f;
  --muted: #62726e;
  --accent: #f0582b;
  --accent-dark: #c83e18;
  --surface: #fffdf7;
  --line: #d7d9ce;
  --green: #b8d8c6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }

.site-header, main, footer, .legal-nav, .legal-content { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 1.15rem; font-weight: 850; text-decoration: none; }
.brand img { border-radius: 10px; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a, .footer-links a { color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--ink); }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switch button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 850; padding: 7px 9px; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(45px, 8vw, 110px); padding: 70px 0; }
.kicker { color: var(--accent); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 760px; margin: 18px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 7.5vw, 7rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.hero-text { max-width: 570px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.app-store-link { display: inline-flex; min-height: 44px; align-items: center; transition: transform .15s ease; }
.app-store-link img { width: auto; height: 48px; }
.app-store-link:hover { transform: translateY(-2px); }
.quiet-link { font-size: .92rem; font-weight: 800; text-decoration: none; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 34px 0 0; padding: 0; color: var(--muted); font-size: .82rem; list-style: none; }
.hero-notes li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 900; }
.hero-visual { min-height: 550px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: var(--green); }
.hero-visual img { width: 245px; position: absolute; right: 12%; bottom: -90px; border: 8px solid #172b28; border-radius: 38px; box-shadow: 0 28px 55px rgb(24 51 47 / 22%); transform: rotate(4deg); }
.city-label { position: absolute; z-index: 2; top: 28px; left: 28px; padding: 10px 13px; border-radius: 999px; background: rgb(255 253 247 / 82%); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.map-lines { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(25deg, transparent 45%, rgb(255 253 247 / 70%) 46% 49%, transparent 50%), linear-gradient(115deg, transparent 42%, rgb(255 253 247 / 55%) 43% 47%, transparent 48%); background-size: 240px 190px, 290px 220px; }
.map-dot { position: absolute; width: 17px; height: 17px; border: 5px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 5px 15px rgb(24 51 47 / 25%); }
.dot-one { top: 30%; left: 18%; }.dot-two { top: 54%; left: 35%; }.dot-three { top: 22%; right: 18%; }

.feature-section, .screens-section { padding: 110px 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.section-heading { max-width: 780px; }
.section-heading h2 { margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5.5vw, 5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.section-heading.compact { max-width: 660px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.65; }
.feature-list { margin-top: 65px; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.feature-list article > span { color: var(--accent); font-size: .8rem; font-weight: 900; }
.feature-list h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 3vw, 2rem); }
.feature-list p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.6; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 55px; }
.screen-grid figure { margin: 0; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.screen-grid img { width: 100%; border-radius: 18px; }
.screen-grid figcaption { margin-top: 14px; font-size: .86rem; font-weight: 800; }
.closing-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; margin: 40px 0 100px; padding: clamp(28px, 5vw, 55px); border-radius: 30px; background: var(--ink); color: var(--surface); }
.closing-card > img { border-radius: 18px; }
.closing-card h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; }
.closing-card p { max-width: 620px; margin: 0; color: #c5d0cd; line-height: 1.55; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 38px 0; border-top: 1px solid var(--line); }
.footer-brand p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.copyright { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: .78rem; }

.legal-page { background: var(--surface); }
.legal-nav { min-height: 82px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.legal-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.legal-language { max-width: 150px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); padding: 9px 13px; }
.legal-content { max-width: 760px; padding: 75px 0 100px; }
.legal-content h1 { margin: 0 0 12px; font-size: clamp(3rem, 8vw, 5.5rem); }
.legal-content h2 { margin: 44px 0 12px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--accent-dark); font-weight: 700; text-underline-offset: 3px; }
.updated { margin-bottom: 38px; font-size: .84rem !important; }
.legal-footer { display: block; width: min(calc(100% - 40px), 760px); padding: 26px 0; }
.legal-footer p { color: var(--muted); font-size: .8rem; }

a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-visual { min-height: 510px; }
  .hero-visual img { right: 50%; transform: translateX(50%) rotate(3deg); }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-grid figure { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; align-items: end; gap: 18px; }
  .closing-card { grid-template-columns: auto 1fr; }
  .closing-card .app-store-link { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .site-header, main, footer, .legal-nav, .legal-content { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero { min-height: auto; }
  .hero-visual { min-height: 450px; border-radius: 24px; }
  .hero-visual img { width: 210px; }
  .feature-section, .screens-section { padding: 80px 0; }
  .feature-list article { grid-template-columns: 44px 1fr; gap: 12px; }
  .screen-grid figure { display: block; }
  .closing-card { grid-template-columns: 1fr; text-align: left; }
}

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