/*
 * Quince Keeper waitlist stylesheet (SCH-409).
 *
 * Curated from sites/ampule-site/public/style.215e5de0.css for this single-screen
 * validation page. The color/spacing/radius/typography system is Ampule's; only the
 * rules this page uses are kept.
 *
 * Accent tokens are PROVISIONAL. There is no final app icon or brand decision yet,
 * so the site derives an amber/gold quince palette from the product direction. They
 * pass WCAG AA for the button, link, price and form text colors in both light and
 * dark schemes. Replace them when SCH-410 / final brand work lands.
 */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --raise: #f3efe8;
  --border: #e6e0d6;
  --text: #1a1714;
  --muted: #6a625a;

  --accent: #8a5a12;
  --on-accent: #ffffff;
  --accent-link: #74490d;
  --accent-tint: #f6efe2;
  --accent-edge: #b8842a45;
  --accent-glow: #c8943922;

  --radius: 14px;
  --maxw: 1080px;
  --readw: 42rem;
  --gutter: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 23, 20, .07), 0 10px 30px rgba(26, 23, 20, .05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100d;
    --surface: #1a1713;
    --raise: #221d17;
    --border: #2b261f;
    --text: #f2efe9;
    --muted: #a99f94;

    --accent: #e0aa60;
    --on-accent: #241605;
    --accent-link: #e9ba79;
    --accent-tint: #2b1e10;
    --accent-edge: #e0aa6059;
    --accent-glow: #e0aa6026;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 36px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-link); text-underline-offset: 3px; }

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

.skip {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus {
  top: 10px;
  left: 50%;
  width: auto;
  height: auto;
  clip: auto;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  text-decoration: none;
  z-index: 10;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 650;
  text-wrap: balance;
}

.eyebrow {
  color: var(--accent-link);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.lede,
.pitch {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  max-width: 42rem;
  text-wrap: pretty;
}

.price {
  display: inline-block;
  margin: 24px auto 0;
  padding: 8px 16px;
  border: 1px solid var(--accent-edge);
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-link);
  font-weight: 650;
  letter-spacing: -.01em;
}

.fine {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 46rem;
  margin: 14px auto 0;
  text-wrap: pretty;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
}

.bar {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.brand,
a.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand svg { color: var(--accent); flex: 0 0 auto; }
.brand.small { font-size: .98rem; }

.page-hero {
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 10vw, 112px) var(--gutter) clamp(52px, 8vw, 96px);
  background:
    radial-gradient(76% 62% at 50% 0%, var(--accent-tint), transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 56%, var(--bg)), var(--bg));
}

.page-hero .wrap {
  max-width: var(--readw);
  margin: 0 auto;
  text-align: center;
}

.page-hero .price { max-width: 100%; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 22px auto 0;
}

a.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

a.button:hover,
button.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

a.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.glyph { width: 18px; height: 18px; flex: 0 0 auto; }

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 28px auto 0;
}

.waitlist-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.waitlist-form input::placeholder { color: color-mix(in srgb, var(--muted) 70%, var(--border)); }

.waitlist-form button { flex: 0 0 auto; }

@media (min-width: 52rem) {
  .waitlist-form { flex-wrap: nowrap; }
  .waitlist-form input { flex: 0 1 340px; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.card h1 { font-size: clamp(1.5rem, 4vw, 2rem); }

.card.contact {
  background: var(--accent-tint);
  border-color: var(--accent-edge);
  max-width: 580px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}

.card.contact .fine { margin-left: auto; margin-right: auto; }
.card.contact .waitlist-form { max-width: 420px; }
.card.contact .waitlist-form input { flex: 1 1 210px; }

@media (min-width: 52rem) {
  .card { padding: 34px; border-radius: 18px; }
  .card.contact { padding: 34px; }
}

.address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  overflow-wrap: anywhere;
}

footer.site {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0;
}

.foot {
  max-width: var(--readw);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.legal {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 46rem;
  margin: 0;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  a.button:hover,
  button.button:hover { transform: none; }
}
