/* IT Jerks. Good at IT. Bad at people.
   Tokens first, components after. Components only ever read tokens. */

:root {
  --ground: #EDF0F4;
  --surface: #FFFFFF;
  --surface-2: #F6F8FB;
  --ink: #141925;
  --muted: #566074;
  --line: #D3D9E3;
  --navy: #1A2140;
  --navy-ink: #E9ECF5;
  --navy-muted: #9CA5C4;
  --stamp: #CF3328;
  --stamp-ink: #FFFFFF;
  --stamp-soft: #FBE7E4;
  --highlight: #FFE066;
  --highlight-ink: #141925;
  --ok: #1F7A4D;
  --focus: #2F54EB;
  --shadow: 0 1px 2px rgba(20, 25, 37, .06), 0 8px 24px rgba(20, 25, 37, .08);

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s-xs: .8125rem;   /* 13 */
  --s-sm: .9375rem;   /* 15 */
  --s-md: 1.0625rem;  /* 17 */
  --s-lg: 1.25rem;    /* 20 */
  --s-xl: 1.625rem;   /* 26 */
  --s-2xl: 2.25rem;   /* 36 */
  --s-3xl: clamp(2.25rem, 4.6vw, 3.5rem);
  --s-hero: clamp(2.5rem, 5.6vw, 4.5rem);

  --r: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0F121A;
    --surface: #171B26;
    --surface-2: #1C2130;
    --ink: #E6E9F0;
    --muted: #9AA3B6;
    --line: #2A3144;
    --navy: #0A0D15;
    --navy-ink: #E6E9F0;
    --navy-muted: #8790AC;
    --stamp: #FF5C4F;
    --stamp-ink: #14080A;
    --stamp-soft: #3A1B1A;
    --highlight: #E9C84A;
    --highlight-ink: #14120A;
    --ok: #4CC98A;
    --focus: #8FA8FF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --ground: #0F121A;
  --surface: #171B26;
  --surface-2: #1C2130;
  --ink: #E6E9F0;
  --muted: #9AA3B6;
  --line: #2A3144;
  --navy: #0A0D15;
  --navy-ink: #E6E9F0;
  --navy-muted: #8790AC;
  --stamp: #FF5C4F;
  --stamp-ink: #14080A;
  --stamp-soft: #3A1B1A;
  --highlight: #E9C84A;
  --highlight-ink: #14120A;
  --ok: #4CC98A;
  --focus: #8FA8FF;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stamp); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--s-3xl); }
h3 { font-size: var(--s-lg); line-height: 1.2; font-weight: 800; }
p { margin: 0; }
mark { background: linear-gradient(transparent 12%, var(--highlight) 12%, var(--highlight) 88%, transparent 88%); color: var(--highlight-ink); padding: 0 .15em; }
code { font-family: var(--f-mono); font-size: .92em; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.ticket-line {
  font-family: var(--f-mono);
  font-size: var(--s-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket-line a { text-decoration: none; }
.ticket-line a:hover { text-decoration: underline; }
.lede { font-size: var(--s-lg); line-height: 1.5; color: var(--muted); max-width: 40ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-size: var(--s-sm); font-weight: 600;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .85em 1.25em; border-radius: var(--r); border: 2px solid transparent;
  transition: transform .12s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-stamp { background: var(--stamp); color: var(--stamp-ink); }
.btn-stamp:hover { color: var(--stamp-ink); filter: brightness(1.07); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { color: var(--ground); opacity: .9; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------- rubber stamp */
.stamp {
  --rot: -7deg;
  display: inline-block;
  font-family: var(--f-mono); font-weight: 600; font-size: var(--s-sm);
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.1;
  color: var(--stamp);
  border: 3px solid currentColor; border-radius: 8px;
  padding: .45em .8em;
  outline: 1.5px solid currentColor; outline-offset: 3px;
  transform: rotate(var(--rot));
  opacity: .9;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.2 0 0 0 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.2 0 0 0 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  user-select: none;
}
.stamp-sm { font-size: var(--s-xs); border-width: 2px; outline-width: 1px; }
.stamp-lg { font-size: clamp(1rem, 2vw, 1.35rem); border-width: 4px; outline-width: 2px; outline-offset: 4px; }

/* ---------------------------------------------------------------- status strip + header */
.status-strip { background: var(--navy); color: var(--navy-muted); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; }
.strip-inner { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; padding-block: .5rem; align-items: center; }
.strip-inner b { color: var(--navy-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.strip-inner a { color: var(--navy-ink); text-decoration: none; border-bottom: 1px dashed var(--navy-muted); }
.strip-inner a:hover { color: var(--highlight); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; text-transform: uppercase; }
.brand:hover { color: var(--ink); }
.brand .mark { flex: none; color: var(--ink); }

.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .55rem .75rem; text-decoration: none; font-weight: 500; font-size: var(--s-sm); border-radius: var(--r); }
.site-nav a[aria-current="page"] { color: var(--stamp); }
.site-nav .nav-pay { margin-left: .5rem; }
.site-nav .nav-pay a { padding: .7rem 1.1rem; color: var(--stamp-ink); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: .4em; height: .4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: .5em; }
.sub { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 14rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: .55rem .7rem; }
.sub a:hover { background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; font: 600 var(--s-sm) var(--f-body); background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: .55rem .9rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1rem; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .has-sub > a::after { display: none; }
  .site-nav .nav-pay { margin: .5rem 0 0; }
  .header-inner { position: relative; }
  .hide-sm { display: none; }
}

/* ---------------------------------------------------------------- page heads */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.page-head .wrap { display: grid; gap: 1rem; position: relative; }
.page-head h1 { font-size: var(--s-3xl); max-width: 18ch; }
.page-head .stamp { position: absolute; right: var(--gutter); bottom: .25rem; --rot: -9deg; }
@media (max-width: 700px) { .page-head .stamp { position: static; justify-self: start; margin-top: .5rem; } }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 46rem; }
.section-alt { background: var(--surface); }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.75rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; }
.hero h1 { font-size: var(--s-hero); line-height: .95; letter-spacing: -.02em; position: relative; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--stamp); }
.hero-stamp { position: absolute; right: 0; top: -.4em; --rot: 11deg; font-size: clamp(.7rem, 1.2vw, .9rem); }
.hero .lede { max-width: 34ch; color: var(--ink); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stamp { position: static; display: inline-block; margin-bottom: .4rem; }
}

/* ---------------------------------------------------------------- how it works (hero) */
.process { display: grid; gap: 1rem; }
.process-steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.process-steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: baseline; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.process-steps .n { font-family: var(--f-mono); font-size: var(--s-sm); font-weight: 600; color: var(--muted); }
.process-steps p { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 750; font-size: var(--s-xl); line-height: 1.15; text-wrap: balance; }
.process-steps .aside { color: var(--muted); font-weight: 600; }
.process-steps .final p { color: var(--stamp); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 850; line-height: 1.05; }
.process-steps .final .n { color: var(--stamp); }

/* ---------------------------------------------------------------- home: honesty + lists */
.confess { display: grid; gap: .3rem; }
.confess p { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 850; font-size: var(--s-3xl); line-height: 1.02; letter-spacing: -.015em; }
.confess p:last-child { color: var(--stamp); }
.honest-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.honest-grid .intro { display: grid; gap: 1rem; font-size: var(--s-lg); }
@media (max-width: 800px) { .honest-grid { grid-template-columns: 1fr; } }

.spec { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.spec li { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec .k { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec .v { font-size: var(--s-lg); line-height: 1.4; }
@media (max-width: 600px) { .spec li { grid-template-columns: 1fr; gap: .3rem; } }

.clauses { counter-reset: clause; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.clauses li { counter-increment: clause; background: var(--surface); padding: 1.4rem 1.5rem 1.4rem 4.5rem; position: relative; font-size: var(--s-lg); line-height: 1.4; }
.clauses li::before { content: "\00A7 " counter(clause); position: absolute; left: 1.5rem; top: 1.55rem; font-family: var(--f-mono); font-size: var(--s-sm); color: var(--stamp); font-weight: 600; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; margin: 0; }
.quote blockquote { margin: 0; font-size: var(--s-lg); line-height: 1.45; }
.quote figcaption { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: grid; gap: .25rem; }
.stars { color: var(--stamp); letter-spacing: .15em; font-size: var(--s-sm); }
.stars .off { color: var(--line); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.cta-band { background: var(--navy); color: var(--navy-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band h2 { font-size: var(--s-2xl); }
.cta-band p { color: var(--navy-muted); margin-top: .5rem; max-width: 48ch; }
.cta-band .btn-ghost { color: var(--navy-ink); border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: var(--navy-ink); }

/* ---------------------------------------------------------------- services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: .8rem; align-content: start; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.svc-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.svc-card h2 { font-size: var(--s-xl); }
.svc-card p { color: var(--muted); }
.svc-card .ticket-line { color: var(--stamp); }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-side { display: grid; gap: 1rem; position: sticky; top: 6rem; }
@media (max-width: 860px) { .svc-side { position: static; } }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; display: grid; gap: .6rem; }
.side-box h3 { font-size: var(--s-md); }
.side-box .ticket-line { color: var(--muted); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.side-list a { display: block; padding: .35rem 0; text-decoration: none; }
.side-list a[aria-current="page"] { color: var(--stamp); font-weight: 600; }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 68ch; display: grid; gap: 1.15rem; font-size: var(--s-md); }
.prose h2 { font-size: var(--s-2xl); margin-top: 1.25rem; }
.prose h3 { font-size: var(--s-lg); margin-top: .75rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--stamp); }
.prose .spec { gap: 0; padding: 0; }
.prose .big { font-size: var(--s-xl); line-height: 1.35; font-weight: 500; }
.prose blockquote { margin: 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--stamp); font-size: var(--s-lg); font-style: italic; }
.prose dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.prose dl > div { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .prose dl > div { grid-template-columns: 1fr; gap: .2rem; } }

.fineprint { background: var(--surface-2); border: 1px dashed var(--muted); border-radius: var(--r); padding: 1.25rem 1.4rem; display: grid; gap: .5rem; font-size: var(--s-sm); }
.fineprint .ticket-line { color: var(--ok); }
.fineprint strong { font-weight: 600; }

.notice { background: var(--stamp-soft); border: 2px solid var(--stamp); border-radius: var(--r); padding: 1.1rem 1.25rem; display: grid; gap: .45rem; font-size: var(--s-sm); }
.notice .ticket-line { color: var(--stamp); font-weight: 600; }

/* ---------------------------------------------------------------- invoice / pricing */
.invoice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border-bottom: 2px solid var(--ink); }
.invoice-head h2 { font-size: var(--s-xl); }
.invoice-scroll { overflow-x: auto; }
.invoice table { width: 100%; border-collapse: collapse; min-width: 520px; }
.invoice th, .invoice td { text-align: left; padding: .8rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.invoice th { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.invoice td.amt, .invoice th.amt { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.invoice td.amt { font-weight: 500; }
.invoice .note { display: block; font-size: var(--s-xs); color: var(--muted); }
.invoice tfoot td { font-weight: 700; font-size: var(--s-lg); border-bottom: 0; border-top: 2px solid var(--ink); }
.invoice .stamp { position: absolute; right: 1.5rem; bottom: 4.5rem; --rot: -14deg; }
@media (max-width: 640px) { .invoice .stamp { bottom: auto; top: 1rem; right: .75rem; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; position: relative; }
.plan.featured { border: 2px solid var(--ink); }
.plan .flag { position: absolute; top: -.8rem; left: 1.25rem; background: var(--ink); color: var(--ground); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 3px; }
.plan h3 { font-size: var(--s-xl); }
.plan .price { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 850; font-size: var(--s-2xl); line-height: 1; }
.plan .price small { display: block; font-family: var(--f-mono); font-size: var(--s-xs); font-weight: 500; color: var(--muted); letter-spacing: .06em; margin-top: .4rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--s-sm); }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .4rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan li.no::before { border: 0; content: "\00D7"; color: var(--stamp); transform: none; top: -.05em; font-weight: 700; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend, .field .label { font-weight: 600; font-size: var(--s-sm); }
.field .hint { font-size: var(--s-xs); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; font: 400 var(--s-md) var(--f-body); color: var(--ink); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: .7rem .8rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.field .err { font-size: var(--s-xs); color: var(--stamp); font-weight: 600; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--stamp); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: .5rem; }
.choice { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--s-md); padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface-2); cursor: pointer; }
.choice:hover { border-color: var(--muted); }
.choice input { margin-top: .3em; accent-color: var(--stamp); width: 1.05rem; height: 1.05rem; flex: none; }
.inline-note { font-size: var(--s-sm); background: var(--highlight); color: var(--highlight-ink); padding: .6rem .8rem; border-radius: var(--r); }
input[type="range"] { width: 100%; accent-color: var(--stamp); }
.range-read { font-family: var(--f-mono); font-size: var(--s-sm); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.range-read b { color: var(--stamp); font-variant-numeric: tabular-nums; }

.two-col { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- support maze */
.maze-top { display: grid; gap: .6rem; }
.maze-progress { height: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.maze-progress span { display: block; height: 100%; width: 10%; background: var(--stamp); transition: width .6s cubic-bezier(.5, 0, .2, 1); }
.maze-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.saved { color: var(--ok); }
.maze-step { display: grid; gap: 1.2rem; }
.maze-step h3 { font-size: var(--s-xl); }
.maze-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .5rem; border-top: 1px solid var(--line); }
.stars-input { display: flex; gap: .35rem; }
.stars-input button { font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--line); padding: .1rem; }
.stars-input button.on { color: var(--stamp); }
.submitting { display: grid; gap: 1rem; text-align: left; }
.submitting .maze-progress { height: 14px; }
.submit-status { font-family: var(--f-mono); font-size: var(--s-sm); min-height: 1.6em; }

/* ---------------------------------------------------------------- error screen + dialog */
.err-screen { border: 2px solid var(--stamp); border-radius: 10px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.err-title { background: var(--stamp); color: var(--stamp-ink); font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .1em; text-transform: uppercase; padding: .55rem 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.err-body { padding: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.err-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--stamp); display: grid; place-items: center; }
.err-icon svg { width: 26px; height: 26px; }
.err-text { display: grid; gap: .75rem; }
.err-text h3 { font-size: var(--s-2xl); color: var(--stamp); }
.err-text .code { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); letter-spacing: .06em; }
.err-text .big { font-size: var(--s-lg); line-height: 1.45; }
@media (max-width: 520px) { .err-body { grid-template-columns: 1fr; } }

dialog.jerk-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); width: 100%; color: var(--ink); }
dialog.jerk-dialog::backdrop { background: rgba(10, 13, 21, .6); backdrop-filter: blur(2px); }
dialog.jerk-dialog .err-screen { box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.jerk-dialog .btn-row { margin-top: .5rem; }

/* ---------------------------------------------------------------- pay */
.wallets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.wallet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: .75rem; align-content: start; }
.wallet .addr { display: block; background: var(--surface-2); border: 1px dashed var(--line); padding: .7rem .8rem; border-radius: var(--r); overflow-wrap: anywhere; font-size: var(--s-sm); }
.wallet-empty .addr { color: var(--stamp); }
.wallet p { font-size: var(--s-sm); color: var(--muted); }
@media (max-width: 700px) { .wallets { grid-template-columns: 1fr; } }
.calc-out { display: grid; gap: 0; border-top: 2px solid var(--ink); font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.calc-out div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; border-bottom: 1px solid var(--line); font-size: var(--s-sm); }
.calc-out div.total { font-size: var(--s-lg); font-weight: 600; border-bottom: 0; }
.calc-out div.total span:last-child { color: var(--stamp); }
.calc-mood { font-size: var(--s-sm); font-style: italic; color: var(--muted); }

/* ---------------------------------------------------------------- careers */
.offer { background: var(--navy); color: var(--navy-ink); border-radius: var(--r); padding: 1.4rem; display: grid; gap: .5rem; }
.offer .rate { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: var(--s-3xl); line-height: 1; color: var(--highlight); font-variant-numeric: tabular-nums; }
.offer p { color: var(--navy-muted); }
.offer .ticket-line { color: var(--navy-muted); }

/* ---------------------------------------------------------------- blog */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }
.post-card a { display: grid; gap: .6rem; height: 100%; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.post-card a:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.post-card-title { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; font-size: var(--s-xl); line-height: 1.1; text-wrap: balance; }
.post-card-excerpt { color: var(--muted); font-size: var(--s-sm); }
.post-card-meta { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--stamp); letter-spacing: .04em; }
.post .page-head h1 { max-width: 22ch; }
.post .prose { padding-block: clamp(2rem, 5vw, 3.5rem) 1rem; }
.post-disclaimer { font-size: var(--s-xs); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 2rem 3.5rem; max-width: 68ch; }
.post-nav a { display: grid; gap: .3rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; font-weight: 600; font-size: var(--s-sm); }
.post-nav a.next { text-align: right; }
.post-nav a:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav a.next { text-align: left; } }

/* ---------------------------------------------------------------- footer + cookie */
.site-footer { background: var(--navy); color: var(--navy-muted); padding-block: 3.5rem 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-family: var(--f-mono); font-stretch: normal; font-variation-settings: normal; font-size: var(--s-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-ink); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: var(--s-sm); }
.site-footer a { text-decoration: none; color: var(--navy-muted); }
.site-footer a:hover { color: var(--navy-ink); }
.site-footer .brand, .site-footer .brand:hover { color: var(--navy-ink); }
.site-footer .brand .mark { color: var(--navy-ink); }
.footer-brand { display: grid; gap: .9rem; align-content: start; font-size: var(--s-sm); max-width: 30ch; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: .8rem; font-size: var(--s-sm); }
.footer-legal strong { color: var(--navy-ink); }
.footer-legal .ticket-line { color: var(--navy-muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-inline: auto; z-index: 50; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 1rem 1.1rem; display: grid; gap: .8rem; font-size: var(--s-sm); }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--ground); padding: .7rem 1rem; border-radius: var(--r); font-size: var(--s-sm); z-index: 60; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }

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