/* Shared look for the pricing, terms, privacy and refunds pages: the home page's room (near-white, warm-black ink,
   Geist, one coral accent) set for reading. It lives here because these four pages are the only ones that use it;
   the home page keeps its own sheet. Token names are kept from the old dark sheet: --ink is the page, --paper is the
   text on it. */
:root {
  --ink: #fafaf8;
  --raise: #ffffff;
  --panel: #f3f2ef;
  --paper: #161514;
  --quiet: rgb(22 21 20 / .72);
  --faint: rgb(22 21 20 / .52);
  --line: rgb(22 21 20 / .08);
  --line-2: rgb(22 21 20 / .14);
  --coral: #ff5a1f;
  --coral-text: #c2410c;
  --shade: rgb(20 18 16 / .16);
  --sans: "Geist", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  min-height: 100vh; background: var(--ink); color: var(--paper); font: 400 1rem/1.6 var(--sans); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgb(255 90 31 / .22); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: 999px; font-weight: 500; transition: top .2s; }
.skip:focus { top: .75rem; }
.stop { color: var(--coral); }
@keyframes rise { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero > *, .read > * { animation: rise .8s var(--out) both; }
.hero > :nth-child(2) { animation-delay: .06s; } .hero > :nth-child(3) { animation-delay: .12s; } .hero > :nth-child(4) { animation-delay: .18s; }
.read > :nth-child(2) { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; } }

/* ---------- Header and footer: the same as the home page's, value for value ---------- */
.top { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.top.scrolled { background: rgb(250 250 248 / .84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-in { max-width: 1280px; margin: 0 auto; height: 64px; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 32px; }
.brand { display: block; width: 64px; color: var(--paper); flex: none; }
.brand svg { display: block; width: 100%; height: auto; aspect-ratio: 1334 / 697; overflow: visible; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--quiet); font-size: 14.5px; line-height: 1.5; padding: 6px 12px; border-radius: 99px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--paper); background: rgb(22 21 20 / .05); }
.nav a[aria-current="page"] { color: var(--paper); }
.top-cta { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--paper); color: #fff; font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--out), background-color .2s, box-shadow .2s; }
.top-cta:hover { background: #000; box-shadow: 0 8px 22px -10px rgb(0 0 0 / .55); }
.top-cta:active { transform: scale(.97); }
@media (max-width: 760px) { .nav { display: none; } .top-in { justify-content: space-between; } }
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13.5px; line-height: 1.5; color: var(--faint); }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.foot .brand { width: 48px; margin-right: auto; }
.foot a { color: var(--quiet); text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* ---------- Page frame ---------- */
main { position: relative; }
.wrap { max-width: 75rem; margin: 0 auto; padding: 0 var(--gutter); }
.hero { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(2.25rem, 5vw, 3.5rem); }
.eyebrow { font-size: .875rem; font-weight: 500; color: var(--coral-text); margin-bottom: 1rem; }
h1 { font: 600 clamp(2.75rem, 7vw, 5.75rem)/.96 var(--sans); letter-spacing: -.055em; max-width: 14ch; text-wrap: balance; }
.lede { margin-top: 1.5rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.5; color: var(--quiet); text-wrap: pretty; }
.lede a, .prose a, .faq a, .fine a, .note a { color: var(--paper); text-decoration-color: var(--line-2); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.lede a:hover, .prose a:hover, .faq a:hover, .fine a:hover, .note a:hover { text-decoration-color: var(--coral); }
.updated { margin-top: 1.5rem; font-size: .875rem; color: var(--faint); }

/* ---------- Reading pages (terms, privacy, refunds) ---------- */
.read { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: clamp(4rem, 9vw, 7rem); }
@media (min-width: 62rem) { .read { grid-template-columns: 15rem minmax(0, 42rem); gap: clamp(3rem, 7vw, 6rem); } }
.toc { font-size: .875rem; }
@media (min-width: 62rem) { .toc { position: sticky; top: 6rem; align-self: start; } }
.toc h2 { font-size: .875rem; color: var(--faint); font-weight: 500; margin-bottom: .75rem; }
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 1px; padding: 6px; border-radius: 14px; background: var(--panel); }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: .75rem; padding: .4rem .6rem; border-radius: 9px; text-decoration: none; color: var(--quiet); transition: color .2s, background-color .2s; }
.toc a::before { content: counter(t); color: var(--faint); font-variant-numeric: tabular-nums; flex: none; min-width: 1.1em; }
.toc a:hover { color: var(--paper); background: var(--raise); }
.toc a.on { color: var(--paper); background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
.prose { counter-reset: s; }
.prose section { counter-increment: s; padding-top: 2.25rem; border-top: 1px solid var(--line); margin-top: 2.25rem; }
.prose section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.prose h2 { font: 600 1.375rem/1.25 var(--sans); letter-spacing: -.025em; margin-bottom: 1rem; display: flex; gap: .85rem; align-items: baseline; }
.prose h2::before { content: counter(s); font: 500 .875rem var(--sans); color: var(--coral-text); font-variant-numeric: tabular-nums; flex: none; min-width: 1.1em; }
.prose p, .prose li { color: var(--quiet); text-wrap: pretty; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; display: grid; gap: .5rem; margin-top: 1rem; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--paper); font-weight: 600; }
.prose .callout { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--raise); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px var(--shade); color: var(--paper); position: relative; }
.prose .callout::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--coral); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .8rem .9rem .8rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: .8125rem; color: var(--faint); font-weight: 500; }
.prose td { color: var(--quiet); }
.prose td:first-child { color: var(--paper); font-weight: 500; }
@media (max-width: 36rem) { .prose table, .prose tbody, .prose tr, .prose td, .prose th { display: block; } .prose thead { display: none; } .prose tr { padding: .8rem 0; border-bottom: 1px solid var(--line); } .prose td { border: 0; padding: .1rem 0; } }

/* ---------- Pricing: Pro first and biggest, the rest quieter ---------- */
.p-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; padding: clamp(3.5rem, 8vw, 6rem) 0 2rem; }
.p-head h1 { animation: rise .8s var(--out) both; }
.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); animation: rise .8s .08s var(--out) both; }
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: .55rem 1.1rem; border-radius: 999px; font-size: .9375rem; color: var(--quiet); transition: color .25s; }
.switch button[aria-pressed="true"] { color: var(--paper); font-weight: 500; }
.switch button:not([aria-pressed="true"]):hover { color: var(--paper); }
.switch small { font-size: .8125rem; color: var(--faint); margin-left: .4rem; font-weight: 400; }
.switch .knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--raise); box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px var(--shade); transition: left .45s var(--out), width .45s var(--out); }
html:not(.js) .switch { display: none; }
.plans:not([data-period="year"]) .y, .plans[data-period="year"] .m { display: none !important; }
.plans .amt, .plans .sub { transition: opacity .16s, transform .16s; }
.plans.flip .amt, .plans.flip .sub { opacity: 0; transform: translateY(-4px); }

.ticks { list-style: none; display: grid; gap: .55rem; font-size: .9375rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: .7rem; height: .38rem; border: solid var(--coral); border-width: 0 0 1.7px 1.7px; transform: rotate(-45deg); }
.ticks strong { font-weight: 600; }

/* Pro: one dark band with the price on the left and its month of decks on the right. */
.pro { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: 28px; background: #161514; color: #f3f1ec; overflow: hidden; box-shadow: 0 60px 120px -60px rgb(20 18 16 / .7); animation: rise .9s .12s var(--out) both; }
@media (max-width: 900px) { .pro { grid-template-columns: minmax(0, 1fr); } }
.pro h2 { font: 600 clamp(3rem, 6vw, 4.75rem)/.9 var(--sans); letter-spacing: -.06em; }
.pro .who { margin-top: .75rem; font-size: 1.0625rem; color: rgb(243 241 236 / .72); }
.pro .price { margin-top: 1.75rem; display: flex; align-items: baseline; gap: .5rem; }
.pro .amt { font: 600 clamp(3.5rem, 6vw, 4.5rem)/1 var(--sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; display: inline-block; }
.pro .per { color: rgb(243 241 236 / .6); }
.pro .sub { margin-top: .4rem; font-size: .875rem; color: rgb(243 241 236 / .5); min-height: 1.3em; }
.pro .ticks { margin: 1.75rem 0 2rem; color: rgb(243 241 236 / .78); }
.pro .ticks strong { color: #fff; }
.pro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.pro .btn { width: auto; height: 3.25rem; padding: 0 1.75rem; font-size: 1rem; }
.pro-fine { font-size: .8125rem; color: rgb(243 241 236 / .5); }
.month { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); transform-origin: 0 50%; }
@media (max-width: 900px) { .month { transform: none; } }
.month img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #222; box-shadow: 0 10px 24px -14px #000; animation: tile .6s var(--out) both; animation-delay: calc(.35s + var(--k) * 35ms); }
.month img.tall { object-fit: contain; background: #1c1c1e; }
@keyframes tile { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* Free, Student and Team: smaller and quieter. */
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
@media (max-width: 900px) { .others { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; padding: 1.5rem; border-radius: 20px; background: var(--raise); box-shadow: 0 0 0 1px var(--line); animation: rise .8s .2s var(--out) both; }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.plan h2 { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -.03em; display: flex; align-items: center; gap: .5rem; }
.plan .soon { font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.plan .soon::before { content: "· "; }
.plan .price { display: flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.plan .amt { font: 600 1.5rem/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: inline-block; }
.plan .per { font-size: .8125rem; color: var(--faint); }
.plan .who { margin-top: .4rem; font-size: .9375rem; color: var(--quiet); }
.plan .ticks { margin: 1.25rem 0; color: var(--quiet); font-size: .875rem; }
.plan .ticks strong { color: var(--paper); }
.plan .sub { margin: auto 0 .75rem; font-size: .8125rem; color: var(--faint); }
.plan .btn { margin-top: auto; }
.plan .sub + .btn { margin-top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; background: var(--paper); color: #fff; text-decoration: none; font-weight: 500; font-size: .9375rem; transition: transform .3s var(--out), background-color .2s, box-shadow .2s; }
.btn:hover { background: #000; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--panel); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #f04d12; box-shadow: 0 12px 30px -12px rgb(255 90 31 / .8); }

/* Free vs Pro */
.vs-free { margin-top: clamp(4rem, 9vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 1.5rem 4rem; align-items: start; }
@media (max-width: 900px) { .vs-free { grid-template-columns: minmax(0, 1fr); } }
.vs-free h2, .questions h2 { font: 600 clamp(2rem, 4vw, 3rem)/1 var(--sans); letter-spacing: -.05em; }
.vs-free table { grid-row: span 2; width: 100%; border-collapse: collapse; font-size: .9375rem; }
.vs-free th, .vs-free td { padding: .85rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.vs-free thead th { font-size: .8125rem; font-weight: 500; color: var(--faint); padding-top: 0; }
.vs-free thead th:last-child { color: var(--coral-text); }
.vs-free tbody th { font-weight: 400; color: var(--quiet); }
.vs-free td { width: 22%; color: var(--faint); }
.vs-free td:last-child { color: var(--paper); font-weight: 500; }
.vs-free td.cap::first-letter { text-transform: uppercase; }
.vs-free td.no::before { content: "—"; margin-right: .4rem; }
.vs-free td.yes::before { content: ""; display: inline-block; width: .65rem; height: .35rem; margin: 0 .55rem .2rem 0; border: solid var(--coral); border-width: 0 0 1.7px 1.7px; transform: rotate(-45deg); }
.vs-free .btn { width: auto; justify-self: start; height: 3rem; padding: 0 1.5rem; }

/* Questions */
.questions { margin-top: clamp(4rem, 9vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem 4rem; }
@media (max-width: 900px) { .questions { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-size: 1rem; font-weight: 500; letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: .5rem; height: .5rem; margin-top: -.4rem; border-right: 1.5px solid var(--quiet); border-bottom: 1.5px solid var(--quiet); transform: rotate(45deg); transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq summary:hover { color: var(--coral-text); }
.faq .a { padding: 0 0 1.25rem; color: var(--quiet); max-width: 40rem; text-wrap: pretty; }
.faq details[open] .a { animation: rise .45s var(--out) both; }
.faq a, .who-sells a { color: var(--paper); text-underline-offset: .22em; text-decoration-color: var(--line-2); }
.who-sells { margin: clamp(3.5rem, 8vw, 5rem) 0; font-size: .8125rem; color: var(--faint); max-width: 48rem; }
