/* plume — warm editorial "design system" theme
   cream canvas · white rounded cards · serif headings · pill buttons · black + coral + gold */

:root {
  /* Palette: Sage & Sand — muted green accent on a soft sage-cream, amber secondary. */
  --bg:        #eef0e6;
  --card:      #fbfbf6;
  --beige:     #e3e7d7;
  --beige-2:   #d6dcc6;
  --ink:       #232a20;
  --muted:     #5f6a54;
  --line:      #dfe3d2;
  --accent:    #bf5b3d;   /* terracotta — the single primary accent (CTA, play button, chip, progress) */
  --accent-2:  #e0a892;
  --gold:      #c98a3c;   /* amber — reserved as a secondary (badges) */

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-card: 22px;
  --r-pill: 999px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.frame { max-width: var(--maxw); margin: 0 auto; padding: 22px clamp(18px, 4vw, 40px) 40px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0.2em 0 0.35em; }
h1 em { font-style: italic; color: var(--muted); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 0 0 0.4em; }
h3 { font-size: 1.22rem; margin: 0 0 0.4em; }
p  { margin: 0 0 1em; }
a  { color: inherit; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: var(--r-pill);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-dark   { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
/* Primary CTA — amber (the palette's warm secondary), for real emphasis against the sage. */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a54c30; }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-beige  { background: var(--beige); color: var(--ink); }

/* ── nav ─────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 12px 14px 12px 24px; margin-bottom: 46px;
}
/* The mark's boxed "p" IS the first letter — "[p]lume" reads as plume, so the gap is tight. */
.brand { display: inline-flex; align-items: center; gap: 1px; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; text-decoration: none; letter-spacing: -0.02em; }
.brand.small { font-size: 1.2rem; }
/* The plume mark (from @plume/brand) — same shape as the app. Colours are inlined per instance
   (dark tile in the nav, inverted on the dark footer) so it renders even before CSS loads. */
/* Nudge the tile down so the "p" inside it sits on the "lume" baseline (it otherwise floats high). */
.mark { width: 1.3em; height: 1.3em; flex: none; display: inline-block; transform: translateY(0.28em); }
.brand-rest { margin-left: 1px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* ── hero ────────────────────────────────────────────── */
.hero { text-align: center; padding: 30px 0 54px; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-block; background: var(--beige); color: var(--ink);
  padding: 7px 16px; border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.lede { color: var(--muted); font-size: 1.18rem; max-width: 620px; margin: 0 auto 1.8em; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }

.tag-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tag {
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  padding: 8px 16px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600;
}
.tag-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-ghost  { background: transparent; border-style: dashed; color: var(--muted); }

/* ── feature cards ───────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 56px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--beige);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 16px; color: var(--ink);
}
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ── callout band ────────────────────────────────────── */
.band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center;
  background: var(--beige); border-radius: var(--r-card); padding: 40px; margin-bottom: 56px;
}
.band-copy h2 { margin-top: 0; }
.band-copy p { color: var(--muted); max-width: 420px; }
.band-panel { display: grid; gap: 12px; }
.accordion { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.acc-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.acc-mark { color: var(--muted); font-size: 1.3rem; }
.acc-body { color: var(--muted); font-size: 0.95rem; margin: 12px 0 0; }
.accordion:not(.open) .acc-body { display: none; }
.acc-body strong { color: var(--ink); }
.acc-body .hl, .hl { color: var(--accent); font-weight: 600; }

/* ── pricing ─────────────────────────────────────────── */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.section-head p { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 26px; }
.plan.featured { border-color: var(--ink); border-width: 1.5px; }
.plan .pname { font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.plan .price { font-family: var(--serif); font-size: 2.6rem; margin: 8px 0 2px; }
.plan .price span { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
.badge-gold { display: inline-block; background: var(--gold); color: #3a2c00; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); letter-spacing: 0.04em; vertical-align: middle; margin-left: 8px; }

/* ── footer ──────────────────────────────────────────── */
.footer { background: var(--ink); color: #f3efe6; border-radius: var(--r-card); padding: 46px clamp(24px, 5vw, 56px); }
.foot-cta { text-align: center; max-width: 560px; margin: 0 auto 34px; }
.foot-cta h2 { color: #fff; }
.signup { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signup input {
  flex: 1 1 260px; max-width: 320px; padding: 14px 20px; border-radius: var(--r-pill);
  border: 1px solid #3a382f; background: #26241d; color: #fff; font-family: var(--sans); font-size: 1rem;
}
.signup input::placeholder { color: #8f897a; }
.foot-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid #35332a; padding-top: 22px;
}
.foot-meta .brand { color: #fff; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: #cfc9bb; text-decoration: none; font-size: 0.9rem; }
.foot-links a:hover { color: #fff; }
.muted { color: var(--muted); font-size: 0.88rem; }
.footer .muted { color: #8f897a; }

/* ── launch (coming-soon) layout ─────────────────────── */
.launch { min-height: 100vh; display: flex; flex-direction: column; }
/* Hero fills the space between nav and footer. Two columns: copy (left) + visual (right).
   Spans the full frame width so it never pins left inside the flex column. */
.launch .hero {
  flex: 1 0 auto; align-self: stretch; width: 100%; max-width: none;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; text-align: left; padding: 40px 0 60px; margin: 0;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy h1 { margin: 0.2em 0 0.35em; }
.hero-copy .lede { max-width: 44ch; margin-bottom: 1.9em; }

/* ── hero visual: mock demo card ─────────────────────── */
.hero-visual { display: flex; justify-content: center; }
.demo-card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px; box-shadow: 0 30px 60px -34px rgba(27, 26, 23, 0.35);
}
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 4px 4px 14px; }
.demo-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--beige-2); }
.demo-bar .url {
  flex: 1; margin-left: 8px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 6px 14px; font-size: 0.82rem; color: var(--muted);
}
.demo-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #e7ecd8 0%, #dbe1cb 100%);
  display: grid; place-items: center;
}
.play {
  width: 66px; height: 66px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 1.3rem; padding-left: 4px;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(191, 91, 61, 0.5);
}
.caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(35, 42, 32, 0.86); color: #f1f3ea; backdrop-filter: blur(2px);
  padding: 8px 14px; border-radius: 12px; font-size: 0.82rem; line-height: 1.4;
}
.demo-progress { display: flex; align-items: center; gap: 12px; padding: 14px 4px 4px; }
.demo-progress .dot-rec { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(191, 91, 61, 0.18); }
.demo-progress .bar { position: relative; flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--beige); }
.demo-progress .bar::before { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--accent); border-radius: var(--r-pill); }
.demo-progress .time { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.chip-float {
  position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 15px; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 12px 26px -14px rgba(27, 26, 23, 0.4);
}
.chip-verified { top: -14px; right: -12px; color: var(--ink); }

.notify {
  display: flex; align-items: stretch; gap: 10px; justify-content: flex-start;
  flex-wrap: wrap; width: 100%; max-width: 460px; margin: 0 0 22px;
}
.notify input {
  flex: 1 1 240px; min-width: 0; padding: 0 22px; height: 52px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
}
.notify input:focus { outline: none; border-color: var(--ink); }
.notify input::placeholder { color: var(--muted); }
.notify .btn { height: 52px; padding: 0 26px; flex: 0 0 auto; }
.hero-copy .tag-row { justify-content: flex-start; }

.notify-done {
  margin: 0 0 22px; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 14px 24px; display: inline-block;
}
/* honeypot — off-screen, never seen or tabbed to by a human */
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.notify-err { flex-basis: 100%; color: #a54c30; font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.footer.slim { margin-top: auto; padding: 26px clamp(24px, 5vw, 44px); }
.foot-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px;
  flex-wrap: wrap;
}
.foot-left { display: flex; flex-direction: column; gap: 5px; }
.footer.slim .foot-links { align-items: center; }

/* ── legal / content pages ───────────────────────────── */
.page { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(28px, 5vw, 56px); margin-bottom: 28px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); text-align: left; }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }
.page p, .page li { color: #35322b; }
.page a { color: var(--accent); }
.page .updated { color: var(--muted); font-size: 0.9rem; margin-top: -0.4em; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 8px; }
.placeholder { background: #fff7ed; border: 1px dashed var(--accent); border-radius: 8px; padding: 2px 8px; color: #a3412a; font-weight: 600; }
.contact-card { display: grid; gap: 6px; }

.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 20px; }
.back:hover { color: var(--ink); }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .nav-links { display: none; }

  /* launch hero stacks: copy on top (centred), visual below */
  .launch .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 24px 0 48px; }
  .hero-copy { align-items: center; }
  .hero-copy .lede { max-width: 52ch; }
  .hero-copy .notify { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-copy .tag-row { justify-content: center; }
  .demo-card { max-width: 400px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}
