/* Campaign Span — shared site styles */
:root {
  --bg: #F4EEEC;
  --surface: #FFFFFF;
  --surface-2: #EADEDA;
  --surface-3: #DFD0CB;
  --text: #2E294E;
  --muted: #5E5873;
  --faint: #8E879E;
  --border: #E0D3CF;
  --brand: #D90368;
  --brand-hover: #B8025A;
  --brand-ink: #FFFFFF;
  --brand-soft: #FBE0EC;
  --accent: #FFD400;
  --accent-soft: #FFF6CC;
  --ok: #1E8E5E;
  --ok-soft: #E2F4EB;
  --warn: #B7791F;
  --warn-soft: #FBF0DC;
  --danger: #C93C3C;
  --danger-soft: #FBE5E5;
  --link: #820263;
  --accent-ink: #7A6000;
  --cta-bg: #2E294E;
  --shadow: 0 1px 2px rgba(46,41,78,.06), 0 8px 24px rgba(46,41,78,.06);
  --shadow-lg: 0 2px 6px rgba(46,41,78,.08), 0 24px 60px rgba(46,41,78,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  /* Instrument Sans: UI, body, nav and buttons. Bricolage Grotesque: display and hero headings. */
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* channel identity colours */
  --ch-instagram: #C13584;
  --ch-tiktok: #0E8F8A;
  --ch-youtube: #D12B2B;
  --ch-x: #3C3B4A;
  --ch-facebook: #2D5FD3;
  --ch-threads: #6B4FA0;
  --ch-bluesky: #1C86D9;
  --ch-linkedin: #0A66A8;
  --ch-pinterest: #B8233A;
  --ch-email: #D0661F;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1930;
    --surface: #2E294E;
    --surface-2: #38325C;
    --surface-3: #443D6B;
    --text: #F4EEEC;
    --muted: #B9B2C9;
    --faint: #8D86A3;
    --border: #453F6A;
    --brand: #D90368;
    --brand-hover: #EC1A7B;
    --brand-ink: #FFFFFF;
    --brand-soft: #4A1838;
    --accent: #FFD400;
    --accent-soft: #3D3418;
    --ok: #4CC793;
    --ok-soft: #173327;
    --warn: #E5AE55;
    --warn-soft: #382B14;
    --danger: #F07474;
    --danger-soft: #3B1C1E;
    --link: #FF7AB6;
    --accent-ink: #FFD400;
    --cta-bg: #820263;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.5);
    --ch-instagram: #E66BAE;
    --ch-tiktok: #3CC9C2;
    --ch-youtube: #F06A6A;
    --ch-x: #B9B8C6;
    --ch-facebook: #6F95F0;
    --ch-threads: #A48AD6;
    --ch-bluesky: #5BB2F2;
    --ch-linkedin: #4C9BDB;
    --ch-pinterest: #EB6B80;
    --ch-email: #F2915F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1930;
  --surface: #2E294E;
  --surface-2: #38325C;
  --surface-3: #443D6B;
  --text: #F4EEEC;
  --muted: #B9B2C9;
  --faint: #8D86A3;
  --border: #453F6A;
  --brand: #D90368;
  --brand-hover: #EC1A7B;
  --brand-ink: #FFFFFF;
  --brand-soft: #4A1838;
  --accent: #FFD400;
  --accent-soft: #3D3418;
  --ok: #4CC793;
  --ok-soft: #173327;
  --warn: #E5AE55;
  --warn-soft: #382B14;
  --danger: #F07474;
  --danger-soft: #3B1C1E;
  --link: #FF7AB6;
  --accent-ink: #FFD400;
  --cta-bg: #820263;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.5);
  --ch-instagram: #E66BAE;
  --ch-tiktok: #3CC9C2;
  --ch-youtube: #F06A6A;
  --ch-x: #B9B8C6;
  --ch-facebook: #6F95F0;
  --ch-threads: #A48AD6;
  --ch-bluesky: #5BB2F2;
  --ch-linkedin: #4C9BDB;
  --ch-pinterest: #EB6B80;
  --ch-email: #F2915F;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
/* Display face for page titles, section headings, hero copy, prices and the wordmark */
h1, h2, .feature-row h3, .price, .logo { font-family: var(--font-display); font-optical-sizing: auto; }
h1 { letter-spacing: -.03em; }
/* Inside the app, headings are UI labels, so they stay in the UI face */
.app-view h2, .app-view h3, .toolbar h2, .proj-head h2, .dlg-head h2 { font-family: var(--font); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--surface-2); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--link); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px; color: var(--text); font: inherit; font-weight: 600; font-size: .94rem;
  background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links button.nav-trigger:hover { background: var(--surface-2); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--link); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .15s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; display: none;
}
.has-dropdown.open .dropdown { display: block; }
.has-dropdown.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown .dd-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 12px 4px; }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding: 8px 12px; }
.dropdown a small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.dropdown .dd-sub a { padding-left: 24px; font-weight: 500; }
.dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px;
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .auth-link { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-header.menu-open .nav-links a, .site-header.menu-open .nav-trigger { width: 100%; justify-content: space-between; padding: 12px; }
  .site-header.menu-open .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; }
  .site-header.menu-open .mobile-auth { display: flex !important; }
}
.mobile-auth { display: none !important; gap: 8px; padding-top: 12px; }
.mobile-auth .btn { flex: 1; }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 640px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent),
              radial-gradient(closest-side at 80% 40%, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
}
.hero-grid { display: grid; gap: 48px; }
.hero h1 span { color: var(--link); }
.hero .lead { margin-bottom: 28px; }
.hero-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.page-hero { padding: 72px 0 48px; }
.page-hero .lead { margin-bottom: 0; }

/* Fake app "screenshot" frame */
.shot {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.4;
}
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); display: block; }
.shot-bar .shot-title { margin-left: 10px; font-weight: 600; color: var(--muted); font-size: 12px; }
.shot-body { padding: 16px; }
.shot-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Channel chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  font-size: 11.5px; font-weight: 600; line-height: 1.25; padding: 4px 7px; border-radius: 6px;
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, var(--surface)); color: var(--text);
  border-left: 3px solid var(--c, var(--brand)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.c-instagram { --c: var(--ch-instagram); } .c-tiktok { --c: var(--ch-tiktok); } .c-youtube { --c: var(--ch-youtube); }
.c-x { --c: var(--ch-x); } .c-facebook { --c: var(--ch-facebook); } .c-threads { --c: var(--ch-threads); }
.c-bluesky { --c: var(--ch-bluesky); } .c-linkedin { --c: var(--ch-linkedin); } .c-pinterest { --c: var(--ch-pinterest); }
.c-email { --c: var(--ch-email); }

/* Mini calendar mock */
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mini-cal .dow { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; padding: 0 4px 4px; }
.mini-cal .day { min-height: 74px; background: var(--surface-2); border-radius: 6px; padding: 5px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-cal .day b { font-size: 11px; color: var(--muted); font-weight: 600; }
.mini-cal .day.today { outline: 2px solid var(--link); outline-offset: -2px; }
.mini-cal .day.gap { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, color-mix(in srgb, var(--warn) 12%, var(--surface-2)) 6px 12px); }

/* Mini kanban mock */
.mini-board { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; }
.mini-col { background: var(--surface-2); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.mini-col h5 { margin: 2px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mini-card .t { font-weight: 600; font-size: 12.5px; }
.mini-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--muted); }

.avatars { display: flex; }
.avatar {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  font-size: 9.5px; font-weight: 800; color: #fff; border: 2px solid var(--surface); margin-left: -6px;
  background: var(--av, var(--brand));
}
.avatars .avatar:first-child { margin-left: 0; }
.tag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--link); white-space: nowrap; }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.neutral { background: var(--surface-3); color: var(--muted); }

/* Mini analytics mock */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.kpi strong { font-size: 20px; letter-spacing: -.02em; }
.kpi .delta { font-size: 11px; font-weight: 700; color: var(--ok); }
.reco { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.reco + .reco { margin-top: 8px; }
.reco .ico { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--link); }
.reco .ico.warn { background: var(--warn-soft); color: var(--warn); }
.reco .ico svg { width: 15px; height: 15px; }
.reco p { margin: 0; font-size: 12.5px; }
.reco p b { display: block; font-size: 13px; }

/* Feature rows */
.feature-row { display: grid; gap: 40px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231E8E5E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; }
  .feature-row { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .feature-row.flip > :first-child { order: 2; }
}

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: .95rem; }
a.card { color: inherit; display: block; transition: transform .15s, border-color .15s; }
a.card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--link); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--link); margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.accent { background: var(--accent-soft); color: var(--accent-ink); }
.card-icon.ok { background: var(--ok-soft); color: var(--ok); }
.card-link { font-weight: 700; font-size: .92rem; margin-top: 12px; display: inline-block; color: var(--link); }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-weight: 700; font-size: .98rem; }
.logo-strip span { opacity: .8; }

.platform-avail { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* CTA band */
.cta-band {
  background: var(--cta-bg);
  color: #fff; border-radius: 24px; padding: 56px 32px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 24px; font-size: 1.1rem; }
.cta-band .btn-primary { background: var(--accent); color: #2E294E; }
.cta-band .btn-primary:hover { background: #FFE04D; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 700; }
td.tbd { color: var(--warn); font-weight: 600; }
td.no { color: var(--faint); }

/* Sub-nav pills */
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill-nav a, .pill-nav button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
}
.pill-nav a:hover, .pill-nav button:hover { border-color: var(--link); text-decoration: none; }
.pill-nav button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--link); }

/* Role sections */
.role { display: grid; gap: 32px; padding: 64px 0; border-top: 1px solid var(--border); }
.role:first-of-type { border-top: 0; }
@media (min-width: 900px) { .role { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.role .quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); font-style: italic; margin-top: 20px; }
.pain-gain { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pain-gain h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.pain-gain ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* Integrations */
.int-card { display: flex; flex-direction: column; gap: 10px; }
.int-head { display: flex; align-items: center; gap: 12px; }
.monogram {
  width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; color: #fff; background: var(--c, var(--brand));
}
.int-card h3 { margin: 0; font-size: 1.05rem; }
.int-card .cat { font-size: .78rem; color: var(--muted); font-weight: 600; }
.int-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-top: 24px; border: 1px solid var(--border); }
.billing-toggle button { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: none; padding: 8px 18px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--ok); font-size: .78rem; margin-left: 4px; }
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 40px; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--brand); }
.price-card .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 16px 0 4px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .check-list { margin-bottom: 24px; font-size: .94rem; }
.price-card .btn { margin-top: auto; }

details.faq { border-bottom: 1px solid var(--border); padding: 18px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--link); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .9rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=search], select, textarea {
  font: inherit; font-size: .95rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--link); outline-offset: 0; border-color: var(--link); }
.form-error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--text); font-size: .92rem; }
.notice.ok { background: var(--ok-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; background: var(--surface); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.footer-grid a { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .mini-cal .day { min-height: 58px; }
  .mini-cal .chip { font-size: 0; padding: 0; height: 6px; border-left-width: 0; background: var(--c); }
  .cta-band { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Long-form pages (About, legal) */
.prose-wrap { display: grid; gap: 40px; padding: 8px 0 72px; }
@media (min-width: 960px) { .prose-wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.toc { position: sticky; top: 92px; align-self: start; font-size: .9rem; }
.toc strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); font-weight: 600; }
.toc a:hover { color: var(--link); }
@media (max-width: 959px) { .toc { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; } }
.prose { max-width: 740px; font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; scroll-margin-top: 92px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose table { margin: 8px 0 20px; font-size: .92rem; }
.prose .table-wrap { margin: 8px 0 20px; }
.prose .table-wrap table { margin: 0; }
.updated { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 12px 0 0; }
.contact-card p { margin: 0; }
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 16px 0 8px; }
