/* =============================================================================
   Legible — marketing site
   -----------------------------------------------------------------------------
   Brand voice: Precise · Considered · Authoritative · Refined · Clear.
   Warm cream canvas, cool navy-teal structure, a single terracotta accent.
   Fraunces (serif) for display + wordmark; Inter (sans) for everything else.
   Shares the product's palette without copying its app chrome.
   ============================================================================= */

:root {
  --cream:        #f6f2ea;
  --cream-deep:   #efe9dc;
  --paper:        #fdfbf6;
  --hairline:     #e6ddcc;
  --hairline-soft:#efe8da;

  --teal:         #2f6166;
  --teal-deep:    #14333a;
  --teal-tint:    #e3ecea;
  --sage:         #aab7b1;

  --terracotta:     #b0613c;
  --terracotta-deep:#984f2d;
  --terracotta-tint:#f4e7df;

  /* States — success (form confirmations) and error (validation/submit failures). */
  --positive:      #3f7d5f;
  --positive-tint: #e5efe7;
  --error:         #b23b2e;
  --error-tint:    #f7e4df;

  --ink:       #1b3940;
  --ink-muted: #5c6b6a;
  --ink-faint: #8a9694;

  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:  'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-eyebrow: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(20, 51, 58, 0.04);
  --shadow:    0 1px 3px rgba(20, 51, 58, 0.06), 0 12px 32px -16px rgba(20, 51, 58, 0.16);
  --shadow-lg: 0 2px 6px rgba(20, 51, 58, 0.06), 0 28px 56px -22px rgba(20, 51, 58, 0.22);

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--teal) 30%, transparent);

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--teal-deep);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-underline-offset: 2px; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

img, svg { display: block; max-width: 100%; }

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

.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 1rem;
}

.lede { font-size: 1.15rem; color: var(--ink-muted); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 560;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease),
              color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { color: #fff; background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.btn-primary:hover { background: color-mix(in srgb, var(--terracotta-deep) 88%, black); border-color: color-mix(in srgb, var(--terracotta-deep) 88%, black); }

.btn-secondary { color: var(--teal-deep); background: var(--paper); border-color: var(--hairline); }
.btn-secondary:hover { background: var(--cream-deep); border-color: color-mix(in srgb, var(--teal) 30%, var(--hairline)); }

.btn-ghost { color: var(--teal-deep); background: none; }
.btn-ghost:hover { background: color-mix(in srgb, var(--teal) 8%, transparent); }

.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }

.arrow { transition: transform 0.16s var(--ease); }
.btn:hover .arrow, .textlink:hover .arrow { transform: translateX(2px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 560;
  color: var(--teal);
  text-decoration: none;
}
.textlink:hover { color: var(--teal-deep); text-decoration: underline; }

/* =============================================================================
   Header / navigation
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header[data-scrolled='true'] { border-bottom-color: var(--hairline); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}
.brand-dot { color: var(--terracotta); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.nav-link:hover { color: var(--teal-deep); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
}

/* =============================================================================
   Section scaffolding
   ============================================================================= */
section { position: relative; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

h2.display { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.2rem; }

.muted { color: var(--ink-muted); }

/* =============================================================================
   Hero
   ============================================================================= */
.hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 1.1rem; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34rem; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }
.hero-note { font-size: 0.9rem; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* =============================================================================
   Screenshot placeholder ("shot")
   These are intentional placeholders. Drop a real PNG/WebP in /assets and
   replace the .shot block with an <img>, keeping the .frame wrapper.
   ============================================================================= */
.frame {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--cream);
}
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.frame-bar .url {
  width: auto; height: auto; border-radius: 999px; background: var(--cream-deep);
  color: var(--ink-faint); font-size: 0.72rem; padding: 0.15rem 0.7rem; margin-left: 0.5rem;
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(47,97,102,0.025) 14px 15px),
    var(--cream);
  color: var(--ink-faint);
  padding: 1.5rem;
}
.shot .shot-icon { width: 38px; height: 38px; color: var(--sage); }
.shot .shot-label { font-size: 0.85rem; font-weight: 560; color: var(--ink-muted); letter-spacing: 0.01em; }
.shot .shot-sub { font-size: 0.78rem; color: var(--ink-faint); max-width: 26ch; }
.shot--sm { aspect-ratio: 16 / 11; }
.shot--wide { aspect-ratio: 21 / 9; }

/* Real captures dropped in /assets replace the .shot placeholder but keep the .frame wrapper. The
   image fills the slot width and keeps its own aspect ratio (no crop, no vertical stretch) — capture
   at the intended ratio and the frame simply wraps it. Used for both <img> and the network <video>. */
.shot-media {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
}

/* Caption strip inside a framed product shot, flagging that the screenshots use fictional sample
   data (not real companies or people). Sits flush under the image like a status bar. */
.frame-note {
  margin: 0;
  padding: 0.25rem 0.75rem;
  font-size: 0.6rem;
  text-align: center;
  color: var(--ink-faint);
  background: var(--cream);
  border-top: 1px solid var(--hairline-soft);
}

/* =============================================================================
   Registers strip
   ============================================================================= */
.registers { border-block: 1px solid var(--hairline); background: var(--cream-deep); }
.registers .wrap { padding-block: 2.2rem; }
.registers-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint); text-align: center; margin-bottom: 1.4rem;
}
.registers-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.6rem 0.75rem;
}
.register-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
}
.register-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* =============================================================================
   "Before" / problem section
   ============================================================================= */
.problem { background: var(--teal-deep); color: var(--cream); }
.problem h2 { color: var(--cream); }
.problem .lede { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.problem-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--cream) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  border-radius: var(--radius-sm);
}
.problem-list .n {
  font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600;
  color: var(--terracotta); line-height: 1.5;
}
.problem-list .t { color: color-mix(in srgb, var(--cream) 88%, transparent); font-size: 0.95rem; }
.problem-stat {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 580;
  color: var(--cream); line-height: 1; margin-bottom: 0.4rem;
}
.problem-stat-sub { color: color-mix(in srgb, var(--cream) 70%, transparent); }
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   Feature blocks (alternating)
   ============================================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.feature + .feature { border-top: 1px solid var(--hairline); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta-deep); margin-bottom: 0.8rem;
}
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.feature-points { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.feature-points li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.96rem; }
.feature-points svg { width: 18px; height: 18px; color: var(--teal); margin-top: 0.18rem; flex-shrink: 0; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
}

/* =============================================================================
   Audience cards
   ============================================================================= */
.audience { background: var(--cream-deep); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.aud-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.aud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.aud-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; background: var(--teal-tint); color: var(--teal-deep);
  margin-bottom: 1rem;
}
.aud-icon svg { width: 22px; height: 22px; }
.aud-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.aud-card p { font-size: 0.92rem; color: var(--ink-muted); }

/* =============================================================================
   Transparency / trust
   ============================================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.trust-item .ti-icon {
  width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 9px; background: var(--terracotta-tint); color: var(--terracotta-deep);
}
.trust-item .ti-icon svg { width: 20px; height: 20px; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* =============================================================================
   Pricing
   ============================================================================= */
.pricing { background: var(--cream-deep); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 760px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--terracotta); box-shadow: var(--shadow); }
.price-flag {
  position: absolute; top: -0.7rem; right: 1.5rem;
  background: var(--terracotta-deep); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
}
.price-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--teal-deep); margin-bottom: 0.3rem; }
.price-tag { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0.25rem; }
.price-amount { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 580; color: var(--teal-deep); line-height: 1; }
.price-per { color: var(--ink-muted); font-size: 0.95rem; }
.price-gst { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 1.4rem; }
.price-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.7rem; }
.price-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.92rem; }
.price-list svg { width: 17px; height: 17px; color: var(--teal); margin-top: 0.16rem; flex-shrink: 0; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note {
  max-width: 760px; margin: 1.5rem auto 0; text-align: center;
  font-size: 0.86rem; color: var(--ink-muted);
}
.price-enterprise {
  margin-top: 1rem; padding-top: 1rem; font-size: 0.9rem;
  border-top: 1px solid var(--hairline);
}
.price-enterprise a { color: var(--terracotta-deep); font-weight: 500; }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   Closing CTA
   ============================================================================= */
.cta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner {
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-inner p { color: color-mix(in srgb, var(--cream) 78%, transparent); max-width: 38rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 1.8rem; }
.cta-inner .btn-secondary { background: transparent; color: var(--cream); border-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.cta-inner .btn-secondary:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); border-color: var(--cream); }

/* =============================================================================
   Footer
   ============================================================================= */
.site-footer { background: var(--cream-deep); border-top: 1px solid var(--hairline); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
}
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.9rem; color: var(--ink-muted); max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--ink-muted); text-decoration: none; }
.footer-col a:hover { color: var(--teal-deep); }
.footer-base {
  border-top: 1px solid var(--hairline);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center;
}
.footer-base p { font-size: 0.84rem; color: var(--ink-faint); margin: 0; }
.footer-legal-note { max-width: 60ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* =============================================================================
   Legal document pages (privacy / terms)
   ============================================================================= */
.legal { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.legal-wrap { max-width: 56rem; }
.legal-head { padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--hairline); }
.legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.legal-meta { font-size: 0.88rem; color: var(--ink-faint); }
.legal-body { font-size: 1rem; color: var(--ink); }
.legal-body h2 {
  font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: 0.8rem;
  padding-top: 1.5rem; border-top: 1px solid var(--hairline-soft);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.legal-body p, .legal-body li { color: var(--ink); line-height: 1.7; }
.legal-body ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body strong { color: var(--teal-deep); }
.legal-toc {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.legal-toc h2 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0.8rem; border: none; padding: 0; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.legal-toc a { color: var(--teal); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.callout {
  background: var(--terracotta-tint);
  border: 1px solid color-mix(in srgb, var(--terracotta) 30%, var(--hairline));
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.callout strong { color: var(--terracotta-deep); }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--teal-deep); color: var(--cream); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Trademark mark on the wordmark --------------------------------------- */
.brand-tm {
  font-family: var(--font-sans);
  font-size: 0.5em;
  font-weight: 500;
  vertical-align: super;
  color: var(--ink-faint);
  margin-left: 0.05em;
}

/* =============================================================================
   Announcement bar (beta) — sits above the sticky header, scrolls away
   ============================================================================= */
.announce {
  background: var(--teal-deep);
  color: var(--cream);
}
.announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  padding-block: 0.6rem;
  text-align: center;
}
.announce p { margin: 0; font-size: 0.9rem; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.announce strong { color: var(--cream); }
.announce-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  color: var(--cream);
  padding: 0.1rem 0.2rem; border-radius: var(--radius-sm);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--terracotta) 80%, transparent);
}
.announce-cta:hover { text-decoration-color: var(--cream); }
.announce-cta svg { transition: transform 0.16s var(--ease); }
.announce-cta:hover svg { transform: translateX(2px); }

/* --- "Without Legible" context chip on the problem section ---------------- */
.context-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  background: color-mix(in srgb, var(--cream) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  padding: 0.3rem 0.75rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* =============================================================================
   Beta programme panel (pricing section)
   ============================================================================= */
.beta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--cream);
}
.beta-panel-text { flex: 1 1 22rem; }
.beta-panel-tag {
  display: inline-block;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--terracotta-tint);
  margin-bottom: 0.6rem;
}
.beta-panel h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: 0.4rem; }
.beta-panel p { color: color-mix(in srgb, var(--cream) 80%, transparent); font-size: 0.95rem; margin: 0; }
.beta-panel-action { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; flex: 0 0 auto; }
.beta-panel-note { font-size: 0.8rem; color: color-mix(in srgb, var(--cream) 60%, transparent); text-align: center; }
@media (max-width: 620px) { .beta-panel { padding: 1.5rem; } .beta-panel-action { align-items: stretch; width: 100%; } }

/* "Most popular" flag is the same .price-flag, recoloured for non-promo use */
.price-card.featured .price-flag { background: var(--teal); }

/* =============================================================================
   Beta application dialog
   ============================================================================= */
.beta-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}
.beta-dialog::backdrop {
  background: color-mix(in srgb, var(--teal-deep) 55%, transparent);
  backdrop-filter: blur(2px);
}
.beta-dialog[open] { animation: dialog-in 0.18s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .beta-dialog[open] { animation: none; } }

.beta-close-form { position: absolute; top: 0.6rem; right: 0.6rem; margin: 0; }
.beta-close {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: none; border-radius: 50%; cursor: pointer;
  background: var(--cream); color: var(--ink-muted);
}
.beta-close:hover { background: var(--cream-deep); color: var(--ink); }

.beta-body { padding: 1.9rem 1.9rem 1.6rem; overflow-y: auto; max-height: calc(100dvh - 2rem); }
.beta-body .eyebrow { margin-bottom: 0.5rem; }
.beta-body h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.beta-body > .muted { font-size: 0.92rem; margin-bottom: 1.4rem; }

#betaForm { display: grid; gap: 0.95rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.85rem; font-weight: 560; color: var(--teal-deep); }
.field .optional { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color 0.12s var(--ease), box-shadow 0.12s var(--ease);
}
.field input { height: 2.85rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--focus-ring);
}
.field textarea { resize: vertical; min-height: 4.5rem; line-height: 1.5; }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; cursor: pointer; }
.check input { margin-top: 0.15rem; width: 1.05rem; height: 1.05rem; accent-color: var(--teal); }
.check span { font-size: 0.88rem; color: var(--ink-muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.beta-submit { width: 100%; margin-top: 0.2rem; }
.beta-spinner { width: 18px; height: 18px; border-width: 2px; }
.beta-error {
  margin: 0; padding: 0.65rem 0.85rem; font-size: 0.86rem;
  color: var(--error); background: var(--error-tint);
  border: 1px solid color-mix(in srgb, var(--error) 25%, var(--hairline));
  border-radius: var(--radius-sm);
}
.beta-fineprint { font-size: 0.78rem; color: var(--ink-faint); margin: 0; text-align: center; }

.beta-success { text-align: center; padding-block: 2.5rem 2rem; }
.beta-success-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--positive-tint); color: var(--teal);
}

/* Native <select> in a .field, styled to match the text inputs above. */
.field select {
  width: 100%;
  height: 2.85rem;
  font: inherit;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.12s var(--ease), box-shadow 0.12s var(--ease);
}
.field select:hover { border-color: var(--teal); }
.field select:focus { outline: none; border-color: var(--teal); box-shadow: var(--focus-ring); }

/* =============================================================================
   Contact page
   ============================================================================= */
.contact-page { padding-block: clamp(3rem, 7vw, 5.5rem); }
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-intro h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0.4rem 0 0.8rem; }
.contact-intro > .muted { font-size: 1.02rem; max-width: 30rem; }
.contact-intro a[data-open-beta] { color: var(--terracotta); font-weight: 560; }

.contact-detail {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.contact-detail div { display: grid; gap: 0.15rem; }
.contact-detail dt {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-detail dd { margin: 0; font-size: 0.95rem; color: var(--ink); }
.contact-detail .contact-email { color: var(--teal-deep); font-weight: 540; }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
#contactForm { display: grid; gap: 0.95rem; }
.contact-submit { width: 100%; margin-top: 0.3rem; }
.contact-spinner { width: 18px; height: 18px; border-width: 2px; }
.contact-success { text-align: center; padding-block: 1.5rem; }

@media (max-width: 820px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-intro > .muted { max-width: none; }
}

/* =============================================================================
   User guide page (reuses .legal for the doc layout, adds inline product shots)
   ============================================================================= */
.guide-figure { max-width: 30rem; margin: 1.25rem 0 1.5rem; }
.guide-figure--wide { max-width: 100%; }
.guide-figure .frame { margin: 0; }
.guide-tier {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 999px; margin-left: 0.6rem; vertical-align: middle;
}
.guide-tier--free { background: var(--teal-tint); color: var(--teal-deep); }
.guide-tier--pro { background: var(--terracotta-tint); color: var(--terracotta-deep); }
.guide-limits {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem;
}
.guide-limits th, .guide-limits td {
  text-align: left; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--hairline-soft);
}
.guide-limits th { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.guide-sources { display: grid; gap: 0.9rem; margin: 1rem 0 1.5rem; }
.guide-source dt { font-weight: 600; color: var(--teal-deep); }
.guide-source dd { margin: 0.15rem 0 0; color: var(--ink-muted); }
