/* ScentThread — landing page
   Tokens are locked in D:\Dev\Projets\Personnel-Workspace\brand\scentthread\identity.md
   Two colors + a warm light. Fraunces = memory (display). Inter = utility (everything else).
   Ember on Cream is 2.8:1 — graphic use only, never body text. */

:root {
  --ink:   #1E1723;
  --ember: #E4703A;
  --cream: #F7F1E8;

  /* the only permitted "greys": the palette at reduced opacity */
  --cream-70: rgba(247, 241, 232, .70);
  --cream-45: rgba(247, 241, 232, .45);
  --cream-14: rgba(247, 241, 232, .14);
  --cream-07: rgba(247, 241, 232, .07);

  --measure: 34rem;
  --gap: clamp(3.5rem, 9vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A quiet warmth behind the fold — one ember, at 6%. Not a gradient on the logo. */
body::before {
  content: "";
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 70vh;
  background: radial-gradient(58% 60% at 50% 0%, rgba(228, 112, 58, .10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, .num, .done-title, .memory-quote, .tag {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--cream); }

img { max-width: 100%; height: auto; }

/* ── Shell ─────────────────────────────────────────────── */

.site-head {
  padding: clamp(1.6rem, 4vw, 2.6rem) 1.25rem 0;
  text-align: center;
}
.wordmark { width: clamp(150px, 34vw, 208px); }

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { margin-block: var(--gap); }

h1 {
  font-size: clamp(2.7rem, 11vw, 4.1rem);
  margin: clamp(2.2rem, 6vw, 3.2rem) 0 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 .3rem;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.1rem;
  color: var(--cream-70);
  margin: 1.1rem 0 2.2rem;
  text-wrap: pretty;
}
.lede.small { font-size: 1.0125rem; margin-bottom: 1.8rem; }

.hero { text-align: center; margin-top: 0; }
.hero .lede { max-width: 30rem; margin-inline: auto; }

.aside {
  color: var(--cream-45);
  font-size: .9rem;
  text-align: center;
  margin: 1.1rem 0 0;
}

/* ── The thread, as a rule ─────────────────────────────── */

.thread { margin: calc(var(--gap) * .7) auto; width: min(210px, 60%); opacity: .85; }
.thread svg { display: block; width: 100%; height: 26px; }

/* ── Form ──────────────────────────────────────────────── */

.card {
  background: var(--cream-07);
  border: 1px solid var(--cream-14);
  border-radius: 14px;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  text-align: left;
}

label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cream-70);
  margin-bottom: .5rem;
}

textarea, input[type="email"], input[type="text"] {
  width: 100%;
  font: inherit;
  color: var(--cream);
  background: rgba(30, 23, 35, .55);
  border: 1px solid var(--cream-14);
  border-radius: 9px;
  padding: .75rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }

textarea::placeholder, input::placeholder { color: var(--cream-45); }

textarea:focus, input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(228, 112, 58, .22);
}
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.hint {
  font-size: .85rem;
  color: var(--cream-45);
  margin: .5rem 0 1.5rem;
}

.btn {
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--ember);
  border: 0;
  border-radius: 9px;
  padding: .85rem 1rem;
  margin-top: 1.4rem;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }

.micro {
  font-size: .82rem;
  color: var(--cream-45);
  margin: .85rem 0 0;
  text-align: center;
}
.micro.error { color: var(--ember); }

/* honeypot — off-screen, never display:none (bots skip hidden fields) */
.pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.done { text-align: center; }
.done-title { font-size: 1.75rem; margin: 0 0 .6rem; color: var(--ember); }
.done p { margin: 0 0 .7rem; color: var(--cream-70); }

/* ── Steps ─────────────────────────────────────────────── */

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-areas: "num title" ".   body";
  column-gap: .9rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--cream-14);
}
.steps li:last-child { border-bottom: 1px solid var(--cream-14); }
.num {
  grid-area: num;
  font-size: 1.5rem;
  color: var(--ember);
  line-height: 1.2;
}
.steps h3 { grid-area: title; align-self: center; }
.steps p { grid-area: body; margin: .25rem 0 0; color: var(--cream-70); }

/* ── Example reading ───────────────────────────────────── */

.reading {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 1.9rem);
  background: var(--cream-07);
  border: 1px solid var(--cream-14);
  border-left: 3px solid var(--ember);
  border-radius: 4px 14px 14px 4px;
}

.memory-quote {
  margin: 0 0 1.1rem;
  font-size: 1.3rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.translation {
  margin: 0 0 1.6rem;
  color: var(--cream-70);
  font-style: italic;
}

.picks { margin: 0; }
.picks > div { padding: .95rem 0; border-top: 1px solid var(--cream-14); }
.picks dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: .3rem;
}
.picks dd { margin: 0; }
.why { display: inline-block; margin-top: .2rem; color: var(--cream-70); font-size: .93rem; }
.price { color: var(--cream-45); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price.ember { color: var(--ember); }

/* ── Dupes ─────────────────────────────────────────────── */

/* Stacked at every width. Side-by-side reads like a spec sheet and starves both
   columns inside a 34rem measure — the point is the drop, so put one under the other. */
.dupes { list-style: none; margin: 0; padding: 0; }
.dupes li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--cream-14);
}
.dupes li:last-child { border-bottom: 1px solid var(--cream-14); }
.brand {
  display: block;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cream-45);
}
.orig { color: var(--cream-70); }
.alt { font-weight: 500; }
.arrow {
  color: var(--ember);
  font-size: 1.35rem;
  line-height: 1;
  display: block;
  transform: rotate(90deg);
  transform-origin: left center;
  margin: .7rem 0 1.2rem .8rem;
  height: 1rem;
}
.alt .why { display: block; font-weight: 400; }

.legal-inline {
  margin-top: 1.4rem;
  font-size: .88rem;
  color: var(--cream-45);
}

/* ── Honest note ───────────────────────────────────────── */

.honest p { color: var(--cream-70); }
.link-cta { font-weight: 600; text-decoration: none; }
.link-cta:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────── */

footer {
  max-width: var(--measure);
  margin: var(--gap) auto 0;
  padding: 2.5rem 1.25rem 3.5rem;
  border-top: 1px solid var(--cream-14);
  text-align: center;
}
.mark { width: 46px; opacity: .9; }
.tag { font-size: 1.15rem; margin: .7rem 0 1.1rem; }
.links { font-size: .9rem; color: var(--cream-45); margin: 0 0 1.6rem; }
.disclosure {
  font-size: .78rem;
  line-height: 1.55;
  color: var(--cream-45);
  max-width: 26rem;
  margin: 0 auto .8rem;
}

/* ── Privacy / text pages ──────────────────────────────── */

.prose { text-align: left; }
.prose h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; }
.prose p, .prose li { color: var(--cream-70); }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.updated { font-size: .85rem; color: var(--cream-45); }
