/* Amber site styles. Layout: Hueco's single quiet column, stretched into a long letter. Yellow appears in three places only: the bead, the highlighter, the send button. */
:root {
  --bg: #fbfbf9;
  --ink: #1a1a1a;
  --body: #4a4a4a;
  --muted: #7a7a75;
  --faint: #9a9a95;
  --rule: #e8e7e0;
  --line: #c4c4be;
  --field: #ffffff;
  --amber: #f5b80a;
  --amber-hi: #ffd34d;
  --amber-wash: #fdeeb8;
  --on-amber: #1a1a1a;
  --error: #a3341f;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131311; --ink: #f3f2ec; --body: #c8c7bf; --muted: #93928a; --faint: #75746d;
    --rule: #2a2a26; --line: #4a4a44; --field: #1b1b18;
    --amber: #ffc629; --amber-hi: #ffd864; --amber-wash: rgba(255, 198, 41, 0.22); --on-amber: #1a1a1a;
    --error: #f08a74; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131311; --ink: #f3f2ec; --body: #c8c7bf; --muted: #93928a; --faint: #75746d;
  --rule: #2a2a26; --line: #4a4a44; --field: #1b1b18;
  --amber: #ffc629; --amber-hi: #ffd864; --amber-wash: rgba(255, 198, 41, 0.22); --on-amber: #1a1a1a;
  --error: #f08a74; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.col { max-width: 580px; margin: 0 auto; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

/* Header */
header.top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 0; }
.mark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: 0.01em; text-decoration: none; color: var(--ink); }
.bead { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--amber-hi), var(--amber) 70%); box-shadow: 0 0 0 3px var(--amber-wash); flex: none; transform: translateY(1px); }
nav.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
nav.links a { text-decoration: none; }
nav.links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); }

/* Hero */
.hero { padding-block: 96px 72px; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 52px); line-height: 1.05; letter-spacing: 0.005em; margin: 0 0 22px; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.5; color: var(--body); letter-spacing: -0.008em; margin: 0; text-wrap: pretty; }
.hl { background: linear-gradient(transparent 58%, var(--amber-wash) 58%, var(--amber-wash) 92%, transparent 92%); color: var(--ink); padding: 0 2px; }
.sub { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.doors { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 15px; color: var(--ink); }
.doors a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

/* Sections */
section.block { padding-block: 56px; border-top: 1px solid var(--rule); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin: 0 0 14px; text-wrap: balance; }
p.copy { font-size: 16.5px; line-height: 1.6; color: var(--body); margin: 0; max-width: 62ch; }
p.copy + p.copy { margin-top: 12px; }
.cta { display: inline-block; margin-top: 22px; font-size: 15px; color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

dl.types { display: grid; grid-template-columns: 1fr; gap: 0; margin: 26px 0 0; }
dl.types > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding-block: 12px; border-top: 1px solid var(--rule); }
dl.types > div:last-child { border-bottom: 1px solid var(--rule); }
dl.types dt { font-family: var(--serif); font-size: 18px; color: var(--ink); }
dl.types dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); min-width: 0; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
ol.steps li::before { content: counter(s); font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.35; }
ol.steps strong { color: var(--ink); font-weight: 500; }

ul.terms { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
ul.terms li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
ul.terms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: 9px; }

/* Form */
form { margin-top: 28px; display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
legend, label.f { font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 8px; display: block; }
.opt { color: var(--faint); font-weight: 400; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label { font-size: 14.5px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); cursor: pointer; transition: background .15s, border-color .15s; }
.roles label:hover { border-color: var(--muted); }
.roles input:checked + label { background: var(--amber-wash); border-color: var(--amber); color: var(--ink); }
.roles input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row > div { min-width: 0; }
input.t, textarea, select {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
input.t:focus, textarea:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-wash); }
input.t::placeholder, textarea::placeholder { color: var(--faint); }
.err { font-size: 13px; color: var(--error); margin-top: 6px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
button.go {
  font: inherit; font-size: 15px; font-weight: 500; color: var(--on-amber); background: var(--amber);
  border: 0; border-radius: 6px; padding: 12px 22px; cursor: pointer; transition: background .15s, transform .1s;
}
button.go:hover { background: var(--amber-hi); }
button.go:active { transform: translateY(1px); }
button.go[disabled] { opacity: .6; cursor: progress; }
.fine { font-size: 13px; color: var(--faint); line-height: 1.5; }
.done { margin-top: 28px; padding: 22px 0 0; border-top: 2px solid var(--amber); }
.done h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.done p { font-size: 15.5px; line-height: 1.6; color: var(--body); margin: 0; }
.done button { margin-top: 14px; font: inherit; font-size: 14px; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; cursor: pointer; }

footer { border-top: 1px solid var(--rule); padding-block: 28px 48px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
footer .fl { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration-color: transparent; }
footer a:hover { text-decoration-color: var(--amber); }

@media (max-width: 540px) {
  .hero { padding-block: 64px 52px; }
  .row { grid-template-columns: 1fr; }
  dl.types > div { grid-template-columns: 1fr; gap: 2px; }
  nav.links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Spam trap: hidden from people, filled by some bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin-top: 0; font-size: 14px; }
.form-err a { color: inherit; }
