:root {
  --ink: #f6f8f7;
  --muted: #aebbb8;
  --quiet: #7e918d;
  --canvas: #061211;
  --surface: #0b1c1a;
  --surface-2: #102522;
  --line: rgba(184, 214, 205, .16);
  --teal: #57c7b5;
  --teal-strong: #79dfcd;
  --gold: #e7bd5a;
  --blue: #8caef0;
  --danger: #ef8b82;
  --max: 1240px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 98px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(49, 139, 123, .18), transparent 35rem),
    radial-gradient(circle at 95% 10%, rgba(231, 189, 90, .08), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: 10px; background: var(--ink); color: var(--canvas); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 18, 17, .86);
  backdrop-filter: blur(18px);
}
.nav-shell { width: min(calc(100% - 40px), var(--max)); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 8px 26px rgba(60, 204, 180, .18); }
.brand span small { display: block; color: var(--quiet); font-size: .69rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); padding: .5rem .75rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: .52rem .72rem; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { background: rgba(87, 199, 181, .1); color: var(--teal-strong); }

main { overflow: hidden; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero, .page-hero { padding: clamp(76px, 10vw, 132px) 0 clamp(68px, 9vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.eyebrow { margin: 0 0 14px; color: var(--teal-strong); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 900px; font-size: clamp(2.9rem, 6.6vw, 6.7rem); }
.product-hero h1 { font-size: clamp(2.65rem, 5.6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.1vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.lede { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.26rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: .78rem 1.12rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 760; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: rgba(121, 223, 205, .52); }
.button.primary { background: var(--teal); color: #061412; border-color: transparent; }
.button.secondary { background: transparent; }
.button.disabled, .button[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--teal-strong); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero-panel, .card, .screen, .edition, .status-panel, .content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 43, 39, .94), rgba(8, 24, 22, .96));
  box-shadow: var(--shadow);
}
.hero-panel { padding: 20px; transform: rotate(1deg); }
.hero-panel img { width: 100%; border-radius: 14px; }
.hero-note { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; color: var(--muted); font-size: .88rem; }
.hero-note strong { color: var(--ink); }
.hero-art { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 28px; background: #07110f; box-shadow: var(--shadow); }
.hero-art img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-art figcaption { padding: 14px 18px 17px; color: var(--muted); font-size: .84rem; }
.hero-art figcaption strong { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(87, 199, 181, .12); }
.hero-showcase { position: relative; min-height: 480px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 80% 15%, rgba(87, 199, 181, .15), transparent 45%), linear-gradient(145deg, #0c211e, #071513); box-shadow: var(--shadow); }
.hero-showcase figcaption { position: absolute; left: 24px; right: 24px; bottom: 18px; color: var(--muted); font-size: .84rem; }
.hero-showcase figcaption strong { color: var(--ink); }
.showcase-window { position: relative; overflow: hidden; padding: 28px 14px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #07100f; box-shadow: 0 24px 60px rgba(0,0,0,.38); }
.showcase-window > span { position: absolute; left: 14px; top: 7px; color: var(--quiet); font-size: .65rem; font-weight: 760; letter-spacing: .06em; }
.showcase-window img { width: 100%; border-radius: 7px; }
.family-showcase .showcase-window { position: absolute; width: 74%; right: 18px; top: 28px; transform: rotate(2deg); }
.showcase-apple { position: absolute; width: 68%; left: 22px; bottom: 62px; }
.showcase-ipad { width: 100%; border: 7px solid #111817; border-radius: 14px; box-shadow: 0 22px 52px rgba(0,0,0,.45); }
.showcase-phone { position: absolute; width: 21%; right: -4%; bottom: -8%; border: 4px solid #111; border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.55); }
.apple-showcase .showcase-ipad { position: absolute; width: 88%; left: 2%; top: 38px; transform: rotate(-1deg); }
.apple-showcase .showcase-phone { width: 24%; right: 2%; bottom: 54px; }
.windows-showcase .showcase-window { width: 94%; margin: 18px auto 0; }
.showcase-detail { position: absolute; right: 24px; bottom: 58px; width: 46%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9,24,22,.96); box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.showcase-detail img { width: 100%; border-radius: 7px; }
.showcase-detail span { display: block; padding: 7px 3px 1px; color: var(--muted); font-size: .69rem; }

.metric-strip { border-block: 1px solid var(--line); background: rgba(11, 28, 26, .55); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 25px 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 1rem; }
.metric span { color: var(--muted); font-size: .87rem; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { border-block: 1px solid var(--line); background: rgba(15, 35, 32, .48); }
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .content-panel { padding: clamp(22px, 3vw, 34px); box-shadow: none; }
.card p, .content-panel p, .card li, .content-panel li { color: var(--muted); }
.card h3 + p, .content-panel h2 + p { margin-top: 12px; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 12px; background: rgba(87, 199, 181, .11); color: var(--teal-strong); font-weight: 850; }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 7px 0 7px 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-strong); font-weight: 850; }

.edition { overflow: hidden; box-shadow: none; }
.edition-copy { padding: clamp(26px, 4vw, 44px); }
.platform { display: inline-flex; margin-bottom: 18px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-strong); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.edition figure { margin: 0; border-top: 1px solid var(--line); background: #050b0a; }
.edition figure img { width: 100%; aspect-ratio: 16/9; object-fit: contain; object-position: center; padding: 16px; }
.edition figcaption { padding: 13px 18px 17px; color: var(--quiet); font-size: .82rem; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.screen { overflow: hidden; margin: 0; box-shadow: none; }
.screen.wide { grid-column: 1 / -1; }
.screen img { width: 100%; background: #020706; }
.screen figcaption { display: grid; gap: 4px; padding: 15px 18px 18px; }
.screen figcaption span { color: var(--quiet); font-size: .86rem; }
.phone-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.phone { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: #030807; }
.phone img { width: 100%; border-radius: 20px; }
.phone figcaption { padding: 10px 6px 4px; color: var(--muted); text-align: center; font-size: .82rem; }

.product-lockup { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.product-lockup img { width: 54px; height: 54px; border-radius: 14px; }
.product-lockup strong, .product-lockup span { display: block; }
.product-lockup span { color: var(--quiet); font-size: .88rem; }
.about-intro-grid { margin-top: 34px; }
.about-intro-grid div { padding: 14px 0; border-top: 1px solid var(--line); }
.about-intro-grid strong, .about-intro-grid span { display: block; }
.about-intro-grid span { margin-top: 3px; color: var(--quiet); font-size: .78rem; }
.portrait-panel img { aspect-ratio: 1/1; object-fit: cover; object-position: center 28%; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.sticky-copy { position: sticky; top: 110px; }

.commercial { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; }
.price { margin: 8px 0 0; font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.price small { color: var(--quiet); font-size: .92rem; letter-spacing: 0; }
.checkout-panel[data-state="ready"] { border-color: rgba(87, 199, 181, .45); }
.checkout-status { color: var(--muted); }
#paypal-button-container { min-height: 48px; margin-top: 24px; overflow: hidden; border-radius: 8px; background: transparent; }
#paypal-button-container:empty { min-height: 0; margin-top: 0; }
#app-store { padding-bottom: calc(clamp(72px, 9vw, 120px) + 84px); }
.license-result { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(87, 199, 181, .1); }
.license-result code { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.release-meta { display: grid; grid-template-columns: .7fr .7fr 2fr; gap: 1px; margin: 26px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.release-meta div { padding: 16px; background: var(--surface); }
.release-meta dt { color: var(--quiet); font-size: .74rem; font-weight: 750; text-transform: uppercase; }
.release-meta dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.notice { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(231, 189, 90, .08); color: #ded5bc; }
.copy-button { border: 0; background: transparent; color: var(--teal-strong); cursor: pointer; font-size: .8rem; }

.app-store-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.status-panel { padding: clamp(26px, 5vw, 56px); }
.qr-shell { width: 190px; padding: 14px; border-radius: 18px; background: white; color: #081411; text-align: center; }
.qr-shell img { width: 100%; }
.qr-shell span { display: block; margin-top: 8px; font-size: .72rem; font-weight: 750; }

.prose { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 70px 0 110px; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
.prose h2 { margin-top: 48px; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--teal-strong); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.site-footer { border-top: 1px solid var(--line); background: #040d0c; }
.footer-grid { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 52px 0; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: -.01em; }
.footer-grid p, .footer-grid a { color: var(--quiet); font-size: .86rem; }
.footer-grid a { display: block; margin-top: 8px; text-decoration: none; }
.footer-grid a:hover { color: var(--teal-strong); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; color: var(--quiet); font-size: .79rem; }

:focus-visible { outline: 3px solid rgba(121, 223, 205, .58); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 900px) {
  .hero-grid, .two-column, .commercial { grid-template-columns: 1fr; }
  .hero-panel { transform: none; }
  .hero-showcase { min-height: 430px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-copy { position: static; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-shell { width: min(calc(100% - 28px), var(--max)); min-height: 66px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 60px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #0b1c1a; box-shadow: var(--shadow); }
  .nav-toggle + .site-nav.open { display: grid; }
  .site-nav.open:not([data-nav]) { display: flex; position: static; flex-wrap: wrap; justify-content: flex-end; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav.open:not([data-nav]) a { padding: .28rem .38rem; font-size: .72rem; }
  .site-nav a { padding: .72rem; }
  .wrap, .prose { width: min(calc(100% - 28px), var(--max)); }
  .hero, .page-hero { padding-top: 64px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4.4rem); }
  .product-hero h1 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  .hero-showcase { min-height: 330px; padding: 14px; }
  .hero-showcase figcaption { left: 14px; right: 14px; bottom: 10px; font-size: .72rem; }
  .family-showcase .showcase-window { width: 78%; right: 8px; top: 18px; }
  .showcase-apple { width: 72%; left: 10px; bottom: 50px; }
  .apple-showcase .showcase-ipad { width: 94%; left: 0; top: 26px; }
  .apple-showcase .showcase-phone { width: 25%; right: 0; bottom: 42px; }
  .windows-showcase .showcase-window { width: 100%; margin-top: 8px; }
  .showcase-detail { width: 56%; right: 12px; bottom: 38px; }
  .grid-2, .grid-3, .grid-4, .gallery, .support-grid { grid-template-columns: 1fr; }
  .screen.wide { grid-column: auto; }
  .release-meta { grid-template-columns: 1fr; }
  .app-store-card { grid-template-columns: 1fr; }
  .qr-shell { width: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
