/* Fit World Machine — marketing site. Brand: violet → magenta on deep purple (matches src/theme.js). */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-soft: #f3ebff;
  --magenta: #c026d3;
  --ink: #1c2033;
  --muted: #6b7089;
  --border: #e8eaf2;
  --bg: #ffffff;
  --bg-alt: #f8f7fc;
  --night: #170b33;
  --success: #1f9d6b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(40, 20, 90, 0.08);
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--magenta) 100%);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none !important; font-family: inherit; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124, 58, 237, .38); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-header .brand img { width: 44px; height: 44px; }
/* Horizontal logo: icon + two-line wordmark, styled like the square logo's lettering */
.brand-h .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-h .wm-top { font-size: 1.3rem; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; font-style: italic; color: var(--ink); }
.brand-h .wm-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.brand-h .wm-sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.brand-h .wm-sub::before, .brand-h .wm-sub::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.nav-links .btn { padding: 10px 18px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
}

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #ede4ff 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #fbe6ff 0%, transparent 60%); padding: 80px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .92rem; }
.hero-meta span::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 6px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .logo { width: min(340px, 80%); border-radius: 48px; box-shadow: 0 30px 60px rgba(60, 20, 120, .3); }
.hero-art .m1, .hero-art .m2 { position: absolute; width: 130px; filter: drop-shadow(0 10px 18px rgba(60, 20, 120, .2)); }
.hero-art .m1 { left: -10px; bottom: -20px; }
.hero-art .m2 { right: -10px; top: -10px; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .logo { width: 200px; border-radius: 32px; }
  .hero-art .m1, .hero-art .m2 { width: 80px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--night); background-image: radial-gradient(700px 300px at 85% 0%, rgba(192, 38, 211, .35), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(124, 58, 237, .45), transparent 70%); color: #fff; padding: 72px 0 64px; }
.page-hero .lead { color: #d8cff5; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .12); color: #f0d9ff; }
.breadcrumb { font-size: .88rem; color: #bfb3e6; margin-bottom: 14px; }
.breadcrumb a { color: #e9ddff; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd3fb; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); font-size: 1.5rem; margin-bottom: 16px; }
.section-head { margin-bottom: 48px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { max-width: 280px; margin: 0 auto; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f5ee; color: var(--success); font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 2; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); font-family: inherit; font-size: .95rem; }
.billing-toggle button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.billing-toggle .save { font-size: .75rem; color: var(--success); margin-left: 4px; }
.billing-toggle button[aria-pressed="true"] .save { color: #d4ffe9; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(124, 58, 237, .18); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: .95rem; min-height: 48px; }
.price { font-size: 2.6rem; font-weight: 800; margin: 16px 0 2px; letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: .85rem; margin-bottom: 20px; min-height: 1.4em; }
.price-card .checklist { flex: 1; font-size: .95rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-alt); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--success); font-weight: 800; }
.no { color: #b3b6c6; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band p { color: #f4e9ff; max-width: 600px; margin: 0 auto 24px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: .85rem; color: var(--muted); }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon { flex: none; margin: 0; }
.contact-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-item p { margin: 0; color: var(--muted); }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 24px 0 8px; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* Footer */
.site-footer { background: var(--night); color: #c9c0e8; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9c0e8; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Timeline (About page) */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--magenta)); opacity: .35; }
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* =========================================================================
   Colourful theme — layered on top of the base styles above.
   Brand violet/magenta stays the lead; pink, orange, amber, teal, sky and
   green add energy to cards, icons, sections and accents.
   ========================================================================= */
:root {
  --c-violet: #7c3aed; --c-magenta: #c026d3; --c-pink: #ec4899; --c-orange: #f97316;
  --c-amber: #f59e0b; --c-teal: #14b8a6; --c-sky: #0ea5e9; --c-green: #22c55e; --c-indigo: #6366f1;
  --grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #ec4899 100%);
  --grad-rainbow: linear-gradient(90deg, #7c3aed, #ec4899, #f97316, #f59e0b, #14b8a6, #0ea5e9, #7c3aed);
}

/* Rainbow strip under the header and above the footer */
.site-header { border-bottom: 0; }
.site-header::after { content: ""; display: block; height: 3px; background: var(--grad-rainbow); background-size: 200% 100%; animation: slide 8s linear infinite; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-rainbow); }
@keyframes slide { to { background-position: 200% 0; } }

/* Hero: brighter, multi-colour glow */
.hero {
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(236, 72, 153, .22), transparent 65%),
    radial-gradient(600px 420px at 100% 90%, rgba(249, 115, 22, .16), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 165, 233, .16), transparent 65%),
    radial-gradient(800px 500px at 30% 0%, rgba(124, 58, 237, .18), transparent 65%),
    #fff;
}
.grad-text { background: linear-gradient(90deg, #7c3aed, #ec4899 50%, #f97316); -webkit-background-clip: text; background-clip: text; }
.hero-meta span:nth-child(1)::before { color: var(--c-teal); }
.hero-meta span:nth-child(2)::before { color: var(--c-sky); }
.hero-meta span:nth-child(3)::before { color: var(--c-pink); }
.hero-art::before { content: ""; position: absolute; inset: 8% 10%; border-radius: 50%; background: conic-gradient(from 0deg, #7c3aed, #ec4899, #f97316, #f59e0b, #14b8a6, #0ea5e9, #7c3aed); filter: blur(50px); opacity: .45; z-index: -1; animation: spin 18s linear infinite; }
.hero-art { isolation: isolate; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Page hero on inner pages: add pink/orange/sky light */
.page-hero {
  background-image:
    radial-gradient(600px 300px at 90% 0%, rgba(236, 72, 153, .45), transparent 70%),
    radial-gradient(500px 280px at 60% 120%, rgba(249, 115, 22, .3), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(124, 58, 237, .55), transparent 70%),
    radial-gradient(400px 240px at 30% 0%, rgba(14, 165, 233, .3), transparent 70%);
}

/* Eyebrow chips and section headings */
.eyebrow { background: linear-gradient(90deg, #f3ebff, #fde7f3); color: #9d1f8f; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin: 14px auto 0; background: linear-gradient(90deg, var(--c-violet), var(--c-pink), var(--c-orange)); }
.section-head:not(.center) h2::after { margin-left: 0; }

/* Tinted alternate sections */
.section.alt { background: linear-gradient(180deg, #f8f4ff 0%, #fdf2f8 50%, #fff7ed 100%); }

/* Buttons */
.btn-primary { background: var(--grad); background-size: 160% 160%; background-position: 0% 50%; transition: transform .2s, box-shadow .2s, background-position .4s; }
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 12px 26px rgba(236, 72, 153, .35); }
.btn-ghost:hover { border-color: var(--c-pink); color: var(--c-pink); }

/* Cards: each one gets its own colour (cycles through 8) */
.card { --c: var(--c-violet); position: relative; overflow: hidden; border-top: 4px solid var(--c); }
.card .icon { background: var(--c); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
.card:hover { border-color: var(--c); border-top-color: var(--c); box-shadow: 0 16px 36px color-mix(in srgb, var(--c) 22%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff), #fff 60%); }
.card h3 { color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.grid > .card:nth-child(8n+1) { --c: var(--c-violet); }
.grid > .card:nth-child(8n+2) { --c: var(--c-pink); }
.grid > .card:nth-child(8n+3) { --c: var(--c-orange); }
.grid > .card:nth-child(8n+4) { --c: var(--c-teal); }
.grid > .card:nth-child(8n+5) { --c: var(--c-sky); }
.grid > .card:nth-child(8n+6) { --c: var(--c-magenta); }
.grid > .card:nth-child(8n+7) { --c: var(--c-amber); }
.grid > .card:nth-child(8n+8) { --c: var(--c-green); }

/* Checklists with colourful ticks */
.checklist li::before { color: #fff; background: var(--c-teal); }
.checklist li:nth-child(4n+2)::before { background: var(--c-pink); }
.checklist li:nth-child(4n+3)::before { background: var(--c-sky); }
.checklist li:nth-child(4n+4)::before { background: var(--c-orange); }

/* Pricing: a colour per plan */
.price-grid .price-card:nth-child(1) { --c: var(--c-teal); }
.price-grid .price-card:nth-child(2) { --c: var(--c-violet); }
.price-grid .price-card:nth-child(3) { --c: var(--c-orange); }
.price-card { border-top: 6px solid var(--c); }
.price-card.featured { border-color: var(--c-violet); border-top-width: 6px; background: linear-gradient(180deg, #faf5ff, #fff 45%); }
.price-card h3 { color: var(--c); }
.price .amount { background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, var(--c-pink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card .checklist li::before { background: var(--c); }
.billing-toggle .save { color: #fff; background: var(--c-green); padding: 2px 8px; border-radius: 999px; }
.compare thead th { background: linear-gradient(90deg, #f3ebff, #fde7f3, #ffedd5); }
.compare thead th:nth-child(2) { color: var(--c-teal); }
.compare thead th:nth-child(3) { color: var(--c-violet); }
.compare thead th:nth-child(4) { color: var(--c-orange); }
.compare tbody tr:hover { background: #fdf8ff; }

/* FAQ */
.faq details { border-left: 4px solid var(--c-violet); }
.faq details:nth-child(4n+2) { border-left-color: var(--c-pink); }
.faq details:nth-child(4n+3) { border-left-color: var(--c-orange); }
.faq details:nth-child(4n+4) { border-left-color: var(--c-teal); }
.faq details[open] { background: linear-gradient(90deg, #faf5ff, #fff); }

/* CTA band: multi-colour with soft shapes */
.cta-band { background: linear-gradient(120deg, #7c3aed 0%, #c026d3 40%, #ec4899 70%, #f97316 100%); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band::before { width: 260px; height: 260px; background: rgba(255, 255, 255, .12); top: -110px; left: -60px; }
.cta-band::after { width: 200px; height: 200px; background: rgba(14, 165, 233, .35); bottom: -90px; right: -40px; filter: blur(6px); }
.cta-band > * { position: relative; z-index: 1; }

/* Contact page icons */
.contact-item:nth-of-type(1) .icon { background: #fde7f3; }
.contact-item:nth-of-type(2) .icon { background: #dcfce7; }
.contact-item:nth-of-type(3) .icon { background: #e0f2fe; }
.contact-item:nth-of-type(4) .icon { background: #ffedd5; }
.contact-item:nth-of-type(5) .icon { background: #fef3c7; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-pink); box-shadow: 0 0 0 3px rgba(236, 72, 153, .18); }

/* Timeline dots in different colours */
.timeline::before { background: linear-gradient(var(--c-violet), var(--c-pink), var(--c-orange), var(--c-teal)); opacity: .6; }
.timeline li:nth-child(6n+1)::before { background: var(--c-violet); box-shadow: 0 0 0 4px #ede4ff; }
.timeline li:nth-child(6n+2)::before { background: var(--c-pink); box-shadow: 0 0 0 4px #fde7f3; }
.timeline li:nth-child(6n+3)::before { background: var(--c-orange); box-shadow: 0 0 0 4px #ffedd5; }
.timeline li:nth-child(6n+4)::before { background: var(--c-amber); box-shadow: 0 0 0 4px #fef3c7; }
.timeline li:nth-child(6n+5)::before { background: var(--c-teal); box-shadow: 0 0 0 4px #ccfbf1; }
.timeline li:nth-child(6n+6)::before { background: var(--c-sky); box-shadow: 0 0 0 4px #e0f2fe; }

/* Legal pages: colourful contents box */
.toc { background: linear-gradient(135deg, #f8f4ff, #fdf2f8); border-color: #eadcff; }
.legal h2 { padding-left: 14px; border-left: 4px solid var(--c-pink); }

/* Footer accents */
.site-footer h4 { background: linear-gradient(90deg, #f9a8d4, #fdba74); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .site-header::after, .hero-art::before { animation: none; }
}

/* =========================================================================
   Design refresh — fonts, dark brand hero, motion.
   Headings: Outfit (bold, athletic). Body: Plus Jakarta Sans.
   ========================================================================= */
:root {
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --night: #12082b;
  --night-2: #1d0d45;
}
body { font-family: var(--font-body); }
h1, h2, h3, h4, .brand-h .wm-top, .price, .stat strong, .btn { font-family: var(--font-display); }
h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-weight: 800; letter-spacing: -0.03em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.btn { letter-spacing: .01em; border-radius: 14px; }
.brand-h .wm-top { font-weight: 900; }

/* Flowing gradient text */
.grad-text, .brand-h .wm-grad {
  background: linear-gradient(90deg, #a78bfa, #ec4899, #f97316, #ec4899, #a78bfa);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 8s linear infinite;
}
.brand-h .wm-grad { background-image: linear-gradient(90deg, #7c3aed, #ec4899, #f97316, #ec4899, #7c3aed); }
@keyframes flow { to { background-position: 250% 0; } }

/* Header: glassy, shrinks a little once the page scrolls */
.site-header { transition: background .3s, box-shadow .3s; }
.nav { transition: height .3s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, .82); box-shadow: 0 8px 30px rgba(30, 10, 70, .08); }
.site-header.scrolled .nav { height: 62px; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
@media (min-width: 861px) {
  .nav-links a:not(.btn) { position: relative; padding: 6px 0; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}

/* Buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }

/* Home hero: deep brand purple, like the logo */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(236, 72, 153, .35), transparent 65%),
    radial-gradient(600px 400px at 100% 100%, rgba(249, 115, 22, .22), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 165, 233, .22), transparent 65%),
    radial-gradient(900px 600px at 20% 0%, rgba(124, 58, 237, .55), transparent 65%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  padding: 96px 0 110px;
}
.hero::before { /* faint grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero::after { /* soft curve into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero .lead { color: #d9cff7; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #f5d0fe; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.hero .eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: #fff; color: var(--primary-dark); border-color: #fff; transform: translateY(-2px); }
.hero-meta { color: #c9bdf0; }
.hero-meta span { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: 999px; }
.hero-art .logo { box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-art::before { opacity: .7; }

/* Hero entrance + floating art */
.hero-grid > div:first-child > * { animation: rise .9s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
.hero-art .logo { animation: pop 1s var(--ease) both, float 6s ease-in-out 1s infinite; }
.hero-art .m1 { animation: rise 1s var(--ease) .4s both, bob 4.5s ease-in-out 1.4s infinite; }
.hero-art .m2 { animation: rise 1s var(--ease) .55s both, bob 5s ease-in-out 1.6s infinite reverse; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Inner page heroes: same night palette, gentle entrance */
.page-hero { background-color: var(--night); position: relative; overflow: hidden; }
.page-hero .container > * { animation: rise .8s var(--ease) both; }
.page-hero .container > :nth-child(2) { animation-delay: .07s; }
.page-hero .container > :nth-child(3) { animation-delay: .14s; }
.page-hero .container > :nth-child(4) { animation-delay: .21s; }

/* Cards: lift, glow and a playful icon */
.card { border-radius: 20px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-6px); }
.card .icon { border-radius: 14px; transition: transform .5s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.12); }
.price-card { border-radius: 24px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px color-mix(in srgb, var(--c) 22%, transparent); }
.price-card.featured { transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
@media (max-width: 960px) { .price-card.featured, .price-card.featured:hover { transform: none; } }

/* Mascot images in split rows gently bob when in view */
.split img.in, .split .in img { animation: bob 5s ease-in-out infinite; }

/* FAQ: smooth open */
.faq details { transition: background .3s, box-shadow .3s; }
.faq details:hover { box-shadow: 0 8px 24px rgba(40, 20, 90, .06); }
.faq summary::after { transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details[open] p { animation: rise .45s var(--ease) both; }

/* CTA band: slowly shifting colours */
.cta-band { background-size: 200% 200%; animation: shift 12s ease-in-out infinite; border-radius: 28px; }
@keyframes shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Scroll reveal: a touch more lift, staggered by site.js */
.reveal { transform: translateY(28px); transition-duration: .8s; }

/* Footer */
.site-footer { background: linear-gradient(180deg, var(--night-2), var(--night)); }

/* Selection + focus */
::selection { background: #f5d0fe; color: #3b0764; }
:focus-visible { outline: 3px solid #ec4899; outline-offset: 3px; border-radius: 6px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 80px; }
  .hero-meta { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-grid > div:first-child > *, .hero-art img, .page-hero .container > * { opacity: 1 !important; transform: none !important; }
}
