/* ==========================================================================
   Awesome Downloader — landing page
   --------------------------------------------------------------------------
   To recolour the entire site, change --accent below. Everything else
   (buttons, glows, links, focus rings, icon tints) is derived from it.
   ========================================================================== */

:root {
  /* ---- THE ONE YOU EDIT ------------------------------------------------ */
  --accent: #0A9BFF;               /* electric blue, matches the app logo */

  /* ---- derived from --accent ------------------------------------------ */
  --accent-bright: color-mix(in oklab, var(--accent) 72%, #7FE6FF);
  --accent-solid:  color-mix(in oklab, var(--accent) 82%, #001B3D);  /* button fill, white text safe */
  --accent-hover:  color-mix(in oklab, var(--accent) 70%, #001B3D);
  --accent-soft:   color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-line:   color-mix(in oklab, var(--accent) 38%, transparent);
  --accent-text:   var(--accent-bright);

  /* ---- radii / shadow / motion ---------------------------------------- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --t: 220ms var(--ease);

  --maxw: 1200px;
  --maxw-narrow: 800px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}

/* ---- dark (default) ---------------------------------------------------- */
:root, [data-theme="dark"] {
  --bg:        #0A0E14;
  --bg-2:      #0D1219;
  --surface:   #141B25;
  --surface-2: #1A2331;
  --border:    rgba(255,255,255,.09);
  --border-2:  rgba(255,255,255,.14);
  --text:      #E9EDF3;
  --text-2:    #A3AEBF;
  --text-3:    #6E7A8C;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 70px -25px rgba(0,0,0,.85);
  --glass:     rgba(13,18,25,.72);
  color-scheme: dark;
}

/* ---- light ------------------------------------------------------------- */
[data-theme="light"] {
  --bg:        #F6F8FB;
  --bg-2:      #FFFFFF;
  --surface:   #FFFFFF;
  --surface-2: #F1F4F9;
  --border:    rgba(11,22,40,.10);
  --border-2:  rgba(11,22,40,.16);
  --text:      #0E1620;
  --text-2:    #4E5B6E;
  --text-3:    #7C8798;
  --shadow-sm: 0 1px 2px rgba(16,30,54,.06);
  --shadow-md: 0 12px 30px -14px rgba(16,30,54,.22);
  --shadow-lg: 0 30px 60px -28px rgba(16,30,54,.28);
  --glass:     rgba(255,255,255,.78);
  /* link/icon blue needs to darken on white to stay readable */
  --accent-text: color-mix(in oklab, var(--accent) 78%, #001B3D);
  color-scheme: light;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 680; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: 1.125rem; }
p  { margin: 0; }

a { color: var(--accent-text); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-bright); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: var(--maxw-narrow); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--accent-solid); color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 24px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; letter-spacing: -.01em;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t), background var(--t), border-color var(--t),
              box-shadow var(--t), color var(--t);
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-solid) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset,
              0 10px 26px -10px color-mix(in oklab, var(--accent) 65%, transparent);
}
.btn--primary:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset,
              0 14px 34px -10px color-mix(in oklab, var(--accent) 78%, transparent);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--text); background: var(--surface-2); border-color: var(--accent-line); }

.btn--sm    { padding: 8px 16px; font-size: .9rem; }
.btn--lg    { padding: 14px 26px; font-size: 1.0125rem; }
.btn--block { display: flex; width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--t), background var(--t), border-color var(--t);
}
.icon-btn:hover { color: var(--accent-text); border-color: var(--accent-line); background: var(--surface-2); }

.icon-sun  { display: none; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.is-stuck { border-bottom-color: var(--border); }

.nav__inner {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { border-radius: 8px; }
.brand__name { font-weight: 680; letter-spacing: -.025em; font-size: 1.0625rem; }
.brand__accent { color: var(--accent-text); }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  color: var(--text-2); font-size: .9375rem; font-weight: 520;
  padding: 8px 14px; border-radius: 999px;
  transition: color var(--t), background var(--t);
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.nav__mobile a {
  color: var(--text-2); padding: 12px 4px; font-weight: 540;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 5vw, 60px); overflow: hidden; }

.hero__glow {
  position: absolute; inset: -30% 0 auto 0; height: 780px;
  background:
    radial-gradient(52% 44% at 50% 34%, color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 72%),
    radial-gradient(34% 30% at 78% 12%, color-mix(in oklab, var(--accent-bright) 15%, transparent) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .hero__glow { opacity: .55; }

.hero__inner { position: relative; z-index: 1; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}

.hero__title { margin-bottom: 22px; }
.grad {
  background: linear-gradient(105deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-bright) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 660px; margin: 0 auto 34px;
  font-size: clamp(1.0313rem, 1.5vw, 1.1875rem);
  color: var(--text-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }

.hero__meta { font-size: .875rem; color: var(--text-3); margin-bottom: clamp(40px, 6vw, 66px); }

.hero__shot {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-2);
  background: var(--surface);
  padding: 8px;
  box-shadow: var(--shadow-lg),
              0 0 90px -30px color-mix(in oklab, var(--accent) 55%, transparent);
  max-width: 900px;
  margin-inline: auto;
}
.hero__shot img {
  border-radius: calc(var(--r-xl) - 9px);
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(38px, 5vw, 60px); }
.section__head .eyebrow { margin-bottom: 16px; }
.section__head h2 { margin-bottom: 14px; }
.section__sub { color: var(--text-2); font-size: 1.0313rem; }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---- timecode hero feature --------------------------------------------- */

.feat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md),
              0 0 60px -28px color-mix(in oklab, var(--accent) 55%, transparent);
}

.feat-hero__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 680; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 18px;
}

.feat-hero__left h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -.025em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.feat-hero__left p { color: var(--text-2); font-size: .9688rem; line-height: 1.65; }

.feat-hero__eg {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
  font-size: .9375rem; color: var(--text-3);
}
.tc {
  font-family: var(--mono); font-size: 1rem; font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 12px; border-radius: 8px;
}
.tc-meta { font-size: .875rem; color: var(--text-3); }

/* mock UI inside the hero feature */
.feat-hero__mock {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  font-size: .8125rem;
  font-family: var(--font);
}
.fhm__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: 12px;
}
.fhm__radios { display: flex; align-items: center; gap: 10px; color: var(--text-2); margin-bottom: 10px; }
.fhm__radio {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border-2); flex-shrink: 0;
}
.fhm__radio--on { border-color: var(--accent); background: var(--accent); }

.fhm__meta { color: var(--text-2); margin-bottom: 12px; }
.fhm__tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-3); margin-right: 5px;
}

.fhm__check {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2); margin-bottom: 12px; cursor: default;
}
.fhm__checkbox {
  width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid var(--border-2);
}
.fhm__checkbox--on {
  background: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

.fhm__times {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--text-2); margin-bottom: 12px;
}
.fhm__tl { color: var(--text-3); font-size: .75rem; }
.fhm__tb {
  font-family: var(--mono); font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 6px; padding: 3px 10px;
  color: var(--text);
}

.fhm__pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border: 1px solid var(--accent-line);
  color: var(--accent-text); font-weight: 600;
  border-radius: 999px; padding: 6px 16px; font-size: .8125rem;
  width: 100%; text-align: center;
}

.feat-hero__img {
  width: 100%; height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .feat-hero { grid-template-columns: 1fr; }
  .feat-hero__img { display: none; }
}

/* ---- feature card ------------------------------------------------------ */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md),
              0 0 0 1px var(--accent-line),
              0 20px 50px -30px color-mix(in oklab, var(--accent) 60%, transparent);
}
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: .9375rem; }

.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card__tags span {
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  padding: 3px 10px; border-radius: 999px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.card__swatches { display: flex; gap: 8px; margin-top: 16px; }
.card__swatches span {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--s);
  border: 1px solid var(--border-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--s) 16%, transparent);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.shot {
  display: block; padding: 8px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  cursor: zoom-in;
  font: inherit; color: var(--text-3); text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.shot:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md), 0 20px 50px -30px color-mix(in oklab, var(--accent) 60%, transparent);
}
.shot img { border-radius: calc(var(--r-lg) - 9px); width: 100%; }
.shot__cap { display: block; padding: 12px 8px 6px; font-size: .875rem; font-weight: 560; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 28px;
  background: rgba(4,7,12,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%); max-height: 88vh; width: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 26px; line-height: 1;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

/* ==========================================================================
   Download card
   ========================================================================== */

.dl-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.dl-card__glow {
  position: absolute; inset: -60% -20% auto -20%; height: 260px;
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.dl-card > *:not(.dl-card__glow) { position: relative; }

.dl-card__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.dl-card__mark { border-radius: 14px; flex-shrink: 0; }
.dl-card__title { margin-bottom: 5px; font-size: 1.25rem; }
.dl-card__ver { color: var(--text-2); font-size: .9063rem; }
.dl-card__ver strong { color: var(--text); }
.dot { color: var(--text-3); margin-inline: 3px; }

.specs {
  display: grid; gap: 1px; margin: 26px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.specs > div { background: var(--surface-2); padding: 16px 18px; }
.specs dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 600; font-size: .9375rem; }

.notes {
  margin-top: 22px; padding: 20px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.notes h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 8px; }
.notes p { color: var(--text-2); font-size: .9375rem; white-space: pre-line; }
.notes__link { margin-top: 12px; }
.notes__link a { font-size: .875rem; font-weight: 600; }

.checksum {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-top: 18px; font-size: .8125rem; color: var(--text-3);
}
.checksum span { text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.checksum code { font-family: var(--mono); word-break: break-all; color: var(--text-2); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { display: grid; gap: 12px; }

.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.qa[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }

.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 620; font-size: 1.0313rem; letter-spacing: -.012em;
  cursor: pointer;
  list-style: none;
  transition: color var(--t);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-text); }

.qa summary i {
  position: relative; flex-shrink: 0; width: 18px; height: 18px;
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 2px; border-radius: 2px; background: var(--accent-text);
  transition: transform var(--t), opacity var(--t);
}
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); opacity: 0; }

.qa__body { padding: 0 22px 20px; }
.qa__body p { color: var(--text-2); font-size: .9375rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 54px 0 30px; }

.footer__inner {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 30px;
}
.footer__tag { margin-top: 12px; color: var(--text-3); font-size: .9063rem; max-width: 320px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--text-2); font-size: .9375rem; }
.footer__links a:hover { color: var(--accent-text); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .8125rem; color: var(--text-3);
}

/* ==========================================================================
   Features grid (new layout)
   ========================================================================== */

.feat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* wide card spans 2 columns on larger screens */
@media (min-width: 700px) {
  .feat-card--wide { grid-column: span 2; }
}

.feat-card {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-line),
              0 18px 44px -28px color-mix(in oklab, var(--accent) 55%, transparent);
}
.feat-card__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.feat-card h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.feat-card p  { color: var(--text-2); font-size: .9375rem; }
.feat-card p + p { margin-top: 10px; }

.feat-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feat-card__tags span {
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  padding: 3px 10px; border-radius: 999px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

/* ==========================================================================
   Requirements section
   ========================================================================== */

.req-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 16px;
}

.req-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
}
.req-card--full { grid-column: 1 / -1; }

.req-card__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.req-card__icon--warn {
  color: #F59E0B;
  background: color-mix(in oklab, #F59E0B 12%, transparent);
  border-color: color-mix(in oklab, #F59E0B 30%, transparent);
}
.req-card h3 { font-size: 1rem; margin-bottom: 6px; }
.req-card p  { color: var(--text-2); font-size: .9375rem; }

.req-notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: color-mix(in oklab, #F59E0B 10%, transparent);
  border: 1px solid color-mix(in oklab, #F59E0B 28%, transparent);
  border-radius: var(--r-md);
  padding: 18px 20px;
  color: var(--text-2);
  font-size: .9375rem;
  margin-bottom: 32px;
}
.req-notice svg { color: #F59E0B; }
.req-notice p { margin: 0; }

.dl-cta { text-align: center; }

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */

.legal { padding: clamp(48px, 7vw, 90px) 0; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 10px; }
.legal .updated { color: var(--text-3); font-size: .875rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal .callout {
  padding: 16px 20px; margin-bottom: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-md);
  font-size: .9375rem; color: var(--text-2);
}
.legal .back { display: inline-block; margin-bottom: 26px; font-weight: 600; font-size: .9375rem; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* The hidden start state is applied ONLY when JS is alive (the .js class is set by
   the inline script in <head>). If the script never loads, everything stays visible
   instead of the page rendering blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
  .nav__cta { display: none; }
  .nav__inner { gap: 12px; }
  .nav__actions { margin-left: auto; }
  .nav.is-open .nav__mobile { display: flex; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  html { scroll-padding-top: 78px; }
  .hero__cta .btn { width: 100%; }
  .hero__shot { padding: 6px; border-radius: var(--r-lg); }
  .hero__shot img { border-radius: calc(var(--r-lg) - 7px); }
  .dl-card__top { flex-direction: column; align-items: flex-start; text-align: left; }
  .specs { grid-template-columns: 1fr 1fr; }
  .brand__name { font-size: 1rem; }
}

/* ==========================================================================
   Motion / print
   ========================================================================== */

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

@media print {
  .nav, .lightbox, .hero__glow, .dl-card__glow { display: none !important; }
  body { background: #fff; color: #000; }
}
