/* ============================================================
   CELEBRATVS — landing
   Same tokens as apps/web/src/styles.css.
   Serif only where it is brand (display ≥ 28px, hero numbers,
   one italic motto). Everything else in system sans.
   ============================================================ */

:root {
  color-scheme: light;

  --page: #faf8f1;
  --paper: #ffffff;
  --ink: #2a2114;
  --ink-2: #5f5540;
  --ink-3: #7d724f;
  --ink-faint: #9c8f74;

  --gold: #c9a227;
  --gold-deep: #9a7716;
  --gold-pale: #f5ecca;
  /* landing-only: gold dark enough for small text / links (AA on page & paper) */
  --gold-ink: #8a6a12;

  --rule: #eee8d8;
  --rule-strong: #d9d0b4;

  --rubric: #8f2a18;
  --laurel: #5c7f17;

  --press: rgba(42, 33, 20, 0.8);
  --shadow-card: 0 1px 2px rgba(42, 33, 20, 0.04), 0 4px 16px rgba(42, 33, 20, 0.04);
  --shadow-pop: 0 4px 12px rgba(42, 33, 20, 0.08), 0 16px 48px rgba(42, 33, 20, 0.18);

  /* slack mock only */
  --slack-mention-bg: #e8f5fa;
  --slack-mention-fg: #1264a3;
  --slack-app-badge-bg: #e0e0e0;
  --slack-app-badge-fg: #454545;

  --radius: 8px;
  --radius-ctl: 6px;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-serif: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #171208;
    --paper: #211b11;
    --ink: #f2e9d8;
    --ink-2: #cabd9f;
    --ink-3: #a3956e;
    --ink-faint: #8e8164;
    --gold: #d4a72c;
    --gold-deep: #bc8c1c;
    --gold-pale: #3a3018;
    --gold-ink: #bc8c1c;
    --rule: #322a19;
    --rule-strong: #52472b;
    --rubric: #d0664f;
    --laurel: #8fae4a;
    --press: rgba(0, 0, 0, 0.9);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-pop: 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 48px rgba(0, 0, 0, 0.5);
    --slack-mention-bg: #1d3a4e;
    --slack-mention-fg: #8ec5ea;
    --slack-app-badge-bg: #3a3a3a;
    --slack-app-badge-fg: #d0d0d0;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold-pale);
}

a {
  color: var(--gold-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--gold-pale);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 4px;
}

.fleuron {
  color: var(--gold);
  user-select: none;
}

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-ctl);
  font-weight: 600;
  box-shadow: 2px 2px 0 var(--press);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-feature-settings: 'lnum' 1;
  font-variant-numeric: lining-nums;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 12px;
}

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 54ch;
}

.motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.muted {
  color: var(--ink-3);
}

.small {
  font-size: 14px;
}

/* double gold rule — the signature */
.rule {
  border: 0;
  border-top: 3px double var(--gold);
  width: 72px;
  margin: 18px 0 22px;
}

.rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-ctl);
  padding: 12px 20px;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 120ms var(--ease),
    border-color 120ms var(--ease),
    background 120ms var(--ease),
    transform 60ms ease,
    box-shadow 60ms ease;
}

.btn:hover {
  text-decoration: none;
  color: var(--ink);
  border-color: var(--ink-3);
  background: var(--page);
}

.btn.primary {
  border-color: var(--ink);
  background: var(--gold);
  color: #2a2114;
  box-shadow: 2px 2px 0 var(--press);
}

.btn.primary:hover {
  background: var(--gold);
  color: #2a2114;
  border-color: var(--ink);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--press);
}

.btn.primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--press);
}

.btn.sm {
  padding: 9px 14px;
  font-size: 14px;
}

.btn.lg {
  padding: 15px 26px;
  font-size: 16px;
}

.slack-glyph {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 3px double var(--gold);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand .fleuron {
  margin-right: 8px;
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  height: 100%;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -3px;
  text-decoration: none;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-right .signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-right .signin:hover {
  color: var(--ink);
}

/* mobile menu */
.menu {
  display: none;
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-ctl);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary:hover {
  background: var(--page);
  color: var(--ink);
}

.menu .burger {
  width: 20px;
  height: 14px;
  display: block;
  position: relative;
}

.menu .burger::before,
.menu .burger::after,
.menu .burger span {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.menu .burger::before {
  top: 0;
}

.menu .burger span {
  top: 6px;
}

.menu .burger::after {
  bottom: 0;
}

.menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
}

.menu ul a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-ctl);
  text-decoration: none;
}

.menu ul a:hover {
  background: var(--page);
  color: var(--ink);
}

/* ---------- sections ---------- */

section {
  padding: 84px 0;
}

section + section {
  border-top: 1px solid var(--rule);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lede {
  font-size: 17.5px;
}

.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 84px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-copy .lede {
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.cta-note .sep {
  color: var(--gold);
  margin: 0 8px;
}

/* mocks */
.mocks {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.mock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 8px;
}

/* Slack message card */
.slack {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  font-size: 15px;
  line-height: 1.45;
  min-width: 0;
}

.slack-channel {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.slack-msg {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.slack-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

.slack-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.slack-name {
  font-weight: 700;
  color: var(--ink);
}

.slack-app {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--slack-app-badge-bg);
  color: var(--slack-app-badge-fg);
  text-transform: uppercase;
}

.slack-time {
  font-size: 12px;
  color: var(--ink-3);
}

.slack-body {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.slack-body .mention {
  background: var(--slack-mention-bg);
  color: var(--slack-mention-fg);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 500;
}

.slack-quote {
  margin: 8px 0 0;
  padding-left: 12px;
  border-left: 4px solid var(--rule-strong);
  color: var(--ink-2);
}

.slack-reactions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.slack-reactions span {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--page);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* Dashboard tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'lnum' 1;
  font-variant-numeric: lining-nums;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 8px;
}

.trend {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow-card);
}

.trend-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.trend-head h3 {
  font-size: 14px;
  margin: 0;
}

.trend-head .small {
  color: var(--ink-3);
  font-size: 12px;
}

.bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 4px;
  height: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  background: var(--gold-pale);
  border-top: 2px solid var(--gold);
  border-radius: 2px 2px 0 0;
  height: var(--h);
}

.bars li:last-child {
  background: var(--gold);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
  margin-bottom: 14px;
}

.step p {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-card);
}

.feature .glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-size: 16px;
  margin-bottom: 14px;
  user-select: none;
}

.feature p {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- manifesto ---------- */

.why {
  background: var(--paper);
}

.why .wrap {
  max-width: 760px;
}

.why h2 {
  text-align: center;
}

.why .rule {
  margin-left: auto;
  margin-right: auto;
}

.manifesto {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
}

.manifesto p + p {
  margin-top: 1em;
}

.manifesto .mark {
  color: var(--rubric);
  font-weight: 600;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  outline: 3px double var(--gold);
  outline-offset: 5px;
  border-radius: 3px;
  padding: 34px 30px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.price-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 0.95;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  letter-spacing: -0.01em;
}

.price-big sup {
  font-size: 0.45em;
  vertical-align: top;
  position: relative;
  top: 0.35em;
  margin-right: 2px;
}

.price-unit {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 8px;
}

.price-card .btn {
  margin-top: 22px;
}

.price-notes {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  font-size: 14.5px;
  color: var(--ink-2);
}

.price-notes li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
}

.price-notes .fleuron {
  font-size: 13px;
  line-height: 1.6;
  flex-shrink: 0;
}

.price-notes .laurel {
  color: var(--laurel);
  font-weight: 600;
}

.calc {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow-card);
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.calc-head h3 {
  margin: 0;
}

.calc-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-input input[type='number'] {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  width: 84px;
  padding: 7px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-ctl);
  background: var(--paper);
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc-input input[type='number']:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-pale);
}

.calc-input label {
  font-size: 14px;
  color: var(--ink-2);
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 6px 0 0;
  cursor: pointer;
}

input[type='range']:focus {
  outline: none;
}

input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--rule-strong);
  border-radius: 2px;
}

input[type='range']::-moz-range-track {
  height: 4px;
  background: var(--rule-strong);
  border-radius: 2px;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 var(--press);
}

input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 var(--press);
}

input[type='range']:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

input[type='range']:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.ticks {
  display: flex;
  justify-content: space-between;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.calc-out {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.calc-out .cell {
  min-width: 0;
}

.calc-out .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}

.calc-out .val.tier {
  color: var(--gold-ink);
}

.calc-out .lbl {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 7px;
}

.tiers {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 14.5px;
}

.tiers th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule-strong);
}

.tiers td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink-2);
}

.tiers tr:last-child td {
  border-bottom: none;
}

.tiers .num {
  text-align: right;
}

.tiers tr.current td {
  background: var(--gold-pale);
  color: var(--ink);
  font-weight: 600;
}

.tiers tr.current td:first-child {
  border-radius: 4px 0 0 4px;
}

.tiers tr.current td:last-child {
  border-radius: 0 4px 4px 0;
}

.calc-foot {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- FAQ ---------- */

.faq .wrap {
  max-width: 760px;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}

.faq-list li {
  border-bottom: 1px solid var(--rule);
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 160ms var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:hover {
  color: var(--gold-ink);
}

.faq-list .answer {
  padding: 0 4px 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- closing CTA ---------- */

.closing {
  text-align: center;
  background: var(--paper);
}

.closing h2 {
  margin-bottom: 14px;
}

.closing .lede {
  margin: 0 auto 26px;
}

/* ---------- footer ---------- */

footer {
  border-top: 3px double var(--gold);
  padding: 44px 0 36px;
  background: var(--page);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.foot-brand .brand {
  font-size: 20px;
  margin-bottom: 10px;
}

.foot-brand p {
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 40ch;
}

.foot-col h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.foot-col a {
  color: var(--ink-2);
}

.foot-col a:hover {
  color: var(--ink);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink-2);
}

.foot-bottom a {
  color: var(--ink-2);
}

.foot-colophon {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  padding-top: 28px;
  user-select: none;
  text-transform: uppercase;
}

/* ---------- legal pages ---------- */

.legal {
  padding: 56px 0 72px;
}

.legal .wrap {
  max-width: 720px;
}

.legal h1 {
  font-size: clamp(34px, 4.6vw, 46px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal h2 {
  font-family: var(--font-ui);
  font-size: 19px;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 600;
  margin: 34px 0 8px;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 16px;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal .updated {
  font-size: 13.5px;
  color: var(--ink-2);
}

.legal [data-lang-block][hidden] {
  display: none;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy .lede {
    max-width: 60ch;
  }

  .steps,
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .nav-links,
  .nav-right .signin {
    display: none;
  }

  .menu {
    display: block;
  }

  .topbar .wrap {
    gap: 12px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-right .btn {
    padding: 9px 12px;
    font-size: 13.5px;
  }
}

@media (max-width: 600px) {
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .calc-out {
    grid-template-columns: 1fr 1fr;
  }

  .calc-out .cell:last-child {
    grid-column: 1 / -1;
  }

  .price-big {
    font-size: 72px;
  }

  .slack-body {
    font-size: 14.5px;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding: 0 16px;
  }

  .brand {
    font-size: 19px;
    letter-spacing: 0.12em;
  }

  .nav-right .btn .btn-text-long {
    display: none;
  }

  .tiles {
    gap: 8px;
  }

  .tile {
    padding: 14px 6px 12px;
  }

  .stat {
    font-size: 26px;
  }

  .stat-label {
    font-size: 9.5px;
    letter-spacing: 0.04em;
  }

  .calc {
    padding: 20px 18px;
  }

  .price-card {
    padding: 28px 18px 24px;
  }

  .cta-row .btn {
    width: 100%;
  }
}

/* ---------- utilities ---------- */

.eyebrow.center {
  text-align: center;
}

.cta-row.center {
  justify-content: center;
}

.bars li:nth-child(1) { --h: 30%; }
.bars li:nth-child(2) { --h: 42%; }
.bars li:nth-child(3) { --h: 38%; }
.bars li:nth-child(4) { --h: 55%; }
.bars li:nth-child(5) { --h: 48%; }
.bars li:nth-child(6) { --h: 62%; }
.bars li:nth-child(7) { --h: 58%; }
.bars li:nth-child(8) { --h: 70%; }
.bars li:nth-child(9) { --h: 66%; }
.bars li:nth-child(10) { --h: 80%; }
.bars li:nth-child(11) { --h: 74%; }
.bars li:nth-child(12) { --h: 100%; }
