/* Inter, served from siat3.com itself (nothing is loaded from other sites) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Sia T3 marketing site: siat3.com
   Editorial, near-monochrome; Sia blue is the one accent (buttons, active states, highlights).
   Colours inside the product mock-ups follow the app itself (priority bands, task kinds). */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --ink: #0c0a08;
  --obsidian: #1a1919;
  --ash: #6d6c6b;
  --smoke: #d3d3d3;
  --hairline: #e5e7eb;
  --bone: #f4f2f0;
  --paper: #ffffff;
  --accent: #3657d6;
  --accent-hover: #2a46b4;
  --accent-soft: #e8edfc;
  --accent-ink: #ffffff;
  --danger: #b42318;

  /* product colours (mock-ups only) */
  --p-crit: #d92d20; --p-crit-bg: #fef3f2; --p-crit-ink: #b42318;
  --p-high: #ef6820; --p-high-bg: #fff4ed; --p-high-ink: #b93815;
  --p-med: #d9a400;  --p-med-bg: #fdf6dd;  --p-med-ink: #7a5c00;
  --p-low: #7a8699;  --p-low-bg: #f2f4f7;  --p-low-ink: #475467;
  --k-meeting: #7a5af8; --k-daily: #0e9384; --k-weekly: #2e90fa; --k-monthly: #dd2590; --k-oneoff: #98a2b3;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-btn: 6px; --radius-input: 10px; --radius-wash: 12px; --radius-card: 16px;
  --gutter: 16px;
  --section: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; --section: 112px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --section: 128px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

.skip-link {
  position: absolute; left: var(--gutter); top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius-btn); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--bone { background: var(--bone); }
.section--tight-top { padding-top: 0; }

/* ---------- Type ---------- */
.display { font-size: clamp(40px, 7.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.02em; }
.h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--ash); max-width: 38em; }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--ash); }
.muted { color: var(--ash); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash);
}
.pill {
  display: inline-block; font-size: 11px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 8px; border-radius: var(--radius-btn); background: var(--accent-soft); color: var(--accent);
}
.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: 56px; }
@media (min-width: 960px) { .section-head { margin-bottom: 72px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-btn);
  border: 1px solid transparent; background: transparent; cursor: pointer;
  font-size: 16px; line-height: 1; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--bone); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--bone); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 22px; height: 22px; }
.brand .beta { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; padding: 3px 5px 2px; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: 15px; color: var(--ink); padding: 8px 12px; border-radius: var(--radius-btn);
  transition: background-color .3s var(--ease);
}
.nav-links a:hover { background: var(--bone); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: none; align-items: center; gap: 8px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; border-radius: var(--radius-btn); cursor: pointer;
}
.nav-toggle:hover { background: var(--bone); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background-color .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--hairline); background: var(--paper); }
.site-header.is-open .mobile-menu { display: block; }
.mobile-menu nav { display: grid; padding: 8px 0 24px; }
.mobile-menu nav > a { display: flex; align-items: center; min-height: 52px; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.mobile-menu nav > a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn-row { margin-top: 20px; }
.mobile-menu .btn-row .btn { flex: 1 1 0; }

@media (min-width: 900px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .mobile-menu, .site-header.is-open .mobile-menu { display: none; }
  .nav { justify-content: flex-start; }
  .nav-links { margin-left: 28px; }
  .nav-actions { margin-left: auto; }
}

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px; }
.wash { background: var(--bone); border-radius: var(--radius-wash); padding: 24px; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-wash); background: var(--bone); color: var(--ink);
}
.icon-tile svg { width: 20px; height: 20px; }
.section--bone .icon-tile { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; }
@media (min-width: 960px) { .hero { padding-top: 96px; } }
.hero-copy { display: grid; gap: 24px; max-width: 860px; }
.hero-copy .btn-row { margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--ash); }
.hero-shot { margin-top: 56px; }
@media (min-width: 960px) { .hero-shot { margin-top: 80px; } }
@media (min-width: 1100px) {
  /* the product window runs off the right-hand edge, like a desk you can lean over */
  .hero-shot { margin-right: calc((100vw - min(100vw, 1264px)) / -2 - var(--gutter)); }
  .hero-shot .browser { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
}
.hero-band { background: linear-gradient(to bottom, var(--paper) 0, var(--paper) 45%, var(--bone) 45%, var(--bone) 100%); padding-bottom: var(--section); }

/* ---------- Browser frame ---------- */
.browser { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--hairline); background: #fbfbfa; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--smoke); }
.browser-url {
  flex: 0 1 320px; margin: 0 auto; height: 24px; border-radius: 6px; background: var(--bone);
  font-size: 12px; color: var(--ash); display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; overflow: hidden;
}
.browser-url svg { width: 11px; height: 11px; flex: none; }

/* ---------- Product mock-ups ---------- */
.mock { font-size: 13px; line-height: 1.45; color: var(--ink); letter-spacing: 0; text-align: left; }
.mock * { letter-spacing: 0; }
.app-bar { display: flex; align-items: center; gap: 20px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--hairline); overflow: hidden; white-space: nowrap; }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.app-brand img { width: 16px; height: 16px; }
.app-brand small { color: var(--ash); font-size: 13px; }
.app-tabs { display: none; gap: 2px; }
.app-tabs span { padding: 6px 10px; border-radius: 6px; color: var(--ash); }
.app-tabs span.on { background: var(--accent-soft); color: var(--accent); }
.app-avatar { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; display: grid; place-items: center; flex: none; }
@media (min-width: 720px) { .app-tabs { display: flex; } }

/* My Day as the app draws it: three sub-tabs (My Tasks · My Time · My Chats) until the screen is wide enough for
   the three side by side, as with the app's Wide screen on a big monitor */
.app-body { display: grid; grid-template-columns: 1fr; background: #fcfcfb; }
@media (min-width: 1100px) { .app-body { grid-template-columns: 1.15fr 1fr 1fr; } }
.pane { padding: 18px 16px 20px; min-width: 0; }
@media (min-width: 1100px) { .pane + .pane { border-left: 1px solid var(--hairline); } }
.pane--wide-only { display: none; }
@media (min-width: 1100px) { .pane--wide-only { display: block; } }
.md-sub { display: flex; padding: 0 8px; border-bottom: 1px solid var(--hairline); background: #fcfcfb; }
@media (min-width: 1100px) { .md-sub { display: none; } }
.md-sub > span { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px 10px; font-size: 14px; color: var(--ash); border-bottom: 2px solid transparent; white-space: nowrap; }
.md-sub > span.on { color: var(--ink); border-bottom-color: var(--accent); }
.mtabs { display: flex; gap: 2px; padding: 0 6px; border-bottom: 1px solid var(--hairline); overflow: hidden; }
.mtabs > span { position: relative; display: flex; align-items: center; gap: 5px; padding: 10px 5px 8px; font-size: 12.5px; color: var(--ash); border-bottom: 2px solid transparent; white-space: nowrap; }
.mtabs > span.on { color: var(--ink); border-bottom-color: var(--accent); }
.mtabs.fill > span { flex: 1 1 0; justify-content: center; min-width: 0; }
.md-sub i, .mtabs i { font-style: normal; font-size: 12px; line-height: 1; }
.md-sub em, .mtabs em { font-style: normal; font-size: 10.5px; font-weight: 500; line-height: 16px; padding: 0 6px; border-radius: 999px; background: var(--bone); color: var(--ash); }
.md-sub em.hot, .mtabs em.hot { background: var(--p-crit); color: #fff; }
b.at { font-weight: 600; color: var(--accent); }
@media (max-width: 479px) {
  /* phones: icon over a short label, the count beside the icon, as in the app */
  .md-sub { padding: 0; }
  .md-sub > span, .mtabs > span { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; padding: 9px 0 7px; font-size: 11px; justify-content: center; }
  .md-sub > span { font-size: 12px; }
  .md-sub i, .mtabs i { font-size: 16px; }
  .md-sub em, .mtabs em { position: absolute; top: 4px; left: 50%; margin-left: 8px; font-size: 9px; line-height: 14px; padding: 0 4px; }
  .md-sub > span { position: relative; }
  .mtabs { padding: 0; gap: 0; }
}
/* the toolbar row under each part's title (1.3.3): the colour key, Day / Week / Month, search */
.mtool { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin: -4px 0 12px; }
.klegend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--ash); }
.klegend span { display: inline-flex; align-items: center; gap: 4px; }
.klegend i { width: 8px; height: 8px; border-radius: 2px; background: var(--k-oneoff); }
.klegend i.k-meeting { background: var(--k-meeting); } .klegend i.k-daily { background: var(--k-daily); }
.klegend i.k-weekly { background: var(--k-weekly); } .klegend i.k-monthly { background: var(--k-monthly); }
.mbtn { font-size: 11.5px; padding: 3px 9px; border: 1px solid var(--hairline); border-radius: 7px; background: var(--paper); }
.msearch { flex: 1; font-size: 11.5px; color: var(--ash); padding: 4px 10px; border: 1px solid var(--hairline); border-radius: 7px; background: var(--paper); }
.mcard { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.mhint { display: flex; gap: 14px; padding: 8px 12px; border-bottom: 1px solid var(--hairline); font-size: 11.5px; color: var(--ash); }
.mpane { padding: 10px; }
.mpane .task:last-child { margin-bottom: 0; }
.msub { display: flex; align-items: center; gap: 8px; margin: 14px 2px 8px; font-size: 12.5px; }
.msub b { font-weight: 500; }
.msub em { font-style: normal; font-size: 10.5px; line-height: 16px; padding: 0 6px; border-radius: 999px; background: var(--bone); color: var(--ash); }
.seg { display: inline-flex; border: 1px solid var(--hairline); border-radius: 7px; overflow: hidden; background: var(--paper); }
.seg span { padding: 3px 9px; font-size: 11.5px; color: var(--ash); }
.seg span.on { background: var(--accent-soft); color: var(--accent); }
.ttotal { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 4px 2px 10px; }
.ttotal div { display: grid; }
.ttotal small { font-size: 11px; color: var(--ash); }
.ttotal b { font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ttotal > span { font-size: 11.5px; color: var(--ash); padding-bottom: 3px; }
.bar.wide { display: block; width: 100%; height: 6px; margin: 0 2px; width: calc(100% - 4px); }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.pane-head h4 { font-size: 16px; letter-spacing: -0.01em; }
.pane-head span { color: var(--ash); font-size: 12px; }
.pane-label { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .06em !important; color: var(--ash); margin: 16px 0 8px; }
.pane-label:first-of-type { margin-top: 0; }

.task {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px 10px 14px; margin-bottom: 8px; overflow: hidden;
}
.task::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--k-oneoff); }
.task.k-meeting::before { background: var(--k-meeting); }
.task.k-daily::before { background: var(--k-daily); }
.task.k-weekly::before { background: var(--k-weekly); }
.task.k-monthly::before { background: var(--k-monthly); }
.task-title { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.task-title em { font-style: normal; color: var(--ash); }
.task-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ash); font-size: 12px; }
.task-meta .code { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--bone); color: var(--ink); }
.task-meta .start { color: var(--accent); }
.task-meta .behind { color: var(--p-crit-ink); }
.task.is-done .task-title { color: var(--ash); text-decoration: line-through; text-decoration-color: var(--smoke); }
.bar { height: 4px; border-radius: 2px; background: var(--hairline); overflow: hidden; width: 56px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.bar.is-done i { background: #12b76a; width: 100%; }
.timer { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.timer i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }

.prio { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prio::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.prio.crit { background: var(--p-crit-bg); color: var(--p-crit-ink); }
.prio.high { background: var(--p-high-bg); color: var(--p-high-ink); }
.prio.med { background: var(--p-med-bg); color: var(--p-med-ink); }
.prio.low { background: var(--p-low-bg); color: var(--p-low-ink); }

/* time spent chart */
.tchart { display: grid; gap: 6px; }
.tchart-hours, .tchart-row { display: grid; grid-template-columns: 76px 1fr 40px; gap: 10px; align-items: center; }
.tchart-hours .scale { position: relative; height: 14px; color: var(--ash); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.tchart-hours .scale span { position: absolute; top: 0; transform: translateX(-50%); }
.tchart-row .name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tchart-row .total { font-size: 11.5px; color: var(--ash); text-align: right; font-variant-numeric: tabular-nums; }
.track {
  position: relative; height: 22px; border-radius: 6px; background:
    repeating-linear-gradient(to right, var(--hairline) 0 1px, transparent 1px 10%), var(--paper);
  border: 1px solid var(--hairline);
}
.track b { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--k-oneoff); }
.track b.k-meeting { background: var(--k-meeting); }
.track b.k-daily { background: var(--k-daily); }
.track b.k-weekly { background: var(--k-weekly); }
.track b.k-monthly { background: var(--k-monthly); }
.track b.running { background: repeating-linear-gradient(-45deg, var(--accent) 0 5px, #5b77e3 5px 10px); }
.track .now { position: absolute; top: -4px; bottom: -4px; width: 1.5px; background: var(--p-crit); }
/* chat */
.thread { display: grid; grid-template-columns: 28px 1fr auto; gap: 2px 10px; padding: 10px 2px; border-bottom: 1px solid var(--hairline); align-items: start; }
.thread:last-child { border-bottom: 0; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; background: var(--bone); color: var(--ink); grid-row: span 2; }
.av.a1 { background: #e9e4dc; } .av.a2 { background: #dfe6f6; } .av.a3 { background: #e3eee8; } .av.a4 { background: #f1e3e6; }
.thread .who { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread .when { font-size: 11px; color: var(--ash); }
.thread .what { grid-column: 2 / -1; font-size: 12px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread .sn { color: var(--ash); font-size: 11px; margin-right: 6px; }
.thread .who b.at { margin-right: 5px; }
.thread.unread .who { font-weight: 500; }
.thread.unread .what { color: var(--ink); }
.mention { color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 0 3px; }

/* feature visuals */
.visual { background: var(--bone); border-radius: var(--radius-card); padding: 20px; display: grid; gap: 14px; align-content: center; min-height: 100%; }
@media (min-width: 640px) { .visual { padding: 32px; } }
.section--bone .visual { background: var(--paper); border: 1px solid var(--hairline); }
.vcard { background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; padding: 16px; }
.section--bone .vcard { background: #fcfcfb; }
.vcard-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; margin-bottom: 12px; }
.vcard-title span { color: var(--ash); font-size: 12px; }

.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.formula .term { flex: 1 1 64px; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 10px 8px; display: grid; gap: 2px; }
.formula .term b { font-weight: 400; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.formula .term small { font-size: 11px; color: var(--ash); }
.formula .op { align-self: center; color: var(--ash); font-size: 16px; }
@media (max-width: 479px) {
  .formula { display: grid; grid-template-columns: 1fr 1fr; }
  .formula .op { display: none; }
}
.formula .term.result { background: var(--p-crit-bg); border-color: #fbd3cf; }
.formula .term.result b { color: var(--p-crit-ink); }
.formula .term.result small { color: var(--p-crit-ink); }

.bands-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: -6px; font-size: 11.5px; color: var(--ash); }
.bands-head span:first-child { text-transform: uppercase; letter-spacing: .06em !important; font-size: 10.5px; }
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bands span { font-size: 11.5px; padding: 6px 8px; border-radius: 6px; display: grid; gap: 1px; }
.bands span small { font-size: 10.5px; opacity: .8; font-variant-numeric: tabular-nums; }
.bands .crit { background: var(--p-crit-bg); color: var(--p-crit-ink); }
.bands .high { background: var(--p-high-bg); color: var(--p-high-ink); }
.bands .med { background: var(--p-med-bg); color: var(--p-med-ink); }
.bands .low { background: var(--p-low-bg); color: var(--p-low-ink); }

.matrix { display: grid; grid-template-columns: 22px 1fr 1fr; grid-template-rows: auto auto 22px; gap: 6px; }
.matrix .q { border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; min-height: 64px; display: grid; align-content: space-between; gap: 6px; font-size: 12.5px; }
.matrix .q small { color: var(--ash); font-size: 11px; }
.matrix .q.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.matrix .q.on small { color: var(--accent); }
.matrix .axis-y { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; color: var(--ash); text-align: center; text-transform: uppercase; letter-spacing: .06em !important; }
.matrix .axis-x { font-size: 10.5px; color: var(--ash); text-align: center; text-transform: uppercase; letter-spacing: .06em !important; align-self: center; }

.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 480px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; background: var(--paper); display: grid; gap: 2px; }
.figure b { font-weight: 400; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.figure small { font-size: 11px; color: var(--ash); }
.figure.on { border-color: var(--accent); background: var(--accent-soft); }
.figure.on b, .figure.on small { color: var(--accent); }
.people { display: grid; gap: 10px; }
@media (min-width: 480px) { .people { grid-template-columns: 1fr 1fr; } }
.person-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.person-head .av { grid-row: auto; }
.person-head div { display: grid; line-height: 1.3; }
.person-head small { color: var(--ash); font-size: 11px; }
.donext { font-size: 10px; text-transform: uppercase; letter-spacing: .06em !important; color: var(--accent); }
.capacity { margin-top: 10px; font-size: 11.5px; color: var(--ash); display: grid; gap: 6px; }
.capacity .bar { width: 100%; height: 6px; }

.msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.msg .av { grid-row: auto; }
.msg-body { display: grid; gap: 4px; min-width: 0; }
.msg-meta { font-size: 12px; } .msg-meta span { color: var(--ash); font-size: 11px; margin-left: 6px; }
.bubble { background: var(--bone); border-radius: 4px 12px 12px 12px; padding: 9px 12px; font-size: 13px; justify-self: start; max-width: 100%; }
.msg.me .bubble { background: var(--accent-soft); }
.msg.mentioned .bubble { box-shadow: inset 0 0 0 1px var(--accent); background: var(--paper); }
.attach { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hairline); border-radius: 10px; padding: 8px 12px; font-size: 12px; background: var(--paper); justify-self: start; max-width: 100%; }
.attach i { width: 28px; height: 32px; border-radius: 4px; background: var(--bone); display: grid; place-items: center; font-style: normal; font-size: 9px; color: var(--ash); flex: none; }
.attach span { color: var(--ash); }
.bubble strong { font-weight: 600; }
.blist { margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.reacts { display: flex; gap: 4px; }
.rchip { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--paper); font-size: 12px; }
.rchip b { font-size: 10.5px; font-weight: 500; }
.rchip.mine { border-color: var(--accent); background: var(--accent-soft); }
.composer-box { border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper); overflow: hidden; }
.composer-box .composer { border: 0; border-radius: 0; }
.fmtbar { display: flex; align-items: center; gap: 2px; padding: 4px 6px; border-bottom: 1px solid var(--hairline); color: var(--ash); font-size: 13px; }
.fmtbar > * { min-width: 26px; height: 24px; display: grid; place-items: center; border-radius: 5px; font-style: normal; }
.fmtbar b { font-weight: 700; } .fmtbar i { font-style: italic; }
.fmtbar .sep { min-width: 1px; width: 1px; height: 16px; background: var(--hairline); margin: 0 4px; }
.composer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--hairline); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: var(--ash); background: var(--paper); }
.composer b { font-weight: 400; color: var(--accent); }
.mention-pop { border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper); padding: 4px; font-size: 12.5px; width: min(220px, 100%); }
.mention-pop div { padding: 6px 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.mention-pop div.on { background: var(--accent-soft); color: var(--accent); }
.mention-pop .av { width: 20px; height: 20px; font-size: 9px; grid-row: auto; }

.plan-list { display: grid; gap: 2px; }
.plan-list li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.plan-list li:last-child { border-bottom: 0; }
.plan-list .t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-list li.is-in .t { color: var(--ash); }
.box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--smoke); background: var(--paper); }
.box.on { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2 2 5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.is-in .box.on { background-color: var(--smoke); border-color: var(--smoke); }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 5px; background: var(--bone); color: var(--ash); white-space: nowrap; }
.tag.must { background: var(--accent-soft); color: var(--accent); }
.plan-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--ash); }
.fake-btn { background: var(--accent); color: #fff; border-radius: 6px; padding: 7px 12px; font-size: 12.5px; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; height: 150px; align-items: end; }
.week .day { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.week .day i { flex: none; width: 100%; max-width: 44px; border-radius: 6px 6px 3px 3px; background: var(--accent); opacity: .9; }
.week .day:nth-child(2) i { opacity: 1; }
.week .day span { font-size: 11.5px; color: var(--ash); }
.week .day small { font-size: 11px; color: var(--ash); font-variant-numeric: tabular-nums; }

/* Plan → Board: columns of cards; on a phone one column at a time, picked from the bar above (as in the app) */
.kvisual { gap: 12px; }
.kpick { display: flex; gap: 2px; border-bottom: 1px solid var(--hairline); }
.kpick span { flex: 1 1 0; min-width: 0; text-align: center; padding: 8px 2px 7px; font-size: 12px; color: var(--ash); border-bottom: 2px solid transparent; white-space: nowrap; }
.kpick span.on { color: var(--ink); border-bottom-color: var(--accent); }
.kpick b { font-weight: 500; font-size: 10.5px; padding: 0 5px; border-radius: 999px; background: var(--paper); }
.kboard { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.kcol:not(.kon) { display: none; }
@media (min-width: 720px) {
  .kpick { display: none; }
  .kboard { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kcol:not(.kon) { display: grid; }
}
.kcol { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .55); border: 1px solid var(--hairline); }
.kcol.kover { border: 1.5px dashed var(--accent); background: var(--accent-soft); }
.kcol header { display: flex; align-items: center; gap: 8px; padding: 2px 2px 4px; font-size: 13px; }
.kcol header b { font-weight: 500; }
.kcol header small { margin-left: auto; font-size: 11px; color: var(--ash); }
.kn { font-size: 10.5px; line-height: 16px; padding: 0 6px; border-radius: 999px; background: var(--bone); color: var(--ash); }
.kcard { position: relative; display: grid; gap: 6px; padding: 10px 10px 9px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; }
.kcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--k-oneoff); }
.kcard.k-meeting::before { background: var(--k-meeting); } .kcard.k-daily::before { background: var(--k-daily); }
.kcard.k-weekly::before { background: var(--k-weekly); } .kcard.k-monthly::before { background: var(--k-monthly); }
.kcard.done { opacity: .62; }
.kcard.done .ktitle { text-decoration: line-through; text-decoration-color: var(--smoke); }
.krow { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; color: var(--ash); }
.krow .spacer { flex: 1; }
.krow .sn { font-size: 10.5px; }
.krow .prio { font-size: 10.5px; padding: 1px 6px; }
.prio.na { background: #e7f6ee; color: #067647; }
.prio.na::before { display: none; }
.kkind { font-size: 10.5px; }
.krow .av { width: 20px; height: 20px; font-size: 8.5px; }
.ktitle { font-weight: 500; font-size: 13px; line-height: 1.35; }
.kmeta { flex-wrap: wrap; }
.kmeta .code { font-size: 10.5px; padding: 1px 5px; border-radius: 4px; background: var(--bone); color: var(--ink); }
.kmeta .late { color: var(--p-crit-ink); } .kmeta .soon { color: var(--p-high-ink); } .kmeta .start { color: var(--accent); }
.kmove { font-size: 12px; color: var(--ash); border: 1px solid var(--hairline); border-radius: 5px; padding: 0 5px; }
.kdrop { border-radius: 10px; padding: 14px 8px; text-align: center; font-size: 11.5px; color: var(--accent); }

/* AML file */
.vcard.aml { display: grid; gap: 12px; }
.vcard.aml .vcard-title { margin: 0; align-items: center; }
.risk { font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.risk.med { background: var(--p-med-bg); color: var(--p-med-ink); }
.atabs { padding: 0; margin: 0 -16px; padding: 0 10px; flex-wrap: nowrap; overflow: hidden; }
.atabs > span { font-size: 11.5px; padding: 8px 6px 7px; }
.due { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: #fcfcfb; border: 1px solid var(--hairline); font-size: 12px; }
.due b { font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em !important; color: var(--ash); }
.due span { display: flex; align-items: center; gap: 8px; }
.due span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.due .d-amber::before { background: var(--p-med); } .due .d-red::before { background: var(--p-crit); }
.ubo { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; }
.ubo .av { grid-row: auto; }
.ubo b { font-weight: 500; display: block; } .ubo small { color: var(--ash); font-size: 11px; }
.ubo .pct { font-variant-numeric: tabular-nums; }
.aml-raise { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--hairline); font-size: 12.5px; color: var(--ash); }
.section--bone .aml-raise { background: #fcfcfb; }
.aml-note { margin-top: 40px; max-width: 60em; }
.feature.aml-row { align-items: start; }
.aml-row .visual { min-height: 0; }
.aml-row .trust-list li { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 479px) { .ubo { grid-template-columns: 28px 1fr auto; } .ubo .tag { grid-column: 2 / -1; justify-self: start; } }

/* ---------- Feature rows ---------- */
.feature-list { display: grid; gap: var(--section); }
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .feature { grid-template-columns: 5fr 6fr; gap: 80px; }
  .feature--flip { grid-template-columns: 6fr 5fr; }
  /* a row wide enough for a whole board: the words above (heading left, points right), the picture below */
  .feature--wide { grid-template-columns: 1fr; gap: 48px; }
  .feature--wide .feature-copy { max-width: none; grid-template-columns: 6fr 5fr; gap: 80px; align-items: end; }
  .feature--flip .feature-copy { order: 2; }
}
.feature-copy { display: grid; gap: 20px; align-content: start; max-width: 520px; }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.checks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233657d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ---------- Grids ---------- */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pillar { display: grid; gap: 14px; align-content: start; padding: 28px; }
.pillar .num { font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; }
.pillar p { color: var(--ash); }
.mini { display: grid; gap: 14px; align-content: start; }
.mini p { color: var(--ash); font-size: 15px; }

/* ---------- Dark band ---------- */
.band-dark { background: var(--obsidian); color: var(--paper); }
.band-dark .eyebrow, .band-dark .muted { color: #a3a2a0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #343332; margin-top: 48px; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 16px 0 0; display: grid; gap: 8px; align-content: start; }
@media (min-width: 960px) { .stat { padding-right: 32px; } .stat + .stat { border-left: 1px solid #343332; padding-left: 32px; } }
@media (max-width: 959px) { .stat:nth-child(n+3) { margin-top: 24px; } }
.stat b { font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: #a3a2a0; }
.stat span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #a3a2a0; }
.stat p { font-size: 15px; color: #cfcecc; max-width: 22em; }

/* ---------- Roles ---------- */
.role { display: grid; gap: 18px; align-content: start; padding: 28px; }
.role-head { display: flex; align-items: center; justify-content: space-between; }
.role ul { display: grid; gap: 10px; border-top: 1px solid var(--hairline); padding-top: 18px; }
.role li { font-size: 15px; color: var(--ash); padding-left: 18px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }

/* ---------- Trust ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .split .sticky { position: sticky; top: 120px; } }
.trust-list { display: grid; border-top: 1px solid var(--hairline); }
.trust-list li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .trust-list li { grid-template-columns: 220px 1fr; gap: 24px; } }
.trust-list h3 { font-size: 18px; letter-spacing: -0.01em; }
.trust-list p { color: var(--ash); }

.plans-note { margin-top: 28px; }
.plans-note a { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { background: var(--bone); border-radius: var(--radius-card); padding: 48px 24px; display: grid; gap: 24px; }
@media (min-width: 640px) { .cta { padding: 72px 56px; } }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding: 88px 72px; } }
.cta .h2 { max-width: 14em; }

/* ---------- About ---------- */
.page-hero { padding: 56px 0 var(--section); }
@media (min-width: 960px) { .page-hero { padding-top: 96px; } }
.page-hero .hero-copy { max-width: 920px; }

.t3 { display: grid; border-top: 1px solid #343332; margin-top: 56px; }
@media (min-width: 960px) { .t3 { grid-template-columns: repeat(3, 1fr); } }
.t3-item { display: grid; gap: 14px; align-content: start; padding: 32px 0; border-bottom: 1px solid #343332; }
@media (min-width: 960px) {
  .t3-item { border-bottom: 0; padding: 40px 40px 0 0; }
  .t3-item + .t3-item { border-left: 1px solid #343332; padding-left: 40px; }
}
.t3-item .word { font-size: clamp(48px, 7vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.t3-item .word i { font-style: normal; color: #8ea2ef; }
.t3-item p { color: #cfcecc; max-width: 26em; }

.timeline { display: grid; border-top: 1px solid var(--hairline); }
.timeline li { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .timeline li { grid-template-columns: 64px 1fr; gap: 24px; } }
.timeline .step { font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; padding-top: 4px; }
.timeline h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 6px; }
.timeline p { color: var(--ash); }
.timeline li.now .step { color: var(--accent); }
.timeline li.now h3::after { content: "Today"; margin-left: 10px; vertical-align: 3px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--radius-btn); background: var(--accent-soft); color: var(--accent); }

.principles { display: grid; gap: 16px; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.principle { display: grid; gap: 12px; align-content: start; padding: 32px 28px; }
.principle .num { font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.principle p { color: var(--ash); }

.facts { display: grid; border-top: 1px solid var(--hairline); }
.facts div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .facts div { grid-template-columns: 180px 1fr; gap: 24px; } }
.facts dt { color: var(--ash); font-size: 15px; }
.facts dd { margin: 0; font-size: 16px; }
.facts a { color: var(--accent); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* ---------- Sign-up ---------- */
.signup { padding: 48px 0 0; }
@media (min-width: 960px) { .signup { padding-top: 88px; } }
.signup-grid { display: grid; gap: 40px; grid-template-areas: "intro" "form" "steps"; }
@media (min-width: 960px) {
  .signup-grid { grid-template-columns: 6fr 5fr; grid-template-areas: "intro form" "steps form"; column-gap: 80px; row-gap: 56px; align-items: start; }
  .signup-form { position: sticky; top: 100px; }
}
.signup-intro { grid-area: intro; display: grid; gap: 20px; }
.signup-intro .display { font-size: clamp(40px, 6vw, 60px); }
.signup-form { grid-area: form; }
.signup-steps { grid-area: steps; display: grid; gap: 40px; }

.form-card { display: grid; gap: 22px; padding: 28px 20px; }
@media (min-width: 480px) { .form-card { padding: 36px 32px; } }
.form-card .field > span:first-child, .form-card .field > label { font-size: 15px; }
.field-hint { font-size: 13px; color: var(--ash); line-height: 1.45; }
.field-status { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; min-height: 19px; color: var(--ash); }
.field-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.field-status.is-ok { color: #067647; }
.field-status.is-ok::before { background: #12b76a; }
.field-status.is-bad { color: var(--danger); }
.field-status.is-bad::before { background: var(--p-crit); }
.field-status.is-checking::before { background: var(--smoke); }
.field-status:empty { display: none; }
.field-error { font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.input[aria-invalid="true"], .addr.is-invalid { border-color: var(--danger); }
.input[aria-invalid="true"]:focus, .addr.is-invalid:focus-within { box-shadow: 0 0 0 3px #fde4e1; }
.input--code { text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.input--code::placeholder { letter-spacing: .06em; }
.form-card .btn[type="submit"] { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ash); }
.form-foot a { color: var(--ink); }
.form-alert { border-radius: var(--radius-input); background: #fef3f2; color: var(--danger); font-size: 14px; padding: 12px 14px; }
.form-alert:empty { display: none; }

.steps-list { display: grid; border-top: 1px solid var(--hairline); counter-reset: step; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.steps-list li::before {
  counter-increment: step; content: counter(step);
  width: 32px; height: 32px; border-radius: var(--radius-btn); background: var(--bone); display: grid; place-items: center; font-size: 14px; font-variant-numeric: tabular-nums;
}
.steps-list h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps-list p { color: var(--ash); font-size: 15px; }
.steps-list code { font-family: inherit; color: var(--ink); background: var(--bone); padding: 1px 6px; border-radius: 4px; }
.perks { display: grid; gap: 12px; }
.perks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; color: var(--ash); }
.perks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233657d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.perks strong { font-weight: 400; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; margin-top: var(--section); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid p { color: var(--ash); font-size: 15px; max-width: 26em; margin-top: 14px; }
.footer-col h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ash); }

/* ---------- Sign-in dialog ---------- */
.dialog {
  width: min(440px, calc(100vw - 32px)); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  padding: 0; color: var(--ink); background: var(--paper);
}
.dialog::backdrop { background: rgba(12, 10, 8, .32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog form { display: grid; gap: 16px; padding: 28px 24px 24px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.dialog-close { width: 40px; height: 40px; margin: -8px -8px 0 0; border: 0; border-radius: var(--radius-btn); background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; }
.dialog-close:hover { background: var(--bone); }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; }
.input, .addr { min-height: 48px; border: 1px solid var(--smoke); border-radius: var(--radius-input); background: var(--paper); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.input { width: 100%; padding: 0 14px; font-size: 16px; }
.addr { display: flex; align-items: center; overflow: hidden; }
.addr span { padding-left: 14px; color: var(--ink); white-space: nowrap; font-size: 16px; } /* (the fixed part dark, so it doesn't read as the placeholder) */
.addr input::placeholder { color: #a3a2a1; }
.addr input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px 0 1px; font-size: 16px; height: 46px; }
.input:focus, .addr:focus-within { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-error { color: var(--danger); font-size: 14px; min-height: 1.4em; }

/* ---------- Reveal on scroll (only once JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* the "Go to your company" dialog: companies signed in to on this computer */
.mycos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.mycos p { width: 100%; margin: 0; }

/* sign-up: no code needed (group spaces); the request for a code (companies) */
.field[hidden], .dialog form[hidden] { display: none; }
.no-code { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #067647; background: #ecfdf3; border-radius: var(--radius-input); padding: 12px 14px; }
.no-code[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#request { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; }
#request textarea.input { padding: 12px 14px; min-height: 84px; resize: vertical; font: inherit; font-size: 16px; }
#request select.input { padding: 0 10px; font: inherit; font-size: 16px; }
.req-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; }
.req-done { display: grid; gap: 14px; padding: 28px 24px 24px; }
.req-done[hidden] { display: none; }

/* sign-up: what the space is for */
.kinds { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.kinds legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.kind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kind { display: block; cursor: pointer; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind span { display: grid; gap: 2px; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; background: var(--paper); transition: border-color .15s, background .15s; height: 100%; }
.kind b { font-weight: 500; font-size: 14px; }
.kind small { color: var(--ash); font-size: 12.5px; line-height: 1.35; }
.kind input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.kind input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 420px) { .kind-grid { grid-template-columns: 1fr; } }
/* home: beyond work */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.group-card { display: grid; gap: 10px; align-content: start; }
.group-card .gi { font-size: 26px; line-height: 1; }
.group-card ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: var(--ash); font-size: 14.5px; }
.group-card .btn { justify-self: start; margin-top: 4px; }

/* ---------- Legal pages (privacy, terms, data agreement) ---------- */
.legal-hero { padding-bottom: 40px; }
.legal-ver { font-size: 14px; color: var(--ash); }
.legal-grid { display: grid; gap: 40px; padding-bottom: 24px; }
@media (min-width: 960px) { .legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; } .legal-toc { position: sticky; top: 100px; } }
.legal-toc ol { display: grid; gap: 2px; list-style: none; padding: 0; margin: 12px 0 0; }
.legal-toc a { display: block; padding: 5px 0; font-size: 14px; color: var(--ash); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.legal { max-width: 760px; display: grid; gap: 44px; }
.legal section { display: grid; gap: 14px; scroll-margin-top: 96px; }
.legal h2 { font-size: 24px; letter-spacing: -0.015em; font-weight: 500; }
.legal h3 { font-size: 17px; font-weight: 500; margin-top: 8px; }
.legal p, .legal li, .legal td, .legal th { font-size: 16px; line-height: 1.65; color: #3d3b38; }
.legal b { color: var(--ink); font-weight: 500; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal a { color: var(--accent); }
.legal code { font-size: 14px; background: var(--bone); padding: 1px 6px; border-radius: 4px; }
.legal table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.legal th { text-align: left; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ash); font-weight: 500; }
.legal th, .legal td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ash); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.agree a { color: var(--ink); }
.agree.is-invalid { color: var(--danger); }

/* ---------- 1.23: the site for everyone (docs/superpowers/specs/2026-11-10-website-design.md) ---------- */
/* The home page sits on a warm off-white; goals' progress is a ring and a thick bar, green when done. */
:root { --warm: #fbfaf8; --warm-line: #ebe8e2; --done: #2f9e6a; --done-soft: #e5f4ec; --amber: #b25e09; }
.page-warm, .page-warm .site-header { background: var(--warm); }
.section--warm { background: var(--warm); }
.section--white { background: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--ink); }

/* hero: the words, and a phone with a real day */
.home-hero { padding: 40px 0 72px; }
.home-hero .container { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .home-hero { padding: 64px 0 96px; } .home-hero .container { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.home-hero .display { font-weight: 500; }
.home-hero .lead { margin: 22px 0 30px; max-width: 30em; }
.home-hero .hero-note { margin-top: 18px; }
.phone-day { justify-self: center; width: min(340px, 100%); border-radius: 34px; background: var(--paper); border: 1px solid #e5e2dc;
  box-shadow: 0 30px 60px rgba(40, 30, 10, .12); padding: 24px 20px 18px; }
.phone-day .pd-date { font-size: 13px; color: var(--ash); }
.phone-day .pd-hi { font-size: 22px; letter-spacing: -.02em; margin: 2px 0 16px; font-weight: 500; }
.pd-goal { border-radius: 16px; background: var(--accent-soft); padding: 14px; display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.pd-goal b { display: block; font-size: 14px; font-weight: 600; } .pd-goal small { color: #55534f; font-size: 12px; }
.pd-goal .pd-bar { height: 6px; border-radius: 99px; background: #d5dcf6; margin-top: 8px; overflow: hidden; } .pd-goal .pd-bar i { display: block; height: 100%; background: var(--done); border-radius: 99px; }
.pd-step { display: flex; gap: 10px; align-items: center; padding: 11px 2px; border-top: 1px solid #f0eee9; font-size: 14px; }
.pd-step:first-of-type { border-top: 0; }
.pd-step i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c9c6bf; flex: none; display: grid; place-items: center; }
.pd-step.d i { background: var(--done); border-color: var(--done); }
.pd-step.d i::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.pd-step.d span { color: #9a9893; text-decoration: line-through; }
.pd-step em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ash); white-space: nowrap; }
.pd-step .run { color: var(--done); font-weight: 600; }
.pd-plus { color: var(--done); font-weight: 700; font-size: 12px; margin-left: 6px; }

/* the ring: conic progress with the number inside */
.ring { --p: 30; --sz: 58px; --c: var(--accent); --hole: var(--accent-soft); width: var(--sz); height: var(--sz); border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #d5dcf6 0); }
.ring::after { content: attr(data-v); width: calc(var(--sz) - 14px); height: calc(var(--sz) - 14px); border-radius: 50%; background: var(--hole); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.ring--white { --hole: var(--paper); }
.ring--done { --c: var(--done); }
.ring--lg { --sz: 96px; } .ring--lg::after { width: 74px; height: 74px; font-size: 20px; }

/* progress cards (B's): who, the goal, a thick bar, counts and days left, today's step */
.wins { display: grid; gap: 18px; }
@media (min-width: 720px) { .wins { grid-template-columns: repeat(3, 1fr); } }
.win { background: var(--paper); border-radius: 22px; padding: 22px; border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); display: grid; gap: 10px; align-content: start; }
.win .who { font-size: 13px; font-weight: 600; color: var(--accent); }
.win h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; font-weight: 600; }
.win .tbar { height: 14px; border-radius: 99px; background: #f1ede6; border: 1.5px solid var(--ink); overflow: hidden; }
.win .tbar i { display: block; height: 100%; background: var(--done); }
.win .counts { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ash); }
.win .today { margin-top: 4px; padding-top: 12px; border-top: 1.5px dashed #e3d9cb; font-size: 14px; display: flex; gap: 8px; justify-content: space-between; }
.win .today b { color: var(--done); white-space: nowrap; }

/* how it works: three numbered steps */
.how { display: grid; gap: 18px; counter-reset: how; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.how li { background: var(--paper); border: 1px solid var(--warm-line); border-radius: var(--radius-card); padding: 26px; display: grid; gap: 12px; align-content: start; }
.how li::before { counter-increment: how; content: counter(how); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; }
.how h3 { font-size: 20px; letter-spacing: -.01em; font-weight: 600; }
.how p { color: var(--ash); }
.how .eg { margin-top: 4px; border-top: 1px solid var(--warm-line); padding-top: 14px; font-size: 14px; display: grid; gap: 8px; }

/* small wins: what a tick feels like */
.smallwins { display: grid; gap: 16px; }
@media (min-width: 900px) { .smallwins { grid-template-columns: repeat(3, 1fr); } }
.sw { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 22px; display: grid; gap: 14px; align-content: start; }
.sw .toastish { display: flex; gap: 12px; align-items: center; border: 1px solid var(--hairline); border-radius: 14px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); font-size: 14px; }
.sw .toastish b { display: block; } .sw .toastish small { color: var(--ash); }
.sw .big { font-size: 26px; line-height: 1; }
.sw h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; } .sw p { color: var(--ash); font-size: 15px; }
.shelf { display: flex; flex-wrap: wrap; gap: 8px; }
.shelf span { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px 12px; font-size: 13px; background: var(--paper); }
.amber { color: var(--amber); }

/* who it's for: four doors */
.doors { display: grid; gap: 16px; }
@media (min-width: 720px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .doors { grid-template-columns: repeat(4, 1fr); } }
.door { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.door:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.door .k { font-size: 28px; line-height: 1; } .door h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; } .door p { color: var(--ash); font-size: 15px; }
.door .mini-goal { margin-top: auto; border: 1px solid var(--warm-line); background: var(--warm); border-radius: 12px; padding: 12px; font-size: 13px; display: grid; gap: 6px; }
.door .mini-goal .tbar { height: 6px; border-radius: 99px; background: #ecebe7; overflow: hidden; } .door .mini-goal .tbar i { display: block; height: 100%; background: var(--done); }
.door .mini-goal small { color: var(--ash); }
.door .price { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.price .free { color: var(--done); } .price .paid { color: var(--accent); }
.door .go { color: var(--accent); }

/* your data */
.datafacts { display: grid; gap: 16px; }
@media (min-width: 720px) { .datafacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .datafacts { grid-template-columns: repeat(4, 1fr); } }
.datafacts li { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.datafacts h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; } .datafacts p { color: var(--ash); font-size: 15px; }
.datafacts a { color: var(--accent); }

/* a page's opening (families, companies, pricing) */
.page-top { padding: 56px 0 40px; }
.page-top .container { display: grid; gap: 20px; } .page-top .display { max-width: 13em; }
@media (min-width: 960px) { .page-top { padding: 88px 0 56px; } }

/* Just me on the families page: words and a goal card side by side */
.justme { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .justme { grid-template-columns: 1fr 1fr; gap: 72px; } }
.goal-card { background: var(--paper); border: 1px solid var(--warm-line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgba(40, 30, 10, .08); }
.goal-card .gc-head { display: flex; gap: 16px; align-items: center; }
.goal-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; } .goal-card .gc-head small { color: var(--ash); font-size: 13px; }
.goal-card .gc-plan { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.goal-card .gc-plan div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.goal-card .days { display: inline-flex; gap: 3px; } .goal-card .days i { font-style: normal; width: 18px; height: 18px; border-radius: 5px; font-size: 10px; display: grid; place-items: center; background: #f1f0ec; color: var(--ash); }
.goal-card .days i.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.chip-ok { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--done-soft); color: var(--done); }

/* pricing */
.prices { display: grid; gap: 20px; }
@media (min-width: 960px) { .prices { grid-template-columns: 1fr 1fr; gap: 24px; } }
.price-card { border: 1px solid var(--hairline); border-radius: 22px; padding: 32px; display: grid; gap: 18px; align-content: start; background: var(--paper); }
.price-card.free-card { border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.price-card .amount { font-size: clamp(40px, 6vw, 56px); letter-spacing: -.035em; line-height: 1; font-weight: 500; }
.price-card .amount small { font-size: 16px; color: var(--ash); letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.price-card ul { display: grid; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; color: var(--ash); }
.price-card li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--done-soft); }
.price-card li::after { content: ""; position: absolute; left: 5px; top: .6em; width: 6px; height: 3px; border: solid var(--done); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price-card .btn { justify-self: start; }
.plans3 { display: grid; gap: 12px; }
@media (min-width: 640px) { .plans3 { grid-template-columns: repeat(3, 1fr); } }
.plans3 div { border: 1px solid var(--hairline); border-radius: 14px; padding: 16px; display: grid; gap: 6px; align-content: start; font-size: 14px; color: var(--ash); }
.plans3 b { color: var(--ink); font-size: 16px; }
.faq { display: grid; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ash); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ash); margin-top: 12px; max-width: 44em; }
.faq a { color: var(--accent); }
.signin-hint { margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-wash); background: var(--accent-soft); font-size: 16px; max-width: 38em; }
.signin-hint a, .hero-note a, .form-foot a, .signup-form .muted a { color: var(--accent); font-weight: 600; }
