/* Team Strategy marketing site, in the Strategy Overview (SO10) brand. Tokens: see DESIGN.md. */
:root {
  color-scheme: light;
  --red: #EE3136;          /* SO red: big accents, marks */
  --red-btn: #DF272C;      /* button fill: SO red darkened a touch so white text passes AA */
  --red-btn-hover: #C41D22;
  --red-text: #D11F25;     /* small red text and links on white */
  --red-light: #FF5C60;    /* red on dark */
  --red-soft: rgba(238, 49, 54, .1);
  --ink: #111114;
  --charcoal: #474647;
  --gray: #5F6672;
  --soft: #D7D7DC;
  --hairline: #E5E7EB;
  --hairline-2: #CDD1D8;
  --bg: #FFFFFF;
  --bg-2: #F4F5F7;
  --green: #1D7A3C; --green-50: #E6F4EA;
  --amber: #8A6100; --amber-50: #FFF4D6;
  --down: #B42A2A; --down-50: #FDECEC;
  --font: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 20px; --r-xl: 30px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -10px rgba(0,0,0,.18);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.12), 0 40px 80px -24px rgba(0,0,0,.55);
  --max: 1200px;
  --gutter: max(20px, 5vw);
  --header: 72px;
}
/* Colours that flip between light surfaces and dark "plates". */
:root, .card, .plan, .calc, .app, .tcard, .dropdown, .float, .demo, .table-wrap, .form, .surface {
  --fg: var(--ink); --fg2: var(--charcoal); --fg3: var(--gray);
  --bd: var(--hairline); --bd2: var(--hairline-2); --link: var(--red-text);
  --icon-bg: var(--red-soft); --icon-fg: var(--red);
  --tick-bg: var(--red-soft);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23EE3136' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ghost-bg: #fff;
}
.plate, .flat-black, .flat-red, .site-footer, .mobile-nav {
  --fg: #fff; --fg2: #ECECF1; --fg3: var(--soft);
  --bd: rgba(255,255,255,.2); --bd2: rgba(255,255,255,.55); --link: #fff;
  --icon-bg: rgba(255,255,255,.14); --icon-fg: #fff;
  --tick-bg: rgba(255,255,255,.16);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ghost-bg: transparent;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 16px/1.6 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.plate :focus-visible, .flat-black :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .flat-red :focus-visible, .mobile-nav :focus-visible { outline-color: #fff; }
.plate .surface :focus-visible, .plate .card :focus-visible, .plate .plan :focus-visible, .plate .calc :focus-visible, .plate .demo :focus-visible, .dropdown :focus-visible { outline-color: var(--red); }
h1, h2, h3, h4 { color: var(--fg); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 16px; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--fg2); max-width: 62ch; }
.muted { color: var(--fg3); }
.small { font-size: 14px; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Plates: the SO10 "flowing light" backgrounds (dark base, soft colour blobs, fine grain). */
.plate { position: relative; isolation: isolate; overflow: hidden; background: var(--base); color: var(--fg); }
.plate::before { content: ""; position: absolute; inset: -30%; z-index: -2; opacity: .62; will-change: transform;
  background:
    radial-gradient(34% 38% at 22% 30%, var(--b1), transparent 72%),
    radial-gradient(30% 36% at 80% 24%, var(--b2), transparent 72%),
    radial-gradient(26% 30% at 84% 78%, var(--b3), transparent 72%),
    radial-gradient(36% 40% at 24% 84%, var(--b4), transparent 72%); }
.plate::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(70% 60% at 50% 34%, rgba(0,0,0,.34), transparent 78%); }
.electric { --base: #082C82; --b1: #2AB3FF; --b2: #00E1FF; --b3: #FF3C5A; --b4: #5A78FF; }
.teal     { --base: #04424E; --b1: #28E1C8; --b2: #2AB3FF; --b3: #FF5A50; --b4: #148296; }
.midnight { --base: #0C1846; --b1: #2AB3FF; --b2: #5078FF; --b3: #EE3136; --b4: #143C8C; }
.ruby     { --base: #780A1A; --b1: #FF4650; --b2: #FF8C3C; --b3: #C8143C; --b4: #FFBEC8; }
.sunset   { --base: #732012; --b1: #FF7828; --b2: #EE3136; --b3: #FFC350; --b4: #D22878; }
.slate    { --base: #0F1115; --b1: #78879B; --b2: #466E96; --b3: #EE3136; --b4: #9696A0; }
.ruby::before { opacity: .42; } .sunset::before { opacity: .5; } .slate::before { opacity: .34; }
.flat-black { background: #000; color: #fff; }
.flat-red { background: var(--red-btn); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .plate::before { animation: drift 28s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate3d(-2%, 1%, 0) rotate(0deg) scale(1); } to { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.12); } }
}

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(64px, 8vw, 120px) 0; }
.band.tight { padding: clamp(40px, 5vw, 72px) 0; }
.band.alt { background: var(--bg-2); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.rev > :first-child { order: 2; }
.section-head { max-width: 800px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; }
@media (max-width: 960px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 620px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font: 700 16px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red-btn); color: #fff; }
.btn-primary:hover { background: var(--red-btn-hover); color: #fff; }
.btn-ghost { background: var(--ghost-bg); color: var(--fg); border-color: var(--bd2); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(4px); }
.back-link { font-weight: 700; text-decoration: none; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--bg-2); color: var(--charcoal); border: 1px solid var(--hairline); }
.plate .badge { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.plate .surface .badge, .plate .plan .badge, .plate .tcard .badge { background: var(--bg-2); color: var(--charcoal); border-color: var(--hairline); }
.badge.draft { background: var(--amber-50); color: var(--amber); border-color: #F0DCA0; }
.kicker { font-size: 13px; font-weight: 700; color: var(--red-text); text-transform: uppercase; letter-spacing: .05em; }

/* Header: clear over the hero, dark glass once you scroll. */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s; background: rgba(10, 12, 20, .0); }
.site-header.solid, .no-js .site-header { background: rgba(10, 12, 20, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 19px/1 var(--font); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links button.menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; color: #fff; text-decoration: none; font: 600 15px/1.2 var(--font); background: none; border: 0; cursor: pointer; }
.nav-links > li > a:hover, .nav-links button.menu-btn:hover, .nav-links button[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.nav-links > li > a[aria-current="page"] { background: rgba(255,255,255,.14); }
.menu-btn svg { transition: transform .15s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: -8px; width: 580px; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown.narrow { width: 350px; grid-template-columns: 1fr; }
.dropdown.open { display: grid; }
@media (prefers-reduced-motion: no-preference) { .dropdown.open { animation: pop .16s ease-out; } @keyframes pop { from { opacity: 0; transform: translateY(-6px); } } }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.dropdown a strong { display: block; color: var(--ink); font-weight: 700; font-size: 15px; }
.dropdown a span { display: block; color: var(--gray); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.dropdown a:hover { background: var(--bg-2); }
.dropdown a[aria-current="page"] strong { color: var(--red-text); }
.dropdown .all { grid-column: 1 / -1; border-top: 1px solid var(--hairline); margin-top: 6px; padding-top: 14px; border-radius: 0 0 10px 10px; color: var(--red-text); font-weight: 700; font-size: 14.5px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 99px; }
.nav-cta .signin:hover { background: rgba(255,255,255,.14); }
.burger { display: none; width: 46px; height: 46px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.5); background: transparent; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
.mobile-nav { display: none; }
@media (max-width: 1040px) {
  .nav-links, .nav-cta .signin, .nav-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav.open { display: block; position: fixed; inset: var(--header) 0 0 0; background: #0B0D14; color: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; z-index: 49; }
  .mobile-nav h2 { font: 700 13px/1 var(--font); color: var(--soft); letter-spacing: .05em; text-transform: uppercase; margin: 24px 0 6px; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav li a { display: block; padding: 13px 0; font-size: 17px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-nav .actions { margin-top: 24px; }
  .mobile-nav .actions .btn { flex: 1 1 100%; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: #0B0D14; }
}

/* Heroes */
.hero, .page-hero { padding-top: calc(var(--header) + clamp(40px, 6vw, 88px)); }
.hero .intro, .page-hero .intro { max-width: 900px; margin: 0 auto; text-align: center; }
.intro > * + * { margin-top: 22px; }
.intro .lead { margin-inline: auto; }
.intro .actions { justify-content: center; }
.hero-note { font-size: 14.5px; color: var(--fg3); }
.page-hero { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero.has-bleed, .hero { padding-bottom: 0; }
.bleed { margin-top: clamp(36px, 5vw, 64px); margin-bottom: -56px; position: relative; }
.bleed::before { content: ""; position: absolute; inset: 8% 6% 0; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, rgba(138, 92, 255, .5), transparent 72%); filter: blur(30px); }
.crumbs { font-size: 14px; color: var(--fg3); }
.crumbs a { color: var(--fg3); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* Product tour (home hero) */
.tour-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 56px); }
.tour-tabs button { position: relative; overflow: hidden; min-height: 44px; padding: 10px 20px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; font: 700 15px/1 var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tour-tabs button:hover { border-color: #fff; }
.tour-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.tour-tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
.tour.playing .tour-tabs button[aria-selected="true"] i { animation: fill var(--tour-ms, 6000ms) linear forwards; }
@keyframes fill { to { width: 100%; } }
.tour .bleed { margin-top: 22px; }
.tour-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .tour-panel { animation: rise .45s cubic-bezier(.2, .7, .2, 1); } @keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } } }

/* Big numbers (flat black) */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.numbers .n { font: 800 clamp(64px, 9vw, 116px)/1 var(--font); color: var(--red); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.numbers .l { font-weight: 700; font-size: 18px; margin-top: 10px; }
.numbers .s { color: var(--soft); font-size: 15px; margin-top: 4px; }
@media (max-width: 720px) { .numbers { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

/* Cards */
.card { background: #fff; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px; }
.card > * + * { margin-top: 10px; }
.card p { color: var(--charcoal); }
a.card { display: block; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
a.card .arrow-link { color: var(--red-text); margin-top: 16px; }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--icon-bg); color: var(--icon-fg); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--fg2); }
.feature-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 99px; background: var(--tick-bg) var(--tick) center/20px no-repeat; }
.feature-list strong { color: var(--fg); font-weight: 700; }
.points { display: grid; gap: 32px; }
.point h3 { margin-bottom: 6px; }
.point p { color: var(--fg2); }
.point h3 a { color: inherit; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: s; padding-top: 4px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; background: var(--red-btn); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--fg2); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Rhythm strip */
.rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rhythm > div { padding: 26px; border-radius: var(--r-lg); color: #fff; position: relative; overflow: hidden; isolation: isolate; background: var(--base); }
.rhythm > div::before { content: ""; position: absolute; inset: -40%; z-index: -1; opacity: .55; background: radial-gradient(40% 40% at 25% 25%, var(--b1), transparent 70%), radial-gradient(36% 36% at 80% 80%, var(--b3), transparent 70%); }
.rhythm .when { font: 700 13px/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: #fff; opacity: .85; }
.rhythm h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 800; color: #fff; }
.rhythm p { color: #ECECF1; font-size: 15px; }
@media (max-width: 900px) { .rhythm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .rhythm { grid-template-columns: minmax(0, 1fr); } }

/* Interactive demos */
.demo { background: #fff; color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); font-size: 15px; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.demo-head b { font-size: 17px; font-weight: 800; }
.votes-left { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; color: var(--charcoal); }
.votes-left i { width: 12px; height: 12px; border-radius: 99px; background: var(--red); display: block; transition: background .2s, transform .2s; }
.votes-left i.used { background: var(--hairline-2); transform: scale(.8); }
.vote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vote-list li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--hairline); border-radius: 14px; background: #fff; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .2s, background .2s; }
.vote-list li.top { border-color: var(--red); background: #FFF7F7; }
.vote-list .t { flex: 1; font-weight: 600; }
.vote-list .c { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 22px; text-align: right; }
.vote-btn { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--hairline-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.vote-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red-text); }
.vote-btn:disabled { opacity: .4; cursor: not-allowed; }
.demo-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.demo-foot .btn { min-height: 44px; }
.demo-foot .btn:disabled { opacity: .45; cursor: not-allowed; }
.solved { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--green-50); color: #0F4D25; font-weight: 600; }
.solved[hidden] { display: none; }
.solved ul { margin: 8px 0 0; padding-left: 20px; font-weight: 500; }
.terms { display: flex; flex-wrap: wrap; gap: 8px; }
.terms button { min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--bd2); background: var(--ghost-bg); color: var(--fg); font: 700 15px var(--font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.terms button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-term] { transition: opacity .2s; }

/* Pricing */
.toggle { display: inline-flex; padding: 5px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; gap: 4px; }
.toggle button { min-height: 42px; padding: 8px 20px; border: 0; border-radius: 99px; background: none; font: 700 15px/1 var(--font); color: #fff; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.toggle .save { font-weight: 600; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; text-align: left; }
.plan { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; box-shadow: var(--shadow); }
.plan.featured { box-shadow: 0 0 0 3px var(--red), var(--shadow-lg); }
.plan .tag { position: absolute; top: -14px; left: 30px; background: var(--red-btn); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 99px; }
.plan h2, .plan h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font: 800 56px/1 var(--font); letter-spacing: -0.04em; }
.price .per { color: var(--gray); font-size: 15px; }
.plan .feature-list { font-size: 15px; gap: 10px; margin-top: 4px; }
.plan .btn { width: 100%; }
.plan.soon { background: rgba(255,255,255,.92); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); text-align: left; box-shadow: var(--shadow); }
.calc label { font-weight: 700; display: block; margin-bottom: 12px; }
.calc input[type=range] { width: 100%; accent-color: var(--red); height: 28px; }
.calc .seat-row { display: flex; align-items: center; gap: 16px; }
.calc input[type=number] { width: 96px; min-height: 46px; font: 700 18px var(--font); padding: 8px 10px; border: 1.5px solid var(--hairline-2); border-radius: 12px; text-align: right; }
.calc .result { text-align: right; }
.calc .total { font: 800 clamp(38px, 6vw, 60px)/1 var(--font); letter-spacing: -0.03em; white-space: nowrap; }
@media (max-width: 720px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc .result { text-align: left; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: #fff; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
thead th { font-weight: 700; background: var(--ink); color: #fff; font-size: 14px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }
tr.us { background: #FFF5F5; }
tr.us th { color: var(--red-text); }
caption { text-align: left; padding: 14px 18px; color: var(--gray); font-size: 14px; caption-side: bottom; border-top: 1px solid var(--hairline); }

/* FAQ */
.faq { border-top: 1px solid var(--bd); }
.faq details { border-bottom: 1px solid var(--bd); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 700 18px/1.35 var(--font); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: var(--red); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 24px; color: var(--fg2); max-width: 72ch; }
.faq .answer > * + * { margin-top: 10px; }

/* Prose */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose p, .prose li { color: var(--charcoal); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--red); }
.notice { border: 1px solid #F0DCA0; background: var(--amber-50); border-radius: var(--r); padding: 18px 20px; color: #5A4000; }

/* Punchline CTA: flat SO red */
.punch { padding: clamp(64px, 9vw, 128px) 0; text-align: center; }
.punch h2 { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.04; max-width: 16ch; margin: 0 auto; color: #fff; }
.punch p { color: #fff; margin: 20px auto 0; font-size: 18px; max-width: 52ch; }
.punch .actions { justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { background: #000; color: #fff; padding: 72px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font: 700 13px/1 var(--font); color: var(--soft); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.by-so { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--soft); font-size: 14px; }
.by-so img { width: 26px; height: 26px; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 13.5px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* App mockups: Team Strategy's own screens, in its own (SO) UI style */
.app { background: #fff; color: var(--ink); border: 1px solid rgba(255,255,255,.5); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13.5px; position: relative; text-align: left; }
.band:not(.plate) .app, .card .app { border-color: var(--hairline); box-shadow: var(--shadow); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--hairline); background: #FAFAFB; }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--hairline-2); display: block; }
.app-bar .url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--hairline); border-radius: 99px; padding: 4px 12px; color: var(--gray); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.app-side { border-right: 1px solid var(--hairline); padding: 14px 10px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.app-side .ws { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 800; }
.app-side .ws i { width: 22px; height: 22px; border-radius: 6px; background: var(--red); display: block; }
.app-side span { padding: 7px 10px; border-radius: 8px; color: var(--charcoal); font-weight: 600; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.app-side span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.6px solid currentColor; opacity: .5; flex: none; }
.app-side span.on { background: #fff; color: var(--red-text); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.app-side span.on::before { opacity: 1; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.app-main .ttl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-main .ttl b { font: 800 17px/1.2 var(--font); letter-spacing: -0.01em; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--bg-2); color: var(--charcoal); border: 1px solid var(--hairline); white-space: nowrap; }
.chip.g { background: var(--green-50); color: var(--green); border-color: #C4E3CD; }
.chip.r { background: var(--down-50); color: var(--down); border-color: #F3C6C6; }
.chip.a { background: var(--amber-50); color: var(--amber); border-color: #F0DCA0; }
.chip.b { background: var(--ink); color: #fff; border-color: var(--ink); }
.live { width: 7px; height: 7px; border-radius: 99px; background: #22A05A; box-shadow: 0 0 0 3px rgba(34,160,90,.2); }
@media (prefers-reduced-motion: no-preference) { .live { animation: pulse 1.8s ease-out infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,90,.5); } 100% { box-shadow: 0 0 0 8px rgba(34,160,90,0); } } }
.av { width: 24px; height: 24px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; flex: none; }
.av.s { width: 20px; height: 20px; font-size: 9.5px; }
.c1 { background: #111114; } .c2 { background: #0E7C66; } .c3 { background: #7A3FD0; } .c4 { background: #D2500F; } .c5 { background: #475569; } .c6 { background: #0A6FB8; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; }
.row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rows { display: flex; flex-direction: column; gap: 6px; }
.bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; width: 80px; flex: none; }
.bar i { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.meet { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
.agenda { display: flex; flex-direction: column; gap: 2px; }
.agenda div { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--gray); font-weight: 600; }
.agenda div.done { text-decoration: line-through; text-decoration-color: var(--hairline-2); }
.agenda div.on { background: var(--ink); color: #fff; font-weight: 700; }
.agenda div.on span:last-child { font-variant-numeric: tabular-nums; color: var(--red-light); }
.panel { border: 1px solid var(--hairline); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.panel .h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.panel .h b { font-weight: 700; }
.ids { display: flex; gap: 6px; }
.ids span { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; font-size: 12px; font-weight: 700; background: var(--bg-2); color: var(--gray); }
.ids span.on { background: var(--red-soft); color: var(--red-text); }
.note-line { font-size: 12.5px; color: var(--charcoal); background: var(--bg-2); border-radius: 9px; padding: 8px 10px; }
.sc { width: 100%; font-size: 12.5px; border-collapse: separate; border-spacing: 0; }
.sc th, .sc td { padding: 7px 8px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.sc thead th { background: none; color: var(--gray); font-weight: 700; font-size: 11.5px; }
.sc td.v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.sc td.ok { color: var(--green); background: #F3FAF5; }
.sc td.off { color: var(--down); background: #FEF3F3; font-weight: 800; }
.sc td.t { color: var(--gray); text-align: right; }
.sc .num { text-align: right; }
.spark { width: 64px; height: 20px; }
.spark polyline { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.org { display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
.org .lvl { display: flex; gap: 14px; justify-content: center; position: relative; padding-top: 18px; }
.org .lvl::before { content: ""; position: absolute; top: 0; left: 50%; height: 18px; border-left: 1.5px solid var(--hairline-2); }
.org .lvl.first { padding-top: 0; } .org .lvl.first::before { display: none; }
.org .lvl.wide::after { content: ""; position: absolute; top: 18px; left: 16%; right: 16%; border-top: 1.5px solid var(--hairline-2); }
.seat { border: 1px solid var(--hairline); border-radius: 12px; padding: 9px 11px; background: #fff; display: flex; gap: 9px; align-items: center; min-width: 130px; box-shadow: 0 1px 2px rgba(0,0,0,.05); position: relative; z-index: 1; }
.seat b { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.seat small { display: block; font-size: 11.5px; color: var(--gray); white-space: nowrap; }
.seat.open { border: 1.5px dashed var(--red); background: #FFF7F7; }
.skill-grid { display: grid; grid-template-columns: 110px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 12px; align-items: center; }
.skill-grid .h { color: var(--gray); font-weight: 700; font-size: 11px; text-align: center; }
.skill-grid .n { font-weight: 700; }
.lv { height: 24px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; }
.l1 { background: #F1F2F4; color: var(--gray); } .l2 { background: #FBD9DA; color: #7A1216; } .l3 { background: #F6A9AC; color: #5C0D10; } .l4 { background: #DF272C; color: #fff; } .l5 { background: #111114; color: #fff; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kanban .col { background: var(--bg-2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kanban .col > b { font-size: 12px; color: var(--gray); font-weight: 700; display: flex; justify-content: space-between; }
.gcard { background: #fff; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.gcard .t { font-weight: 700; font-size: 12.5px; line-height: 1.35; }
.gcard .m { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.vto .panel p { font-size: 12.5px; color: var(--charcoal); line-height: 1.5; }
.vto .k { font-size: 11px; font-weight: 800; color: var(--red-text); text-transform: uppercase; letter-spacing: .04em; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; color: var(--charcoal); font-weight: 500; }
.ticks li::before { content: ""; width: 14px; height: 14px; border: 1.6px solid var(--hairline-2); border-radius: 4px; flex: none; margin-top: 2px; }
.ticks li.x::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.2 2.2L10.5 4.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; border-color: var(--ink); }
.ticks li.x { color: var(--gray); text-decoration: line-through; }
.tpl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tpl .gcard small { color: var(--gray); font-size: 11.5px; }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center; z-index: 2; }
@media (prefers-reduced-motion: no-preference) { .float { animation: bob 6s ease-in-out infinite alternate; } .float.f2 { animation-delay: -3s; } @keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(8px); } } }
.mock-frame { position: relative; }
.split .app-side, .g2 .app-side { display: none; }
.split .app-body, .g2 .app-body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .meet { grid-template-columns: minmax(0, 1fr); }
  .agenda { flex-direction: row; }
  .agenda div { flex: 1; }
  .agenda div:not(.on) { display: none; }
  .float { display: none; }
  .bleed { margin-bottom: -32px; }
}
@media (max-width: 560px) {
  .vto, .kanban, .tpl { grid-template-columns: minmax(0, 1fr); }
  .kanban .col:nth-child(n+2), .tpl > :nth-child(n+3) { display: none; }
  .hide-sm { display: none; }
  .app-main { padding: 14px; }
  .app { border-radius: 20px; }
}

/* Templates */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--hairline-2); background: #fff; font: 700 15px var(--font); color: var(--charcoal); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tcard { background: #fff; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tcard p { color: var(--charcoal); font-size: 15px; }
.tcard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tcard ol, .tcard ul { margin: 0; padding-left: 18px; color: var(--charcoal); font-size: 14.5px; }
.tcard[hidden] { display: none; }

/* Contact */
.form { display: grid; gap: 18px; }
.form label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 500 16px var(--font); border: 1.5px solid var(--hairline-2); border-radius: 12px; background: #fff; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--red-soft); border-color: var(--red); }
.form .hint { font-size: 14px; color: var(--gray); margin-top: 6px; }
.form-status { padding: 14px 16px; border-radius: 12px; background: var(--green-50); color: #0F4D25; }

/* Sign up */
.auth { max-width: calc(460px + 2 * var(--gutter)); margin: 0 auto; }
.auth .card { padding: 36px; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.provider { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; border: 1.5px solid var(--hairline-2); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, background .15s; }
.provider:hover { border-color: var(--ink); background: var(--bg-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--gray); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--hairline); }
.auth-page { min-height: 100vh; padding: calc(var(--header) + 48px) 0 80px; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header) + 40px) 0 80px; }
.nf .code { font: 800 clamp(96px, 18vw, 200px)/1 var(--font); color: var(--red-light); letter-spacing: -0.05em; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .punch { display: none; } }

.gcard .m { flex-wrap: wrap; }
@media (min-width: 761px) { .split .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split .kanban .col:nth-child(3) { display: none; } }

/* ---------- Daylight theme: light like the app, SO symbol, black buttons, red as the one accent ---------- */
.plate, .mobile-nav, .band.flat-black {
  --fg: var(--ink); --fg2: var(--charcoal); --fg3: var(--gray);
  --bd: var(--hairline); --bd2: var(--hairline-2); --link: var(--red-text);
  --icon-bg: var(--red-soft); --icon-fg: var(--red);
  --tick-bg: var(--red-soft);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23EE3136' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ghost-bg: #fff;
}
.plate { background: var(--bg-2); }
.hero.plate, .page-hero.plate, .auth-page.plate, .nf.plate { background: linear-gradient(180deg, #fff 0, var(--bg-2) 100%); }
.plate::before { opacity: .3; filter: blur(50px); }
.ruby::before, .sunset::before, .slate::before { opacity: .3; }
.plate::after { background: none; }
.plate :focus-visible, .site-header :focus-visible, .mobile-nav :focus-visible, .band.flat-black :focus-visible { outline-color: var(--red); }
.plate .badge { background: #fff; color: var(--charcoal); border-color: var(--hairline); }
.hero h1 em { font-style: normal; color: var(--red); }

.site-header { color: var(--ink); background: rgba(255,255,255,0); }
.site-header.solid, .no-js .site-header { background: rgba(255,255,255,.88); box-shadow: 0 1px 0 var(--hairline); }
.brand { color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.site-footer .brand { color: #fff; }
.nav-links > li > a, .nav-links button.menu-btn, .nav-cta .signin, .burger { color: var(--ink); }
.nav-links > li > a:hover, .nav-links button.menu-btn:hover, .nav-links button[aria-expanded="true"], .nav-links > li > a[aria-current="page"], .nav-cta .signin:hover { background: rgba(17,17,20,.07); }
.burger { border-color: var(--hairline-2); }
@media (max-width: 1040px) {
  .mobile-nav.open { background: #fff; color: var(--ink); }
  .mobile-nav h2 { color: var(--gray); }
  .mobile-nav li a { color: var(--ink); border-bottom-color: var(--hairline); }
  body.nav-open .site-header { background: #fff; }
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.plan.featured .btn-primary, .punch .btn-light { background: var(--red-btn); color: #fff; }
.plan.featured .btn-primary:hover, .punch .btn-light:hover { background: var(--red-btn-hover); }
.punch.flat-red { background: var(--ink); }

.tour-tabs button { border-color: var(--hairline-2); background: #fff; color: var(--ink); }
.tour-tabs button:hover { border-color: var(--ink); }
.tour-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toggle { background: #fff; border-color: var(--hairline-2); }
.toggle button { color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.band.flat-black { background: var(--bg-2); color: var(--ink); }
.numbers > div { background: #fff; border: 1px solid var(--hairline); border-radius: 24px; padding: 36px 20px; }
.numbers .s { color: var(--gray); }

.rhythm > div { background: #fff; color: var(--ink); border: 1px solid var(--hairline); border-top: 6px solid var(--bar); }
.rhythm > div::before { display: none; }
.rhythm .midnight { --bar: #7C3AED; } .rhythm .teal { --bar: #059669; } .rhythm .electric { --bar: #2563EB; } .rhythm .sunset { --bar: #D97706; }
.rhythm .when { color: var(--gray); opacity: 1; }
.rhythm h3 { color: var(--ink); }
.rhythm p { color: var(--charcoal); }

.nf .code { color: var(--red); }
.shot { display: block; width: 100%; height: auto; border-radius: 26px 26px 0 0; border: 1px solid var(--hairline); border-bottom: 0; box-shadow: var(--shadow-lg); background: #fff; }
.split .shot { border-radius: 22px; border-bottom: 1px solid var(--hairline); aspect-ratio: 16 / 11; object-fit: cover; object-position: left top; }
.by-so { text-decoration: none; }

/* ---------- Focus style: warm paper, serif headlines, line art and watercolour washes ---------- */
:root { --paper: #F7F3EB; --paper-2: #EFE9DC; --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --w0: #F4E4C1; --w1: #F6C56B; --w2: #F2A65A; --w3: #FBE9A6; }
.electric { --w0: #DCE6F2; --w1: #A8C4EA; --w2: #C9D8F5; --w3: #9FB7E0; }
.teal     { --w0: #DDE8DC; --w1: #A9CDB6; --w2: #CFE3B4; --w3: #8FC1B8; }
.midnight { --w0: #E3DEEF; --w1: #B9A9E0; --w2: #D9C2E8; --w3: #A9B5E6; }
.ruby     { --w0: #F5DDD6; --w1: #F0A29A; --w2: #F6C4A8; --w3: #E98B8B; }
.sunset   { --w0: #F4E4C1; --w1: #F6C56B; --w2: #F2A65A; --w3: #FBE9A6; }
.slate    { --w0: #E8E4DC; --w1: #CFC8BA; --w2: #DAD3C6; --w3: #C4BEB2; }
body { background: var(--paper); }
.plate, .hero.plate, .page-hero.plate, .auth-page.plate, .nf.plate { background: var(--paper); }
.band.plate, .band.alt { background: var(--paper-2); }
.plate::before, .plate::after { display: none; }
.site-header.solid, .no-js .site-header { background: rgba(247, 243, 235, .92); }
@media (max-width: 1040px) { .mobile-nav.open, body.nav-open .site-header { background: var(--paper); } }

h1, h2 { font-family: var(--serif); font-weight: 340; letter-spacing: -0.022em; }
h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; }
h1 em, h2 em, .hero h1 em { font-style: italic; color: inherit; }
.punch h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 18ch; }
.btn { border-radius: 10px; }
.btn-sm { border-radius: 8px; }
.card, .plan, .calc { background: #FFFDF9; }

/* Washes: a watercolour panel behind a product screen. */
.wash, .bleed { position: relative; isolation: isolate; overflow: hidden; background: var(--w0); }
.wash { border-radius: 28px; padding: clamp(14px, 2.6vw, 34px); }
.bleed { border-radius: 28px 28px 0 0; padding: clamp(14px, 3vw, 44px) clamp(14px, 3vw, 44px) 0; margin-bottom: 0; }
.bleed > * { margin-bottom: -28px; }
.wash::before, .bleed::before { content: ""; position: absolute; inset: -25%; z-index: -2; filter: blur(16px) url(#wc);
  background: radial-gradient(40% 50% at 22% 30%, var(--w1), transparent 70%), radial-gradient(44% 44% at 80% 72%, var(--w2), transparent 70%), radial-gradient(30% 40% at 72% 14%, var(--w3), transparent 70%); }
.wash::after, .bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: multiply; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.wash .shot, .wash .split .shot { border-radius: 16px; border: 1px solid rgba(17,17,20,.12); aspect-ratio: auto; }
.wash .app, .bleed .app, .wash .demo { box-shadow: 0 2px 6px rgba(60,40,10,.1), 0 30px 60px -30px rgba(60,40,10,.35); }
@media (max-width: 640px) { .bleed > * { margin-bottom: -16px; } }

/* Home hero: headline left, line art right. */
.focus-hero { padding-bottom: clamp(40px, 6vw, 80px); }
.focus-hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.focus-hero .intro { text-align: left; margin: 0; max-width: none; }
.focus-hero .intro .lead { margin-inline: 0; }
.focus-hero .intro .actions { justify-content: flex-start; }
.art-swirl { width: 100%; height: auto; color: var(--ink); overflow: visible; }
@media (prefers-reduced-motion: no-preference) { .art-swirl { animation: turn 240s linear infinite; transform-origin: 50% 50%; } @keyframes turn { to { transform: rotate(360deg); } } }
@media (max-width: 860px) { .focus-hero .wrap { grid-template-columns: minmax(0, 1fr); } .focus-art { max-width: 440px; margin: 0 auto; order: -1; } .focus-hero { padding-top: calc(var(--header) + 8px); } }
.art-lines { display: block; width: 100%; max-width: 980px; height: auto; margin: 0 auto 28px; color: #fff; }
.screen-band { padding: 0 0 clamp(56px, 7vw, 104px); }
.plan.featured { box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); }
.plan.featured .btn-primary { background: var(--ink); }
.plan.featured .btn-primary:hover { background: #000; }
