/* Menlo Soft site styles.
   :root block copied verbatim from ~/github/platenext_landing/styles.css at commit 0e5e1f5 (2026-05-21),
   the source of truth for brand tokens (platenext_suite/BRAND.md). Change values there first, then re-copy.
   Rules below are adapted from the same file; only what this page uses. */

:root {
  /* — Color — */
  --bg:           #F8F5F0;   /* warm cream — page background */
  --bg-sidebar:   #F2EDE4;   /* sidebar/nav contexts */
  --bg-panel:     #FFFFFF;   /* raised cards, composer, inputs */
  --bg-subtle:    #EDE7DE;   /* empty state, metadata strips */
  --ink:          #1A1A1A;   /* body text, headings */
  --ink-2:        #4A4944;   /* metadata, secondary copy */
  --ink-3:        #8A8780;   /* timestamps, hints, eyebrow */
  --rule:         #E5DFD2;   /* hairline divider */
  --rule-2:       #D4CCBB;   /* hover/active borders */

  --accent:       #C04A1A;   /* terracotta — sparing (iron law: ≤3 per screen) */

  /* status colors — used by hosting surfaces, not by chrome */
  --success:      #5C7A4A;
  --warning:      #C9963F;
  --danger:       #B23A2D;
  --info:         #3F6E97;

  /* — Type — */
  --serif: "Source Serif 4", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Editorial type scale (this is the landing/marketing column) */
  --type-h1:        36px;
  --type-h2:        22px;
  --type-h3:        13px;   /* uppercase panel title */
  --type-body:      15px;
  --type-ui:        15px;
  --type-label:     13px;
  --type-sidebar:   11px;   /* sidebar section header */
  --type-tagline:   18px;   /* serif italic pull-quote / tagline */
  --type-meta:      12px;   /* serif italic metadata */
  --type-mono:      13px;   /* id / sha / timestamp */
  --type-kbd:       11px;

  --line-tight:     1.2;
  --line-snug:      1.3;
  --line-body:      1.6;
  --line-prose:     1.7;

  /* — Spacing scale (strict: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64) — */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;

  /* Editorial main-pane indent — documented exception to the scale */
  --space-editorial-indent: 40px;

  /* — Radius — */
  --radius-sm:   4px;   /* buttons, inputs */
  --radius-md:   6px;   /* cards, panels */
  --radius-lg:   8px;   /* modal dialogs */
  --radius-pill: 999px;

  /* — Shadow (we have ONE) — */
  --shadow-card: 0 1px 2px rgba(20,15,5,0.05);

  /* — Motion — */
  --ease-out:      cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --duration-slow: 420ms;

  /* — Container — */
  --container-max: 1180px;
  --container-pad: clamp(16px, 4vw, 32px);
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--space-8); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: var(--line-body);
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--ink); border-color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px;
}
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--bg-panel); }
code {
  font-family: var(--mono);
  font-size: var(--type-mono);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.skip {
  position: absolute; left: var(--space-4); top: -48px;
  background: var(--bg-panel); padding: var(--space-2) var(--space-4);
  border: 1px solid var(--rule-2); border-radius: var(--radius-sm); z-index: 100;
}
.skip:focus { top: var(--space-2); }

/* — Masthead — */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding: var(--space-4) 0;
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 50;
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.masthead__brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 0;
}
.masthead__brand:hover { color: var(--ink); }
.masthead__link {
  font-size: var(--type-label);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-2);
}

/* — Hero — */
.hero { padding: var(--space-8) 0; border-bottom: 1px solid var(--rule); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.eyebrow, .section__kicker {
  margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-size: var(--type-sidebar);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bar { width: 28px; height: 1px; background: var(--rule-2); display: inline-block; }
.hero__title {
  margin: 0 0 var(--space-5);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: var(--line-tight);
  letter-spacing: -0.015em;
}
.hero__title span { display: block; animation: rise var(--duration-slow) var(--ease-out) both; }
.hero__title span + span { animation-delay: 140ms; font-style: italic; font-weight: 400; }
.hero__lede {
  margin: 0 0 var(--space-6);
  font-size: var(--type-body);
  line-height: var(--line-prose);
  color: var(--ink-2);
  max-width: 32rem;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .hero__title span { animation: none; } }

/* — Screenshot frame — */
.frame {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.frame img { width: 100%; }
.frame--narrow { max-width: 360px; justify-self: center; }
.frame figcaption {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--type-meta);
  color: var(--ink-2);
}
.frame--pending {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background: var(--bg-subtle);
  color: var(--ink-2);
  font-size: var(--type-label);
}

/* — Signup — */
.signup { max-width: 32rem; }
.signup__label {
  display: block;
  font-size: var(--type-sidebar);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--space-2);
}
.signup__row {
  display: flex;
  gap: var(--space-2);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  padding: var(--space-2);
  box-shadow: var(--shadow-card);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.signup__row:focus-within { border-color: var(--ink-2); }
.signup__input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font: inherit; font-size: var(--type-ui); color: var(--ink);
  padding: var(--space-3);
}
.signup__input:focus-visible { outline-offset: 0; }
.signup__input::placeholder { color: var(--ink-3); }
.signup[data-state="invalid"] .signup__row { border-color: var(--danger); }
.signup__note-field {
  margin-top: var(--space-3);
  width: 100%;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  font: inherit; font-size: var(--type-label); color: var(--ink);
  padding: var(--space-2) var(--space-3);
}
.signup__note-label {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--type-label);
  color: var(--ink-2);
}
.signup__note-label + .signup__note-field { margin-top: var(--space-1); }
.signup__button {
  display: inline-flex; align-items: center; gap: var(--space-2);
  border: 0;
  background: var(--accent);
  color: var(--bg-panel);
  font-size: var(--type-label);
  font-weight: 600;
  padding: 0 var(--space-5);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out);
}
.signup__button:active { transform: translateY(1px); }
.signup__button[disabled] { cursor: progress; opacity: 0.8; }
.signup__consent, .signup__status {
  margin: var(--space-3) 0 0;
  font-size: var(--type-label);
  color: var(--ink-2);
}
.signup__status:empty { display: none; }
.signup__status[data-kind="error"] { color: var(--danger); }
.signup__status[data-kind="thanks"] {
  font-size: var(--type-body);
  color: var(--ink);
  padding: var(--space-4);
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .signup__row { flex-direction: column; padding: var(--space-3); gap: var(--space-3); }
  .signup__button { padding: var(--space-3) var(--space-5); justify-content: center; }
}

/* — Sections — */
.section { padding: var(--space-8) 0; border-bottom: 1px solid var(--rule); }
.section__title {
  margin: 0 0 var(--space-6);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--type-h2);
  line-height: var(--line-snug);
  max-width: 34rem;
}
.prose { max-width: 40rem; line-height: var(--line-prose); }
.prose p { margin: 0 0 var(--space-5); }
.prose p:last-child { margin-bottom: 0; }

/* — Capabilities: numbered prose beside a screenshot — */
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); }
.cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-7);
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: var(--space-6);
}
@media (max-width: 860px) { .cap { grid-template-columns: 1fr; gap: var(--space-5); } }
.cap__number {
  margin: 0 0 var(--space-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--type-tagline);
  color: var(--ink-2);
}
.cap__h {
  margin: 0 0 var(--space-3);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--type-h2);
  line-height: var(--line-snug);
}
.cap__body { margin: 0; color: var(--ink-2); }
.cap__body + .cap__body { margin-top: var(--space-3); }

/* — Status — */
.status__inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.status__body {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--type-tagline);
  line-height: 1.5;
}

/* — CTA tail — */
.cta { border-bottom: 0; }
.cta__inner { max-width: 36rem; margin-inline: auto; }
.cta__h {
  margin: 0 0 var(--space-3);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--type-h1);
  line-height: var(--line-tight);
  text-align: center;
}
.cta__lede { margin: 0 0 var(--space-6); color: var(--ink-2); text-align: center; }
.cta .signup { margin-inline: auto; }

/* — Footer — */
.footer {
  padding: var(--space-7) 0 var(--space-8);
  font-size: var(--type-label);
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
}
.footer__inner { display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col p { margin: 0; }
.footer__name { color: var(--ink); font-weight: 600; }
.footer__fine { max-width: 40ch; }

/* — Document pages (privacy, 404) — */
.doc { padding: var(--space-8) 0; }
.doc h1 {
  margin: 0 0 var(--space-5);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--type-h1);
  line-height: var(--line-tight);
}
.doc h2 {
  margin: var(--space-7) 0 var(--space-3);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--type-h2);
}
.doc ul { padding-left: var(--space-5); }
.doc li { margin-bottom: var(--space-2); }
.doc__meta { color: var(--ink-2); font-size: var(--type-label); }
