:root {
  --ink: #071a21;
  --ink-2: #0c2933;
  --ink-3: #123844;
  --paper: #fbfaf6;
  --cream: #f0eee6;
  --lime: #d8ff67;
  --mint: #66e3c4;
  --orange: #ff6846;
  --green: #087968;
  --line: rgba(7, 26, 33, .16);
  --line-light: rgba(255, 255, 255, .15);
  --muted: #596b70;
  --sand: #dedbcf;
  --shadow: 0 24px 70px rgba(7, 26, 33, .12);
  --shadow-strong: 0 34px 90px rgba(7, 26, 33, .22);
  --radius: 26px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
h1, h2, h3 {
  margin: 0 0 1.1rem;
  color: inherit;
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .98;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(3.4rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.9rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.04em; line-height: 1.05; }
p { margin: 0 0 1.2rem; }
li { margin-bottom: .65rem; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 144px) 0; }
.section-head { max-width: 820px; margin-bottom: 3.5rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.15rem;
  color: var(--green);
  font: 800 .72rem/1.3 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.16rem, 2vw, 1.42rem); line-height: 1.58; letter-spacing: -.02em; }
.micro, .byline { color: var(--muted); font-size: .82rem; }
.micro { margin-top: 1rem; }

/* Persistent shell */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #ffb657, #d8ff67, #66e3c4, #6aaeff, #a98bff, #ff8fc7);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}
.g-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-170%);
}
.g-skip:focus { transform: translateY(0); }
.g-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  width: min(1220px, calc(100% - 28px));
  min-height: 70px;
  margin: 14px auto 16px;
  padding: 11px 13px 11px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(7, 26, 33, .92);
  box-shadow: 0 12px 38px rgba(7, 26, 33, .16);
  backdrop-filter: blur(18px) saturate(140%);
  transition: min-height .35s cubic-bezier(.2,.8,.2,1), background .35s ease, box-shadow .35s ease;
}
.g-header.is-scrolled { min-height: 62px; background: rgba(7, 26, 33, .97); box-shadow: 0 15px 44px rgba(7, 26, 33, .24); }
.g-brand { display: flex; flex: none; gap: 11px; align-items: center; color: white; text-decoration: none; }
.g-brand img { width: 39px; height: 39px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.g-brand:hover { color: white; }
.g-brand:hover img { transform: rotate(-8deg) scale(1.06); }
.g-brand strong { display: block; font-size: 1.15rem; font-weight: 900; letter-spacing: .15em; line-height: 1; }
.g-brand small { display: block; margin-top: 5px; color: #a9bbc0; font-size: .58rem; letter-spacing: .025em; }
.g-header nav { display: flex; align-items: center; gap: 22px; }
.g-header nav > a:not(.btn) {
  position: relative;
  color: #eef5f2;
  font-size: .8rem;
  font-weight: 720;
  text-decoration: none;
}
.g-header nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.g-header nav > a:hover::after, .g-header nav > a[aria-current=page]::after { transform: scaleX(1); transform-origin: 0 50%; }
.g-menu {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: white;
  font-weight: 750;
}
.g-menu i, .g-menu i::before, .g-menu i::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.g-menu i { position: relative; }
.g-menu i::before, .g-menu i::after { content: ""; position: absolute; left: 0; }
.g-menu i::before { top: -5px; }
.g-menu i::after { top: 5px; }
.g-menu[aria-expanded=true] i { background: transparent; }
.g-menu[aria-expanded=true] i::before { transform: translateY(5px) rotate(45deg); }
.g-menu[aria-expanded=true] i::after { transform: translateY(-5px) rotate(-45deg); }

/* Buttons and interaction */
.actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin: 1.8rem 0; }
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: .9rem;
  font-weight: 820;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(7, 26, 33, .14);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), background .28s ease, color .28s ease, box-shadow .28s ease;
}
.btn:hover { color: var(--ink); background: var(--lime); box-shadow: 0 16px 34px rgba(7, 26, 33, .2); transform: translateY(-3px); }
.btn.is-pressed { transform: translateY(1px) scale(.97); }
.btn.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.btn.secondary:hover { border-color: var(--ink); background: rgba(255,255,255,.65); }
.btn.small { min-height: 44px; padding: 10px 17px; border-color: var(--lime); background: var(--lime); color: var(--ink); box-shadow: none; font-size: .79rem; }
.btn.small:hover { background: white; border-color: white; }
.btn.light { border-color: var(--lime); background: var(--lime); color: var(--ink); }

/* Homepage hero */
.g-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(1450px, calc(100% - 28px));
  min-height: calc(100svh - 118px);
  padding: clamp(48px, 4.8vw, 76px) clamp(24px, 6vw, 92px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, .78fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--hero-x,75%) var(--hero-y,20%), rgba(102,227,196,.19), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(255,104,70,.17), transparent 29%),
    var(--ink);
  color: #f7faf7;
  box-shadow: var(--shadow-strong);
}
.g-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
}
.g-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -230px;
  z-index: -1;
  background: conic-gradient(#ff6b6b, #ffb657, #d8ff67, #66e3c4, #6aaeff, #a98bff, #ff8fc7, #ff6b6b);
  border-radius: 50%;
  opacity: .14;
  -webkit-mask: radial-gradient(circle, transparent 0 48%, #000 49% 67%, transparent 68%);
  mask: radial-gradient(circle, transparent 0 48%, #000 49% 67%, transparent 68%);
}
.hero-copy { position: relative; z-index: 2; }
.g-hero .eyebrow { color: var(--lime); }
.g-hero h1 { max-width: none; margin-bottom: 1.8rem; font-size: clamp(4.2rem, 7vw, 7.6rem); }
.g-hero h1 span { display: block; white-space: nowrap; }
.g-hero h1 span:last-child { color: var(--lime); }
.g-hero .lede { max-width: 660px; color: #d9e4e1; }
.g-hero .hero-copy > p:not(.eyebrow,.lede,.micro) { max-width: 650px; color: #aebfc1; }
.g-hero .hero-copy > p strong { color: white; }
.g-hero .micro { max-width: 620px; color: #8da3a8; }
.g-hero .btn { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.g-hero .btn:hover { border-color: white; background: white; }
.g-hero .btn.secondary { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); color: white; }
.g-hero .btn.secondary:hover { border-color: white; background: rgba(255,255,255,.12); }
.notice {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --parallax-y: 0px;
  position: relative;
  padding: clamp(25px, 3.5vw, 44px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  background: rgba(251,250,246,.96);
  color: var(--ink);
  box-shadow: 20px 24px 0 rgba(216,255,103,.92), 0 38px 80px rgba(0,0,0,.3);
  transform: perspective(900px) translate3d(0,var(--parallax-y),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(1.5deg);
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .35s ease;
  will-change: transform;
}
.notice::before { content: "CASE / 00-NONE"; display: block; margin-bottom: 24px; color: var(--green); font: 800 .62rem/1 var(--mono); letter-spacing: .13em; }
.notice::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%), rgba(102,227,196,.16), transparent 34%);
}
.notice:hover { box-shadow: 24px 29px 0 rgba(216,255,103,.97), 0 44px 90px rgba(0,0,0,.36); }
.notice-id { padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: .73rem; }
.notice h2 { margin-block: 26px; font-size: clamp(2.4rem, 4.5vw, 4.55rem); }
.notice dl { margin-block: 28px; font-size: .82rem; }
.notice dl div { display: grid; padding: 10px 0; grid-template-columns: 84px 1fr; gap: 12px; border-top: 1px solid var(--line); }
.notice dt { font-weight: 800; }
.notice dd { margin: 0; }
.notice-sign { margin: 0; font-size: 2.15rem; font-weight: 900; letter-spacing: .12em; }
.notice-sign span { float: right; font: 500 .68rem/3 var(--mono); letter-spacing: 0; }

.band {
  position: relative;
  width: min(1400px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 27px 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--lime);
  color: var(--ink);
}
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.65) 45%, transparent 70%); transform: translateX(-120%); }
.band p { position: relative; z-index: 1; margin: 0; text-align: center; font-size: clamp(.88rem,1.6vw,1.05rem); }

/* Cards and sections */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  min-width: 0;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251,250,246,.84);
  box-shadow: 0 8px 0 rgba(7,26,33,.03);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(102,227,196,.24), transparent 34%); transition: opacity .35s ease; }
.card::after { content: ""; position: absolute; right: 24px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255,104,70,.11); }
.card:nth-child(6n + 2)::after { background: #ffb657; box-shadow: 0 0 0 7px rgba(255,182,87,.12); }
.card:nth-child(6n + 3)::after { background: #d8ff67; box-shadow: 0 0 0 7px rgba(216,255,103,.12); }
.card:nth-child(6n + 4)::after { background: #66e3c4; box-shadow: 0 0 0 7px rgba(102,227,196,.12); }
.card:nth-child(6n + 5)::after { background: #6aaeff; box-shadow: 0 0 0 7px rgba(106,174,255,.12); }
.card:nth-child(6n + 6)::after { background: #a98bff; box-shadow: 0 0 0 7px rgba(169,139,255,.12); }
.card:hover { z-index: 2; border-color: rgba(7,26,33,.4); background: white; box-shadow: var(--shadow); transform: translateY(-8px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card .eyebrow { margin-bottom: 30px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--muted); font-size: .93rem; }
.card-link { position: absolute; right: 28px; bottom: 26px; left: 30px; color: var(--ink); font-size: .8rem; font-weight: 820; text-decoration: none; }
#why .cards { grid-template-columns: repeat(12,minmax(0,1fr)); }
#why .card { grid-column: span 4; }
#why .card:first-child, #why .card:nth-child(2) { grid-column: span 6; min-height: 310px; }
#why .card:last-child { border-color: var(--ink); background: var(--ink); color: white; }
#why .card:last-child h3 a, #why .card:last-child .card-link { color: white; }
#why .card:last-child p { color: #adc0c3; }
#why .card:last-child::after { background: var(--lime); box-shadow: 0 0 0 7px rgba(216,255,103,.12); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 108px); align-items: start; }
.dark {
  position: relative;
  isolation: isolate;
  width: min(1400px, calc(100% - 28px));
  margin-inline: auto;
  overflow: hidden;
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
}
.dark::after { content: "HOMO"; position: absolute; right: -1vw; bottom: -7vw; z-index: -1; color: rgba(255,255,255,.035); font-size: clamp(8rem, 25vw, 25rem); font-weight: 950; letter-spacing: -.1em; line-height: 1; }
.dark .eyebrow { color: var(--lime); }
.dark p { color: #b6c5c7; }
.dark .lede { color: white; }
.truth-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffb657, #d8ff67, #66e3c4, #6aaeff, #a98bff, #ff8fc7);
  opacity: .8;
}
.paper { width: min(1400px, calc(100% - 28px)); margin-inline: auto; border-radius: 34px; background: var(--paper); }
.paper .card { border-color: var(--ink); background: var(--lime); }
.reading { max-width: 900px; }
#conversion {
  margin-block: clamp(36px, 6vw, 84px);
  padding: clamp(42px, 7vw, 82px);
  border-radius: 32px;
  background: var(--ink-2);
  color: white;
  box-shadow: var(--shadow);
}
#conversion .eyebrow { color: var(--lime); }
#conversion p { color: #c1d0d2; }
#conversion p strong, #conversion a { color: white; }
#the-name { padding-block: clamp(90px, 13vw, 180px); }

/* Guides */
.article { max-width: 1040px; padding-block: 42px 110px; }
.article > h1 { max-width: 970px; font-size: clamp(3.25rem, 7.2vw, 7rem); }
.article > h1 + .lede { max-width: 910px; margin-top: 1.7rem; }
.article > h2 { max-width: 850px; margin-top: 4.8rem; font-size: clamp(2.15rem, 4vw, 3.8rem); }
.article > p, .article > ul, .article > ol { max-width: 840px; }
.article > .actions, .article > .cards, .article > .table-scroll, .article > .warning, .article > .faq, .article > .sources { max-width: 100%; }
.article .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.crumb { margin: 0 0 58px; color: var(--muted); font: 700 .72rem/1.5 var(--mono); overflow-wrap: anywhere; }
.crumb span { margin-left: 7px; }
.byline { display: inline-flex; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); }
.warning { margin: 38px 0; padding: 27px 30px; border: 1px solid rgba(255,104,70,.35); border-radius: 18px; background: linear-gradient(135deg, rgba(255,104,70,.13), rgba(255,255,255,.55)); font-size: .94rem; }
.warning strong { display: block; margin-bottom: 6px; }
.guide-steps { max-width: 100% !important; margin: 32px 0 42px; padding: 0; list-style: none; }
.guide-steps li {
  display: grid;
  margin: 0;
  padding: 24px 0;
  grid-template-columns: 62px minmax(0,1fr);
  gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.guide-steps li:last-child { border-bottom: 1px solid var(--line); }
.guide-steps li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251,250,246,.72);
  color: var(--green);
  font: 850 .72rem/1 var(--mono);
}
.guide-steps h3 { margin: 3px 0 8px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.guide-steps p { max-width: 760px; margin: 0; color: var(--muted); }
.truth-note, .mini-truth {
  position: relative;
  margin: 34px 0;
  padding: 24px 26px 24px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251,250,246,.72);
}
.truth-note::before, .mini-truth::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(#ff6b6b, #ffb657, #d8ff67, #66e3c4, #6aaeff, #a98bff, #ff8fc7);
}
#conversion .truth-note { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.code-list { display: grid; margin: 34px 0 42px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.code-list article { position: relative; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(251,250,246,.76); }
.code-list article::after { content: ""; position: absolute; right: -32px; bottom: -32px; width: 84px; height: 84px; border-radius: 50%; background: rgba(102,227,196,.13); }
.code-list h3 { font-size: 1.4rem; }
.code-list p { margin: 0; color: var(--muted); }
.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 82px; padding: 22px 20px 22px 78px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step,decimal-leading-zero); position: absolute; left: 14px; top: 22px; color: var(--green); font: 850 .72rem/1 var(--mono); }
.steps strong { display: block; margin-bottom: 4px; }
.sources { margin-top: 70px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.48); color: var(--muted); font-size: .82rem; }
.sources h2 { margin-top: 0; font: 820 1rem/1.2 var(--sans); letter-spacing: -.02em; }
.sources a { overflow-wrap: anywhere; }
.table-scroll { margin: 30px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 15px 42px rgba(7,26,33,.07); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption { padding: 18px 20px; background: var(--paper); font-weight: 800; text-align: left; }
th, td { padding: 18px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--ink); color: white; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
td:first-child { font-weight: 800; }
.example { padding: 26px; border-left: 5px solid var(--mint); border-radius: 0 18px 18px 0; background: var(--ink); color: white; }
.faq { margin-top: 72px; }
.faq h2 { margin-bottom: 35px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 58px 23px 0; cursor: pointer; font-size: 1.02rem; font-weight: 780; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 1.35rem; font-weight: 400; transition: transform .3s ease, background .3s ease; }
.faq details[open] summary::after { background: var(--orange); transform: rotate(45deg); }
.faq details p { max-width: 780px; margin: 0; padding: 0 58px 24px 0; color: var(--muted); }

/* Pride page and footer */
.pride-hero {
  position: relative;
  width: min(1450px, calc(100% - 28px));
  margin-inline: auto;
  padding: clamp(76px, 10vw, 145px) 0;
  overflow: hidden;
  border-radius: 34px;
  background: radial-gradient(circle at 80% 10%, rgba(102,227,196,.28), transparent 30%), var(--ink);
  color: white;
}
.pride-hero::after { content: "PRIDE"; position: absolute; right: -1rem; bottom: -3rem; color: rgba(216,255,103,.07); font-size: clamp(7rem, 23vw, 21rem); font-weight: 950; line-height: .8; }
.pride-hero .wrap { position: relative; z-index: 1; }
.pride-hero .eyebrow { color: var(--lime); }
.pride-hero h1 { max-width: 990px; font-size: clamp(3.4rem, 7vw, 7.2rem); }
.pride-hero .lede { max-width: 830px; color: #c4d2d3; }
.pride-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.pride-tiles .card { min-height: 300px; }
.g-footer { width: min(1450px, calc(100% - 28px)); margin: 14px auto; padding: 70px 0 24px; border-radius: 34px; background: var(--ink); color: #c8d4d3; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 54px; }
.wordmark { color: white; font-size: clamp(3.8rem, 7vw, 6.4rem); font-weight: 930; letter-spacing: -.08em; line-height: 1; text-decoration: none; }
.wordmark:hover { color: var(--lime); }
.footer-grid nav a { display: block; width: fit-content; margin-bottom: 10px; color: #c8d4d3; font-size: .8rem; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.footer-grid nav a:hover { color: var(--lime); transform: translateX(3px); }
.fineprint { margin-top: 48px; padding-top: 25px; border-top: 1px solid var(--line-light); color: #8fa3a6; font-size: .72rem; }

/* Motion is progressive: content remains visible until JS opts it in. */
.js .motion-reveal { opacity: 0; transform: translate3d(0,42px,0) scale(.985); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .85s cubic-bezier(.16,1,.3,1); transition-delay: var(--reveal-delay,0ms); }
.js .motion-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.js.motion-ready .g-hero .hero-copy > * { animation: hero-in .85s both cubic-bezier(.16,1,.3,1); animation-delay: calc(70ms * var(--hero-order,1)); }
.js.motion-ready .g-hero .hero-copy > :nth-child(1) { --hero-order: 1; }
.js.motion-ready .g-hero .hero-copy > :nth-child(2) { --hero-order: 2; }
.js.motion-ready .g-hero .hero-copy > :nth-child(3) { --hero-order: 3; }
.js.motion-ready .g-hero .hero-copy > :nth-child(4) { --hero-order: 4; }
.js.motion-ready .g-hero .hero-copy > :nth-child(5) { --hero-order: 5; }
.js.motion-ready .g-hero .hero-copy > :nth-child(6) { --hero-order: 6; }
.js.motion-ready .g-hero .notice { animation: notice-in 1s .24s both cubic-bezier(.16,1,.3,1); }
@keyframes hero-in { from { opacity: 0; transform: translateY(34px); } }
@keyframes notice-in { from { opacity: 0; transform: perspective(900px) translate3d(60px,50px,0) rotate(5deg); } }

@media (min-width: 901px) { .g-menu { display: none !important; } }
@media (max-width: 1080px) {
  .g-header nav { gap: 14px; }
  .g-brand small { display: none; }
  .g-hero { grid-template-columns: 1fr minmax(330px,.68fr); gap: 38px; }
  #why .card { grid-column: span 6; }
  #why .card:last-child { grid-column: span 12; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .g-header { flex-wrap: wrap; border-radius: 24px; }
  .g-header nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; padding: 12px 4px 5px; }
  .js .g-header nav { position: absolute; inset: calc(100% + 8px) 0 auto; padding: 16px; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px) scale(.98); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(7,26,33,.98); box-shadow: 0 20px 50px rgba(7,26,33,.3); transition: opacity .3s ease, transform .35s ease, visibility 0s .35s; }
  .js .g-header nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .g-header nav > a:not(.btn) { padding: 9px 4px; }
  .g-header nav .btn { flex-basis: 100%; }
  .g-hero { min-height: auto; grid-template-columns: 1fr; }
  .g-hero .hero-copy { max-width: 760px; }
  .notice { width: min(620px,calc(100% - 22px)); margin: 10px auto 15px; }
  .split { gap: 44px; }
  .pride-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 78px; }
  .g-header { top: 8px; width: calc(100% - 16px); margin-block: 8px; padding: 9px 10px 9px 13px; }
  .g-brand strong { font-size: 1rem; }
  .g-brand img { width: 36px; height: 36px; }
  .g-menu span { font-size: .78rem; }
  .g-hero, .pride-hero { width: calc(100% - 16px); padding: 58px 21px 65px; border-radius: 27px; }
  .g-hero h1 { max-width: none; font-size: clamp(3.6rem, 17vw, 5.3rem); }
  .g-hero h1 span { white-space: normal; }
  .g-hero .actions { align-items: stretch; flex-direction: column; }
  .g-hero .btn { width: 100%; }
  .notice { width: calc(100% - 6px); padding: 23px; box-shadow: 10px 13px 0 rgba(216,255,103,.92), 0 26px 60px rgba(0,0,0,.3); transform: rotate(0); }
  .notice h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .notice-sign span { float: none; display: block; margin-top: 8px; line-height: 1.2; }
  .band, .dark, .paper, .g-footer { width: calc(100% - 16px); border-radius: 27px; }
  .band { padding: 23px 16px; }
  .cards, .article .cards, .pride-tiles, .split, .footer-grid, .code-list { grid-template-columns: 1fr; }
  #why .cards { display: grid; grid-template-columns: 1fr; }
  #why .card, #why .card:first-child, #why .card:nth-child(2), #why .card:last-child { grid-column: auto; min-height: 255px; }
  .card { min-height: 255px; padding: 25px; }
  .paper .split { gap: 35px; }
  #conversion { width: calc(100% - 24px); padding: 32px 22px; border-radius: 26px; }
  .article { padding-top: 28px; padding-bottom: 80px; }
  .article > h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .article > h2 { margin-top: 3.8rem; }
  .crumb { margin-bottom: 38px; }
  .btn { max-width: 100%; }
  .article .actions { align-items: stretch; flex-direction: column; }
  .article .actions .btn { width: 100%; }
  th, td { padding: 13px; overflow-wrap: break-word; }
  table { font-size: .82rem; }
  .warning, .sources { padding: 22px; }
  .faq summary { padding-right: 50px; }
  .faq details p { padding-right: 8px; }
  .guide-steps li { grid-template-columns: 48px minmax(0,1fr); gap: 14px; }
  .guide-steps li > span { width: 40px; height: 40px; }
  .footer-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .motion-reveal { opacity: 1; transform: none; }
  .notice { transform: none; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .g-header, .g-footer, .g-menu, .g-skip, .scroll-progress, .actions { display: none !important; }
  .wrap { width: 100%; max-width: none; }
  .article { padding: 0; }
  .article > h1 { font-size: 28pt; }
  .article > h2 { font-size: 18pt; }
  .card, .notice, .warning, .sources { box-shadow: none; background: white; color: black; break-inside: avoid; }
  .cards, .split { display: block; }
  .table-scroll { overflow: visible; }
  .dark, .paper, .pride-hero, #conversion { width: 100%; background: white; color: black; }
  a { color: black; }
}
