/* ==========================================================================
   Mahjong Switch — Support & Privacy
   A single stylesheet for the whole site. No external fonts or libraries:
   the page makes no third-party requests, which keeps the privacy page honest.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #071a14;
  --bg-deep: #04110c;
  --surface: #0c2a20;
  --surface-2: #103528;
  --surface-3: #15402f;
  --text: #f3ecdc;
  --text-muted: #b2c2b7;
  --text-faint: #8da397;
  --gold: #e3b96c;
  --gold-strong: #f2d398;
  --gold-ink: #1b1408;
  --gold-dim: rgba(227, 185, 108, 0.12);
  --gold-line: rgba(227, 185, 108, 0.2);
  --gold-line-strong: rgba(227, 185, 108, 0.42);
  --jade: #6cc4a0;
  --red: #e0796a;
  --border: rgba(227, 185, 108, 0.16);
  --border-strong: rgba(227, 185, 108, 0.3);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(7, 26, 20, 0.78);
  --tile-face: linear-gradient(150deg, #fffdf6 0%, #f5edde 58%, #e6d8bf 100%);
  --tile-ink: #16382a;
  --tile-red: #b33a2c;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg: #f7f2e7;
    --bg-deep: #efe7d6;
    --surface: #fffdf8;
    --surface-2: #f4ecdd;
    --surface-3: #ece1cd;
    --text: #14291f;
    --text-muted: #4d6357;
    --text-faint: #6a7f72;
    --gold: #8a5f16;
    --gold-strong: #6c490b;
    --gold-ink: #fffdf8;
    --gold-dim: rgba(138, 95, 22, 0.1);
    --gold-line: rgba(138, 95, 22, 0.18);
    --gold-line-strong: rgba(138, 95, 22, 0.38);
    --jade: #1d6b4e;
    --red: #a33b2c;
    --border: rgba(20, 41, 31, 0.14);
    --border-strong: rgba(20, 41, 31, 0.26);
    --shadow: 0 26px 60px rgba(63, 47, 14, 0.14);
    --shadow-soft: 0 12px 30px rgba(63, 47, 14, 0.1);
    --header-bg: rgba(247, 242, 231, 0.84);
  }
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 86% -8%, rgba(227, 185, 108, 0.13), transparent 68%),
    radial-gradient(680px 520px at -6% 22%, rgba(108, 196, 160, 0.08), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(4, 17, 12, 0.5) 100%);
}

@media (prefers-color-scheme: light) {
  body::before {
    background:
      radial-gradient(760px 520px at 86% -8%, rgba(196, 146, 52, 0.16), transparent 68%),
      radial-gradient(680px 520px at -6% 22%, rgba(29, 107, 78, 0.08), transparent 70%);
  }
}

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

img {
  height: auto;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-strong);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

li:last-child {
  margin-bottom: 0;
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 0.1em 0.38em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

::selection {
  background: var(--gold);
  color: var(--gold-ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Small layout utilities, so no page needs inline styles under a strict CSP. */
.mt-18 {
  margin-top: 18px;
}

.mt-22 {
  margin-top: 22px;
}

.empty-wrap {
  margin-top: 22px;
}

.faq-group--spaced {
  margin-top: 46px;
}

.faq-group--spaced-sm {
  margin-top: 30px;
}

/* Anchored targets clear the sticky header, plus the jump bar where one exists.
   Only one offset mechanism is used here; combining scroll-padding on html
   with scroll-margin on targets applies both and leaves a large empty gap. */
.section[id],
.faq-group,
.faq,
.legal section {
  scroll-margin-top: 96px;
}

body:has(.jump-links) .section[id],
body:has(.jump-links) .faq-group,
body:has(.jump-links) .faq {
  scroll-margin-top: 162px;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--gold-line-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.site-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--gold-line-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  color: var(--gold) !important;
  border-bottom-color: var(--gold-line-strong) !important;
  transition: background 140ms ease, color 140ms ease;
}

.nav-contact:hover {
  background: var(--gold-dim);
}

.nav-contact svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Buttons and chips
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn:hover {
  color: var(--gold-ink);
  background: var(--gold-strong);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold-line-strong);
  color: var(--text);
}

.btn-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.chip svg {
  width: 13px;
  height: 13px;
  color: var(--jade);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(52px, 8vw, 96px) clamp(44px, 6vw, 76px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.62;
}

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

.hero-note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

/* Hero artwork ------------------------------------------------------------- */

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.art-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--gold-line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 48%, rgba(227, 185, 108, 0.17), transparent 54%),
    linear-gradient(155deg, rgba(16, 53, 40, 0.9), rgba(6, 24, 18, 0.65));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (prefers-color-scheme: light) {
  .art-frame {
    background:
      radial-gradient(circle at 50% 48%, rgba(196, 146, 52, 0.2), transparent 54%),
      linear-gradient(155deg, #fffdf8, #f1e7d5);
  }
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold-line);
  border-radius: 26px;
  pointer-events: none;
}

.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-line-strong);
  pointer-events: none;
}

.art-ring--outer {
  width: 82%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.55;
  animation: slow-spin 90s linear infinite;
}

.art-ring--inner {
  width: 65%;
  aspect-ratio: 1;
  opacity: 0.8;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.art-icon {
  position: relative;
  z-index: 2;
  width: 52%;
  border-radius: 24%;
  border: 1px solid var(--gold-line-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(227, 185, 108, 0.05);
}

.art-tile {
  position: absolute;
  z-index: 3;
  width: 76px;
  aspect-ratio: 3 / 4;
  padding: 9px;
  border-radius: 13px;
  background: var(--tile-face);
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.4),
    inset 0 -4px 0 rgba(19, 56, 42, 0.22),
    inset 0 2px 0 #ffffff;
}

.art-tile--dots {
  top: 7%;
  left: 3%;
  transform: rotate(-13deg);
}

.art-tile--bamboo {
  right: 1%;
  bottom: 9%;
  transform: rotate(11deg);
}

.art-tile svg {
  width: 100%;
  height: 100%;
}

.art-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  background: var(--header-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.art-chip svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.art-chip--top {
  top: 4%;
  right: 0;
}

.art-chip--bottom {
  bottom: 3%;
  left: 1%;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(108, 196, 160, 0.14);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(52px, 7vw, 88px);
}

.section-tight {
  padding-block: clamp(36px, 5vw, 60px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-head p {
  max-width: 40rem;
  color: var(--text-muted);
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.section-link::after {
  content: " →";
}

.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Cards ------------------------------------------------------------------- */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 62%), var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line-strong);
  color: var(--text);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: var(--gold-dim);
  color: var(--gold);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-size: 1.32rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.card-arrow {
  margin-top: auto;
  padding-top: 10px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Privacy strip ----------------------------------------------------------- */

.privacy-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(227, 185, 108, 0.13), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.privacy-strip h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.privacy-strip p {
  margin-top: 14px;
  color: var(--text-muted);
}

.pledge-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pledge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.pledge svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--jade);
  flex: 0 0 auto;
}

.pledge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
}

.pledge span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Popular answers --------------------------------------------------------- */

.answer-list {
  border-top: 1px solid var(--border);
}

.answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: color 140ms ease, padding 140ms ease;
}

.answer:hover {
  color: var(--gold);
  padding-left: 10px;
}

.answer span:first-child {
  font-size: 1.02rem;
}

.answer svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex: 0 0 auto;
}

/* Contact band ------------------------------------------------------------ */

.contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 220px at 0% 100%, rgba(108, 196, 160, 0.1), transparent 70%),
    var(--surface-2);
}

.contact-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-band p {
  max-width: 36rem;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.email-inline {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed var(--gold-line-strong);
}

/* --------------------------------------------------------------------------
   Page hero (support, privacy, terms)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(46px, 7vw, 78px) clamp(28px, 4vw, 44px);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  letter-spacing: -0.03em;
}

.page-hero .lead {
  max-width: 44rem;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--text-faint);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.82rem;
}

.meta-row strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* Jump links -------------------------------------------------------------- */

.jump-links {
  position: sticky;
  top: 74px;
  z-index: 40;
  padding-block: 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.jump-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 2px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}

.jump-inner::-webkit-scrollbar {
  display: none;
}

.jump-inner a {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.jump-inner a:hover {
  border-color: var(--gold-line-strong);
  color: var(--text);
  background: var(--gold-dim);
}

/* --------------------------------------------------------------------------
   Support page
   -------------------------------------------------------------------------- */

.support-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.search-block {
  margin-top: 28px;
}

.searchbar {
  position: relative;
  max-width: 560px;
}

.searchbar svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}

.searchbar input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px 12px 48px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  appearance: none;
}

.searchbar input::placeholder {
  color: var(--text-faint);
}

.searchbar input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px var(--gold-dim);
}

.search-status {
  min-height: 1.4em;
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 0.8rem;
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: start;
}

.start-step {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  counter-increment: start;
}

.start-step::before {
  content: counter(start, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.start-step h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.start-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-group {
  margin-bottom: 42px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.01rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  transition: color 140ms ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--gold);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 44px 22px 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.faq-answer p {
  margin-bottom: 0.8em;
}

.faq-answer ul {
  margin-top: 0.4em;
}

.faq-answer strong {
  color: var(--text);
}

.faq-answer .small-note {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--text-faint);
  font-size: 0.84rem;
}

.faq[hidden],
.faq-group[hidden] {
  display: none;
}

.empty-state {
  padding: 34px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

/* Troubleshooting checklist ----------------------------------------------- */

.panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.94rem;
}

.checklist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checklist li::before {
  counter-increment: check;
  content: counter(check);
  position: absolute;
  top: 13px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.checklist strong {
  color: var(--text);
}

/* Info callout ------------------------------------------------------------ */

.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--gold-dim);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.callout svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
  flex: 0 0 auto;
}

.callout strong {
  color: var(--text);
}

.callout--warn {
  border-left-color: var(--red);
  background: rgba(224, 121, 106, 0.09);
}

.callout--warn svg {
  color: var(--red);
}

/* Contact ----------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-aside h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.contact-aside p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
}

.contact-email a {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.copy-btn {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--gold);
  color: var(--gold-ink);
}

.contact-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
}

.contact-facts svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--jade);
  flex: 0 0 auto;
}

.contact-form {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-intro {
  margin-bottom: 22px;
  color: var(--text-faint);
  font-size: 0.83rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.field .optional {
  font-weight: 400;
  color: var(--text-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px var(--gold-dim);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.form-note {
  color: var(--text-faint);
  font-size: 0.76rem;
  line-height: 1.5;
}

.form-status {
  margin-top: 14px;
  color: var(--jade);
  font-size: 0.84rem;
  min-height: 1.2em;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.toc {
  position: sticky;
  top: 98px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.toc-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 140ms ease, padding 140ms ease;
}

.toc a:hover,
.toc a.is-active {
  color: var(--gold);
  padding-left: 4px;
}

.legal {
  max-width: 760px;
  min-width: 0;
}

.legal-intro {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.legal-intro p {
  color: var(--text-muted);
}

.legal section {
  padding-top: 34px;
}

.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.legal h2 .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  flex: 0 0 auto;
}

.legal h3 {
  margin: 26px 0 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal strong {
  color: var(--text);
  font-weight: 650;
}

.legal ul,
.legal ol {
  margin-bottom: 1.1em;
}

.legal a {
  overflow-wrap: anywhere;
}

.summary-box {
  margin-bottom: 8px;
  padding: 24px;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius-md);
  background:
    radial-gradient(380px 180px at 100% 0%, rgba(227, 185, 108, 0.12), transparent 70%),
    var(--surface-2);
}

.summary-box h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.summary-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-box li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
}

.summary-box li:last-child {
  margin-bottom: 0;
}

.summary-box li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.87rem;
  line-height: 1.5;
}

.data-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.legal-contact {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.legal-contact p {
  margin-bottom: 6px;
}

.legal-contact a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.legal .back-to-top {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Not-found page ---------------------------------------------------------- */

.not-found {
  max-width: 760px;
}

.not-found h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
}

.not-found .hero-lead {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(36px, 5vw, 56px);
}

.footer-brand p {
  max-width: 24rem;
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 9px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.89rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: var(--text-faint);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-art {
    min-height: 0;
    order: 2;
  }

  .art-frame {
    width: min(100%, 400px);
  }

  .card-grid,
  .start-steps {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
  }

  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .toc a {
    padding: 4px 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .section[id],
  .faq-group,
  .faq,
  .legal section {
    scroll-margin-top: 139px;
  }

  body:has(.jump-links) .section[id],
  body:has(.jump-links) .faq-group,
  body:has(.jump-links) .faq {
    scroll-margin-top: 207px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    overflow-x: auto;
  }

  .site-nav a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .nav-contact {
    padding: 7px 12px;
  }

  .nav-contact span {
    display: none;
  }

  .jump-links {
    top: 117px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .art-tile {
    width: 62px;
  }

  .art-chip {
    font-size: 0.68rem;
    padding: 7px 11px;
  }

  .art-chip--top {
    top: 0;
    right: -4px;
  }

  .art-chip--bottom {
    bottom: -4px;
    left: -4px;
  }

  .card-grid,
  .start-steps {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-answer {
    padding-right: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.55rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-band-actions {
    width: 100%;
  }

  .contact-band-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --text: #111111;
    --text-muted: #333333;
    --text-faint: #555555;
    --border: #cccccc;
    --gold: #6b4a10;
  }

  body {
    background: #ffffff;
    color: #111111;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .site-footer,
  .toc,
  .jump-links,
  .skip-link,
  .back-to-top {
    display: none !important;
  }

  .legal-shell {
    display: block;
  }

  .legal {
    max-width: none;
  }

  .legal section {
    break-inside: avoid-page;
  }

  a {
    color: #111111;
    text-decoration: underline;
  }

  .summary-box,
  .data-table-wrap,
  .legal-contact {
    background: #ffffff;
    border-color: #bbbbbb;
  }
}
