/* ==========================================================================
   REJA — pre-launch marketplace site
   Palette anchored on the product's committed brand azure (#2A6FEA).
   ========================================================================== */

:root {
  /* Brand */
  --brand:        oklch(0.56 0.196 259);
  --brand-strong: oklch(0.495 0.192 259);
  --brand-soft:   oklch(0.78 0.108 259);
  --brand-wash:   oklch(0.955 0.026 259);

  /* Ink / dark surfaces */
  --ink-900: oklch(0.145 0.022 265);
  --ink-800: oklch(0.196 0.026 265);
  --ink-700: oklch(0.262 0.028 265);

  /* Light surfaces */
  --paper:   oklch(0.988 0.003 259);
  --surface: oklch(1 0 0);
  --tint:    oklch(0.968 0.008 259);

  /* Type on light */
  --text:  oklch(0.275 0.018 262);
  --muted: oklch(0.462 0.018 262);
  --line:  oklch(0.902 0.008 259);

  /* Type on dark */
  --text-dark:  oklch(0.955 0.006 259);
  --muted-dark: oklch(0.788 0.016 259);
  --line-dark:  oklch(0.32 0.024 265);

  --accent: oklch(0.79 0.142 74);

  /* Rhythm */
  --gutter: 1.5rem;
  --band-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --radius: 14px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);

  /* Layering */
  --z-sticky: 100;
  --z-nav-panel: 110;
  --z-skip: 200;

  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: var(--z-skip);
  background: var(--surface);
  color: var(--text);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px oklch(0.145 0.022 265 / 0.25);
  transition: top 0.2s var(--ease-out-quart);
}
.skip:focus-visible { top: 1rem; }

.shell {
  width: min(1180px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ header */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  padding-block: 1.05rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out-quart),
              border-color 0.35s var(--ease-out-quart),
              padding 0.35s var(--ease-out-quart);
}

.site-head.is-stuck {
  background: oklch(0.145 0.022 265 / 0.96);
  border-bottom-color: var(--line-dark);
  padding-block: 0.7rem;
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dark);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark-glyph {
  display: grid;
  place-items: center;
  color: var(--brand-soft);
  transition: transform 0.4s var(--ease-out-expo);
}
.wordmark:hover .wordmark-glyph { transform: rotate(-6deg) scale(1.05); }

/* Language switch. Sits outside the collapsible nav so it stays reachable
   on mobile without opening the menu. */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: oklch(1 0 0 / 0.05);
}

.langswitch button {
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 0.46rem 0.62rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart);
}

.langswitch button[aria-pressed="false"] { color: var(--muted-dark); }
.langswitch button[aria-pressed="false"]:hover { color: var(--text-dark); }
.langswitch button[aria-pressed="true"] { background: oklch(1 0 0 / 0.13); }

.langswitch-sep {
  color: var(--line-dark);
  font-size: 0.78rem;
  user-select: none;
}

.navlist {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.3rem + 1.6vw, 2rem);
}

.navlist a {
  color: var(--muted-dark);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
}
.navlist a:hover { color: var(--text-dark); }
.navlist-cta a:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: oklch(1 0 0 / 0.07);
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  color: var(--text-dark);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars i {
  display: block;
  width: 17px; height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-quart), opacity 0.2s linear;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child  { transform: translateY(-3.3px) rotate(-45deg); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--text-dark);
  padding-block: clamp(8rem, 6rem + 10vw, 12rem) clamp(4.5rem, 3rem + 7vw, 8rem);
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(58% 48% at 74% 30%, oklch(0.56 0.196 259 / 0.42), transparent 68%),
    radial-gradient(46% 40% at 12% 8%, oklch(0.62 0.15 246 / 0.24), transparent 70%);
  filter: blur(6px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark) 22%, var(--line-dark) 78%, transparent);
}

.hero-inner {
  display: grid;
  gap: clamp(3rem, 1rem + 7vw, 5rem);
  align-items: center;
}

@media (min-width: 940px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 1rem + 4vw, 5rem);
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem 0.42rem 0.72rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.05);
  color: var(--text-dark);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 oklch(0.79 0.142 74 / 0.5);
  animation: pulse 2.8s var(--ease-out-quart) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.79 0.142 74 / 0.5); }
  60%  { box-shadow: 0 0 0 8px oklch(0.79 0.142 74 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.79 0.142 74 / 0); }
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.65rem, 1.5rem + 4.6vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lede {
  font-family: var(--font-text);
  font-size: clamp(1.12rem, 1.02rem + 0.42vw, 1.32rem);
  line-height: 1.62;
  max-width: 34ch;
  margin-top: 1.5rem;
  color: var(--text-dark);
}

.lede-dark { color: var(--text-dark); max-width: 60ch; }

.hero-note {
  max-width: 46ch;
  margin-top: 1.15rem;
  color: var(--muted-dark);
  font-size: 0.97rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.3rem;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-quart),
              background-color 0.25s var(--ease-out-quart),
              border-color 0.25s var(--ease-out-quart),
              box-shadow 0.25s var(--ease-out-quart);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 9px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px oklch(0.56 0.196 259 / 0.32);
}
.btn-primary:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px oklch(0.56 0.196 259 / 0.4);
}

.btn-ghost {
  border-color: var(--line-dark);
  background: oklch(1 0 0 / 0.04);
  color: var(--text-dark);
}
.btn-ghost:hover {
  border-color: var(--brand-soft);
  background: oklch(1 0 0 / 0.09);
  transform: translateY(-2px);
}

.navlist-cta .btn {
  background: oklch(1 0 0 / 0.08);
  border-color: var(--line-dark);
  color: var(--text-dark);
}
.navlist-cta .btn:hover { background: var(--brand); border-color: var(--brand); }

/* ---------------------------------------------------------------- hero art */

.hero-art { justify-self: center; width: min(100%, 460px); }
.hero-art svg { width: 100%; height: auto; overflow: visible; }

.hero-art .ring { transform-origin: 210px 210px; animation: drift 68s linear infinite; }
.hero-art .ring:nth-of-type(3) { animation-duration: 52s; animation-direction: reverse; }
.hero-art .ring:nth-of-type(4) { animation-duration: 40s; }

@keyframes drift { to { transform: rotate(360deg); } }

.hero-art .spokes path {
  stroke-dasharray: 210;
  stroke-dashoffset: 0;
  animation: draw 1.1s var(--ease-out-expo) backwards;
}
.hero-art .spokes path:nth-child(1) { animation-delay: 0.16s; }
.hero-art .spokes path:nth-child(2) { animation-delay: 0.22s; }
.hero-art .spokes path:nth-child(3) { animation-delay: 0.28s; }
.hero-art .spokes path:nth-child(4) { animation-delay: 0.34s; }
.hero-art .spokes path:nth-child(5) { animation-delay: 0.40s; }
.hero-art .spokes path:nth-child(6) { animation-delay: 0.46s; }
.hero-art .spokes path:nth-child(7) { animation-delay: 0.52s; }
.hero-art .spokes path:nth-child(8) { animation-delay: 0.58s; }
.hero-art .spokes path:nth-child(9) { animation-delay: 0.64s; }
.hero-art .spokes path:nth-child(10){ animation-delay: 0.70s; }
.hero-art .spokes path:nth-child(11){ animation-delay: 0.76s; }
.hero-art .spokes path:nth-child(12){ animation-delay: 0.82s; }

@keyframes draw { from { stroke-dashoffset: 210; opacity: 0; } }

.hero-art .nodes rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.75s var(--ease-out-expo) backwards;
}
.hero-art .nodes rect:nth-child(1) { animation-delay: 0.62s; }
.hero-art .nodes rect:nth-child(2) { animation-delay: 0.68s; }
.hero-art .nodes rect:nth-child(3) { animation-delay: 0.74s; }
.hero-art .nodes rect:nth-child(4) { animation-delay: 0.80s; }
.hero-art .nodes rect:nth-child(5) { animation-delay: 0.86s; }
.hero-art .nodes rect:nth-child(6) { animation-delay: 0.92s; }
.hero-art .nodes rect:nth-child(7) { animation-delay: 0.98s; }
.hero-art .nodes rect:nth-child(8) { animation-delay: 1.04s; }
.hero-art .nodes rect:nth-child(9) { animation-delay: 1.10s; }
.hero-art .nodes rect:nth-child(10){ animation-delay: 1.16s; }
.hero-art .nodes rect:nth-child(11){ animation-delay: 1.22s; }
.hero-art .nodes rect:nth-child(12){ animation-delay: 1.28s; }

@keyframes pop { from { opacity: 0; transform: scale(0.55); } }

.hero-art .hub { animation: hub 0.9s var(--ease-out-expo) backwards; }
@keyframes hub { from { opacity: 0; transform: scale(0.9); } }

/* ------------------------------------------------------------------- bands */

.band { padding-block: var(--band-y); }
.band-alt { background: var(--tint); border-block: 1px solid var(--line); }

.band-dark {
  background: var(--ink-900);
  color: var(--text-dark);
  background-image: radial-gradient(52% 40% at 82% 0%, oklch(0.56 0.196 259 / 0.2), transparent 70%);
}

.band h2 {
  font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.split { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  }
  .split-head { position: sticky; top: 6.5rem; align-self: start; }
}

.split-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 26ch;
}

.prose { max-width: 68ch; display: grid; gap: 1.25rem; }
.prose p {
  font-family: var(--font-text);
  font-size: 1.11rem;
  line-height: 1.72;
}

/* ------------------------------------------------------------------ ledger */

.ledger { display: grid; }

.ledger li {
  display: grid;
  gap: 0.45rem 3rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.ledger li:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 720px) {
  .ledger li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}

.ledger h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.ledger p {
  font-family: var(--font-text);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
  max-width: 62ch;
}

/* ------------------------------------------------------------- email rules */

.email-head { max-width: 62ch; }
.email-head h2 { color: var(--text-dark); }

.rules {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 1px solid var(--line-dark);
}

@media (min-width: 860px) {
  .rules { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
}

.rules li {
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--line-dark);
}

.rules h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.005em;
}

.rules h3::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.8 9.3l2.7 2.7 5.7-5.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    var(--brand);
}

.rules p {
  margin-top: 0.6rem;
  padding-left: 1.7rem;
  font-family: var(--font-text);
  color: var(--muted-dark);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 56ch;
}

.rules-foot {
  margin-top: 2.4rem;
  max-width: 66ch;
  color: var(--muted-dark);
  font-family: var(--font-text);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------- contact */

.contact { display: grid; gap: 0; }

.contact > div {
  display: grid;
  gap: 0.3rem 3rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.contact > div:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 620px) {
  .contact > div {
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
    align-items: baseline;
  }
}

.contact dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact dd {
  font-size: 1.12rem;
  font-weight: 500;
}

.contact dd a {
  color: var(--brand-strong);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.495 0.192 259 / 0.32);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease-out-quart);
}
.contact dd a:hover { border-bottom-color: var(--brand-strong); }

.contact-note {
  margin-top: 1.6rem;
  max-width: 58ch;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ footer */

.site-foot {
  background: var(--ink-900);
  color: var(--muted-dark);
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--line-dark);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.foot-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-right: auto;
}
.foot-brand span {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-dark);
  font-size: 0.93rem;
}

.foot-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot-nav a {
  color: var(--muted-dark);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
}
.foot-nav a:hover { color: var(--text-dark); }

.foot-copy {
  width: 100%;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------- doc page */

.doc { padding-block: clamp(8rem, 6rem + 8vw, 11rem) var(--band-y); }

.doc-head {
  max-width: 62ch;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.doc-meta {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-status {
  margin-top: 1.6rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-wash);
  color: var(--text);
  font-size: 0.99rem;
  line-height: 1.65;
  max-width: 66ch;
}

.doc-body { max-width: 70ch; margin-top: 3rem; display: grid; gap: 2.75rem; }

.doc-body section { display: grid; gap: 0.85rem; }

.doc-body h2 {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.doc-body p,
.doc-body li {
  font-family: var(--font-text);
  font-size: 1.07rem;
  line-height: 1.72;
  color: var(--text);
}

.doc-body ul { display: grid; gap: 0.6rem; padding-left: 1.35rem; }
.doc-body li { list-style: disc; }
.doc-body li::marker { color: var(--brand); }

.doc-body a { color: var(--brand-strong); }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}
.doc-back:hover { color: var(--brand-strong); }

/* page-specific: header on light documents.
   Documents scroll under a fixed header from the very top, so it stays
   opaque here rather than fading in on scroll like the landing hero. */
.theme-light .site-head {
  background: var(--paper);
  border-bottom-color: var(--line);
}
.theme-light .site-head.is-stuck {
  box-shadow: 0 1px 20px oklch(0.145 0.022 265 / 0.06);
}
.theme-light .site-head .wordmark { color: var(--text); }
.theme-light .site-head .wordmark-glyph { color: var(--brand); }
.theme-light .navlist a { color: var(--muted); }
.theme-light .navlist a:hover { color: var(--text); }
.theme-light .navlist-cta .btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.theme-light .navlist-cta .btn:hover { background: var(--brand-strong); }
.theme-light .nav-toggle {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
.theme-light .langswitch {
  background: var(--surface);
  border-color: var(--line);
}
.theme-light .langswitch button { color: var(--text); }
.theme-light .langswitch button[aria-pressed="false"] { color: var(--muted); }
.theme-light .langswitch button[aria-pressed="false"]:hover { color: var(--text); }
.theme-light .langswitch button[aria-pressed="true"] {
  background: var(--brand-wash);
  color: var(--brand-strong);
}
.theme-light .langswitch-sep { color: var(--line); }

/* ------------------------------------------------------------- small width */

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .navlist {
    position: absolute;
    z-index: var(--z-nav-panel);
    top: calc(100% + 0.65rem);
    right: var(--gutter);
    left: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.6rem;
    background: var(--ink-800);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px oklch(0.145 0.022 265 / 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out-quart),
                transform 0.25s var(--ease-out-quart),
                visibility 0.25s;
  }

  .navlist.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .navlist a {
    display: block;
    padding: 0.72rem 0.85rem;
    border-radius: 9px;
    color: var(--text-dark);
    font-size: 1rem;
  }
  .navlist a:hover { background: oklch(1 0 0 / 0.06); }

  .navlist-cta { margin-top: 0.3rem; }
  .navlist-cta .btn { width: 100%; padding-block: 0.75rem; }

  .theme-light .navlist a { color: var(--text-dark); }
}

@media (max-width: 620px) {
  :root { --gutter: 1.15rem; }
  .hero-art { width: min(100%, 330px); }
  .lede { max-width: none; }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-art .ring,
  .hero-art .spokes path,
  .hero-art .nodes rect,
  .hero-art .hub,
  .status-dot { animation: none; }

  .hero-art .spokes path { stroke-dashoffset: 0; }
  .btn:hover { transform: none; }
}
