/* Layout idea: the app's own paper-and-ink ledger look. One traced enquiry, set
   like a run sheet, carries the story; everything else is ruled lists. */
:root {
  --paper: #f3f3f1;
  --sheet: #fbfbfa;
  --ink: #17191c;
  --ink-2: #4a4f56;
  --ink-3: #6b7078;
  --rule: #dcdcd8;
  --rule-2: #c4c4bf;
  --accent: #e8590c;
  --accent-ink: #b84507;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121315; --sheet: #191b1e; --ink: #eceded; --ink-2: #a9adb2; --ink-3: #8c9198;
    --rule: #2a2d31; --rule-2: #3b3f45; --accent: #f2691c; --accent-ink: #ff8a47;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121315; --sheet: #191b1e; --ink: #eceded; --ink-2: #a9adb2; --ink-3: #8c9198;
  --rule: #2a2d31; --rule-2: #3b3f45; --accent: #f2691c; --accent-ink: #ff8a47;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: block; height: 22px; width: auto; color: var(--ink); }
.nav { display: flex; gap: 22px; margin-left: 8px; font-size: 14px; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.top .signin { text-decoration: none; color: var(--ink-2); }
.top .signin:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  background: var(--ink); color: var(--paper); font: 500 14px var(--sans);
  text-decoration: none; border: 1px solid var(--ink);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.small { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.plain { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.plain:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* hero */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lede { margin-top: 22px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .kinds { margin-top: 34px; font-size: 13px; color: var(--ink-3); max-width: 46ch; }

/* the traced enquiry */
.trace { background: var(--sheet); border: 1px solid var(--rule-2); }
.trace header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule-2); font-size: 12.5px; }
.trace header b { font-weight: 600; }
.trace header span { color: var(--ink-3); }
.trace ol { list-style: none; margin: 0; padding: 0; }
.trace li { display: grid; grid-template-columns: 76px 92px minmax(0, 1fr); gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--rule); font-size: 13.5px; line-height: 1.4; }
.trace li:last-child { border-bottom: 0; }
.trace .t { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-top: 1px; }
.trace .who { font-size: 12px; font-weight: 500; padding-top: 2px; }
.trace .who.bot { color: var(--accent-ink); }
.trace .what small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.trace .day { grid-template-columns: 1fr; background: var(--paper); padding: 6px 16px; font: 500 11.5px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* sections */
section { padding: 76px 0; border-top: 1px solid var(--rule); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; margin-bottom: 40px; }
.head h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 600; }
.head p { color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 14px; }

.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-left: 1px solid var(--rule); }
.list > div { padding: 20px 20px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.list h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.list p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* assistants */
.pair { background: var(--sheet); }
.join { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid var(--rule-2); background: var(--paper); margin-bottom: 40px; }
.join .side { padding: 22px 24px; }
.join .side h3 { font-size: 13px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.join .side ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.join .side li { border: 1px solid var(--rule-2); padding: 4px 10px; font-size: 13.5px; background: var(--sheet); }
.join .mid { display: grid; place-items: center; padding: 0 22px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2); background: var(--sheet); }
.join .mid svg { width: 76px; height: auto; display: block; }
.join .mid span { display: block; margin-top: 6px; font: 500 11px var(--mono); color: var(--ink-3); text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.rules h3 { font-size: 17px; font-weight: 600; }
.rules p { margin-top: 6px; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.rules div { border-top: 2px solid var(--ink); padding-top: 14px; }

/* who it's for */
.kinds-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kinds-table th, .kinds-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.kinds-table thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); border-bottom-color: var(--rule-2); padding-bottom: 10px; }
.kinds-table tbody th { font-weight: 600; white-space: nowrap; width: 26%; }
.kinds-table td { color: var(--ink-2); }
.scroll { overflow-x: auto; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-2); background: var(--sheet); }
.plan { padding: 24px 24px 28px; border-right: 1px solid var(--rule); }
.plan:last-child { border-right: 0; }
.plan.main { border-top: 3px solid var(--accent); padding-top: 21px; }
.plan h3 { font-size: 16px; font-weight: 600; }
.plan .price { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.plan .price span { font-size: 34px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; margin-right: 4px; }
.plan .for { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); min-height: 2.9em; }
.plan ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 7px; font-size: 14.5px; }
.terms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; font-size: 14.5px; color: var(--ink-2); }
.terms b { color: var(--ink); font-weight: 600; display: block; }
.plan-cta { margin-top: 28px; }

/* close */
.close { text-align: left; }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.close h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.close p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 50ch; }
.close .how { border: 1px solid var(--rule-2); background: var(--sheet); padding: 22px 24px; }
.close .how p { margin: 0 0 14px; font-size: 14.5px; }
.close .mail { font-family: var(--mono); font-size: 15px; color: var(--ink); }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 13.5px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer .logo { height: 16px; }
footer a { color: var(--ink-2); }
footer .end { margin-left: auto; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 44px 0 56px; }
  .hero .wrap, .head, .close .wrap { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 52px 0; }
  .list { grid-template-columns: 1fr 1fr; }
  .plans, .terms { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--rule); }
  .plan:last-child { border-bottom: 0; }
  .plan .for { min-height: 0; }
  .rules { grid-template-columns: 1fr; }
  .join { grid-template-columns: 1fr; }
  .join .mid { border: 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: 14px; }
  footer .end { margin-left: 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .top .signin { display: none; }
  .list { grid-template-columns: 1fr; }
  .trace li { grid-template-columns: 52px minmax(0, 1fr); }
  .trace .who { grid-column: 2; grid-row: 1; }
  .trace .what { grid-column: 2; }
  .trace .t { grid-row: 1 / span 2; }
  .kinds-table tbody th { white-space: normal; }
}

/* pages beyond the home page */
.hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.solo h1 { max-width: 20ch; }
.hero.solo .lede { max-width: 62ch; }
.head p a, .others a, .cmp a, .kinds-table th a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.head p a:hover, .others a:hover, .cmp a:hover, .kinds-table th a:hover { text-decoration-color: var(--accent); }
.others { padding: 36px 0; }
.others p:last-child { font-size: 15px; color: var(--ink-2); line-height: 2; }
.cmp thead th:nth-child(2) { color: var(--accent-ink); }
.cmp tbody th { width: 20%; white-space: normal; }
.cmp td { width: 40%; }
.cmp { min-width: 640px; }
.list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footgrid { align-items: flex-start !important; gap: 24px 56px !important; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.footcol { display: grid; gap: 6px; }
.footcol b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 4px; }
.footcol a { text-decoration: none; }
.footcol a:hover { color: var(--ink); text-decoration: underline; }
footer .small { font-size: 12px; }
.legalline { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-3); }
.billtoggle { display: inline-flex; border: 1px solid var(--rule-2); background: var(--sheet); margin-bottom: 16px; }
.billtoggle button { font: 500 14px var(--sans); color: var(--ink-2); background: none; border: 0; padding: 9px 16px; cursor: pointer; }
.billtoggle button + button { border-left: 1px solid var(--rule-2); }
.billtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.billtoggle button span { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; margin-left: 6px; color: var(--accent-ink); }
.billtoggle button[aria-pressed="true"] span { color: inherit; opacity: 0.8; }
.plan .price i { font-style: normal; }
.tba-i { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: -0.4em; margin-right: 0.35em; }
.label .tba-i { width: 20px; height: 20px; vertical-align: -5px; }
.tba-link { white-space: nowrap; }
:root { --tba: #4f17f5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tba: #7257ff; } }
:root[data-theme="dark"] { --tba: #7257ff; }
.pairlabel { color: var(--ink-2); }
.pairlabel span { white-space: nowrap; display: inline-block; }
.hb-i { display: inline-block; width: 28px; height: 18px; vertical-align: -4px; margin-right: 7px; color: var(--ink); }
.socials { display: inline-flex; gap: 6px; }
.soc { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rule-2); border-radius: 50%; color: var(--ink-2); }
.soc:hover { color: var(--ink); border-color: var(--ink-3); }
.soc svg { width: 18px; height: 18px; }
.plainpage { padding: 64px 0 80px; }
.wrap.narrow { max-width: 780px; display: block; }
.plainpage h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 14px; }
.plainpage .lede { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; max-width: 62ch; }
.plainpage .small { font-size: 13.5px; color: var(--ink-3); }
.eyebrow { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink); }
.legal h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 8px; }
.legal a, .plainpage .small a { color: var(--ink); }
.booker { border: 1px solid var(--rule-2); background: #fff; border-radius: 6px; overflow: hidden; margin: 6px 0 12px; }
.booker iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 860px) { .list.two { grid-template-columns: 1fr; } }
