/* Second Desk by Mitten Labs AI.
   Brand: Business OS → Brand Guidelines. Jet Black + Graphite surfaces, Off-White type,
   one Electric Blue accent, Ice Blue for secondary text on dark. Roboto Slab headlines, Inter body. */

:root {
  --jet: #0B0C0F;
  --graphite: #2B2F36;
  --blue: #1296FD;
  --ice: #7ACAFE;
  --off: #F4F6F8;

  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Inter", Helvetica, Arial, sans-serif;

  --step-small: 0.8125rem;                              /* 13 */
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); /* 16–17 */
  --step-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); /* 18–22 */
  --step-head: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);    /* 36–64 */
  --step-display: clamp(3rem, 1.6rem + 5.6vw, 6.25rem); /* 48–100 */

  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(88px, 10vw, 168px);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  --t-press: 120ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jet);
  color: var(--off);
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--jet); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: var(--jet); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── type roles ─────────────────────────────────────────── */
.hero__title, .h-head, .stack h2, .intro__punch, .faq__head h2, .card__title, .cta__title, .pricing__head h2, .plan__name, .postcard__sign, .voice__head h2, .how__text h2 {
  font-family: var(--slab);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.h-head { font-size: var(--step-head); }
.label {
  font-family: var(--sans); font-weight: 600; font-size: var(--step-small);
  text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.5;
  color: var(--ice);
}

/* ── controls ───────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  background: var(--blue); color: var(--jet);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--line { background: transparent; color: var(--off); border: 2px solid var(--off); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ice); }
  .button--line:hover { background: var(--off); color: var(--jet); }
}
.link {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease;
}
.link:hover, .link:focus-visible { text-decoration-color: currentColor; }

/* ── nav ────────────────────────────────────────────────── */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 20px var(--gutter);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.wordmark img { height: 40px; width: auto; }
.nav nav { margin-left: auto; display: flex; gap: 28px; font-size: 0.9375rem; }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
/* Member sign-in: stays visible on phones, where the section links are hidden. */
.nav__signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }

/* ── hero: Jet Black, Off-White slab headline, the brief on the seam ── */
.hero { position: relative; }
.hero__field {
  background: var(--jet);
  min-height: 82svh;
  padding: clamp(130px, 17svh, 190px) var(--gutter) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  align-items: start;
}
.hero__copy { grid-column: 1 / 8; display: grid; gap: 20px; }
.hero__title { font-size: var(--step-display); max-width: 9ch; }
.hero__object {
  grid-column: 8 / 12; align-self: end; justify-self: center;
  width: clamp(340px, 31vw, 480px);
  margin-bottom: -15svh;
  transform: rotate(4deg);
  position: relative; z-index: 3;
}
.hero__band {
  background: var(--graphite);
  min-height: 18svh;
  padding: 32px var(--gutter);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hero__lede { font-size: var(--step-lead); line-height: 1.5; max-width: 40ch; }

/* ── the morning brief (an Off-White page on dark) ──────── */
.brief {
  background: var(--off); color: var(--jet);
  padding: 22px 22px 16px; font-family: var(--sans); font-size: 14px; line-height: 1.4;
  position: relative;
}
.brief__mast { padding-bottom: 10px; border-bottom: 3px solid var(--jet); margin-bottom: 12px; }
.brief__name { font-family: var(--slab); font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.01em; }
.brief__date { font-size: 13px; color: var(--graphite); }
.brief__flag { background: var(--ice); padding: 10px 12px; margin-bottom: 14px; }
.brief__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.brief__cols > div + div { border-left: 1px solid #c9ced6; padding-left: 16px; } /* taste-skill-ignore: data-ui product fragment */
.brief__h { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; color: var(--graphite); }
.brief__list li { padding: 4px 0; }
.brief__list b { font-weight: 600; margin-right: 4px; }
.brief__note { margin-top: 8px; color: var(--graphite); }
.brief__tally li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid #dde1e6; } /* taste-skill-ignore: data-ui product fragment */
.brief__tally b { font-variant-numeric: tabular-nums; font-weight: 600; }
.brief__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--jet); font-weight: 600; } /* taste-skill-ignore: data-ui product fragment */
.brief__btn { background: var(--blue); color: var(--jet); font-weight: 600; font-size: 13px; padding: 8px 12px; white-space: nowrap; }
.sample { position: absolute; right: 10px; bottom: -26px; font-family: var(--sans); font-size: 13px; line-height: 1; color: var(--ice); }
.brief .sample { position: static; text-align: right; margin-top: 10px; color: var(--graphite); }

/* ── intro ──────────────────────────────────────────────── */
.intro { background: var(--graphite); padding: calc(15svh + var(--section)) var(--gutter) var(--section); }
.intro__text { font-size: clamp(1.375rem, 1rem + 1.4vw, 2.125rem); line-height: 1.35; max-width: 54ch; text-wrap: pretty; }
.intro__punch { font-size: var(--step-display); margin-top: clamp(40px, 6vw, 88px); max-width: 13ch; }

/* ── chapters ───────────────────────────────────────────── */
.chapter {
  --f-bg: var(--jet); --f-ink: var(--off); --f-soft: var(--ice); --f-ui: var(--graphite); --f-ui-2: var(--jet);
  background: var(--f-bg); color: var(--f-ink);
  padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter); row-gap: clamp(36px, 4.5vw, 72px);
  align-items: end;
}
.chapter--jet { --f-bg: var(--jet); }
.chapter--graphite { --f-bg: var(--graphite); --f-ui: var(--jet); --f-ui-2: var(--graphite); }
.chapter--light { --f-bg: var(--off); --f-ink: var(--jet); --f-soft: var(--graphite); --f-ui: var(--jet); --f-ui-2: var(--graphite); }
.chapter--light .label { color: var(--graphite); }
.chapter .sample { color: var(--f-soft); }

.stack { grid-column: 1 / -1; display: grid; gap: 14px; }
.stack h2 { font-size: var(--step-head); }
.chapter__object { grid-column: 1 / 9; position: relative; }
.chapter__facts { grid-column: 9 / 13; display: grid; gap: 1em; font-size: var(--step-lead); line-height: 1.55; }
.chapter--flip .chapter__object { grid-column: 5 / 13; grid-row: 2; }
.chapter--flip .chapter__facts { grid-column: 1 / 5; grid-row: 2; }

/* product UI base: dark, technical panels in the brand palette */
[data-ui] { font-family: var(--sans); }
.cc, .remarks, .search, .deadlines, .follow, .calc, .media {
  background: var(--f-ui); color: var(--off);
  padding: clamp(18px, 2vw, 28px);
  font-size: 15px; line-height: 1.45; position: relative;
}
.cc__title, .search__title, .deadlines__title, .follow__title, .calc__title { font-weight: 600; font-size: 19px; margin-bottom: 14px; }
.cc__title span, .remarks__count, .deadlines__title span { font-weight: 400; color: var(--ice); font-size: 13px; margin-left: 8px; }
.cc__kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.cc__kpi { background: var(--f-ui-2); padding: 12px; display: grid; gap: 4px; align-content: start; }
.cc__kpi span, .cc__kpi small { color: var(--ice); font-size: 13px; }
.cc__kpi b { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.cc__kpi:first-child b { color: var(--blue); }
.bar { display: block; height: 6px; background: var(--jet); overflow: hidden; }
.chapter--graphite .bar { background: var(--graphite); }
.bar > i { display: block; height: 100%; background: var(--blue); }
.cc__h, .search__h, .deadlines__h { font-weight: 600; margin: 4px 0 8px; }
.cc__list li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--f-ui-2); } /* taste-skill-ignore: data-ui product fragment */
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; transform: translateY(1px); }
.dot--red { background: var(--blue); } .dot--amber { background: var(--ice); }

/* Remarks */
.remarks__top { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.remarks__tab { padding: 5px 10px; background: var(--f-ui-2); font-size: 13px; }
.remarks__tab.is-on { background: var(--off); color: var(--jet); font-weight: 600; }
.remarks__count { margin-left: auto; font-variant-numeric: tabular-nums; }
.remarks__head { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.remarks__body { margin-bottom: 12px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-bottom: 14px; }
.checks li { padding-left: 24px; position: relative; font-size: 13px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); color: var(--jet); font-size: 11px; font-weight: 600; line-height: 16px; text-align: center; } /* taste-skill-ignore: data-ui product fragment */
.checks li.warn::before { content: "!"; background: var(--ice); }
.checks li.warn { grid-column: 1 / -1; }
.remarks__report { background: var(--f-ui-2); padding: 12px; }
.remarks__rh { font-weight: 600; margin-bottom: 8px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-bottom: 8px; }
.spark i { flex: 1; background: var(--graphite); }
.chapter--graphite .spark i { background: var(--jet); }
.spark i:last-child { background: var(--blue); }
.remarks__stats { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ice); font-size: 13px; }
.remarks__stats b { color: var(--off); font-size: 18px; font-weight: 600; margin-right: 4px; }

/* Media frames */
.media { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 12px; align-items: stretch; }
.frame { position: relative; overflow: hidden; background: var(--jet); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.frame--tall { grid-column: 1 / 2; aspect-ratio: 9 / 16; }
.frame--post { grid-column: 2 / 3; }
.frame__logo { position: absolute; top: 12px; left: 12px; background: var(--off); color: var(--jet); font-weight: 600; font-size: 13px; padding: 6px 8px; letter-spacing: 0.04em; }
.frame__tag { position: absolute; left: 12px; bottom: 64px; background: var(--blue); color: var(--jet); font-weight: 600; font-size: 13px; padding: 4px 8px; }
.frame__panel { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(11,12,15,.82); color: var(--off); padding: 9px 12px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.frame__panel b { font-size: 16px; font-weight: 600; }
.frame__panel span { font-size: 14px; }
.frame__ratio { position: absolute; top: 12px; right: 12px; background: var(--jet); color: var(--off); font-size: 13px; padding: 3px 7px; }
.frame--tall .frame__ratio, .frame--post .frame__ratio { top: auto; bottom: 10px; right: 10px; }
.frame__price { position: absolute; left: 10px; top: 12px; right: 10px; color: var(--off); background: rgba(11,12,15,.75); padding: 8px; font-weight: 600; font-size: 17px; line-height: 1.25; }
.frame__price small { display: block; font-weight: 400; font-size: 13px; }
.frame__banner { position: absolute; left: 0; top: 18px; background: var(--off); color: var(--jet); font-family: var(--slab); font-weight: 700; font-size: 1.25rem; line-height: 1; padding: 10px 14px; }
.kit { grid-column: 3 / 4; background: var(--f-ui-2); padding: 14px; display: grid; align-content: start; gap: 8px; }
.kit__title { font-weight: 600; font-size: 16px; }
.kit__qr { width: 88px; height: 88px; display: grid; grid-template-columns: repeat(7, 1fr); background: var(--off); padding: 6px; }
.kit__qr i { background: var(--jet); }
.kit__qr i:nth-child(3n+2), .kit__qr i:nth-child(5n) { background: var(--off); }
.kit__list li { padding: 6px 0; border-top: 1px solid var(--graphite); font-size: 14px; } /* taste-skill-ignore: data-ui product fragment */
.chapter--graphite .kit__list li { border-top-color: var(--jet); } /* taste-skill-ignore: data-ui product fragment */
.kit__list b { display: block; font-weight: 600; }

/* Search */
.search__brief { color: var(--ice); margin: -8px 0 12px; font-size: 13px; }
.search__list { counter-reset: r; }
.search__list li { counter-increment: r; display: grid; grid-template-columns: 22px 1fr auto 44px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--f-ui-2); } /* taste-skill-ignore: data-ui product fragment */
.search__list li::before { content: counter(r); color: var(--ice); font-variant-numeric: tabular-nums; }
.search__list li span:first-child { font-weight: 600; }
.search__list li span:nth-child(2) { color: var(--ice); font-size: 13px; }
.search__list b { justify-self: end; background: var(--f-ui-2); padding: 3px 0; width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.search__list li:first-child b { background: var(--blue); color: var(--jet); }
.search__h { margin-top: 14px; }
.search__wild li { background: var(--f-ui-2); padding: 9px 10px; margin-bottom: 6px; }
.search__wild b { display: block; font-weight: 600; color: var(--ice); }

/* Deadlines */
.deadlines__list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0 9px 14px; border-left: 3px solid var(--f-ui-2); position: relative; } /* taste-skill-ignore: data-ui product fragment */
.deadlines__list li::before { content: ""; position: absolute; left: -7px; top: 13px; width: 11px; height: 11px; border-radius: 50%; background: var(--f-ui-2); }
.deadlines__list li.is-done::before { background: var(--ice); }
.deadlines__list li.is-next { background: var(--f-ui-2); }
.deadlines__list li.is-next::before { background: var(--blue); }
.deadlines__list time { font-weight: 600; font-variant-numeric: tabular-nums; }
.deadlines__list small { display: block; color: var(--ice); font-size: 13px; }
.deadlines__insp { background: var(--f-ui-2); padding: 12px; margin-top: 14px; display: grid; gap: 4px; }
.deadlines__insp b { display: inline-block; min-width: 64px; font-weight: 600; }

/* Follow-up */
.follow__list li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--f-ui-2); } /* taste-skill-ignore: data-ui product fragment */
.follow__list b { color: var(--ice); font-weight: 600; }
.follow__crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.follow__crm p { background: var(--f-ui-2); padding: 10px; font-size: 13px; color: var(--ice); }
.follow__crm b { display: block; font-size: 22px; color: var(--off); font-weight: 600; }
.follow__news { background: var(--f-ui-2); padding: 10px; }
.follow__news b { font-weight: 600; }

/* Calculator */
.calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc__grid label { display: grid; gap: 6px; font-size: 13px; color: var(--ice); }
.calc__in { display: flex; align-items: center; border: 1px solid var(--graphite); background: var(--graphite); padding: 0 10px; transition: border-color var(--t-hover) ease; } /* taste-skill-ignore: data-ui product fragment */
.calc__in:focus-within { border-color: var(--blue); }
.calc__in i { font-style: normal; color: var(--ice); }
.calc__in input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--off); padding: 10px 4px; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.calc__out { display: grid; gap: 2px; margin-top: 16px; background: var(--graphite); padding: 16px; }
.calc__big { font-size: 20px; margin-bottom: 8px; }
.calc__big b { font-size: 48px; font-weight: 600; letter-spacing: -0.02em; margin-right: 6px; color: var(--blue); font-variant-numeric: tabular-nums; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--jet); } /* taste-skill-ignore: data-ui product fragment */
.calc__row b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.calc__note { margin-top: 10px; color: var(--ice); font-size: 13px; }

/* ── sounds like you ────────────────────────────────────── */
.voice { background: var(--jet); padding: var(--section) var(--gutter); }
.voice__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; margin-bottom: 56px; }
.voice__head h2 { grid-column: 1 / 7; font-size: var(--step-display); }
.voice__lede { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.55; }
.voice__demo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-bottom: clamp(64px, 8vw, 128px); }
.mail { padding: clamp(22px, 3vw, 40px); font-size: var(--step-lead); line-height: 1.55; }
.mail figcaption { font-weight: 600; font-size: var(--step-small); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.mail--generic { background: var(--graphite); }
.mail--generic figcaption { color: var(--ice); }
.mail--you { background: var(--off); color: var(--jet); }
.mail--you figcaption { color: var(--graphite); }

.compare__col-hi { display: none; }
.compare__row { display: grid; grid-template-columns: 4fr 2.4fr 2.4fr 3.2fr; min-height: 64px; }
.compare__row:nth-child(odd) { background: var(--graphite); }
.compare__row > span { padding: 14px 16px; display: flex; align-items: center; font-size: 16px; line-height: 1.35; }
.compare__row > span:first-child { font-family: var(--slab); font-weight: 700; font-size: 1.1875rem; }
.compare__row > span:last-child { background: var(--blue); color: var(--jet); font-weight: 600; }
.compare__row--head { background: transparent !important; min-height: 88px; align-items: end; }
.compare__row--head > span { font-family: var(--sans) !important; font-weight: 600 !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ice); padding-bottom: 14px; align-self: stretch; align-items: flex-end; }
.compare__row--head > span:last-child { color: var(--jet); }

/* ── trust: the house rules card ────────────────────────── */
.trust { background: var(--graphite); padding: var(--section) var(--gutter) 0; overflow: hidden; max-height: 980px; }
.trust__lede { font-size: var(--step-lead); max-width: 34ch; margin: 0 auto 48px; text-align: center; line-height: 1.5; }
.card { width: min(60vw, 880px); margin: 0 auto; background: var(--off); color: var(--jet); padding: 56px; transform: rotate(-1.5deg); text-align: center; min-height: 1000px; }
.card__title { font-size: var(--step-head); margin-bottom: 32px; }
.card__rules { font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.85; text-wrap: balance; }

/* ── how it works: itinerary slip ───────────────────────── */
.how { background: var(--jet); padding: var(--section) var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.how__text { grid-column: 1 / 6; display: grid; gap: 24px; }
.how__text h2 { font-size: var(--step-display); }
.how__text p { font-size: var(--step-lead); line-height: 1.55; max-width: 32ch; }
.slip {
  grid-column: 7 / 12; max-width: 480px; width: 100%;
  background: var(--off); color: var(--jet);
  padding: 32px 32px 60px; font-size: 15px; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip__h { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--graphite); margin: 28px 0 6px; }
.slip__h:first-child { margin-top: 0; }
.slip__row { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.slip__row span:last-child { flex: none; white-space: nowrap; font-weight: 600; }
.slip__row i { flex: 1 1 20px; min-width: 20px; overflow: hidden; white-space: nowrap; color: var(--graphite); }
.slip__row i::after { content: "· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·"; }
.slip__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px -32px 0; min-height: 48px; padding: 0 32px; background: var(--blue); color: var(--jet); font-weight: 600; }

/* ── pricing: three ways in ─────────────────────────────── */
.pricing { background: var(--graphite); padding: var(--section) var(--gutter); }
.pricing__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 24px; align-items: end; margin-bottom: 64px; }
.pricing__head h2 { grid-column: 1 / 8; font-size: var(--step-display); }
.pricing__head p { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.55; max-width: 40ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.plan { background: var(--jet); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 20px; }
.plan--private { background: var(--off); color: var(--jet); }
.plan__name { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); }
.plan__price { font-size: clamp(3.25rem, 2.4rem + 3vw, 5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.plan__price small { font-size: var(--step-body); font-weight: 400; letter-spacing: 0; color: var(--ice); }
.plan--private .plan__price small { color: var(--graphite); }
.plan__price--soon { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); letter-spacing: -0.02em; color: var(--ice); }
.plan__pitch { font-size: var(--step-lead); line-height: 1.45; }
.plan__list { display: grid; gap: 10px; margin-bottom: 12px; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 10px; height: 10px; background: var(--blue); }
.plan__list li.is-no { color: var(--ice); }
.plan__list li.is-no::before { height: 2px; top: 0.8em; background: var(--ice); }
.plan__btn { margin-top: auto; width: 100%; }
.pricing__foot { display: grid; gap: 8px; margin-top: 40px; font-size: var(--step-lead); }
.pricing__interim { color: var(--ice); font-size: var(--step-body); }

/* ── faq: a band per question ───────────────────────────── */
.faq__head { background: var(--graphite); min-height: 34svh; display: flex; align-items: flex-end; padding: 40px var(--gutter) 32px; }
.faq__head h2 { font-size: var(--step-display); }
.faq__band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 48px var(--gutter); }
.faq__band:nth-child(even) { background: var(--jet); }
.faq__band:nth-child(odd) { background: var(--graphite); }
.faq__band h3 { grid-column: 1 / 6; font-family: var(--slab); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 700; line-height: 1.25; }
.faq__band p { grid-column: 7 / 13; font-size: var(--step-body); line-height: 1.625; max-width: 60ch; }

/* ── cta: the brief returns ─────────────────────────────── */
.cta { background: var(--jet); min-height: 90svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 0 var(--gutter); overflow: hidden; position: relative; }
.cta__object { grid-column: 1 / 8; grid-row: 1; position: relative; align-self: center; }
.brief--back { width: 128%; max-width: 940px; transform: rotate(-7deg) translate(-8%, 6%); font-size: 18px; padding: 30px 30px 24px; }
.brief--back .brief__name { font-size: 2.75rem; }
.cta__text { grid-column: 8 / 13; grid-row: 1; align-self: center; display: grid; gap: 16px; padding: var(--section) 0; }
.cta__title { font-size: var(--step-head); }
.cta__fact { font-size: var(--step-lead); color: var(--ice); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── footer: the back of the card ───────────────────────── */
.foot { background: var(--graphite); padding: var(--section) var(--gutter) var(--gutter); }
.postcard { position: relative; margin: 0 auto; max-width: 1180px; background: var(--off); color: var(--jet); padding: 64px 48px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; min-height: 420px; }
.postcard::before {
  content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 29px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='29' viewBox='0 0 100 29'%3E%3Cpath d='M0 29 A50 29 0 0 1 100 29 Z' fill='%23F4F6F8'/%3E%3C/svg%3E") repeat-x 0 0 / 100px 29px;
}
.postcard__msg { display: grid; gap: 18px; align-content: start; max-width: 50ch; }
.postcard__sign { font-size: var(--step-head); }
.postcard__addr { display: grid; gap: 12px; align-content: start; font-size: 17px; padding-top: 150px; position: relative; }
.stamp { position: absolute; top: 0; right: 24px; height: 112px; width: auto; }
.giving { margin-top: 12px; font-size: var(--step-small); color: var(--graphite); max-width: 40ch; }
.postcard__imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--graphite); max-width: 92ch; margin: 24px auto 0; line-height: 1.55; }

/* ── motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .shutter .brief { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter.is-in .brief { clip-path: inset(0 0 -40px 0); }
  .js [data-r] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-r].is-in { opacity: 1; transform: none; }
  .frame--wide img, .frame--tall img { animation: drift 14s ease-in-out infinite alternate; }
  .frame--tall img { animation-duration: 11s; animation-direction: alternate-reverse; }
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, -1%); } }

/* Signature entrances. Each kind of object arrives its own way; main.js tags them with
   data-r="<kind>" and adds .is-in once they scroll into view. Reduced motion skips all of it. */
@media (prefers-reduced-motion: no-preference) {
  /* headlines: words rise out of a mask, one after another */
  .js [data-r="words"] { opacity: 1; transform: none; }
  .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%;
    transition: transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--w, 0) * 70ms); }
  [data-r="words"].is-in .w > span { transform: none; }

  /* the problem statement: dim words light up as you read down */
  .intro__text.is-reading .rw > span { opacity: 0.22; transition: opacity 260ms ease; }
  .intro__text.is-reading .rw > span.lit { opacity: 1; }

  /* product screens wipe open from their side of the page, and settle from slightly large */
  .js [data-r="wipe"] { opacity: 1; transform: scale(1.04); clip-path: inset(0 100% 0 0);
    transition: clip-path 1100ms var(--ease-in-out), transform 1400ms var(--ease-out); }
  .js .chapter--flip [data-r="wipe"] { clip-path: inset(0 0 0 100%); }
  .js [data-r="wipe"].is-in { transform: none; clip-path: inset(-60px -60px -60px -60px); }
  .js [data-r="wipe"] .bar > i { transition: width 1200ms var(--ease-out) 700ms; }
  .js [data-r="wipe"]:not(.is-in) .bar > i { width: 0 !important; }
  .js [data-r="wipe"] .cc__list li, .js [data-r="wipe"] li { transition: opacity 500ms ease, transform 600ms var(--ease-out); }
  .js [data-r="wipe"]:not(.is-in) li { opacity: 0; transform: translateX(-12px); }
  .js [data-r="wipe"].is-in li:nth-child(1) { transition-delay: 650ms; }
  .js [data-r="wipe"].is-in li:nth-child(2) { transition-delay: 730ms; }
  .js [data-r="wipe"].is-in li:nth-child(3) { transition-delay: 810ms; }
  .js [data-r="wipe"].is-in li:nth-child(4) { transition-delay: 890ms; }
  .js [data-r="wipe"].is-in li:nth-child(n+5) { transition-delay: 970ms; }

  /* the two emails slide in from opposite sides, like two letters on a desk */
  .js [data-r="from-left"] { transform: translateX(-70px) rotate(-2.5deg); }
  .js [data-r="from-right"] { transform: translateX(70px) rotate(2.5deg); }
  .js [data-r="from-left"], .js [data-r="from-right"] { transition: opacity 700ms var(--ease-out), transform 1000ms cubic-bezier(.22, 1.2, .36, 1); }

  /* comparison rows wipe in left to right */
  .js [data-r="row"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 800ms var(--ease-in-out); transition-delay: var(--d, 0ms); }
  .js [data-r="row"].is-in { clip-path: inset(0 0 0 0); }

  /* the house rules card drops onto the table and lands at its tilt */
  .js [data-r="card"] { transform: translateY(120px) rotate(5deg) scale(0.94); transition: opacity 700ms ease, transform 1200ms cubic-bezier(.2, 1.15, .3, 1); }
  .js [data-r="card"].is-in { transform: rotate(-1.5deg); }

  /* the itinerary slip is dealt in, then its rows print one by one */
  .js [data-r="deal"] { transform: translateY(80px) rotate(6deg); transition: opacity 600ms ease, transform 1000ms cubic-bezier(.25, 1.35, .4, 1); }
  .js [data-r="deal"] > * { transition: opacity 400ms ease, transform 500ms var(--ease-out); }
  .js [data-r="deal"]:not(.is-in) > * { opacity: 0; transform: translateY(8px); }
  .js [data-r="deal"] .slip__row i { transition: clip-path 700ms var(--ease-out); }
  .js [data-r="deal"]:not(.is-in) .slip__row i { clip-path: inset(0 100% 0 0); }
  .js [data-r="deal"].is-in > *:nth-child(1) { transition-delay: 300ms; }
  .js [data-r="deal"].is-in > *:nth-child(2) { transition-delay: 360ms; }
  .js [data-r="deal"].is-in > *:nth-child(3) { transition-delay: 420ms; }
  .js [data-r="deal"].is-in > *:nth-child(4) { transition-delay: 480ms; }
  .js [data-r="deal"].is-in > *:nth-child(5) { transition-delay: 540ms; }
  .js [data-r="deal"].is-in > *:nth-child(6) { transition-delay: 600ms; }
  .js [data-r="deal"].is-in > *:nth-child(7) { transition-delay: 660ms; }
  .js [data-r="deal"].is-in > *:nth-child(8) { transition-delay: 720ms; }
  .js [data-r="deal"].is-in > *:nth-child(9) { transition-delay: 780ms; }
  .js [data-r="deal"].is-in > *:nth-child(10) { transition-delay: 840ms; }
  .js [data-r="deal"].is-in > *:nth-child(11) { transition-delay: 900ms; }
  .js [data-r="deal"].is-in > *:nth-child(n+12) { transition-delay: 980ms; }

  /* plans pop up with a small overshoot */
  .js [data-r="pop"] { transform: translateY(60px) scale(0.92); transition: opacity 600ms ease, transform 900ms cubic-bezier(.3, 1.4, .45, 1); transition-delay: var(--d, 0ms); }

  /* the closing brief floats up into its tilt */
  .js [data-r="float"] { transform: translateY(90px) rotate(4deg); transition: opacity 800ms ease, transform 1300ms var(--ease-out); }

  [data-r].is-in { transform: none; }
  .js [data-r="card"].is-in { transform: rotate(-1.5deg); }

  /* reading progress along the top edge */
  .scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt { will-change: transform; transform-style: preserve-3d; }
  .plan { transition: background-color var(--t-hover) ease; }
  .plan:hover { box-shadow: 0 30px 60px -30px rgba(18, 150, 253, 0.45); } /* taste-skill-ignore: hover lift on the plan you're considering */
}
@media (hover: hover) and (pointer: fine) {
  .frame { transition: transform 300ms var(--ease-out); }
  .frame:hover { transform: translateY(-4px); }
  .compare__row:not(.compare__row--head) > span:first-child { transition: transform 200ms var(--ease-out); }
  .compare__row:hover > span:first-child { transform: translateX(6px); }
}

/* ── tablet ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .chapter__object, .chapter--flip .chapter__object { grid-column: 1 / -1; grid-row: auto; }
  .chapter__facts, .chapter--flip .chapter__facts { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
  .hero__field { display: block; min-height: 0; padding: 120px var(--gutter) 0; }
  .hero__object { width: min(560px, 76vw); margin: 40px 4vw -160px auto; }
  .hero__band { padding-top: 190px; }
  .card { width: min(80vw, 760px); }
  .pricing__head h2, .pricing__head p { grid-column: 1 / -1; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cta__object { grid-column: 1 / -1; grid-row: 2; }
  .cta__text { grid-column: 1 / -1; grid-row: 1; padding-bottom: 32px; max-width: 560px; }
  .brief--back { width: 110%; transform: rotate(-6deg) translate(-4%, 14%); }
}

/* ── phone ──────────────────────────────────────────────── */
@media (max-width: 720px) {
  .nav { gap: 12px; padding: 14px 16px; }
  .nav nav { display: none; }
  .nav__signin { margin-left: auto; font-size: 0.875rem; }
  .nav__cta { min-height: 44px; padding: 0 14px; font-size: 0.875rem; }
  .wordmark { font-size: 1rem; gap: 10px; }
  .wordmark img { height: 32px; }

  .hero__field { padding: 104px 16px 0; }
  .hero__title { font-size: 3.25rem; }
  .hero__object { width: calc(100vw - 40px); margin: 36px 0 -150px 6px; transform: rotate(3deg); }
  .hero__band { flex-direction: column; align-items: stretch; padding: 180px 16px 32px; gap: 20px; }
  .hero__band .button { width: 100%; }
  .brief { padding: 16px 14px 14px; }
  .brief__name { font-size: 1.5rem; }
  .brief__cols { grid-template-columns: 1fr; gap: 12px; }
  .brief__cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid #c9ced6; padding-top: 10px; } /* taste-skill-ignore: data-ui product fragment */

  .intro { padding: 96px 16px; }
  .intro__text { font-size: 1.375rem; }
  .intro__punch { font-size: 2.75rem; }

  .chapter { padding: 88px 16px 96px; row-gap: 28px; display: flex; flex-direction: column; align-items: stretch; }
  .stack h2 { font-size: 2.25rem; }
  .chapter__facts, .chapter--flip .chapter__facts { grid-template-columns: 1fr; font-size: 1.125rem; order: 2; }
  .chapter__object { order: 3; margin-bottom: 24px; }
  .cc__kpis { grid-template-columns: 1fr 1fr; }
  .cc__kpi:first-child { grid-column: 1 / -1; }
  .checks { grid-template-columns: 1fr; }
  .media { grid-template-columns: 1fr 1fr; }
  .frame--post { grid-column: 2 / 3; aspect-ratio: 9 / 16; }
  .kit { grid-column: 1 / -1; grid-template-columns: 88px 1fr; column-gap: 14px; }
  .kit__title { grid-column: 1 / -1; }
  .frame__panel b { font-size: 14px; }
  .frame__panel span { font-size: 13px; }
  .frame__tag { bottom: 58px; }
  .frame__banner { font-size: 1rem; }
  .search__list li { grid-template-columns: 18px 1fr 40px; }
  .search__list li span:nth-child(2) { grid-column: 2; grid-row: 2; }
  .search__list li b { grid-column: 3; grid-row: 1 / 3; }
  .deadlines__list li { grid-template-columns: 1fr; gap: 2px; }
  .follow__crm b { font-size: 18px; }
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .calc__big b { font-size: 40px; }

  .voice { padding: 88px 16px; }
  .voice__head { display: block; margin-bottom: 32px; }
  .voice__head h2 { font-size: 2.75rem; margin-bottom: 20px; }
  .voice__demo { grid-template-columns: 1fr; gap: 12px; margin-bottom: 64px; }
  .compare__row { display: block; padding: 18px 16px; min-height: 0; }
  .compare__row:nth-child(even) { background: var(--graphite); }
  .compare__row:nth-child(odd) { background: var(--jet); }
  .compare .compare__row--head { display: none; }
  .compare__row > span { display: block; padding: 3px 0 !important; font-size: 15px; }
  .compare__row > span:first-child { font-size: 1.125rem; margin-bottom: 4px; }
  .compare__row > span:nth-child(2)::before { content: "On your own: "; color: var(--ice); }
  .compare__row > span:nth-child(3)::before { content: "Generic AI chat: "; color: var(--ice); }
  .compare__row > span:last-child { margin: 8px -16px -18px; padding: 10px 16px !important; }
  .compare__row > span:last-child::before { content: "Second Desk: "; }

  .trust { padding: 88px 16px 0; max-height: none; }
  .card { width: 92vw; margin: 0 0 -40px -4px; padding: 28px 24px 72px; transform: rotate(-1deg); min-height: 0; }
  .card__rules { font-size: 1rem; }

  .how { display: block; padding: 88px 16px; }
  .how__text { margin-bottom: 40px; }
  .how__text h2 { font-size: 2.75rem; }
  .slip { padding: 24px 20px 52px; max-width: none; }
  .slip__total { margin: 24px -20px 0; padding: 0 20px; }

  .pricing { padding: 88px 16px; }
  .pricing__head { margin-bottom: 40px; }
  .pricing__head h2 { font-size: 2.75rem; }
  .plan { padding: 28px 22px 24px; }
  .cta__actions .button { width: 100%; }

  .faq__head { min-height: 26svh; padding: 32px 16px 24px; }
  .faq__head h2 { font-size: 2.75rem; }
  .faq__band { display: block; padding: 32px 20px; }
  .faq__band h3 { font-size: 1.25rem; margin-bottom: 10px; }

  .cta { display: flex; flex-direction: column; padding: 0 16px; min-height: 0; }
  .cta__text { padding: 88px 0 24px; order: 1; }
  .cta__object { order: 2; height: 55svh; margin: 0 -16px; }
  .brief--back { width: 130vw; font-size: 15px; transform: rotate(-6deg) translate(4%, 6%); }
  .brief--back .brief__name { font-size: 1.75rem; }

  .foot { padding: 72px 12px 12px; }
  .postcard { grid-template-columns: minmax(0, 1fr); padding: 170px 22px 24px; gap: 32px; }
  .postcard::before { background-size: 60px 18px; height: 18px; top: -17px; }
  .postcard__addr { padding-top: 0; position: static; }
  .stamp { height: 104px; top: 40px; left: 22px; right: auto; }
}

/* Tap targets: every link a thumb might hit is at least 44px tall. */
.wordmark { min-height: 44px; }
.postcard__addr > a.link { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; margin-block: -6px; }

/* ── Article and list pages (built by tools/build_pages.py) ─────────────── */
.nav--doc { position: static; background: var(--jet); }
.doc__main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) var(--section); }
.doc__title { font-family: var(--slab); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem); margin-top: 14px; text-wrap: balance; }
.doc__meta { color: var(--ice); font-size: 0.9375rem; margin-top: 18px; }
.doc__lead { font-size: var(--step-lead); line-height: 1.5; margin-top: 28px; text-wrap: pretty; }
.doc__main h2 { font-family: var(--slab); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-top: 64px; text-wrap: balance; }
.doc__main h3 { font-family: var(--slab); font-weight: 700; line-height: 1.25; font-size: 1.25rem; margin-top: 28px; }
.doc__main h2 + p, .doc__main h3 + p, .doc__main p + p, .doc__main p + ul, .doc__main p + ol, .doc__main h2 + ol, .doc__main h2 + ul { margin-top: 16px; }
.doc__main p, .doc__main li { max-width: 68ch; }
.doc__main strong { font-weight: 600; }
.link--on { text-decoration-color: var(--blue); }
.doc__steps { counter-reset: step; display: grid; gap: 14px; }
.doc__steps > li { counter-increment: step; position: relative; padding-left: 44px; }
.doc__steps > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--blue); color: var(--jet); font-weight: 600; font-size: 0.875rem; }
.doc__list { display: grid; gap: 12px; }
.doc__list > li { position: relative; padding-left: 24px; }
.doc__list > li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 2px; background: var(--blue); }
.doc__table { margin-top: 24px; overflow-x: auto; background: var(--graphite); }
.doc__table table { width: 100%; border-collapse: collapse; min-width: 520px; }
.doc__table th { text-align: left; font-weight: 600; font-size: var(--step-small); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ice); padding: 16px 20px 10px; }
.doc__table td { padding: 12px 20px; vertical-align: top; border-top: 1px solid rgba(244, 246, 248, 0.14); }
.doc__prompt { margin-top: 16px; background: var(--graphite); padding: 20px 24px; border-left: 4px solid var(--blue); }
.doc__prompt p + p { margin-top: 8px; }
.doc__faq { margin-top: 72px; background: var(--graphite); padding: 8px 28px 32px; }
.doc__faq h2 { margin-top: 28px; }
.doc__cta { margin-top: 72px; background: var(--off); color: var(--jet); padding: 36px 32px; }
.doc__cta h2 { margin-top: 0; }
.doc__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.doc__cta .button--line { color: var(--jet); border-color: var(--jet); }
.doc__cta :focus-visible { outline-color: var(--jet); }
@media (hover: hover) and (pointer: fine) { .doc__cta .button--line:hover { background: var(--jet); color: var(--off); } }
.doc__back { margin-top: 40px; }
.doc__back a, .doc__foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.doc__note { color: var(--ice); }
.doc__cards { display: grid; gap: 16px; margin-top: 48px; }
.doc__card { display: grid; gap: 12px; background: var(--graphite); padding: 32px; text-decoration: none; transition: background-color var(--t-hover) ease; }
.doc__card h2 { margin-top: 0; }
@media (hover: hover) and (pointer: fine) { .doc__card:hover { background: #343942; } }
.doc__skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 20px; }
.doc__skill { background: var(--graphite); padding: 22px 24px; }
.doc__skill h3 { margin-top: 0; font-size: 1.125rem; }
.doc__skill p { margin-top: 8px; }
.doc__apps { color: var(--ice); font-size: 0.9375rem; }
.doc__foot { background: var(--graphite); padding: 48px var(--gutter); }
.doc__foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; max-width: 1180px; margin: 0 auto; font-weight: 600; }
.doc__imprint { max-width: 1180px; margin: 20px auto 0; font-size: var(--step-small); line-height: 1.6; color: var(--ice); }
.doc .nav__cta.button--ink { background: var(--blue); color: var(--jet); }
@media (max-width: 720px) {
  .doc__faq { padding: 4px 20px 28px; }
  .doc__cta { padding: 28px 20px; }
  .doc__card { padding: 24px 20px; }
  .doc__table th, .doc__table td { padding-left: 14px; padding-right: 14px; }
}

/* ── Learn: the newest articles on the home page ─────────── */
.learn { background: var(--jet); padding: var(--section) var(--gutter); }
.learn__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 20px; align-items: end; margin-bottom: 48px; }
.learn__head h2 { grid-column: 1 / 8; font-family: var(--slab); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; font-size: var(--step-display); }
.learn__head p { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.55; max-width: 40ch; }
.learn__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.learn__card { display: flex; flex-direction: column; gap: 14px; background: var(--graphite); padding: 36px 32px 32px; text-decoration: none; min-height: 260px; transition: background-color var(--t-hover) ease; }
.learn__card h3 { font-family: var(--slab); font-weight: 700; line-height: 1.15; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-wrap: balance; }
.learn__card .label { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .learn__card:hover { background: #343942; } }
@media (max-width: 720px) {
  .learn__head { display: block; margin-bottom: 32px; }
  .learn__head p { margin-top: 16px; }
  .learn__card { padding: 28px 20px 24px; min-height: 0; }
}

/* ── clicks, header and small polish ────────────────────── */
html { scroll-padding-top: 88px; }

/* Buttons and cards answer on pointer-down, not on release. */
.button, .learn__card { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.button.is-pressed { transform: scale(0.955); transition-duration: 80ms; }
.learn__card.is-pressed { transform: scale(0.985); transition-duration: 80ms; }
.wordmark.is-pressed, .nav__signin.is-pressed { opacity: 0.7; }
.wordmark, .nav__signin { transition: opacity 120ms ease; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0; pointer-events: none; z-index: -1;
  transform: scale(0); animation: ripple 620ms cubic-bezier(.2, .8, .2, 1); }
@keyframes ripple { 0% { transform: scale(0); opacity: 0.22; } 100% { transform: scale(1); opacity: 0; } }

/* The header floats as frosted glass once you leave the top. */
.nav--float { position: fixed; transition: transform 420ms cubic-bezier(.2, .8, .2, 1), background-color 260ms ease, padding 260ms ease, box-shadow 260ms ease; }
.nav--float.is-solid {
  padding-top: 12px; padding-bottom: 12px;
  background: color-mix(in srgb, var(--jet) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--off) 8%, transparent); /* taste-skill-ignore: light catching the glass edge */
}
.nav--float.is-solid .wordmark img { height: 32px; }
.wordmark img { transition: height 260ms ease; }
.nav--float.is-hidden { transform: translateY(-110%); }
@media (prefers-reduced-transparency: reduce) { .nav--float.is-solid { background: var(--jet); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Section links: the underline draws in from the left; the section you're in keeps it. */
.nav nav .link { text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 100% / 0 2px; padding-bottom: 3px;
  transition: background-size 280ms cubic-bezier(.2, .8, .2, 1), color 180ms ease; }
.nav nav .link:hover, .nav nav .link:focus-visible, .nav nav .link.is-current { background-size: 100% 2px; }
.nav nav .link.is-current { color: var(--off); }

/* Article cards lift toward you and their title warms to the accent. */
.learn__card { transition: transform 320ms cubic-bezier(.2, .8, .2, 1), background-color var(--t-hover) ease; }
.learn__card h3 { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .learn__card:hover { transform: translateY(-6px); }
  .learn__card:hover h3 { color: var(--ice); }
}

/* Calculator: the results box glints when the numbers change. */
.calc__out.is-new { animation: glint 700ms ease-out; }
@keyframes glint { 0% { box-shadow: inset 0 0 0 2px var(--blue); } 100% { box-shadow: inset 0 0 0 2px transparent; } } /* taste-skill-ignore: change feedback */
.calc__in { transition: border-color var(--t-hover) ease, transform 160ms ease; }
.calc__in:focus-within { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .ripple { display: none; }
  .nav--float, .nav--float.is-hidden { transition: none; transform: none; }
  .calc__out.is-new { animation: none; }
  .learn__card:hover { transform: none; }
}

/* Entrances start a little off to the side; keep that from widening the page on phones. */
.voice, .how, .cta, .pricing, .learn { overflow-x: clip; }

/* ── apps: everything it connects to ────────────────────── */
.apps { background: var(--jet); padding: var(--section) var(--gutter); }
.apps__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 20px; align-items: end; margin-bottom: 48px; }
.apps__head h2 { grid-column: 1 / 8; font-family: var(--slab); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-size: var(--step-display); }
.apps__head p { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.55; max-width: 40ch; }
.apps__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px; }
.app { display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 28px 26px 24px; background: var(--graphite); text-decoration: none;
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1), background-color var(--t-hover) ease; }
.app h3 { font-family: var(--slab); font-weight: 700; font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.app p { color: color-mix(in srgb, var(--off) 82%, var(--graphite)); line-height: 1.55; }
.app__tag { align-self: flex-start; font-size: var(--step-small); font-weight: 600; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; }
.app__tag--need { background: var(--blue); color: var(--jet); }
.app__tag--mkt { background: var(--off); color: var(--jet); }
.app__tag--opt { background: transparent; color: var(--ice); box-shadow: inset 0 0 0 1.5px var(--ice); } /* taste-skill-ignore: outline marks the optional app */
.app__go { margin-top: auto; font-weight: 600; color: var(--ice); }
.app__go span[aria-hidden] { display: inline-block; transition: transform 240ms cubic-bezier(.2, .8, .2, 1); }
.app, .app.is-pressed { position: relative; overflow: hidden; isolation: isolate; }
.app.is-pressed { transform: scale(0.985); transition-duration: 80ms; }
@media (hover: hover) and (pointer: fine) {
  .app:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--graphite) 86%, var(--off)); }
  .app:hover .app__go span[aria-hidden] { transform: translate(3px, -3px); }
}
.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; }
@media (max-width: 720px) {
  .apps__head { display: block; }
  .apps__head p { margin-top: 16px; }
  .app { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .app:hover { transform: none; } }
