/* Rehearse website - brand tokens from docs/rehearse-visual-design-guide.md.
   One white background top to bottom (Kristie, 2026-11-01, after
   about.monnet.ai): sections are separated by space, not colour bands;
   cards are white with a hairline outline; navy is for text, buttons and
   the highlighted plan only. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #090657;
  --teal: #39d2c0;
  --orange: #ed8b61;
  --white: #ffffff;
  --muted: rgba(9, 6, 87, 0.62);
  --hairline: rgba(9, 6, 87, 0.12);
  --radius-card: 16px;
  --radius-dialog: 20px;
  --radius-button: 14px;
  --shadow: 0 12px 40px rgba(9, 6, 87, 0.08);
  --shadow-soft: 0 1px 2px rgba(9, 6, 87, 0.04);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 100; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow-teal { color: var(--teal); }

/* Buttons and badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; border-radius: 999px; white-space: nowrap;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #17138a; }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 1rem; }
.badges img { height: 56px; width: auto; }
.center-badges { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
/* The logo image is cropped to the mark's edges, so its bottom is the
   bottom of the Rs; as an inline image on the text's baseline, the word
   "Rehearse" sits exactly level with the Rs. */
.brand {
  display: inline-block; text-decoration: none; white-space: nowrap;
  font-weight: 800; font-size: 1.65rem; line-height: 1; letter-spacing: -0.02em;
}
.brand img { display: inline-block; vertical-align: baseline; height: 52px; width: auto; margin-right: 10px; }
@media (max-width: 380px) {
  .brand { font-size: 1.45rem; }
  .brand img { height: 46px; }
}
@media (min-width: 640px) {
  .header-inner { gap: 24px; padding-top: 18px; padding-bottom: 18px; }
  .brand { font-size: 2.3rem; }
  .brand img { height: 66px; margin-right: 14px; }
}
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header-inner .btn { margin-left: auto; }
@media (min-width: 880px) {
  .nav { display: flex; }
  .header-inner .btn { margin-left: 0; }
}

/* Hero */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--navy); }
.supporting { color: var(--muted); }
.hero-note { font-size: 0.92rem; color: var(--muted); }
.hero-note a { color: var(--navy); font-weight: 600; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.bubble-accent {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(57, 210, 192, 0.35), rgba(57, 210, 192, 0) 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 0; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}

/* Phone frame */
.phone {
  position: relative; margin: 0; width: min(280px, 72vw);
  border-radius: 36px; padding: 10px; background: #e9e9f1;
  box-shadow: 0 20px 50px rgba(9, 6, 87, 0.12);
}
.phone img { border-radius: 28px; width: 100%; }

/* Sections: space, not colour, between them */
.why, .how, .real, .partner, .pricing, .faq { padding: 112px 0 0; }

/* Why */
.why p { color: var(--muted); font-size: 1.08rem; }
.pull {
  margin-top: 2rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem) !important; font-weight: 700;
  color: var(--navy) !important; line-height: 1.4;
}
.pull::before {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--teal); margin: 0 auto 1.25rem;
}

/* How it works */
.section-head { max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white); border-radius: var(--radius-card); padding: 24px;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-soft);
}
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
/* A small "Step 1" label, like the site's other section labels - no
   shape, since the page already has the icon circles in the "Built into
   every conversation" list. #17a594 is the brand teal deepened for
   contrast on white. */
.step-num {
  display: block; margin-bottom: 10px;
  color: var(--teal); font-weight: 800; font-size: 0.78rem; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase;
}
/* "Built into every conversation": a plain icon list, so it doesn't
   read as another row of cards under the steps */
.how .subhead { margin-top: 56px; }
.features {
  list-style: none; padding: 0; margin: 20px auto 0; max-width: 640px;
  display: grid; gap: 18px;
}
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 0.97rem; }
.feature strong { color: var(--navy); }
.feature-icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(57, 210, 192, 0.18); display: grid; place-items: center;
}
.feature-icon svg {
  width: 18px; height: 18px; fill: none; stroke: var(--navy);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Real Conversations */
.real-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.real-copy > p { color: var(--muted); font-size: 1.05rem; }
.points {
  list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; text-align: left;
}
@media (min-width: 900px) {
  .real-copy { max-width: none; }
  .real-copy > h2, .real-copy > p { max-width: 760px; margin-left: auto; margin-right: auto; }
  .points { grid-template-columns: repeat(3, 1fr); }
}
.points li {
  position: relative; color: var(--muted);
  background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft);
  border-radius: var(--radius-card); padding: 24px 24px 24px 60px;
}
.points li strong { color: var(--navy); display: block; }
.points li::before {
  content: ""; position: absolute; left: 24px; top: 27px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23090657' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Partner */
.partner .center p { color: var(--muted); font-size: 1.05rem; }
.subhead {
  margin-top: 48px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.partner-card {
  display: grid; gap: 24px; align-items: center; margin-top: 16px;
  background: var(--white); border-radius: var(--radius-dialog); padding: 28px;
  border: 1px solid var(--hairline); box-shadow: 0 8px 30px rgba(9, 6, 87, 0.06);
}
.partner-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; justify-self: center; }
.partner-card p { color: var(--muted); }
.partner-name { font-size: 1.35rem; font-weight: 800; color: var(--navy) !important; margin-bottom: 0.4em; display: flex; align-items: center; gap: 10px; }
.chip {
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(57, 210, 192, 0.18); color: var(--navy);
}
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--navy);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 14px 7px 12px;
}
/* Brand marks from Simple Icons (CC0), in each brand's own colour. */
.social-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.socials a[href*="instagram"] .social-icon { fill: #e4405f; }
.socials a[href*="tiktok"] .social-icon { fill: #000000; }
.socials a:hover { border-color: var(--navy); }
@media (min-width: 640px) { .partner-card { grid-template-columns: auto 1fr; } }

/* Pricing */
.plans { display: grid; gap: 20px; max-width: 860px; margin: 0 auto 32px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  border: 1px solid var(--hairline); border-radius: var(--radius-dialog); padding: 28px;
  background: var(--white); box-shadow: var(--shadow-soft);
}
.plan h3 { font-size: 1.3rem; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.price { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.price span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(57, 210, 192, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23090657' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ */
.faq h2 { margin-bottom: 32px; }
details {
  background: var(--white); border-radius: var(--radius-card); margin-bottom: 12px;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-soft);
}
summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--teal);
}
details[open] summary::after { content: "–"; }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }
details a { color: var(--navy); font-weight: 600; }

/* Final banner - an open ending, no box: echoes the hero's glow */
.final { padding: 104px 0 112px; overflow: hidden; }
.final-card { text-align: center; position: relative; padding: 32px 0; }
.final-card::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(57, 210, 192, 0.22), rgba(57, 210, 192, 0) 62%);
}
.final-card h2 { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; font-size: clamp(1.8rem, 4vw, 2.9rem); }
.final-card .badges { position: relative; z-index: 1; }

/* Footer - two short centred lines: the links, then the small print */
.site-footer { border-top: 1px solid var(--hairline); padding: 18px 0 20px; text-align: center; }
.footer-top, .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-links a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { margin: 10px auto 0; max-width: 760px; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.footer-small + .footer-small { margin-top: 2px; }

/* Scenario-link pages, /<creator>/<scenario> (scripts/build_scenario_pages.py) */
.scenario-link { padding: 56px 0 88px; }
.scenario-card {
  text-align: center; border: 1px solid var(--hairline); border-radius: var(--radius-dialog);
  padding: 40px 24px; box-shadow: var(--shadow);
}
.scenario-card h1 { font-size: clamp(2rem, 6vw, 3rem); }
.scenario-partner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 8px auto 28px; max-width: 520px; text-align: left;
}
.scenario-partner img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.scenario-partner p { margin: 0; color: var(--muted); }
.scenario-partner strong { color: var(--navy); }
.btn-open { padding: 14px 28px; font-size: 1.05rem; }
.scenario-card .hero-note { margin: 14px 0 0; }
.scenario-get { text-align: center; padding-top: 64px; }
.scenario-get p { color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.scenario-get .more a { color: var(--navy); font-weight: 600; }

/* Legal pages, /privacy and /terms (scripts/build_legal_pages.py) - plain
   legal-document look (Kristie, 2026-11-04): small type, no rules, boxes
   or colour; only the table keeps thin cell borders */
.legal { padding: 40px 0 72px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.9em; }
.legal h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 1.8em 0 0.6em; }
.legal p, .legal li { font-size: 0.875rem; line-height: 1.65; overflow-wrap: anywhere; }
.legal p { margin: 0 0 0.9em; }
.legal ul, .legal ol { padding-left: 1.5em; margin: 0 0 0.9em; }
.legal li { margin-bottom: 0.4em; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
/* A button in a text page keeps its own look (the tester page's sign-up). */
.legal a.btn { color: var(--white); text-decoration: none; padding: 14px 28px; font-size: 1rem; }
.legal-date { font-weight: 600; }
.legal-notice { font-weight: 700; }
.legal-contents ul { list-style: none; padding: 0; margin: 0 0 1em; }
.legal-contents li { margin: 0 0 0.2em; font-size: 0.8rem; }
.legal-table { overflow-x: auto; margin: 0 0 1em; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.82rem; line-height: 1.55; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--hairline); }
.legal-table th { font-weight: 700; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
