:root {
  --green: #075d36;
  --green-dark: #064328;
  --mint: #dff4e7;
  --coral: #d94b3c;
  --coral-dark: #b83329;
  --ink: #122019;
  --muted: #59665f;
  --paper: #f7faf7;
  --white: #fff;
  --line: #cbd9d0;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--coral-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(18px, 4vw, 48px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.brand { min-height: 52px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.brand-mark { width: 18px; height: 18px; border: 2px solid var(--green); border-right-color: var(--coral); transform: rotate(-8deg); }
.site-header nav, .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 14px; }
.site-header nav a, .legal-links a { color: var(--muted); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--ink); font-weight: 750; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin-bottom: 18px; font-size: clamp(52px, 7vw, 92px); line-height: .94; }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 67px); line-height: 1.04; }
h3 { margin-bottom: 10px; font-size: 22px; }
.eyebrow { margin-bottom: 12px; color: var(--green); font-size: 13px; font-weight: 820; text-transform: uppercase; }
.lead { max-width: 650px; margin-bottom: 24px; color: var(--muted); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.45; }

.hero { max-width: var(--max); min-height: 72svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, 360px); align-items: center; gap: clamp(38px, 6vw, 74px); margin: 0 auto; padding: clamp(48px, 6vw, 72px) clamp(18px, 4vw, 48px); }
.price-line { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 26px; }
.price-line strong { color: var(--green); }
.price-line span { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--green-dark); border-radius: 6px; background: var(--green-dark); color: var(--white); font-size: 16px; font-weight: 760; text-decoration: none; }
.button.secondary { background: transparent; color: var(--green-dark); }
.availability { margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.app-visual { width: min(100%, 360px); margin: 0 auto; }
.app-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 28px 72px rgba(7,93,54,.2); }

.band, .screens-band, .pricing-band, .details-band { border-top: 1px solid var(--line); background: var(--white); }
.screens-band, .details-band { background: var(--paper); }
.section-inner { max-width: var(--max); margin: 0 auto; padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 48px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.feature-grid article { padding: 28px 28px 8px 0; }
.feature-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-grid article > span { display: block; margin-bottom: 28px; color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.feature-grid p, .details-band p, .pricing-band p { color: var(--muted); }

.screenshots { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 2.4vw, 28px); }
.screenshots figure { margin: 0; }
.screenshots img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 44px rgba(18,32,25,.1); }
.screenshots figcaption { padding-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }

.safety-band { background: var(--green-dark); color: var(--white); }
.safety-band .eyebrow { color: #9fe2b9; }
.safety-band p, .safety-band li { color: #d9eee1; }
.safety-layout, .pricing-layout, .details-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(34px, 7vw, 86px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.22); }

.price-panel { padding: clamp(24px, 4vw, 40px); border: 2px solid var(--green); border-radius: 8px; background: var(--paper); }
.launch-label { display: block; color: var(--coral-dark); font-weight: 800; text-transform: uppercase; }
.price-panel > strong { display: block; margin: 8px 0; color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(60px, 8vw, 92px); line-height: 1; }
.price-panel ul { padding-left: 22px; }
.store-note { display: inline-flex; padding: 8px 12px; border-radius: 4px; background: var(--mint); color: var(--green-dark); font-weight: 720; }
.detail-links { display: grid; border-top: 1px solid var(--ink); }
.detail-links a { min-height: 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.detail-links a::after { content: "→"; }

.legal-main { max-width: 900px; margin: 0 auto; padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 48px) 100px; }
.legal-document > header { margin-bottom: 46px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-document h1 { font-size: clamp(48px, 7vw, 80px); }
.legal-document h2 { margin-top: 42px; margin-bottom: 12px; font-family: inherit; font-size: 26px; font-weight: 780; }
.legal-document h3 { margin-top: 28px; }
.legal-document p, .legal-document li { color: var(--muted); }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.notice { padding: 18px 20px; border-left: 5px solid var(--coral); background: #fff1ef; }
.store-table { width: 100%; border-collapse: collapse; }
.store-table th, .store-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.store-table th { width: 30%; }
.download-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }
.download-list a { min-height: 52px; display: flex; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }

.site-footer { display: flex; justify-content: space-between; gap: 28px; padding: 28px clamp(18px, 4vw, 48px); border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14px; }
.site-footer strong { color: var(--ink); }

@media (max-width: 820px) {
  .hero, .safety-layout, .pricing-layout, .details-grid { grid-template-columns: 1fr; }
  .app-visual { max-width: 300px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 26px 0; }
  .feature-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .screenshots { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-header { align-items: flex-start; padding-block: 9px; }
  .site-header nav { max-width: 190px; justify-content: flex-end; gap: 9px 14px; }
  .site-header nav a:first-child, .site-header nav a:nth-child(2) { display: none; }
  .hero { position: relative; min-height: min(660px, calc(100svh - 72px)); padding-top: 42px; padding-bottom: 44px; }
  .hero-copy > .eyebrow { max-width: calc(100% - 112px); min-height: 72px; }
  .app-visual { position: absolute; top: 30px; right: 18px; width: 92px; }
  .hero-actions, .button { width: 100%; }
  .screenshots, .facts, .download-list { grid-template-columns: 1fr; }
  .screenshots { padding-inline: clamp(24px, 10vw, 50px); }
  .site-footer { flex-direction: column; }
  .store-table, .store-table tbody, .store-table tr, .store-table th, .store-table td { display: block; width: 100%; }
  .store-table th { padding-bottom: 2px; border-bottom: 0; }
  .store-table td { padding-top: 2px; }
}

@media (max-width: 360px) {
  .site-header { gap: 8px; padding-inline: 12px; }
  .brand { font-size: 12px; }
  .site-header nav { max-width: 148px; gap: 7px 10px; font-size: 13px; }
  h1 { font-size: clamp(42px, 13vw, 48px); }
}

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