/* The other pages (about, careers, contact, security, the legal pages, demo, sign in / sign up before launch, 404),
   in the landing's look: paper, one sans, black buttons, hairlines. Semantic + component tokens only. */

main { padding-top: 64px; } /* under the fixed nav */
.soon-account, .not-found { margin-top: -64px; padding-top: 64px; } /* the black pages run under the nav */

/* ---------- page head ---------- */
.sub-hero { padding-block: clamp(56px, 9vw, 120px) clamp(32px, 5vw, 56px); }
.sub-hero h1 { margin-top: 14px; font-size: var(--step-4); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; text-wrap: balance; }
.sub-hero h1 em, .prose h2 em { font-style: normal; color: var(--text-2); }
.night.sub-hero h1 em { color: var(--night-text-2); }
.eyebrow { display: inline-block; font-size: var(--step--1); color: var(--text-2); }
.sub-hero .eyebrow + h1 { margin-top: 14px; }
.lede { margin-top: 20px; max-width: 56ch; font-size: var(--step-1); line-height: 1.45; color: var(--text-2); }
.night .lede { color: var(--night-text-2); }
.meta { margin-top: 16px; font-size: var(--step--1); color: var(--text-2); }
.sub-hero + .paper { border-top: var(--rule); }

/* ---------- body copy ---------- */
.paper:not(.sub-hero) { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 10vw, 120px); }
.prose > * { max-width: 760px; } /* left edge in line with the page head */
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 56px; font-size: var(--step-2); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: var(--step-0); font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-2); }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 1.1em; list-style: disc; }
.prose ol { padding-left: 1.3em; list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--text-3); }
.prose a, .link { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); }
@media (hover: hover) and (pointer: fine) { .prose a:hover, .link:hover { text-decoration-color: currentColor; } }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: var(--rule); vertical-align: top; }
.prose th { font-weight: 600; color: var(--text); }
.prose td { color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: var(--step--1); color: var(--text-2); }

.legal-note { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border: var(--rule); border-radius: var(--radius-m); background: var(--bg-2); font-size: var(--step--1); color: var(--text-2); }
.legal-note b { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.prose .toc a { padding: 6px 12px; border: var(--rule); border-radius: var(--radius-s); text-decoration: none; font-size: var(--step--1); color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .prose .toc a:hover { color: var(--text); border-color: var(--border-strong); } }

/* ---------- cards, roles, changelog ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.prose .cards { margin-top: 20px; }
.card-p { padding: 22px; border: var(--rule); border-radius: var(--radius-m); background: var(--surface); }
.card-p > * + * { margin-top: 8px; }
.card-p h3 { margin-top: 10px; }
.tagl { font-size: 12px; color: var(--text-3); }
.role { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: var(--rule); }
.prose h2 + .role { margin-top: 12px; border-top: var(--rule); }
.prose .role h3 { margin: 0; }
.role .m { font-size: var(--step--1); color: var(--text-2); }
@media (max-width: 640px) { .role { grid-template-columns: 1fr auto; } .role > span.m { display: none; } }
.log { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 28px 0; border-top: var(--rule); }
.log time { font-size: var(--step--1); color: var(--text-2); }
.prose .log h3 { margin: 0 0 8px; }
.log ul { margin-top: 10px; }
@media (max-width: 640px) { .log { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- buttons the pages use beside the landing's .btn ---------- */
.btn-ghost { background: transparent; color: var(--text); border: var(--rule-strong); }
.night .btn-ghost { background: transparent; color: var(--night-text); border: 1px solid var(--night-border); }
.btn-sm { height: 36px; padding: 0 16px; font-size: var(--step--1); }
.prose .btn { text-decoration: none; color: var(--btn-text); }
.prose .btn-ghost { color: var(--text); }
.arr { display: none; }

/* ---------- black pages: sign in / sign up before launch, 404 ---------- */
.soon-account .wrap, .not-found .wrap { min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding-block: 72px; }
.soon-account .join { margin-top: 32px; width: 100%; }
.soon-beta { margin-top: 8px; font-size: var(--step--1); color: var(--night-text-2); }
.soon-beta a { color: var(--night-text); }
.not-found .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- demo request: a form beside a black panel ---------- */
.auth { display: grid; grid-template-columns: 1fr 1.2fr; min-height: calc(100svh - 64px); }
.auth-side { position: relative; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 64px); overflow: hidden; }
.auth-side canvas { display: none; }
.auth-side blockquote { font-size: var(--step-3); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; max-width: 14ch; }
.auth-side blockquote em { font-style: normal; color: var(--night-text-2); }
.auth-main { display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) 16px; }
.auth-card { display: grid; gap: 18px; width: min(520px, 100%); }
.auth-card .h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; font-size: var(--step--1); }
.fld label { color: var(--text-2); }
.input { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-s); border: 1px solid var(--field-border); background: var(--field-bg); color: var(--text); font: inherit; }
textarea.input { min-height: 96px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--signal); }
.auth-card .btn { justify-content: center; }
.notice:not(.on) { display: none; }
.notice { padding: 14px 16px; border: var(--rule); border-radius: var(--radius-m); background: var(--bg-2); font-size: var(--step--1); color: var(--text-2); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { min-height: 200px; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- /pricing: Free, Pro and a shaded Team, then the questions ---------- */
.pricing { padding-block: clamp(56px, 9vw, 120px); }
.pricing-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.pricing-head .h2 { font-size: var(--step-4); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; }
.pricing-head .h2 em { font-style: normal; color: var(--text-2); }
.pricing-head .lede { margin-top: 6px; text-align: left !important; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-col { display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.plan-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 24px; border: var(--rule); border-radius: var(--radius-m); background: var(--surface); }
.plan-card.featured { background: var(--night); color: var(--night-text); border-color: var(--night); }
.plan-card h3 { display: flex; align-items: center; gap: 10px; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; }
.plan-card .for { font-size: var(--step--1); color: var(--text-2); min-height: 2.8em; }
.plan-card.featured .for, .plan-card.featured .price span, .plan-card.featured .plan-rows dt { color: var(--night-text-2); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: var(--step--1); color: var(--text-2); }
.plan-rows { margin: 0; padding-top: 16px; border-top: var(--rule); display: grid; gap: 9px; font-size: var(--step--1); align-content: start; }
.plan-card.featured .plan-rows { border-color: var(--night-border); }
.plan-rows div { display: flex; justify-content: space-between; gap: 12px; }
.plan-rows dt { color: var(--text-2); }
.plan-rows dd { margin: 0; text-align: right; font-weight: 500; }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card .btn-ink { background: var(--action); color: var(--action-text); }
.plan-card.featured .btn { background: var(--night-action); color: var(--night-action-text); }
.plan-card.later { opacity: .5; grid-template-rows: auto auto auto 1fr; }
.tag-later { font-size: 12px; font-weight: 400; padding: 3px 8px; border: var(--rule); border-radius: var(--radius-s); color: var(--text-2); }
.price-none { min-height: 1px; }
.plan-why, .plan-team { text-align: center; font-size: var(--step--1); color: var(--text-2); }
.pricing-foot { margin-top: 24px; display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: var(--step--1); color: var(--text-2); }
.pricing .faq { max-width: 760px; margin-top: clamp(56px, 8vw, 96px); } /* rows styled by site.css, as on the home */
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
