/* ============================================================
   Brainzie Snugstar — LANDING PAGE STARTER STYLES
   A brand-neutral, single-file design system for the optional
   marketing landing page. Rebrand by editing the tokens in
   :root — colours, fonts, radius. No build step, no framework.
   ============================================================ */

:root {
  /* ---- Brand (set at scaffold time from the Q&A; derived shades via color-mix) ---- */
  --brand:       #D81B72;                              /* primary — actions, accents */
  --brand-deep:  color-mix(in srgb, var(--brand) 84%, black);  /* hover / pressed            */
  --brand-tint:  color-mix(in srgb, var(--brand) 12%, white);  /* soft fills, badges         */
  --accent:      #6D28D9;                             /* a second hue for variety   */

  /* ---- Neutrals (ink + surface + background from the Q&A; the rest derived) ---- */
  --ink:      #18122B;
  --paper:    #FFFFFF;
  --paper-2:  #F6F1FB;
  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--paper));
  --muted:    color-mix(in srgb, var(--ink) 48%, var(--paper));
  --line:     color-mix(in srgb, var(--ink) 10%, var(--paper));

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Shape & depth ---- */
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 20px 54px -24px rgba(17,24,39,.32);
  --shadow-s: 0 10px 26px -16px rgba(17,24,39,.28);
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-soft); }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
section { padding: 88px 0; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1.6px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-lg { padding: 15px 30px; font-size: 1.06rem; }

header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); color:#fff; display:grid; place-items:center; font-weight:700; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-family: var(--font-display); color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--brand-deep); text-decoration: none; }
/* The nav's link colour outranks .btn-primary's, which left the nav button pink text on a pink fill. */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

.hero { position: relative; overflow: hidden; background: var(--paper-2); padding: 100px 0 84px; }
.hero::after { content:""; position:absolute; right:-150px; top:-140px; width:460px; height:460px; border-radius:50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 65%); pointer-events:none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.22rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-art { display:grid; place-items:center; }
.hero-art .panel { width:100%; aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 120%); box-shadow: var(--shadow); display:grid; place-items:center; color:#fff; font-family:var(--font-display); font-weight:700; font-size:1.4rem; opacity:.96; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-s); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display:grid; place-items:center; margin-bottom: 16px; background: var(--brand-tint); color: var(--brand-deep); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }

.ctaband { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px 42px; text-align:center; }
.ctaband h2 { color:#fff; margin-bottom: 10px; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 auto 24px; }
.btn-on-dark { background:#fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--brand-tint); }

/* Optional components for a longer landing page — a status chip, a two-column
   section, a tick list, a callout and a numbered walkthrough. Brand-neutral:
   every colour comes from the tokens above, so they rebrand with everything else. */
.status-chip { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-weight:600; font-size:.85rem; padding:6px 14px; border-radius:999px; background:var(--brand-tint); color:var(--brand-deep); }
.status-chip .d { width:8px; height:8px; border-radius:50%; background:currentColor; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap:46px; align-items:center; }

.callout { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 16px 20px; }
.callout strong { color: var(--brand-deep); }

.feat { display:grid; gap:14px; margin-top:22px; text-align:left; }
.feat .row { display:flex; gap:13px; align-items:flex-start; }
.feat .row .tick { flex:0 0 24px; width:24px; height:24px; border-radius:50%; background:var(--brand-tint); color:var(--brand-deep); display:grid; place-items:center; font-weight:700; font-size:.85rem; }
.feat .row div { color: var(--ink-soft); }
.feat .row strong { color: var(--ink); }

.steps { list-style:none; margin:0; padding:0; display:grid; gap:13px; text-align:left; }
.steps li { display:grid; grid-template-columns: 44px 1fr; gap:16px; background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-s); padding:16px 18px; }
.steps .s-n { font-family: var(--font-display); font-weight:700; color: var(--brand-deep); background: var(--brand-tint); border-radius:10px; width:44px; height:44px; display:grid; place-items:center; font-size:1.05rem; }
.steps h4 { font-family: var(--font-display); font-size:1.04rem; margin-bottom:3px; color: var(--ink); }
.steps p { font-size:.95rem; margin:0; }

/* Contact form (contact.html) */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-s); max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.turnstile-slot:empty { display: none; }
.form-status { font-size: .92rem; font-weight: 500; }
.form-status.ok { color: var(--brand-deep); }
.form-status.err { color: #c1124a; }

footer { background: var(--ink); color: #C7CCD8; padding: 46px 0 28px; }
.foot-grid { display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap; align-items:center; }
.foot-brand { display:flex; align-items:center; gap:10px; color:#fff; font-family:var(--font-display); font-weight:700; }
.foot-note { width:100%; border-top:1px solid rgba(255,255,255,.12); margin-top:24px; padding-top:18px; font-size:.84rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align:center; }
  .hero-cta { justify-content:center; }
  .hero-art { order:-1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap:32px; }
  .nav-links { display:none; }
}
@media (max-width: 560px) {
  section { padding: 58px 0; }
  .cards { grid-template-columns: 1fr; }
}
/* ---- Landing sections: the same components as Brainzie Meetflow's landing (and the shared landing template). ---- */
/* The free-for-a-limited-time offer: a strip above the nav on every visit, a chip in the hero and a line under its
   buttons. Green rather than brand pink, so it reads as the offer rather than as another button. */
.promo-bar { display:block; text-align:center; padding:10px 16px; background:#0F7B4D; color:#fff; font-size:.95rem; line-height:1.4; }
.promo-bar:hover { background:#0B6640; color:#fff; }
.promo-bar span { text-decoration: underline; white-space: nowrap; }
.status-chip.status-chip--free { background:#E3F6EC; color:#0F7B4D; }
.hero-note { margin-top:16px; font-size:.95rem; color:#0F7B4D; font-weight:600; }
.faq { display:grid; grid-template-columns: 1fr 1fr; gap:18px 28px; margin-top:38px; }
.faq-item { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-s); padding:20px 22px; }
.faq-item h3 { font-size:1.08rem; margin-bottom:6px; }
.faq-item p { font-size:.97rem; margin:0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
/* Hero quick links: the three claims a visitor should leave with, each jumping to its section. */
.hero-points { list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hero-points a { display:inline-block; padding:7px 14px; border-radius:999px; background:var(--paper); border:1px solid var(--line); font-family:var(--font-display); font-weight:600; font-size:.92rem; color:var(--ink); }
.hero-points a:hover { border-color:var(--brand); text-decoration:none; }

/* End-to-end cycle: six stages in order, one line each. */
.cycle { list-style:none; display:grid; grid-template-columns:repeat(6,1fr); gap:14px; margin-top:38px; counter-reset:stage; }
.cycle li { position:relative; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-s); padding:18px 16px; text-align:center; box-shadow:var(--shadow-s); }
.cycle li + li::before { content:"→"; position:absolute; left:-13px; top:50%; transform:translateY(-50%); color:var(--brand); font-weight:700; }
.cycle-ico { font-size:1.7rem; display:block; margin-bottom:6px; }
.cycle h3 { font-size:1.05rem; margin-bottom:4px; }
.cycle p { font-size:.9rem; line-height:1.4; }

/* Expand-for-detail. Crawlers read <details> in full; visitors open only what they want. */
details.more { margin-top:16px; }
details.more summary, .cat summary, .faq-item summary { cursor:pointer; list-style:none; font-family:var(--font-display); font-weight:600; color:var(--ink); }
details.more summary::-webkit-details-marker, .cat summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display:none; }
details.more summary::before, .cat summary::before, .faq-item summary::before { content:"+"; display:inline-block; width:1.1em; color:var(--brand); font-weight:700; }
details[open] > summary::before { content:"–"; }
details.more p, .cat details p, .faq-item p { margin:6px 0 0 1.1em; font-size:.95rem; }
.center-more { max-width:62ch; margin:26px auto 0; text-align:left; }

/* The dark band: the headline promise (in Snugstar, provable privacy), so it stands out. */
.band-dark { background:var(--ink); }
.band-dark h2, .band-dark details.more summary { color:#fff; }
.band-dark .eyebrow { color:#F58BC0; }
.band-dark p, .band-dark .lead { color:rgba(255,255,255,.8); }
.band-dark a { color:#F58BC0; }
.chat { display:grid; gap:12px; justify-items:end; }
.band-dark .bubble { color:var(--ink); }
.band-dark .bubble:nth-child(even) { color:#fff; }
.bubble { background:#fff; color:var(--ink); padding:12px 18px; border-radius:18px 18px 4px 18px; font-weight:500; box-shadow:var(--shadow); max-width:30ch; }
.bubble:nth-child(even) { background:var(--brand); color:#fff; }

/* Two headline promises side by side. */
.duo { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.duo-card { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius); padding:34px 32px; }
.duo-card h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); margin-bottom:10px; }

/* Old way vs Snugstar: the left column muted and struck through, the right one confident. */
.compare { max-width:820px; margin:34px auto 0; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--paper); box-shadow:var(--shadow-s); }
.compare-head, .compare-row { display:grid; grid-template-columns:1fr 1fr; }
.compare-head span { padding:14px 20px; font-family:var(--font-display); font-weight:700; }
.compare-head span:first-child { color:var(--muted); }
.compare-head span:last-child { background:var(--brand); color:#fff; }
.compare-row span { padding:13px 20px; border-top:1px solid var(--line); }
.compare-row span:first-child { color:var(--muted); text-decoration:line-through; text-decoration-color:color-mix(in srgb, var(--muted) 60%, transparent); }
.compare-row span:last-child { background:var(--brand-tint); color:var(--ink); font-weight:600; }
.compare-row span:last-child::before { content:"✓ "; color:var(--brand-deep); }
@media (max-width:560px) { .compare-head span, .compare-row span { padding:11px 12px; font-size:.92rem; } }

/* What makes Snugstar different: eight short, checked claims in a grid. */
.only { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:30px; }
.only div { background:var(--paper); border:1px solid var(--line); border-top:3px solid var(--brand); border-radius:var(--radius-s); padding:16px; box-shadow:var(--shadow-s); color:var(--ink-soft); font-size:.97rem; line-height:1.45; }
.only span { display:block; font-size:1.5rem; margin-bottom:6px; }
.only strong { color:var(--ink); }
@media (max-width:880px) { .only { grid-template-columns:1fr 1fr; } }

/* The parents promise, as a number: the one figure a parent remembers. */
.zero-badge { display:inline-flex; align-items:baseline; gap:10px; margin:0 0 12px; padding:8px 18px; border-radius:999px; background:#E3F6EC; color:#0F7B4D; font-weight:600; }
.zero-badge strong { font-family:var(--font-display); font-size:1.8rem; line-height:1; }
.faq-more { margin-top:26px; }

/* Pricing: four short promises. */
.price-points { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:30px; }
.price-points div { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-s); padding:18px 16px; text-align:center; box-shadow:var(--shadow-s); color:var(--ink-soft); font-size:.95rem; }
.price-points span { display:block; font-size:1.6rem; margin-bottom:6px; }
.price-points strong { display:block; color:var(--ink); font-family:var(--font-display); font-size:1.06rem; margin-bottom:2px; }
@media (max-width:880px) { .price-points { grid-template-columns:1fr 1fr; } }

/* A product screenshot or photo with its caption. */
.shot { margin:0; }
.shot figcaption { font-size:.88rem; color:var(--muted); margin-top:8px; text-align:center; }

/* Hosts and guests: short tick lists, then the shared live status as a strip of chips. */
.ticks { list-style:none; display:grid; gap:9px; margin-top:12px; }
.ticks li { padding-left:26px; position:relative; color:var(--ink-soft); }
.ticks li::before { content:"✓"; position:absolute; left:0; color:#0F7B4D; font-weight:700; }
.duo-card h3 { font-size:1.2rem; }
.status-strip { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin-top:26px; }
.status-strip p { width:100%; text-align:center; color:var(--ink); }
.status-strip span { background:var(--paper); border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-weight:600; font-size:.93rem; }

/* Feature categories: a heading and short lines that each open to one or two sentences. */
.cats { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:38px; align-items:start; }
.cat { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:22px 22px 16px; box-shadow:var(--shadow-s); }
.cat h3 { font-size:1.12rem; margin-bottom:10px; display:flex; gap:8px; align-items:center; }
.cat details { border-top:1px solid var(--line); padding:9px 0; }
.cat summary { font-family:var(--font-body); font-weight:500; font-size:.97rem; }

/* Photos: real swimming, real volunteers, real timing kit. */
.photo { width:100%; height:auto; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); display:block; }
.hero-photo { aspect-ratio:4/3; }
.photo-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:34px; }
.photo-strip figure { margin:0; }
.photo-strip img { aspect-ratio:3/2; }
.photo-strip figcaption { font-size:.9rem; color:var(--muted); margin-top:8px; text-align:center; }

@media (max-width: 880px) {
  .cycle { grid-template-columns:repeat(3,1fr); }
  .cycle li + li::before { display:none; }
  .cats, .duo, .photo-strip { grid-template-columns:1fr; }
}
@media (max-width: 560px) { .cycle { grid-template-columns:1fr 1fr; } }

/* A heading over each group of feature cards; the group's own .cards then sits closer to it than to the group before. */
.feat-group { font-family: var(--font-display); font-size: 1.25rem; margin: 56px 0 0; color: var(--ink); }
.feat-group + .cards { margin-top: 20px; }

.ctaband { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px 42px; text-align:center; }
.ctaband h2 { color:#fff; margin-bottom: 10px; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 auto 24px; }
.btn-on-dark { background:#fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--brand-tint); }

/* Optional components for a longer landing page — a status chip, a two-column
   section, a tick list, a callout and a numbered walkthrough. Brand-neutral:
   every colour comes from the tokens above, so they rebrand with everything else. */
.status-chip { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-weight:600; font-size:.85rem; padding:6px 14px; border-radius:999px; background:var(--brand-tint); color:var(--brand-deep); }
.status-chip .d { width:8px; height:8px; border-radius:50%; background:currentColor; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap:46px; align-items:center; }

.callout { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 16px 20px; }
.callout strong { color: var(--brand-deep); }

.feat { display:grid; gap:14px; margin-top:22px; text-align:left; }
.feat .row { display:flex; gap:13px; align-items:flex-start; }
.feat .row .tick { flex:0 0 24px; width:24px; height:24px; border-radius:50%; background:var(--brand-tint); color:var(--brand-deep); display:grid; place-items:center; font-weight:700; font-size:.85rem; }
.feat .row div { color: var(--ink-soft); }
.feat .row strong { color: var(--ink); }

.steps { list-style:none; margin:0; padding:0; display:grid; gap:13px; text-align:left; }
.steps li { display:grid; grid-template-columns: 44px 1fr; gap:16px; background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-s); padding:16px 18px; }
.steps .s-n { font-family: var(--font-display); font-weight:700; color: var(--brand-deep); background: var(--brand-tint); border-radius:10px; width:44px; height:44px; display:grid; place-items:center; font-size:1.05rem; }
.steps h4 { font-family: var(--font-display); font-size:1.04rem; margin-bottom:3px; color: var(--ink); }
.steps p { font-size:.95rem; margin:0; }

/* Contact form (contact.html) */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-s); max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.turnstile-slot:empty { display: none; }
.form-status { font-size: .92rem; font-weight: 500; }
.form-from { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }
.form-status.ok { color: var(--brand-deep); }
.form-status.err { color: #c1124a; }

footer { background: var(--ink); color: #C7CCD8; padding: 46px 0 28px; }
.foot-grid { display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap; align-items:center; }
.foot-brand { display:flex; align-items:center; gap:10px; color:#fff; font-family:var(--font-display); font-weight:700; }
.foot-note { width:100%; border-top:1px solid rgba(255,255,255,.12); margin-top:24px; padding-top:18px; font-size:.84rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align:center; }
  .hero-cta { justify-content:center; }
  .hero-art { order:-1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap:32px; }
  .nav-links { display:none; }
}
@media (max-width: 560px) {
  section { padding: 58px 0; }
  .cards { grid-template-columns: 1fr; }
}
