/* CrowdPlan marketing site -- dark navy, palette lifted from the logo
   (navy wordmark, green "Plan", purple/green/blue people). */
:root {
  --bg-1: #050b1a;
  --bg-2: #0b1730;
  --navy: #0b1220;
  --purple: #733de5;
  --green: #00bc7f;
  --blue: #007afa;
  --text: #e8ecf7;
  --muted: #93a0bd;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
  --surface: rgba(11,20,42,0.9);
  --surface-2: rgba(255,255,255,0.035);
  --radius: 16px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2)) fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(115,61,229,0.55); }

/* ---- Rain (fixed, behind everything; see rain.js) ---- */
.rain-container { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.rain-lane { position: absolute; display: flex; flex-direction: column; animation: rainFall linear infinite; will-change: transform; }
@keyframes rainFall { from { transform: translateY(0); } to { transform: translateY(var(--cycle)); } }
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(1400px 900px at 50% 30%, transparent 30%, rgba(5,11,26,0.8) 100%); }
@media (prefers-reduced-motion: reduce) { .rain-lane { animation: none; } }

.page { position: relative; z-index: 1; }
/* Arriving from the intro: the page fades up while the rain carries on behind it. */
.arrive .page { animation: arrive 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .arrive .page { animation: none; } }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Logo (white wordmark, green "Plan", masked from the real PNG) ---- */
.logo { display: inline-block; width: 156px; height: 52px; flex-shrink: 0;
  background: linear-gradient(90deg, #fff 0 69%, var(--green) 69.6%);
  -webkit-mask: url(img/crowdplan-logo.png) center / contain no-repeat;
  mask: url(img/crowdplan-logo.png) center / contain no-repeat; }
.logo.sm { width: 108px; height: 36px; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5,11,26,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: 0.95rem; color: var(--muted); margin-left: auto; }
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.nav-right:empty { display: none; }
.nav-burger { display: none; background: none; border: 1px solid var(--line-strong); color: #fff; width: 42px; height: 42px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer; font-family: inherit; line-height: 1; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s, border-color 0.15s; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; box-shadow: 0 10px 30px -10px rgba(115,61,229,0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0,122,250,0.7); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-green { background: var(--green); color: #04131c; box-shadow: 0 10px 30px -10px rgba(0,188,127,0.7); }
.btn-green:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }

/* ---- Hero ---- */
.hero { padding: 5.5rem 0 3.5rem; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 1.6rem; }
.eyebrow i { color: var(--green); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.05; font-weight: 800; margin: 0 0 1.2rem; letter-spacing: -0.025em; }
.accent { background: linear-gradient(120deg, var(--purple), var(--blue) 55%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 2rem; line-height: 1.65; }
.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.venue-board { display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin: 2.4rem auto 0; }
.vb-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.vb-flap { font-size: 1.3rem; }
.flap .tile.blank .t { visibility: hidden; }

/* ---- Split-flap display ---- */
.flap { display: inline-flex; gap: 3px; vertical-align: middle; perspective: 400px; }
.flap .tile { position: relative; display: inline-grid; place-items: center; width: 0.72em; height: 1.25em; border-radius: 0.14em; background: linear-gradient(180deg, #1a2748 0%, #121d3a 49%, #0c1530 51%, #101a36 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.5); font-family: var(--mono); font-weight: 700; color: #f4f6ff; overflow: hidden; }
.flap .tile.narrow { width: 0.42em; }
.flap .tile::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.65); box-shadow: 0 1px 0 rgba(255,255,255,0.05); }
.flap .tile .t { display: block; line-height: 1; transform-origin: 50% 50%; }
.flap .tile.flip .t { animation: flapFlip 0.12s ease-in; }
@keyframes flapFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-80deg); opacity: 0.4; } 100% { transform: rotateX(0); } }
@media (prefers-reduced-motion: reduce) { .flap .tile.flip .t { animation: none; } }

/* ---- Price widget (bottom of Home) ---- */
.price-widget { position: relative; margin: 0 auto; max-width: 760px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: 1.4rem 1.6rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; text-align: left; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(115,61,229,0.15); }
.price-widget::before { content: ''; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: linear-gradient(120deg, rgba(115,61,229,0.6), rgba(0,122,250,0.3), rgba(0,188,127,0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.stepper { display: flex; align-items: center; gap: 0.2rem; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); color: #fff; font-size: 1.2rem; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.stepper button:hover { background: rgba(255,255,255,0.12); }
.stepper output { min-width: 2.4rem; text-align: center; font-weight: 800; font-size: 1.5rem; }
.stepper-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.35rem; display: block; }
.price-widget .amount { font-size: 2.1rem; font-weight: 800; line-height: 1; white-space: nowrap; display: flex; align-items: baseline; gap: 0.3rem; }
.price-widget .amount small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.price-widget .amount .poa { color: var(--green); }
.price-widget .note { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }
.price-widget .note b { color: var(--green); }

/* ---- Sections ---- */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.tag { color: var(--green); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0.5rem 0 0.8rem; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* ---- Feature rows (copy + mock UI) ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; padding: 2.4rem 0; }
.feature-row.rev .feature-copy { order: 2; }
.feature-copy .pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem; }
.pill-purple { background: rgba(115,61,229,0.18); color: #b79bf5; }
.pill-green { background: rgba(0,188,127,0.14); color: #4fe3b0; }
.pill-blue { background: rgba(0,122,250,0.16); color: #6fb3ff; }
.feature-copy h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 0.7rem; letter-spacing: -0.015em; line-height: 1.2; }
.feature-copy p { color: var(--muted); line-height: 1.65; font-size: 1rem; margin: 0 0 1.1rem; }
.feature-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.feature-copy li { display: flex; gap: 0.6rem; font-size: 0.93rem; color: #cbd3e6; }
.feature-copy li i { color: var(--green); margin-top: 0.25rem; font-size: 0.8rem; }

/* Mock UI panels -- illustrations, not screenshots. Built in CSS so nothing
   here can be mistaken for a capture of the real app. */
.mock { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8); font-size: 0.78rem; position: relative; overflow: hidden; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; }
.mock-bar b { font-size: 0.85rem; }
.mock-bar .dots { display: flex; gap: 5px; }
.mock-bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-chip { font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--muted); }
.mock-chip.g { background: rgba(0,188,127,0.18); color: #4fe3b0; }
.mock-chip.p { background: rgba(115,61,229,0.22); color: #b79bf5; }
.mock-chip.b { background: rgba(0,122,250,0.2); color: #6fb3ff; }
.mock-chip.a { background: rgba(255,176,32,0.18); color: #ffc85c; }
.mock-caption { position: absolute; right: 0.8rem; bottom: 0.6rem; font-size: 0.6rem; color: rgba(147,160,189,0.55); letter-spacing: 0.05em; text-transform: uppercase; }

.grid-rota { display: grid; grid-template-columns: 92px repeat(5, 1fr); gap: 4px; }
.grid-rota .h { font-size: 0.66rem; color: var(--muted); text-align: center; padding: 2px 0; font-weight: 700; }
.grid-rota .n { font-size: 0.72rem; color: #cbd3e6; padding: 6px 4px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid-rota .c { height: 28px; border-radius: 6px; background: rgba(255,255,255,0.035); }
.grid-rota .s { display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; }
.grid-rota .s.g { background: rgba(0,188,127,0.25); color: #7cf0c4; }
.grid-rota .s.b { background: rgba(0,122,250,0.28); color: #8ec4ff; }
.grid-rota .s.p { background: rgba(115,61,229,0.3); color: #c6b0ff; }
.grid-rota .s.o { background: rgba(255,176,32,0.22); color: #ffd27a; }
.grid-rota .show { grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(115,61,229,0.12); border: 1px dashed rgba(183,155,245,0.35); font-size: 0.7rem; color: #d7c9ff; margin-top: 4px; }

.diary { display: grid; gap: 6px; }
.diary .row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; }
.diary .room { font-size: 0.72rem; font-weight: 700; color: #cbd3e6; }
.diary .lane { position: relative; height: 26px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 12.5%); border-radius: 6px; }
.diary .blk { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; font-size: 0.62rem; font-weight: 700; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.diary .blk.p { background: rgba(115,61,229,0.55); color: #fff; }
.diary .blk.b { background: rgba(0,122,250,0.5); color: #fff; }
.diary .blk.g { background: rgba(0,188,127,0.45); color: #fff; }
.diary .blk.warn { background: rgba(255,90,90,0.28); color: #ffb3b3; border: 1px dashed rgba(255,120,120,0.7); }
.diary .times { display: grid; grid-template-columns: 96px 1fr; }
.diary .times div { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--muted); padding: 0 2px; }

.report { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report .f { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.report .f small { display: block; font-size: 0.62rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.report .f b { font-size: 0.95rem; }
.report .f .late { color: #ffc85c; font-size: 0.66rem; font-weight: 700; margin-left: 6px; }
.report .f .ok { color: #4fe3b0; font-size: 0.66rem; font-weight: 700; margin-left: 6px; }
.report .full { grid-column: 1 / -1; }
.report .publish { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.report .publish .btn { padding: 0.5rem 0.9rem; font-size: 0.72rem; }

.shifts { display: grid; gap: 6px; }
.shifts .sh { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.shifts .sh b { font-size: 0.8rem; display: block; }
.shifts .sh span { color: var(--muted); font-size: 0.68rem; }
.shifts .sh .btn { padding: 0.45rem 0.8rem; font-size: 0.68rem; }

.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash .kpi { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.dash .kpi small { display: block; font-size: 0.62rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.dash .kpi b { font-size: 1.05rem; }
.dash .bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 6px; height: 70px; padding: 6px 4px 0; border-bottom: 1px solid var(--line); }
.dash .bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue), rgba(0,122,250,0.3)); }
.dash .bars i.g { background: linear-gradient(180deg, var(--green), rgba(0,188,127,0.3)); }
.dash .bars i.p { background: linear-gradient(180deg, var(--purple), rgba(115,61,229,0.3)); }

/* Real product screenshots: square in a rounded frame, zoomed in on the useful part, and
   panned slowly across the frame as it scrolls through the viewport (site.js). */
.shot { position: relative; height: 400px; border-radius: 20px; overflow: hidden; background: #0f1a33; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(115,61,229,0.1); }
.shot img { position: absolute; left: 0; top: 0; width: 170%; max-width: none; transform: translate3d(0,0,0); will-change: transform; }
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 -60px 60px -50px rgba(5,11,26,0.6); }
.shot .cap { position: absolute; left: 0.9rem; bottom: 0.8rem; z-index: 2; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e8ecf7; background: rgba(5,11,26,0.7); border: 1px solid rgba(255,255,255,0.12); padding: 0.3rem 0.65rem; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 860px) { .shot { height: 260px; } .shot img { width: 200%; } }

/* Full-width product bands: copy in two columns, then the screen at near-native size. */
.feature-block { padding: 3.4rem 0 1.2rem; }
.fb-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 3.5rem; align-items: end; margin-bottom: 1.8rem; }
.fb-head .pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem; }
.fb-head h3 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.fb-head .feature-copy p { margin-bottom: 0.9rem; }
.shot.wide { height: auto; aspect-ratio: 1512 / 760; border-radius: 22px; }
.shot.wide::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, rgba(115,61,229,0.25), transparent 70%); pointer-events: none; }
.shot.wide img { width: 100%; }
.shot.wide { opacity: 0; transform: translateY(32px) scale(0.985); transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot.wide.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .shot.wide { opacity: 1; transform: none; transition: none; } }
@media (max-width: 860px) { .fb-head { grid-template-columns: 1fr; } .shot.wide { height: auto; aspect-ratio: 4 / 3; } .shot.wide img { width: 170%; } }

/* ---- Card grids ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.15s, border-color 0.15s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; margin-bottom: 1rem; }
.ico-purple { background: rgba(115,61,229,0.2); color: #b79bf5; }
.ico-green { background: rgba(0,188,127,0.16); color: #4fe3b0; }
.ico-blue { background: rgba(0,122,250,0.18); color: #6fb3ff; }
.card h4 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.card a.more { display: inline-block; margin-top: 0.8rem; font-size: 0.85rem; font-weight: 700; color: #6fb3ff; text-decoration: none; }

/* ---- Brand grid ---- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.brand-card { background: #fff; color: var(--navy); border-radius: var(--radius); padding: 1.4rem; text-align: center; transition: transform 0.15s; }
.brand-card:hover { transform: translateY(-4px); }
.brand-card img { height: 44px; width: auto; margin-bottom: 0.8rem; }
.brand-card .venue-name { font-weight: 800; font-size: 0.9rem; }
.brand-card .venue-sub { color: #6b7280; font-size: 0.76rem; margin-top: 0.15rem; }
.brand-card .swatches { display: flex; justify-content: center; margin-top: 0.8rem; }
.brand-card .swatches span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #e7e5ee; margin-left: -7px; }
.brand-card .swatches span:first-child { margin-left: 0; }
.brand-card .venue-url { font-size: 0.66rem; color: #6b7280; margin-top: 0.6rem; font-family: var(--mono); }
.fineprint { text-align: center; font-size: 0.78rem; color: var(--muted); opacity: 0.8; margin: 1.2rem 0 0; }

/* ---- Integrations ---- */
.integrations { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.integ { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.integ .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.integ h4 { margin: 0 0 0.3rem; font-size: 1rem; }
.integ p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.integ .opt { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-left: 0.5rem; }

/* ---- Pricing ---- */
.page-hero { padding: 4rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.billing-toggle { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.seg { display: inline-flex; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: none; background: transparent; padding: 0.6rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 0.45rem; font-family: inherit; }
.seg button.active { background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; }
.seg .save-tag { font-size: 0.66rem; font-weight: 800; background: rgba(0,188,127,0.18); color: #4fe3b0; padding: 1px 7px; border-radius: 999px; }
.seg button.active .save-tag { background: rgba(255,255,255,0.22); color: #fff; }
.calc-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; padding: 2.2rem; max-width: 720px; margin: 0 auto; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
.calc-row { margin-bottom: 1.6rem; }
.calc-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.calc-row-head label { font-weight: 700; }
.calc-val { font-weight: 800; color: #b79bf5; font-size: 1.1rem; }
input[type="range"] { width: 100%; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); appearance: none; -webkit-appearance: none; outline: none; margin: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(115,61,229,0.6); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(115,61,229,0.6); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: 0.5rem; }
.poa-badge { font-size: 0.62rem; font-weight: 800; background: rgba(0,188,127,0.18); color: #4fe3b0; padding: 1px 7px; border-radius: 999px; }
.calc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.calc-toggle b { display: block; font-size: 0.95rem; }
.calc-toggle span { font-size: 0.82rem; color: var(--muted); }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .slider { position: absolute; inset: 0; background: rgba(255,255,255,0.15); border-radius: 999px; cursor: pointer; transition: background 0.15s; }
.switch .slider::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.15s; }
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--blue); outline-offset: 2px; }
.calc-total { text-align: center; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 1.8rem; }
.calc-total .amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; display: flex; justify-content: center; align-items: baseline; gap: 0.4rem; }
.calc-total .amount small { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.calc-total .amount .poa-amount { font-size: 3rem; color: var(--green); }
.breakdown { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }
.yearly-note { font-size: 0.85rem; color: #4fe3b0; font-weight: 700; margin-top: 0.3rem; }
.calc-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 1.4rem; }
.calc-note a { color: #6fb3ff; font-weight: 700; text-decoration: none; }
.signup { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.6rem; text-align: left; }
.field { display: block; font-size: 0.85rem; font-weight: 700; margin: 0 0 0.9rem; }
.field input[type="text"], .field input[type="email"] { display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 0.95rem; font-family: inherit; font-weight: 500; background: rgba(255,255,255,0.05); color: #fff; outline: none; transition: border-color 0.15s; }
.field input:focus { border-color: var(--blue); }
.field .hint { font-weight: 500; font-size: 0.78rem; color: var(--muted); display: block; margin-top: 0.35rem; }
.field .hint strong { color: #4fe3b0; }
.check { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.83rem; color: var(--muted); margin: 1rem 0; }
.check input { margin-top: 0.2rem; accent-color: var(--green); }
.check a { color: #6fb3ff; }
.msg { font-size: 0.85rem; margin-top: 0.6rem; min-height: 1.2em; }
.msg.err { color: #ff8a8a; }
.enterprise { max-width: 720px; margin: 1.2rem auto 0; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.enterprise span { color: var(--muted); font-size: 0.88rem; }
.included { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.4rem; list-style: none; padding: 0; }
.included li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: #cbd3e6; }
.included li i { color: var(--green); margin-top: 0.25rem; font-size: 0.8rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { padding: 1.1rem 1.4rem; font-weight: 700; font-size: 0.98rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: #b79bf5; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); line-height: 1.65; font-size: 0.95rem; }
.faq-body a { color: #6fb3ff; }
.tbc { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,176,32,0.12); border: 1px dashed rgba(255,176,32,0.5); color: #ffc85c; font-size: 0.74rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; vertical-align: middle; }

/* ---- CTA band ---- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(115,61,229,0.35), rgba(0,122,250,0.25) 60%, rgba(0,188,127,0.25)); border: 1px solid var(--line-strong); border-radius: 26px; padding: 3.2rem 2rem; text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; margin: 0 0 0.6rem; letter-spacing: -0.02em; }
.cta p { color: #cbd3e6; margin: 0 0 1.6rem; font-size: 1.02rem; }

/* ---- Terms ---- */
.terms { max-width: 46rem; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.terms h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
.terms p, .terms li { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.draft-notice { background: rgba(255,176,32,0.1); border: 1px solid rgba(255,176,32,0.4); color: #ffd27a; border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.5rem; }

/* ---- Footer ---- */
footer { padding: 3rem 0 3.5rem; border-top: 1px solid var(--line); margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
footer .foot-links { display: flex; gap: 1.4rem; font-weight: 600; }
footer .foot-links a { text-decoration: none; }
footer .foot-links a:hover { color: #fff; }

@media (max-width: 860px) {
  .vb-flap { font-size: 0.8rem; }
  .flap { gap: 2px; }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-row.rev .feature-copy { order: initial; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(5,11,26,0.97); border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 1.5rem; }
  .nav-burger { display: inline-grid; place-items: center; }
  .nav-right { margin-left: auto; }
  .nav-right .btn { display: none; }
  .price-widget { grid-template-columns: 1fr; text-align: center; }
  .stepper { justify-content: center; }
  .calc-card { padding: 1.5rem; }
  .included { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; text-align: center; }
}
