:root {
  color-scheme: light;
  --paper: #fff8e8;
  --paper-2: #f6efd9;
  --surface: #fffefa;
  --ink: #24303a;
  --muted: #63747d;
  --line: #22313c;
  --water: #51c7dd;
  --water-dark: #167f95;
  --water-soft: #d7f5f8;
  --lemon: #ffd86f;
  --coral: #ff7b6c;
  --coral-soft: #ffe5e1;
  --leaf: #7cc66a;
  --shadow: 7px 8px 0 var(--line);
  --soft-shadow: 0 22px 60px rgba(34, 49, 60, 0.16);
  --radius-lg: 30px;
  --radius-md: 22px;
  --max: 1160px;
  --font-rounded: ui-rounded, "SF Pro Rounded", "PingFang SC", "Avenir Next Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

[data-theme="matcha"] {
  --paper: #faf8e8;
  --paper-2: #eaebcb;
  --water: #77cfc2;
  --water-dark: #2b7d69;
  --water-soft: #e1f3de;
  --lemon: #dce879;
  --coral: #f08d74;
}

[data-theme="lagoon"] {
  --paper: #eef6f2;
  --paper-2: #d8e5e1;
  --water: #1e7286;
  --water-dark: #0b3b4a;
  --water-soft: #c8e5ea;
  --lemon: #b8d95f;
  --coral: #ed7b63;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, color-mix(in srgb, var(--lemon) 52%, transparent) 0 90px, transparent 92px),
    radial-gradient(circle at 91% 36%, color-mix(in srgb, var(--water) 23%, transparent) 0 140px, transparent 142px),
    linear-gradient(155deg, var(--water-soft) 0, var(--paper) 42%, color-mix(in srgb, var(--coral-soft) 70%, var(--paper)) 100%);
  font-family: var(--font-body);
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border: 3px solid var(--line);
  background: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 4px solid color-mix(in srgb, var(--water-dark) 55%, transparent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 3px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-rounded);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 3px solid var(--line);
  border-radius: 13px;
  box-shadow: 3px 4px 0 var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-resource-group {
  position: relative;
  gap: 1px;
  margin-left: 10px;
  padding-left: 16px;
}

.nav-resource-group::before {
  position: absolute;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 3px;
  background: var(--line);
  content: "";
}

.nav-resource-group a { padding-inline: 10px; font-weight: 700; }

.nav-links a,
.theme-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover { border-color: var(--line); background: var(--surface); }

.theme-picker {
  position: relative;
  margin-left: 2px;
}

.theme-trigger {
  gap: 8px;
  border-color: var(--line);
  background: var(--lemon);
  cursor: pointer;
}

.theme-trigger::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--water);
  content: "";
}

.theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 164px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 5px 6px 0 var(--line);
}

.theme-menu[hidden] { display: none; }

.theme-option {
  min-height: 44px;
  padding: 9px 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
}

.theme-option:hover,
.theme-option[aria-pressed="true"] { border-color: var(--line); background: var(--water-soft); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.82fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  padding: clamp(60px, 8vw, 112px) 0 88px;
}

.eyebrow,
.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--lemon);
  font-family: var(--font-rounded);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.eyebrow::before {
  width: 13px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 60% 60% 60% 10%;
  background: var(--water);
  content: "";
  transform: rotate(45deg);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-rounded);
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 780px;
  margin-top: 24px;
  font-size: clamp(50px, 5.7vw, 74px);
  line-height: 1.02;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  color: var(--water-dark);
  text-shadow: 3px 4px 0 color-mix(in srgb, var(--line) 82%, transparent);
}

.hero-copy > p {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 560;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 5px 6px 0 var(--line);
  font-family: var(--font-rounded);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button.primary { background: var(--water); }
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 4px 0 var(--line); }
.button:active { transform: translate(5px, 6px); box-shadow: 0 0 0 var(--line); }

.microcopy { margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 650; }

.product-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  padding: 22px 30px 30px;
}

.stage-sun {
  position: absolute;
  top: 2%;
  right: 0;
  width: 96px;
  aspect-ratio: 1;
  border: 5px solid var(--line);
  border-radius: 50%;
  background: var(--lemon);
  box-shadow: 7px 8px 0 var(--line);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
  border: 8px solid #13191d;
  border-radius: 54px;
  background: #13191d;
  box-shadow: var(--soft-shadow);
  transform: rotate(-2.2deg);
}

.phone::before {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  width: 100px;
  height: 29px;
  border-radius: 99px;
  background: #080b0d;
  content: "";
  transform: translateX(-50%);
}

.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }

.note-card {
  position: absolute;
  z-index: 5;
  right: -16px;
  bottom: 16%;
  max-width: 174px;
  padding: 15px 17px;
  border: 3px solid var(--line);
  border-radius: 18px 18px 18px 5px;
  background: var(--surface);
  box-shadow: 5px 6px 0 var(--line);
  font-family: var(--font-rounded);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  transform: rotate(3deg);
}

.section { padding: 96px 0; }
.section-heading { max-width: 740px; margin-bottom: 38px; }
.section-heading .kicker { margin: 0 0 10px; color: var(--water-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.section-heading h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 4px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) { background: var(--water-soft); }
.feature-card:nth-child(3) { background: color-mix(in srgb, var(--lemon) 45%, var(--surface)); }

.feature-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--water);
  font-family: var(--font-rounded);
  font-size: 19px;
  font-weight: 950;
}

.feature-card h3 { margin-top: auto; padding-top: 48px; font-size: 27px; line-height: 1.08; }
.feature-card p { margin: 14px 0 0; color: var(--muted); font-weight: 560; }

.widget-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.widget-showcase-card {
  min-width: 0;
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.widget-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background:
    radial-gradient(circle at 10px 10px, color-mix(in srgb, var(--water) 20%, transparent) 0 1.2px, transparent 1.4px),
    var(--paper-2);
  background-size: 20px 20px;
}

.widget-media img { display: block; width: 100%; height: auto; }

.widget-media-home {
  min-height: 250px;
  padding: 32px 24px;
}

.widget-media-home img {
  border: 2px solid color-mix(in srgb, var(--line) 16%, transparent);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(34, 49, 60, 0.12);
}

.widget-media-lock {
  aspect-ratio: 2 / 1;
  display: block;
  position: relative;
}

.widget-media-lock img {
  position: absolute;
  inset: -10% 0 auto;
}

.widget-showcase-copy { padding: 27px 28px 30px; }
.showcase-label { color: var(--water-dark); font-family: var(--font-rounded); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.widget-showcase-copy h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 33px); line-height: 1.08; }
.widget-showcase-copy p { margin: 14px 0 0; color: var(--muted); font-weight: 560; }

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  padding: clamp(32px, 5vw, 62px);
  border: 5px solid var(--line);
  border-radius: 40px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 10px 12px 0 var(--water);
}

.privacy-panel .badge { color: var(--ink); }
.privacy-panel h2 { margin-top: 24px; font-size: clamp(38px, 5vw, 60px); line-height: 1.03; }
.privacy-panel p { margin: 17px 0 0; color: #cbd7da; }

.promise-list { display: grid; align-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.promise-list li { padding: 17px 19px; border: 2px solid #5c6c73; border-radius: 16px; background: rgba(255,255,255,.05); font-weight: 700; }
.promise-list strong { color: var(--lemon); }

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 5px solid var(--line);
  border-radius: 34px;
  background: var(--water);
  box-shadow: var(--shadow);
}

.cta-card h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.cta-card p { margin: 12px 0 0; font-weight: 650; }

.site-footer { margin-top: 84px; border-top: 3px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, transparent); }
.footer-shell { min-height: 112px; display: flex; align-items: center; gap: 22px; padding: 24px 0; }
.footer-shell p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer-links a { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

.changelog-main { padding: 68px 0 48px; }

.changelog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: clamp(34px, 6vw, 68px);
  border: 5px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at 90% 18%, color-mix(in srgb, var(--lemon) 68%, transparent) 0 76px, transparent 78px),
    var(--water-soft);
  box-shadow: 10px 12px 0 var(--line);
}

.changelog-hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 950;
}

.changelog-hero-copy > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 560;
}

.current-build {
  position: relative;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border: 5px solid var(--line);
  border-radius: 30px 30px 30px 8px;
  background: var(--surface);
  box-shadow: 7px 8px 0 var(--water-dark);
  transform: rotate(1.5deg);
}

.current-build span,
.current-build b,
.current-build small { font-family: var(--font-rounded); }
.current-build span { color: var(--water-dark); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.current-build strong { margin-top: 9px; font-family: var(--font-rounded); font-size: clamp(48px, 6vw, 68px); line-height: .95; letter-spacing: -.06em; }
.current-build b { width: fit-content; margin-top: 14px; padding: 7px 10px; border: 3px solid var(--line); border-radius: 999px; background: var(--lemon); font-size: 14px; }
.current-build small { margin-top: 16px; color: var(--muted); font-size: 12px; font-weight: 750; }
.current-build img { display: block; width: 100%; height: auto; margin-top: 18px; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); }

.release-ledger { margin-top: 94px; }
.release-heading { max-width: 760px; margin-bottom: 42px; }
.release-heading .kicker,
.changelog-cta .kicker { margin: 0 0 10px; color: var(--water-dark); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.release-heading h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.release-heading > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 17px; }

.release-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  scroll-margin-top: 110px;
}

.release-stamp {
  display: grid;
  justify-items: center;
  padding: 18px 12px;
  border: 4px solid var(--line);
  border-radius: 22px 22px 7px 22px;
  background: var(--lemon);
  box-shadow: 5px 6px 0 var(--line);
  font-family: var(--font-rounded);
  text-align: center;
  transform: rotate(-1.5deg);
}

.release-stamp span { font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.release-stamp strong { margin-top: 4px; font-size: 18px; line-height: 1.05; }
.release-stamp time { margin-top: 13px; padding-top: 10px; border-top: 2px solid color-mix(in srgb, var(--line) 35%, transparent); color: var(--muted); font-size: 12px; font-weight: 800; }
.release-row.is-current .release-stamp { background: var(--water); transform: rotate(1deg); }

.release-card {
  min-width: 0;
  padding: clamp(25px, 4vw, 40px);
  border: 4px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.release-row:nth-of-type(2) .release-card { background: color-mix(in srgb, var(--water-soft) 60%, var(--surface)); }
.release-row:nth-of-type(4) .release-card { background: color-mix(in srgb, var(--lemon) 24%, var(--surface)); }

.release-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.release-state { color: var(--water-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.release-card h3 { max-width: 690px; margin-top: 7px; font-size: clamp(28px, 4vw, 42px); line-height: 1.06; }
.release-channel { flex: none; padding: 7px 11px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--font-rounded); font-size: 11px; font-weight: 850; white-space: nowrap; }
.release-lead { max-width: 820px; margin: 18px 0 0; color: var(--muted); font-size: 17px; font-weight: 560; }

.release-changes { margin: 24px 0 0; padding: 0; border-top: 3px solid var(--line); list-style: none; }
.release-changes li { display: grid; grid-template-columns: minmax(150px, .38fr) minmax(0, 1fr); gap: 20px; padding: 17px 0; border-bottom: 2px solid color-mix(in srgb, var(--line) 18%, transparent); }
.release-changes li:last-child { padding-bottom: 0; border-bottom: 0; }
.release-changes strong { font-family: var(--font-rounded); font-size: 15px; line-height: 1.35; }
.release-changes span { color: var(--muted); font-size: 15px; line-height: 1.55; }

.release-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  margin: 42px 0 0 156px;
  padding: 22px 25px;
  border: 4px solid var(--line);
  border-radius: 22px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 6px 7px 0 var(--water);
}

.release-note strong { font-family: var(--font-rounded); font-size: 16px; }
.release-note p { margin: 0; color: #cbd7da; font-size: 14px; }

.changelog-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 94px;
  padding: clamp(30px, 5vw, 54px);
  border: 5px solid var(--line);
  border-radius: 34px;
  background: var(--water);
  box-shadow: var(--shadow);
}

.changelog-cta h2 { max-width: 760px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.04; }
.changelog-cta .actions { justify-content: flex-end; margin-top: 0; }

.legal-main { padding: 68px 0 48px; }
.legal-hero,
.legal-section {
  border: 4px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 7px 8px 0 rgba(34,49,60,.14);
}

.legal-hero { padding: clamp(30px, 6vw, 58px); }
.legal-hero h1 { max-width: 780px; margin-top: 20px; font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.legal-hero > p { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 750; }

.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.legal-toc { position: sticky; top: 106px; align-self: start; display: grid; gap: 4px; padding: 12px; border: 3px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.legal-toc a { min-height: 40px; display: flex; align-items: center; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.legal-toc a:hover { background: var(--water-soft); color: var(--ink); }
.legal-content { display: grid; gap: 20px; }
.legal-section { padding: clamp(24px, 4vw, 36px); }
.legal-section.highlight { background: var(--water-soft); }
.legal-section h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.15; }
.legal-section h3 { margin-top: 24px; font-size: 19px; }
.legal-section p,
.legal-section ul { color: var(--muted); }
.legal-section p { margin: 13px 0 0; }
.legal-section ul { margin: 14px 0 0; padding-left: 1.25rem; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: var(--water-dark); font-weight: 800; text-underline-offset: 3px; }

.data-table { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 3px solid var(--line); border-radius: 16px; font-size: 14px; }
.data-table th,
.data-table td { padding: 14px; border-bottom: 2px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--lemon); font-family: var(--font-rounded); font-weight: 900; }
.data-table td { color: var(--muted); background: var(--surface); }
.data-table tr:last-child td { border-bottom: 0; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-grid .legal-section { height: 100%; }

@media (max-width: 1050px) {
  .brand span span { display: none; }
  .nav-links { gap: 3px; }
  .nav-links a { padding-inline: 10px; }
  .nav-resource-group { margin-left: 2px; padding-left: 11px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-copy > p { margin-inline: auto; }
  .actions { justify-content: center; }
  .product-stage { width: min(100%, 420px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .widget-gallery { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; }
  .changelog-hero { grid-template-columns: 1fr; }
  .current-build { width: min(100%, 360px); min-height: 240px; }
  .changelog-cta { grid-template-columns: 1fr; align-items: start; }
  .changelog-cta .actions { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links > a,
  .nav-links > .nav-group { display: none; }
  .theme-trigger span { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .cta-card { grid-template-columns: 1fr; }
  .release-row { grid-template-columns: 1fr; gap: 14px; }
  .release-stamp { width: fit-content; min-width: 132px; justify-items: start; padding: 13px 16px; text-align: left; }
  .release-stamp time { margin-top: 8px; padding-top: 7px; }
  .release-card-heading { display: grid; }
  .release-channel { width: fit-content; white-space: normal; }
  .release-changes li { grid-template-columns: 1fr; gap: 5px; }
  .release-note { grid-template-columns: 1fr; gap: 6px; margin-left: 0; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
  .legal-toc { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .data-table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  .wrap,
  .nav-shell { width: min(100% - 22px, var(--max)); }
  .brand span span { display: none; }
  .hero { padding-bottom: 58px; }
  .product-stage { padding-inline: 0; }
  .phone { width: min(88vw, 330px); }
  .note-card { right: -3px; bottom: 10%; }
  .section { padding: 68px 0; }
  .feature-card { padding: 24px; border-width: 3px; box-shadow: 5px 6px 0 var(--line); }
  .widget-showcase-card { border-width: 3px; box-shadow: 5px 6px 0 var(--line); }
  .widget-media { border-bottom-width: 3px; }
  .widget-media-home { min-height: 180px; padding: 20px 14px; }
  .widget-showcase-copy { padding: 23px 22px 25px; }
  .privacy-panel,
  .cta-card { border-width: 4px; border-radius: 28px; }
  .changelog-main { padding-top: 34px; }
  .changelog-hero { padding: 28px 22px; border-width: 4px; border-radius: 28px; box-shadow: 7px 8px 0 var(--line); }
  .changelog-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .current-build { min-height: 220px; padding: 22px; border-width: 4px; }
  .release-ledger { margin-top: 72px; }
  .release-card { padding: 24px 21px; border-width: 3px; border-radius: 24px; box-shadow: 5px 6px 0 var(--line); }
  .release-stamp { border-width: 3px; box-shadow: 4px 5px 0 var(--line); }
  .changelog-cta { margin-top: 72px; padding: 28px 22px; border-width: 4px; border-radius: 28px; }
  .legal-main { padding-top: 34px; }
  .legal-hero,
  .legal-section { border-width: 3px; border-radius: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
