/* Allhouse marketing site. Monochrome, Geist, one brand green; colour comes from the product and the work. */
:root {
  --bg: #ffffff; --bg-2: #f6f6f5; --ink: #0b0c0b; --ink-2: #393c3a; --mut: #6b706d; --line: #e7e7e5; --line-2: #d9dad7;
  --dark: #0a0b0a; --dark-2: #151716; --dark-line: #262927; --dark-mut: #979c99;
  /* #9a9f9c on white is about 2.7:1. #5c6460 is about 6.1:1, above WCAG AA for normal text. */
  --green: #1f5c4a; --green-hi: #3fa57e; --apricot: #ff8a5b;
  --faint: #5c6460;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.04em; }
h3 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.center { text-align: center; }
.fine { font-size: 13.5px; color: var(--mut); margin: 16px 0 0; }
.fine a, .head a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }

/* Buttons: squared-off, quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font: 500 14.5px/1 var(--sans); border: 0; cursor: pointer; transition: background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: #2a2d2b; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 14px; }
.btn.lg { height: 46px; padding: 0 20px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #e9eae8; }

/* Notice bar */
.notice { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; background: var(--dark); color: #d8dbd9; font-size: 13.5px; text-decoration: none; }
.notice span { font: 500 11px/1 var(--mono); color: var(--green-hi); border: 1px solid #2c4a3e; border-radius: 4px; padding: 3px 6px; }
.notice svg { width: 14px; height: 14px; opacity: .7; }
.notice:hover { color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 650 21px/1 var(--sans); letter-spacing: -0.05em; text-decoration: none; color: var(--ink); }
.logo svg { width: 22px; height: 22px; }
.links { display: flex; gap: 4px; }
.links a { text-decoration: none; font-size: 14.5px; color: var(--mut); padding: 6px 10px; border-radius: 6px; transition: color .15s; }
.links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.login { text-decoration: none; font-size: 14.5px; color: var(--ink-2); padding: 6px 10px; }
.only-m, .burger { display: none; }

/* Hero */
.hero { position: relative; padding: 96px 0 0; overflow: hidden; }
.grid-bg { position: absolute; inset: 0 0 auto; height: 760px; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 30%, transparent 75%); opacity: .7; }
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
h1 { font-size: clamp(46px, 7.2vw, 88px); letter-spacing: -0.055em; line-height: .98; font-weight: 600; }
h1 span { color: var(--green); }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--mut); max-width: 640px; margin: 28px 0 0; }
.ctas { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.micro { font-size: 13px; color: var(--faint); margin: 16px 0 0; }
.shot-wrap { position: relative; margin-top: 72px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 30px 60px -20px rgba(10, 20, 15, .25), 0 70px 120px -50px rgba(10, 40, 28, .3); }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafaf9; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2df; }
.chrome span { margin: 0 auto; font: 400 12px/1 var(--mono); color: var(--faint); padding-right: 50px; }
.shot img { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.phone { position: absolute; right: -28px; bottom: -24px; width: 18%; border-radius: 30px; border: 7px solid var(--ink); background: var(--ink);
  box-shadow: 0 40px 80px -24px rgba(10, 20, 15, .45); }

/* Logos */
.logos { padding: 8px 0 24px; }
.logos p { text-align: center; font-size: 14px; color: var(--mut); margin: 0 0 30px; }
.logo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 34px 24px; align-items: center; justify-items: center; }
.logo-row .lg-i { display: flex; align-items: center; gap: 9px; color: var(--mut); font: 600 17px/1 var(--sans); letter-spacing: -0.02em; }
.logo-row img { width: 26px; height: 26px; opacity: .45; }

/* Sections */
.sec { padding: 128px 0; }
.sec.tight { padding-top: 40px; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); color: var(--green); margin-bottom: 20px; }
.label::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head p { font-size: 17.5px; color: var(--mut); margin: 20px auto 0; max-width: 600px; }
.head.left { text-align: left; margin: 0; }
.head.left p { margin-left: 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }

/* Statement */
.statement { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 500; max-width: 1000px; margin: 0; }
.statement span { color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 80px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 24px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stats div:last-child { border: 0; }
.stats dt { font: 400 13px/1 var(--mono); color: var(--mut); }
.stats dd { margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }

/* Product cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.card-text { padding: 36px 36px 0; }
.card-text .num { font: 400 12.5px/1 var(--mono); color: var(--faint); }
.card-text h3 { font-size: 22px; margin-top: 14px; }
.card-text p { color: var(--mut); margin: 10px 0 0; max-width: 420px; font-size: 15.5px; }
.crop { margin: 32px 0 0 36px; flex: 1; position: relative; overflow: hidden; border-radius: 10px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; background: #fff; min-height: 300px; }
.crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 0 0); transform: scale(1.3); transform-origin: var(--pos, 0 0); }
.card.wide { grid-column: 1 / -1; flex-direction: row; min-height: 440px; }
.card.wide .card-text { flex: 0 0 380px; padding-bottom: 36px; }
.card.wide .crop { margin: 36px 0 0 0; }
.mini { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.mini li { display: flex; gap: 10px; align-items: center; }
.mini li::before { content: ""; width: 14px; height: 1px; background: var(--ink); }
.more { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.more li { padding: 24px 24px 24px 0; font-size: 14.5px; color: var(--mut); border-bottom: 1px solid var(--line); }
.more li:nth-child(4n+2), .more li:nth-child(4n+3), .more li:nth-child(4n+4) { padding-left: 24px; border-left: 1px solid var(--line); }
.more b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; font-size: 15px; }

/* Dark section */
.sec.dark { background: var(--dark); color: #f2f3f2; }
.dark .label { color: var(--green-hi); }
.dark .head p, .dark .fine { color: var(--dark-mut); }
.dark .fine a, .dark .head a { color: #fff; }
.gallery { display: flex; gap: 20px; align-items: flex-end; overflow-x: auto; padding: 0 max(24px, (100vw - 1200px) / 2) 8px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery { align-items: center; }
.gallery img { height: 480px; width: auto; flex: none; border-radius: 2px; }
.gallery img.short { height: 400px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid var(--dark-line); }
.features div { padding: 28px 28px 0 0; }
.features div + div { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.features svg { width: 22px; height: 22px; fill: none; stroke: var(--green-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { margin-top: 18px; font-size: 16px; }
.features p { color: var(--dark-mut); font-size: 14.5px; margin: 8px 0 0; }
.partner-row { display: flex; gap: 28px; align-items: center; margin-top: 56px; color: var(--dark-mut); font-size: 13.5px; flex-wrap: wrap; }
.partner-row span { display: inline-flex; align-items: center; gap: 9px; color: #c9ccca; font-weight: 600; font-size: 15px; }
.partner-row img { width: 20px; height: 20px; filter: invert(1); opacity: .8; }

/* Calculator */
.calc { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.calc-list { display: grid; }
.calc-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.calc-item:hover { background: #fbfbfa; }
.calc-item input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.calc-item span { font-size: 15px; font-weight: 500; }
.calc-item span small { display: block; color: var(--faint); font-size: 13px; font-weight: 400; }
.calc-item em { font: 400 14px/1 var(--mono); font-style: normal; color: var(--mut); }
.calc-item.on em { color: var(--ink); }
.calc-total { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.calc-total div { padding: 20px; }
.calc-total div + div { border-left: 1px solid var(--line); }
.calc-total span { display: block; font-size: 13px; color: var(--mut); }
.calc-total b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.calc-total b.pos { color: var(--green); }
.calc .fine { padding: 0 20px 16px; background: var(--bg-2); margin: 0; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); background: #fff; border-radius: 12px; overflow: hidden; }
.int { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 108px; padding: 18px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.int .mk { height: 24px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; letter-spacing: -0.02em; }
.int .mk img { width: 22px; height: 22px; }
.int .mk .tx { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--ink); color: #fff; font: 600 10.5px/1 var(--mono); }
.int small { font: 400 12px/1.3 var(--mono); color: var(--faint); }

/* Venues */
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.venue-grid div { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.venue-grid div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.venue-grid h3 { font-size: 20px; }
.venue-grid p { margin: 8px 0 0; color: var(--mut); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { background: var(--dark); color: #f2f3f2; border-color: var(--dark); }
.plan .top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 18px; }
.plan .badge { font: 500 11.5px/1 var(--mono); color: var(--green-hi); border: 1px solid #2c4a3e; border-radius: 4px; padding: 4px 7px; }
.plan .price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-size: 48px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan .price span { color: var(--mut); font-size: 14px; }
.plan.featured .price span, .plan.featured .pitch, .plan.featured li { color: var(--dark-mut); }
.plan .pitch { color: var(--mut); font-size: 15px; margin: 14px 0 0; min-height: 48px; }
.plan .btn { margin: 24px 0; width: 100%; }
.plan.featured .btn { background: #fff; color: var(--ink); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.plan.featured ul { border-color: var(--dark-line); }
.plan li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 12px; height: 7px; margin-top: 6px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.plan.featured li::before { border-color: var(--green-hi); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 8px; height: 8px; border-right: 1.5px solid var(--mut); border-bottom: 1.5px solid var(--mut); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 32px; }
.faq p { margin: 0 0 22px; color: var(--mut); max-width: 620px; }

/* Final CTA + form */
.cta h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.05em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px; }
.form label { display: grid; gap: 7px; font-size: 15px; color: #d5dbd8; }
.trial-terms { margin: 0; color: #e4e8e6; font-size: 16px; line-height: 1.45; }
.pw-rules { margin: 4px 0 0; padding-left: 18px; color: #e4e8e6; font-size: 15px; line-height: 1.45; }
.pw-rules li.bad { color: #ffb59a; }
.pw-rules[hidden] { display: none; }
.form input, .form select { height: 42px; border: 1px solid var(--dark-line); border-radius: 8px; padding: 0 12px; font: 400 15px var(--sans); background: var(--dark); color: #f2f3f2; width: 100%; }
.form input:focus, .form select:focus { outline: none; border-color: var(--green-hi); box-shadow: 0 0 0 3px rgba(63, 165, 126, .18); }
.form .wide { grid-column: 1 / -1; }
.form .btn { width: 100%; }
.err { color: #ff9f7a; font-size: 13.5px; margin: 8px 0 0; min-height: 1em; }

/* Footer */
.foot { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { color: var(--mut); font-size: 14px; margin: 14px 0 0; }
.cols { display: flex; gap: 72px; flex-wrap: wrap; }
.cols div { display: grid; gap: 10px; align-content: start; }
.cols b { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.cols a { text-decoration: none; color: var(--mut); font-size: 14px; }
.cols a:hover { color: var(--ink); }
.legal { display: flex; justify-content: space-between; color: var(--faint); font: 400 12.5px/1 var(--mono); margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Scroll reveal: a short, quiet rise */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .logo-row { grid-template-columns: repeat(4, 1fr); }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .more { grid-template-columns: 1fr 1fr; }
  .more li:nth-child(n) { padding-left: 0; border-left: 0; }
  .more li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .features { grid-template-columns: 1fr 1fr; }
  .features div:nth-child(3) { padding-left: 0; border-left: 0; }
  .features div:nth-child(n+3) { margin-top: 28px; }
}
@media (max-width: 900px) {
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { font-size: 17px; padding: 12px 0; color: var(--ink); }
  .only-m { display: block; }
  .login { display: none; }
  .burger { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; border: 0; background: transparent; cursor: pointer; }
  .burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .card.wide { flex-direction: column; }
  .card.wide .card-text { flex: none; padding-bottom: 0; }
  .card.wide .crop { margin: 32px 0 0 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .venue-grid, .plans { grid-template-columns: 1fr; }
  .venue-grid div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .sec { padding: 96px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .notice { font-size: 12.5px; gap: 8px; padding: 0 12px; }
  .hero { padding-top: 64px; }
  .lede { font-size: 17px; }
  .ctas { width: 100%; flex-direction: column; }
  .btn.lg { width: 100%; }
  .shot-wrap { margin-top: 48px; }
  .chrome span { display: none; }
  .phone { width: 34%; right: -8px; bottom: 16px; border-width: 5px; border-radius: 20px; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
  .logo-row .lg-i { font-size: 14.5px; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .more, .features { grid-template-columns: 1fr; }
  .more li:nth-child(n) { padding-left: 0; border-left: 0; }
  .features div:nth-child(n) { padding-left: 0; border-left: 0; margin-top: 0; padding-bottom: 24px; }
  .gallery img { height: 320px; }
  .gallery img.short { height: 270px; }
  .card { min-height: 420px; }
  .card-text { padding: 26px 24px 0; }
  .crop, .card.wide .crop { margin: 26px 0 0 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .calc-total { grid-template-columns: 1fr; }
  .calc-total div + div { border-left: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .cols { gap: 40px; }
  .legal { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Year on year: an example day against last year */
.yoy { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.yoy-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.yoy-top b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.yoy-top span { font: 400 13px/1 var(--mono); color: var(--mut); }
.yoy table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.yoy th { font: 400 12px/1 var(--mono); color: var(--faint); text-align: right; padding: 14px 0 8px; }
.yoy td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: right; font-size: 15px; }
.yoy td:first-child, .yoy th:first-child { text-align: left; color: var(--ink-2); }
.yoy td:nth-child(3) { color: var(--mut); }
.yoy td.up { color: var(--green); font-weight: 500; white-space: nowrap; }
.yoy-notes { display: grid; gap: 10px; margin-top: 20px; }
.yoy-notes p { margin: 0; font-size: 14.5px; color: var(--ink-2); display: grid; grid-template-columns: 88px 1fr; }
.yoy-notes span { font: 500 12px/1 var(--mono); color: var(--green); padding-top: 5px; }
.yoy figcaption { margin-top: 18px; font-size: 12.5px; color: var(--faint); }
@media (max-width: 600px) {
  .yoy { padding: 20px; }
  .yoy td, .yoy th { padding-left: 8px; }
  .yoy-notes p { grid-template-columns: 1fr; gap: 4px; }
}

/* Privacy and data-handling pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.045em; }
.doc .lede { font-size: 19px; color: var(--ink-2); margin: 24px 0 0; }
.doc .meta { font: 400 13px/1 var(--mono); color: var(--mut); margin: 20px 0 0; }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.3; margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p { margin: 14px 0 0; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.doc a { text-underline-offset: 3px; }
.doc .tbl { overflow-x: auto; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font: 500 12px/1.3 var(--mono); color: var(--mut); background: var(--bg-2); }
.doc tr:last-child td { border-bottom: 0; }
.doc .see { margin-top: 56px; padding: 20px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.nav-in .back { text-decoration: none; font-size: 14.5px; color: var(--mut); }
@media (max-width: 600px) { .doc { padding: 48px 0 72px; } .nav-in { gap: 16px; } .nav-in .back { display: none; } }

/* VIP invite page: the dark sign-up section, full height, with the welcome on the left */
.vip-page { background: var(--dark); }
.vip-nav { background: rgba(10, 11, 10, .8); color: #f2f3f2; border-color: var(--dark-line); }
.vip-nav .login, .vip-nav .logo { color: #f2f3f2; }
.sec.vip { min-height: calc(100vh - 64px); padding: 96px 0; }
.vip h1 { font-size: clamp(40px, 5.5vw, 68px); letter-spacing: -0.05em; }
.vip #intro { color: #d4d7d5; font-size: 18px; }
.vip #intro b { color: #fff; font-weight: 600; }
.vip #intro a { color: #fff; }
.vip-note { margin: 28px 0 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--apricot); color: #f2f3f2; font-size: 16px; white-space: pre-line; }
.vip-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.vip-list li { color: var(--dark-mut); font-size: 15px; padding-left: 22px; position: relative; }
.vip-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--green-hi); border-radius: 2px; }
.vip-list b { color: #f2f3f2; font-weight: 500; }
@media (max-width: 600px) { .sec.vip { padding: 48px 0 72px; } }
