/* Simone Labs — styles.css (case-D596, NM#D791). Palette DECISIONS.md N16, type N17. Contrast ratios: DECISIONS.md C9. */
:root {
  --paper: #FBF7F1;
  --surface: #FFFFFF;
  --tint: #F4EDE3;
  --ink: #1C1917;
  --muted: #6B625A;
  --ember: #C2491D;
  --ember-bright: #E8643C;
  --teal: #1F6F6A;
  --on-ember: #FFFFFF;
  --line: #E3D8CA;
  --badge-bg: #FBE7DD;
  --badge-ink: #9E3A15;
  --error: #A3261B;
  --win: #FFFFFF;
  --win-bar: #F4EDE3;
  --field-a: #F6C9B3;
  --field-b: #BFE0DC;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120F;
    --surface: #1E1A16;
    --tint: #1B1713;
    --ink: #F3ECE3;
    --muted: #B8AC9F;
    --ember: #F07A4F;
    --ember-bright: #F07A4F;
    --teal: #4FB8AE;
    --on-ember: #15120F;
    --line: #3A322A;
    --badge-bg: #3A2217;
    --badge-ink: #F07A4F;
    --error: #FF9C8A;
    --win: #26211C;
    --win-bar: #312A23;
    --field-a: #5A2A18;
    --field-b: #133E3B;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; color: var(--paper); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.mark-tile { fill: var(--ink); }
.mark-flask { stroke: var(--paper); }
.mark-liquid { fill: var(--ember-bright); }
.mark-bubble { fill: var(--paper); }
.mark-spark { fill: var(--ember-bright); }
.nav { list-style: none; display: flex; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; padding: 6px 2px; display: inline-block; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 420px) { .nav { gap: 2px 14px; } .nav a { font-size: 0.92rem; } }

/* hero */
.hero { padding: 48px 0 40px; }
@media (min-width: 860px) { .hero { padding: 88px 0 72px; } }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.eyebrow { color: var(--ember); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75em; }
.lede { font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--ink); max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.5em; }
.text-link { font-weight: 600; }
.hero-art svg { display: block; width: 100%; height: auto; }

.stop-ember { stop-color: var(--field-a); }
.stop-teal { stop-color: var(--field-b); }
.stop-glow { stop-color: var(--surface); stop-opacity: 0.55; }
.stop-clear { stop-color: var(--surface); stop-opacity: 0; }
.art-trail { stroke: var(--ink); opacity: 0.55; }
.art-pin { fill: var(--ember); }
.win-body { fill: var(--win); stroke: var(--line); }
.win-bar { fill: var(--win-bar); }
.win-dot { fill: var(--muted); opacity: 0.55; }
.win-line { fill: var(--ink); opacity: 0.8; }
.win-line.soft { opacity: 0.25; }
.win-chip { fill: var(--teal); }
.spark-big { fill: var(--ember-bright); }
.spark-small { fill: var(--teal); }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 9s ease-in-out infinite reverse; transform-origin: 104px 100px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ember); color: var(--on-ember);
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
}
.button:hover { color: var(--on-ember); filter: brightness(0.94); }
.button:disabled { cursor: progress; opacity: 0.75; }

/* sections */
.section { padding: 56px 0; }
@media (min-width: 860px) { .section { padding: 80px 0; } }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tint p { font-size: 1.15rem; }

.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } .card-featured { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 2fr 1fr 1fr; } .card-featured { grid-column: auto; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--muted); margin-bottom: 0.6em; }
.card-featured { border: 2px solid var(--ember); }
.card-featured p { color: var(--ink); }
.card-featured h3 { font-size: 1.6rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-icon { stroke: var(--teal); }
.card-featured .card-icon { stroke: var(--ember); }
.badge { background: var(--badge-bg); color: var(--badge-ink); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* waitlist */
.waitlist-form { margin-top: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field-row input {
  flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 16px;
  font: 400 1.05rem/1 var(--body); color: var(--ink); background: var(--surface);
  border: 2px solid var(--muted); border-radius: 12px;
}
.field-row input:focus-visible { border-color: var(--teal); outline-offset: 2px; }
.field-row input[aria-invalid="true"] { border-color: var(--error); }
.field-row .button { flex: 0 0 auto; }
@media (max-width: 420px) { .field-row .button { flex: 1 1 100%; } }
.help { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }
.status { min-height: 1.6em; font-weight: 600; margin-top: 6px; }
.status.is-ok { color: var(--teal); }
.status.is-error { color: var(--error); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.js-note { display: none; color: var(--muted); font-style: italic; }
.no-js .js-note { display: block; }
.no-js .waitlist-form { display: none; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-row p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
