/* ═══ PROGRESSSHARE.VOLATILE — PUBLIC SITE ═══
   Landing, pricing, features, help, legal, contact, error pages. Tokens from tokens.css, fonts from fonts.css.
   Signal rules: color only as state (violet = action/active, blue = live), hairlines instead of cards,
   radii 10px surfaces / 8px buttons and inputs / 6px chips, no glows, no uppercase labels.
   The site CSP forbids inline styles: everything lives here. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Base rules wrapped in :where() so that component classes (.hint, .plan-price, ...) win. */
:where(.site) :where(h1, h2, h3) { font-family: var(--font-display); color: var(--text); letter-spacing: -.02em; }
:where(.site) p { margin: 0 0 1em; }
:where(.site) a { color: var(--violet-text); text-decoration: none; }
:where(.site) a:hover { text-decoration: underline; }
.site :focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
.site ::selection { background: rgba(143,91,255,.35); color: #fff; }
.site code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; }
.site img { max-width: 100%; height: auto; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* Signal line: the only brand gradient besides the logo and the week-goal bar */
.site-signal { height: 1px; background: linear-gradient(90deg, transparent, var(--violet) 22%, var(--live) 78%, transparent); }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 50; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; }
.skip-link:focus { top: 12px; text-decoration: none; }

.site-hint { padding: 10px 24px; background: var(--surface-2); border-bottom: 1px solid var(--line-strong); color: var(--text-dim); font-size: 13px; text-align: center; }
.site-hint[hidden] { display: none; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.site .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.site .brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.brand-mark svg { width: 19px; height: 19px; }
.brand-word { font: 600 16px/1 var(--font-display); letter-spacing: -.02em; }
.brand-word span { color: var(--text-dim); font-weight: 500; }
.site-nav { display: flex; align-items: stretch; gap: 26px; height: 100%; }
.site-nav a { display: inline-flex; align-items: center; color: var(--text-dim); font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.site .site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--violet); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-menu { display: none; margin-left: auto; position: relative; }
.site-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu-panel { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; }
.site-menu-panel > a { padding: 10px 12px; color: var(--text-dim); border-radius: 8px; }
.site .site-menu-panel > a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.site-menu-panel > a[aria-current="page"] { color: var(--text); background: var(--violet-soft); }
.site-menu-actions { display: flex; flex-direction: column; gap: 8px; padding: 8px 4px 4px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font: 600 14px/1 var(--font-display); white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.site .btn:hover { text-decoration: none; }
.btn-primary { background: var(--violet-strong); color: #fff; }
.site .btn-primary { color: #fff; }
.btn-primary:hover { background: #8752ff; }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); }
.site .btn-secondary { color: var(--text); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; }
.site .btn-ghost { color: var(--text-dim); }
.site .btn-ghost:hover { color: var(--text); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn-primary[aria-disabled="true"]:hover { background: var(--violet-strong); }
.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; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Typography helpers ── */
.eyebrow { font-size: 12.5px; color: var(--text-dim); margin: 0 0 12px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-dim); max-width: 38em; }
.hint { font-size: 13px; color: var(--text-faint); margin-top: 14px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-dim); font: 500 12px/1 var(--font-body); letter-spacing: 0; vertical-align: middle; }
.tag.is-live { color: var(--live-text); border-color: rgba(58,141,255,.4); }
.tag.is-active { color: var(--violet-text); border-color: rgba(143,91,255,.45); background: var(--violet-soft); }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }

/* ── Sections ── */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2, .page-head h1 { margin: 0 0 14px; }
.section h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 600; }
.section-more { margin: 28px 0 0; }
.section-more a, .cell-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.section-more .icon, .cell-link .icon { width: 16px; height: 16px; }

/* Page header for inner pages */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.breadcrumb { font-size: 13px; color: var(--text-faint); margin: 0 0 14px; }
.breadcrumb a { color: var(--text-dim); }

/* ── Hero ── */
.hero { padding: 88px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; margin: 0 0 20px; }
.hero .lead { margin-bottom: 28px; }

/* Product preview (HTML illustration of the Studio board, fictional sample project) */
.product-preview { margin: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; font-size: 13px; }
.pp-bar { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.pp-project { color: var(--text); font-weight: 600; }
.pp-tabs { display: flex; gap: 14px; color: var(--text-dim); height: 100%; }
.pp-tabs span { display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.pp-tabs .is-active { color: var(--text); border-bottom-color: var(--violet); }
.pp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--live-text); font-size: 12.5px; }
.pp-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-col { padding: 14px 12px 16px; border-right: 1px solid var(--line); min-height: 250px; }
.pp-col:last-child { border-right: 0; }
.pp-col-title { margin: 0 0 10px; color: var(--text-dim); font-size: 12.5px; display: flex; justify-content: space-between; }
.pp-col-title span { color: var(--text-faint); }
.pp-card { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 10px; margin-bottom: 8px; line-height: 1.35; color: var(--text); hyphens: auto; overflow-wrap: anywhere; }
.pp-card.is-active { border-color: rgba(143,91,255,.55); }
.pp-card.is-done { color: var(--text-dim); }
.pp-key { display: block; color: var(--text-faint); font-size: 11.5px; margin-bottom: 3px; }
.pp-meta { display: block; color: var(--text-dim); font-size: 11.5px; margin-top: 5px; }
.pp-goal { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text); }
.pp-goal > span:first-child { color: var(--text-dim); }
.pp-progress { flex: 1; height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; min-width: 60px; }
.pp-progress span { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--live)); }

/* ── Hairline grid ("lines instead of cards") ── */
.line-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.line-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.line-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site .line-cell { display: block; padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); }
.site a.line-cell:hover { background: var(--surface); text-decoration: none; }
.line-cell h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.line-cell p { color: var(--text-dim); margin: 0; }
.cell-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text-dim); margin-bottom: 18px; }
a.line-cell:hover .cell-icon { color: var(--text); }
.cell-link { margin-top: 16px; color: var(--violet-text); }

/* ── Steps ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 17px; margin: 0 0 8px; }
.steps p { color: var(--text-dim); }

/* ── Chips ── */
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 14px; }
.chip.is-muted { color: var(--text-dim); background: transparent; }
.chip span { color: var(--text-faint); }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-size: 16px; font-weight: 500; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 18px; color: var(--text-dim); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-dim); margin: 0; padding: 0 36px 22px 0; max-width: 46em; }

/* ── Closing CTA ── */
.section-cta { border-bottom: 0; }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-inner .lead { margin: 0 auto 28px; }
.cta-inner .actions { justify-content: center; }

/* ── Pricing ── */
.billing-toggle { display: inline-flex; gap: 22px; margin: 0 0 36px; border-bottom: 1px solid var(--line); }
.billing-toggle button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 0; color: var(--text-dim); font: 500 14px/1 var(--font-body); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--violet); }
.billing-toggle .saving { color: var(--text-faint); font-weight: 400; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plan { padding: 28px 24px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan.is-recommended { background: var(--surface); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.plan-tagline { color: var(--text-dim); font-size: 14px; min-height: 44px; }
.plan-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font: 600 36px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.plan-price span { color: var(--text-dim); font-size: 14px; }
.plan-sub { color: var(--text-faint); font-size: 13px; min-height: 20px; margin: 0 0 20px; }
.plan .btn { margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; gap: 10px; padding: 6px 0; color: var(--text-dim); font-size: 14px; line-height: 1.45; }
.plan li .icon { width: 18px; height: 18px; color: var(--text); margin-top: 1px; }
[data-billing="yearly"] .price-monthly, [data-billing="monthly"] .price-yearly { display: none; }
.vat-note { margin: 16px 0 0; color: var(--text-faint); font-size: 13px; }

/* position: relative keeps the absolutely positioned .sr-only texts inside the scroll container
   (otherwise they hang on the viewport and widen the page on phones). */
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--surface); color: var(--text); font-weight: 600; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; color: var(--text-dim); font-weight: 400; width: 34%; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare .group-row th { text-align: left; color: var(--text); font-weight: 600; background: var(--bg); padding-top: 22px; }
.compare td { color: var(--text); }
.compare td .icon { width: 18px; height: 18px; vertical-align: middle; }
.compare td.is-no { color: var(--text-faint); }
.compare .soon { color: var(--text-faint); font-size: 12.5px; margin-left: 6px; }

/* ── Feature detail / audience ── */
/* padding-top/bottom only: the element also carries .wrap, whose side padding must stay */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.checklist .icon { width: 18px; height: 18px; color: var(--text-dim); margin-top: 3px; }
.detail-sections { margin-top: 40px; }
.detail-sections h2 { font-size: 20px; margin: 0 0 8px; }
.detail-sections p { color: var(--text-dim); margin-bottom: 28px; }
.aside-box { border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 15px; margin: 0 0 12px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li a { display: block; padding: 7px 0; color: var(--text-dim); }
.site .aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* ── Prose (help articles, legal pages) ── */
.prose-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.prose { max-width: 760px; color: var(--text); }
.prose h2 { font-size: 22px; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text-dim); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose .placeholder { color: var(--warn); }
.notice { border: 1px solid var(--line-strong); border-left-width: 1px; background: var(--surface); border-radius: 10px; padding: 14px 16px; margin: 0 0 28px; color: var(--text-dim); font-size: 14px; }
.notice strong { color: var(--text); }
.notice.is-warn { border-color: rgba(233,176,75,.45); }

/* ── Help center ── */
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.help-list li a { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.site .help-list li a:hover { text-decoration: none; }
.help-list li a:hover h3 { color: var(--violet-text); }
.help-list h3 { font-size: 17px; margin: 0 0 4px; }
.help-list p { color: var(--text-dim); margin: 0; }
.help-list .tag { flex-shrink: 0; align-self: center; }

/* ── Forms ── */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  font: 15px/1.4 var(--font-body);
  padding: 11px 13px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); }
.field .error, .form-error { color: var(--danger); font-size: 13px; }
.field.has-error input, .field.has-error textarea { border-color: rgba(232,93,111,.7); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); font-size: 14px; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--violet); flex-shrink: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { border: 1px solid rgba(53,208,138,.4); border-radius: 10px; padding: 16px 18px; color: var(--text); background: var(--surface); }
.success p { margin: 4px 0 0; color: var(--text-dim); }

/* ── Changelog / roadmap ── */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--text-faint); font-size: 13.5px; }
.timeline h3 { font-size: 16px; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.timeline p { color: var(--text-dim); margin: 0; }
.roadmap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.roadmap-col { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; }
.roadmap-col h2 { font-size: 16px; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.roadmap-col ul { list-style: none; margin: 0; padding: 0; }
.roadmap-col li { padding: 12px 0; border-top: 1px solid var(--line); }
.roadmap-col li strong { display: block; font-weight: 500; color: var(--text); }
.roadmap-col li span { color: var(--text-dim); font-size: 14px; }
.empty-state { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 28px; color: var(--text-dim); text-align: center; }

/* ── Error page ── */
.error-page { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 64px 24px; text-align: center; }
.error-code { font: 600 clamp(64px, 12vw, 120px)/1 var(--font-display); letter-spacing: -.05em; color: var(--text-faint); margin: 0 0 8px; }
.error-page h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 12px; }
.error-page .lead { margin: 0 auto 28px; }
.error-page .actions { justify-content: center; }
.error-page .hint { margin-top: 20px; }
.error-search .btn { height: 44px; }
.error-id { margin-top: 22px; font-size: 13px; color: var(--text-faint); }
.error-id code { color: var(--text-dim); }
.error-search { display: flex; gap: 8px; max-width: 420px; margin: 0 auto 24px; }
.help-search { margin: 0 0 28px; max-width: none; }
.site-footer .footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.error-search input { flex: 1; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); font: 15px var(--font-body); padding: 0 13px; height: 44px; }

/* ── Login (also opened directly by the desktop and Android apps) ── */
.auth-main { min-height: calc(100vh - 1px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 48px 16px; }
.auth-panel { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 32px 28px 26px; }
.auth-brand-link { margin-bottom: 26px; }
.auth-panel h1 { font-size: 24px; margin: 0 0 6px; }
.auth-panel .form { max-width: none; margin-top: 18px; }
.auth-hint { margin-top: 0; }
.auth-switch { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-dim); }
.auth-logout { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.field .hint { margin: 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; }
.site .auth-links a { color: var(--text-faint); }
.site .auth-links a:hover { color: var(--text-dim); }

/* ── Footer ── */
.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin: 14px 0 0; color: var(--text-faint); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h2 { font: 600 13px/1.4 var(--font-display); color: var(--text); margin: 0 0 4px; letter-spacing: 0; }
.footer-col a { color: var(--text-dim); }
.site .footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .site-nav, .header-actions { display: none; }
  .site-menu { display: block; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .detail-grid, .prose-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .line-grid.cols-3, .line-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-cols { grid-template-columns: minmax(0, 1fr); }
  .prose-layout aside { order: 2; }
}
@media (max-width: 640px) {
  body.site { font-size: 15px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 64px 0; }
  .lead { font-size: 16.5px; }
  .line-grid.cols-2, .line-grid.cols-3, .line-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 24px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .pp-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-col:nth-child(2) { border-right: 0; }
  .pp-col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pp-col { min-height: 0; }
  .pp-tabs span:not(.is-active) { display: none; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
