:root {
  --bg: #f7f1ea;
  --card: #fffdf9;
  --ink: #2f2620;
  --muted: #74675c;
  --accent: #a5784f;
  --accent-ink: #ffffff;
  --line: #e6dacd;
  --shadow: 0 10px 30px rgba(73, 52, 33, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1815;
    --card: #26211d;
    --ink: #f3ebe2;
    --muted: #b9aa9b;
    --accent: #d1a77c;
    --accent-ink: #1c1815;
    --line: #3b332c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px 24px 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.names {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1.1;
}

.amp {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.rule {
  width: 56px;
  height: 1px;
  margin: 18px auto;
  background: var(--accent);
  opacity: 0.6;
}

.lead {
  margin: 0 auto 26px;
  max-width: 32ch;
  color: var(--muted);
}

.actions {
  display: grid;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.notice {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.help {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.help h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.help ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}

.help li + li { margin-top: 6px; }

.help strong { color: var(--ink); font-weight: 600; }

.foot {
  margin-top: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}
