:root {
  --ink: #1B1420;
  --cream: #F4EFE6;
  --gold: #B8893F;
  --line: rgba(27,20,32,0.14);
  --muted: #6E6478;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F4EFE6;
    --cream: #17121C;
    --gold: #D9B779;
    --line: rgba(244,239,230,0.16);
    --muted: #A89CB0;
  }
}
:root[data-theme="dark"] {
  --ink: #F4EFE6;
  --cream: #17121C;
  --gold: #D9B779;
  --line: rgba(244,239,230,0.16);
  --muted: #A89CB0;
}
[hidden] { display: none !important; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }

header { padding: 28px 0 0; }
.brand {
  display: flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.brand .b1 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.46em;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 6px;
}
.brand .b2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.hero { padding: 90px 0 70px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  line-height: 1.15;
  max-width: 17ch;
  margin-bottom: 28px;
}
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 26px;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  font: 500 0.95rem 'Inter', sans-serif;
  cursor: pointer;
}

section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.5rem; margin-bottom: 32px; max-width: 20ch; }

.steps { display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: baseline; }
.step .n { font-family: 'Fraunces', serif; font-style: italic; color: var(--gold); font-size: 1.1rem; }
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.96rem; max-width: 50ch; }

.about p { max-width: 58ch; color: var(--muted); font-size: 1.02rem; }
.about p + p { margin-top: 16px; }

.intro { color: var(--muted); max-width: 52ch; margin: -12px 0 28px; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.social a, .social button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}
.social a:hover, .social button:hover, .social button[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.social button { background: transparent; color: inherit; font-family: inherit; cursor: pointer; }
.social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

form { display: grid; gap: 18px; max-width: 520px; }
label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 500; }
input, textarea {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font: 400 1rem 'Inter', sans-serif;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
form .cta { justify-self: start; }

.legal h2 { max-width: none; font-size: 1.2rem; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; max-width: 62ch; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .back { display: inline-block; margin-top: 8px; font-size: 0.9rem; color: var(--ink); }
.todo { background: rgba(184,137,63,0.22); padding: 0 4px; border-radius: 2px; color: var(--ink); }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.82rem; }
footer a { text-decoration: none; margin-left: 14px; }
footer a:hover { color: var(--gold); }

@media (max-width: 520px) {
  .hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
}
