@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

/*
 * synq.co: SYNQ's interim website. Built from the SYNQ design tokens (packages/tokens, dark theme)
 * and the Slice 1 access layout: a brand panel on the left with the coherence glows, content on the
 * right. Inter until the Satoshi licence is settled.
 */

:root {
  color-scheme: dark;
  --canvas: #171819;
  --sidebar: #111212;
  --card: #1d1e20;
  --well: #141516;
  --raised: #1e1f20;
  --interactive: #282a2b;
  --hover: #323436;
  --edge: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.1);
  --border: #24272b;
  --text-primary: #d2d2d2;
  --text-strong: #ececea;
  --text-secondary: #b5b5b5;
  --text-muted: #949491;
  --text-tertiary: #82827e;
  --accent: #d0e3a3;
  --accent-light: #e2eec4;
  --accent-subtle: rgba(208, 227, 163, 0.1);
  --accent-on: #171819;
  --positive: #8ed081;
  --positive-subtle: rgba(142, 208, 129, 0.1);
  --caution: #f5c96b;
  --caution-subtle: rgba(245, 201, 107, 0.1);
  --focus: 0 0 0 3px rgba(208, 227, 163, 0.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --panel-width: minmax(400px, 560px);
  --gutter: 72px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img, svg { display: block; }

::selection { background: rgba(208, 227, 163, 0.25); color: var(--text-strong); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 8px;
  background: var(--accent); color: var(--accent-on); text-decoration: none; font-size: 14px;
}
.skip:focus { top: 16px; outline: none; box-shadow: var(--focus); }

/* ---------- layout: brand panel + content ---------- */

.site {
  display: grid;
  grid-template-columns: var(--panel-width) 1fr;
  min-height: 100dvh;
}

.panel {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px var(--gutter) 56px;
  background: var(--sidebar);
  border-right: 1px solid var(--edge);
}

.panel > :not(.atmosphere):not(.panel-photo):not(.field):not(.grain) { position: relative; z-index: 1; }

.logo { display: inline-flex; border-radius: 6px; text-decoration: none; }
.logo:focus-visible { outline: none; box-shadow: var(--focus); }
.logo svg { height: 30px; width: auto; }
.logo .mark { fill: var(--accent); }
.logo .word { fill: #ffffff; }

.panel-message { display: flex; flex-direction: column; gap: 18px; max-width: 460px; }
.panel-message p { margin: 0; }

.panel-eyebrow {
  color: var(--accent);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}

.panel-headline {
  color: var(--text-strong);
  font-size: 26px; line-height: 1.3; letter-spacing: -0.4px; font-weight: 400; white-space: nowrap;
}

.panel-sub { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

.panel-foot { margin: 0; color: var(--text-tertiary); font-size: 11px; line-height: 1.5; white-space: nowrap; }
@media (max-width: 1180px) { .panel-foot { white-space: normal; } }

/* Coherence glows (Design Foundations §11f): two lime glows that breathe and drift. */
.atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(208, 227, 163, 0.15) 0%,
    rgba(208, 227, 163, 0.053) 55%,
    transparent 100%);
  filter: blur(30px);
  scale: 0.88;
  opacity: 0.7;
}
.glow.large { width: 448px; height: 448px; top: 4%; left: 30%; animation: breath 10s ease-in-out infinite, drift-a 20s ease-in-out infinite; }
.glow.small { width: 296px; height: 296px; bottom: 16%; left: -12%; animation: breath 10s ease-in-out infinite, drift-b 20s ease-in-out infinite; }

@keyframes breath {
  0%, 100% { scale: 0.88; opacity: 0.7; }
  50% { scale: 1.12; opacity: 1; }
}
@keyframes drift-a {
  0%, 100% { translate: 0 0; }
  33% { translate: -12% 8%; }
  66% { translate: 6% 14%; }
}
@keyframes drift-b {
  0%, 100% { translate: 0 0; }
  40% { translate: 14% -10%; }
  70% { translate: 6% 6%; }
}

/* ---------- content column ---------- */

.content { min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  background: rgba(23, 24, 25, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--edge); }

.topbar .logo { display: none; }

.nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px; line-height: 18px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--text-strong); background: var(--interactive); }
.nav a[aria-current="page"] { color: var(--text-strong); }
.nav a:focus-visible { outline: none; box-shadow: var(--focus); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px;
  border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-light); }
.btn-quiet { background: var(--interactive); color: var(--text-strong); border-color: var(--hairline); }
.btn-quiet:hover { background: var(--hover); }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn svg { width: 14px; height: 14px; }

main { flex: 1; padding: 40px var(--gutter) 96px; }

.wrap { max-width: 760px; }

/* ---------- home ---------- */

.hero { padding: 56px 0 8px; }

.overline {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.overline::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(32px, 3.6vw, 44px); line-height: 1.14; letter-spacing: -1px; font-weight: 400;
  max-width: 680px;
}
.hero .lede {
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 17px; line-height: 1.65;
  max-width: 600px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Product preview: the coach's Today, drawn from the kit. */
.preview {
  margin: 64px 0 0;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.preview-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--edge);
}
.preview-title { margin: 0; color: var(--text-strong); font-size: 15px; font-weight: 500; }
.preview-date { margin: 2px 0 0; color: var(--text-tertiary); font-size: 12px; }
.preview-tag {
  padding: 4px 10px; border-radius: 999px;
  background: var(--interactive); color: var(--text-muted);
  font-size: 11px; letter-spacing: 0.02em; white-space: nowrap;
}
.rows { margin: 0; padding: 6px 12px 12px; list-style: none; }
.row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  align-items: center; gap: 16px;
  padding: 12px;
  border-radius: 12px;
}
.row + .row { border-top: 1px solid var(--edge); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--interactive); color: var(--text-secondary);
  font-size: 12px; font-weight: 500;
}
.who { min-width: 0; }
.who b { display: block; color: var(--text-strong); font-weight: 500; font-size: 14px; }
.who span { display: block; color: var(--text-tertiary); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.time { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.state {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 118px; justify-content: flex-start;
  padding: 5px 10px; border-radius: 8px;
  font-size: 12px; white-space: nowrap;
  background: var(--interactive); color: var(--text-muted);
}
.state b { font-weight: 600; font-variant-numeric: tabular-nums; }
.state.ready { background: var(--positive-subtle); color: var(--positive); }
.state.amber { background: var(--caution-subtle); color: var(--caution); }
.state .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.preview-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px; border-top: 1px solid var(--edge);
  background: var(--raised);
  color: var(--text-tertiary); font-size: 12px;
}

.section { padding-top: 104px; }
.section-head { max-width: 600px; }
.section-head h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 28px; line-height: 1.25; letter-spacing: -0.5px; font-weight: 400;
}
.section-head p { margin: 14px 0 0; color: var(--text-secondary); font-size: 16px; }

.features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-top: 40px;
}
.feature {
  padding: 28px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
}
.feature .icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-subtle); color: var(--accent);
  margin-bottom: 20px;
}
.feature .icon svg { width: 18px; height: 18px; }
.feature h3 { margin: 0; color: var(--text-strong); font-size: 16px; font-weight: 500; letter-spacing: -0.1px; }
.feature p { margin: 8px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.consent {
  margin-top: 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px;
}
.consent .well {
  padding: 28px;
  border-radius: 18px;
  background: var(--well);
  border: 1px solid var(--edge);
}
.consent h3 { margin: 0 0 16px; color: var(--text-strong); font-size: 14px; font-weight: 500; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.checks svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li {
  padding: 7px 12px; border-radius: 999px;
  background: var(--interactive); border: 1px solid var(--hairline);
  color: var(--text-secondary); font-size: 13px;
}
.pill-note { margin: 18px 0 0; color: var(--text-tertiary); font-size: 12px; line-height: 1.6; }

.audience {
  margin-top: 104px;
  padding: 40px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.audience::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 227, 163, 0.12), rgba(208, 227, 163, 0.04) 55%, transparent);
  filter: blur(30px); pointer-events: none;
}
.audience > * { position: relative; z-index: 1; }
.audience h2 { margin: 0; color: var(--text-strong); font-size: 24px; line-height: 1.3; letter-spacing: -0.3px; font-weight: 400; max-width: 460px; }
.audience p { margin: 10px 0 0; color: var(--text-muted); font-size: 14px; max-width: 460px; }

/* ---------- legal pages ---------- */

.doc-head { padding: 56px 0 8px; }
.doc-head h1 {
  margin: 0; color: var(--text-strong);
  font-size: clamp(32px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.8px; font-weight: 400;
}
.doc-meta { margin: 14px 0 0; color: var(--text-tertiary); font-size: 13px; }
.doc-intro { margin: 24px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.7; max-width: 640px; }

.toc {
  margin: 40px 0 0; padding: 24px 28px;
  border-radius: 16px; background: var(--well); border: 1px solid var(--edge);
}
.toc p { margin: 0 0 12px; color: var(--text-tertiary); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; counter-reset: toc; }
.toc li { counter-increment: toc; break-inside: avoid; padding: 3px 0; }
.toc a { display: inline-flex; gap: 10px; color: var(--text-secondary); font-size: 14px; text-decoration: none; border-radius: 4px; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--text-strong); }
.toc a:focus-visible { outline: none; box-shadow: var(--focus); }

.doc { counter-reset: sec; }
.doc section { padding-top: 48px; scroll-margin-top: 88px; }
.doc section + section { border-top: 1px solid var(--edge); margin-top: 48px; }
.doc h2 {
  counter-increment: sec;
  margin: 0 0 16px;
  display: flex; gap: 14px; align-items: baseline;
  color: var(--text-strong);
  font-size: 20px; line-height: 1.35; letter-spacing: -0.2px; font-weight: 400;
}
.doc h2::before { content: counter(sec, decimal-leading-zero); color: var(--accent); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.doc h3 { margin: 28px 0 10px; color: var(--text-strong); font-size: 15px; font-weight: 500; }
.doc p, .doc li { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin: 4px 0; padding-left: 4px; }
.doc li::marker { color: var(--text-tertiary); }
.doc strong { color: var(--text-primary); font-weight: 500; }
.doc a, .inline-link { color: var(--accent); text-decoration: none; border-radius: 3px; }
.doc a:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc a:focus-visible, .inline-link:focus-visible { outline: none; box-shadow: var(--focus); }

.callout {
  margin: 18px 0 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--accent-subtle);
  border: 1px solid rgba(208, 227, 163, 0.18);
}
.callout p { margin: 0; color: var(--text-primary); }

.table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 8px 0 18px;
  border: 1px solid var(--edge); border-radius: 14px; overflow: hidden;
  font-size: 14px;
}
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 16px; }
.table th { color: var(--text-tertiary); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--well); }
.table td { color: var(--text-secondary); border-top: 1px solid var(--edge); line-height: 1.6; }
.table td:first-child { color: var(--text-primary); white-space: nowrap; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.contact-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--edge);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.contact-card:hover { border-color: var(--hairline); background: var(--raised); }
.contact-card:focus-visible { outline: none; box-shadow: var(--focus); }
.contact-card .label { color: var(--text-tertiary); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-card .desc { color: var(--text-muted); font-size: 14px; line-height: 1.55; flex: 1; }
.contact-card .addr { color: var(--accent); font-size: 14px; margin-top: 8px; }

.company {
  margin-top: 16px; padding: 28px;
  border-radius: 18px; background: var(--well); border: 1px solid var(--edge);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.company dt { color: var(--text-tertiary); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.company dd { margin: 0; color: var(--text-primary); font-size: 14px; line-height: 1.6; }

/* ---------- footer ---------- */

.footer {
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--edge);
  color: var(--text-tertiary); font-size: 12px; line-height: 1.7;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; border-radius: 4px; }
.footer-links a:hover { color: var(--text-strong); }
.footer-links a:focus-visible { outline: none; box-shadow: var(--focus); }
.footer-legal { margin: 20px 0 0; max-width: 680px; }

/* ---------- home: showcase (a client's page, drawn from the kit) ---------- */

.showcase { margin: 64px 0 0; }
.app {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.app-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--edge);
}
.app-client { display: flex; align-items: center; gap: 14px; min-width: 0; }
.app-name { margin: 0; color: var(--text-strong); font-size: 15px; font-weight: 500; }
.app-sub { margin: 2px 0 0; color: var(--text-tertiary); font-size: 12px; }
.avatar.lg { width: 40px; height: 40px; font-size: 13px; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; flex: none; }
.app-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.pane { padding: 22px 24px 24px; }
.pane + .pane { border-left: 1px solid var(--edge); }
.pane-label { margin: 0 0 12px; color: var(--text-tertiary); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.score { display: flex; align-items: center; gap: 12px; }
.score-num { color: var(--text-strong); font-size: 40px; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.score-band { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: 12px; }
.score-band.amber { background: var(--caution-subtle); color: var(--caution); }
.score-band .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.components { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.components li { display: grid; grid-template-columns: 64px 1fr 52px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); }
.components .val { color: var(--text-muted); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 999px; background: var(--interactive); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--accent); opacity: 0.75; }
.pane-note { margin: 20px 0 0; color: var(--text-tertiary); font-size: 12px; line-height: 1.55; }
.session { margin: 0 0 16px; color: var(--text-strong); font-size: 16px; font-weight: 500; }
.suggest { padding: 14px 16px; border-radius: 12px; background: var(--well); border: 1px solid var(--edge); }
.suggest-title { margin: 0; color: var(--text-strong); font-size: 13px; font-weight: 500; }
.suggest-text { margin: 4px 0 12px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.suggest-actions { display: flex; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 8px; font-size: 12px; background: var(--interactive); color: var(--text-secondary); border: 1px solid var(--hairline); }
.chip.on { background: var(--accent); color: var(--accent-on); border-color: transparent; font-weight: 500; }
.shared { display: flex; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--hairline); }
.shared-who { margin: 0; color: var(--text-secondary); font-size: 12px; }
.shared-tag { margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--accent-subtle); color: var(--accent); font-size: 11px; }
.shared-text { margin: 4px 0 0; color: var(--text-primary); font-size: 13px; line-height: 1.5; }
.showcase-caption { margin: 16px 4px 0; color: var(--text-tertiary); font-size: 13px; line-height: 1.6; }

/* ---------- home: bento ---------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tile {
  padding: 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--edge);
}
.tile.wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile .icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-subtle); color: var(--accent); margin-bottom: 18px;
}
.tile .icon svg { width: 18px; height: 18px; }
.tile h3 { margin: 0; color: var(--text-strong); font-size: 15px; font-weight: 500; letter-spacing: -0.1px; }
.tile p { margin: 8px 0 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.tile-copy p { max-width: 420px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-radius: 10px; background: var(--well); border: 1px solid var(--edge); }
.day b { color: var(--text-tertiary); font-size: 11px; font-weight: 500; }
.day i { font-style: normal; color: var(--text-secondary); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day.done { opacity: 0.6; }
.day.today { border-color: rgba(208, 227, 163, 0.4); background: var(--accent-subtle); }
.day.today b { color: var(--accent); }

@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .pane + .pane { border-left: 0; border-top: 1px solid var(--edge); }
  .app-head { padding: 16px 18px; }
  .pane { padding: 20px 18px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile.wide { grid-column: auto; }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .day { padding: 8px 2px; align-items: center; }
  .day b { font-size: 10px; }
  .day i { font-size: 10px; letter-spacing: -0.2px; overflow: visible; text-overflow: clip; }
}

/* ---------- entrance ---------- */

.enter { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.enter.d1 { animation-delay: 0.08s; }
.enter.d2 { animation-delay: 0.16s; }
.enter.d3 { animation-delay: 0.24s; }
.enter.d4 { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.atmosphere { animation: fade 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .glow, .atmosphere, .enter { animation: none !important; }
  .glow { scale: 1; opacity: 0.85; }
  html { scroll-behavior: auto; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1180px) {
  :root { --gutter: 48px; --panel-width: minmax(340px, 400px); }
  .panel { padding: 56px var(--gutter) 48px; }
  .panel-headline { font-size: 22px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .site { display: flex; flex-direction: column; }
  .content { display: contents; }
  .topbar { order: 0; }
  .panel { order: 1; }
  main { order: 2; }
  .footer { order: 3; }
  .panel {
    position: relative; height: auto;
    gap: 40px;
    padding: 32px var(--gutter) 40px;
    border-right: 0; border-bottom: 1px solid var(--edge);
  }
  .panel .logo { display: none; }
  .panel-foot { display: none; }
  .panel-headline { font-size: 21px; white-space: normal; }
  .glow.large { width: 340px; height: 340px; top: -30%; left: 45%; }
  .glow.small { width: 240px; height: 240px; bottom: -40%; left: -20%; }
  .topbar { padding: 14px var(--gutter); background: rgba(17, 18, 18, 0.88); }
  .topbar .logo { display: inline-flex; }
  .topbar .logo svg { height: 22px; }
  .topbar .btn { display: none; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  main { padding: 8px var(--gutter) 72px; }
  .hero, .doc-head { padding-top: 40px; }
  .features, .consent, .contact-grid, .company { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
  .section { padding-top: 80px; }
  .audience { margin-top: 80px; padding: 28px; }
  .row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 12px 8px; }
  .row .time { display: none; }
  .avatar { width: 32px; height: 32px; }
  .state { min-width: 0; }
  .preview-head, .preview-foot { padding-left: 18px; padding-right: 18px; }
  .table td:first-child { white-space: normal; }
}

@media (max-width: 420px) {
  .nav a { padding: 6px 6px; }
  .hero h1 { letter-spacing: -0.8px; }
}

/* =====================================================================
   Redesign, 17 Nov (evening): serif display type, the breathing field,
   the staged product view and the recovery landscape.
   ===================================================================== */

:root { --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, "Times New Roman", serif; }

/* ---------- brand panel ---------- */

.panel { padding: 56px var(--gutter) 44px; background: #0d0e0e; }
.panel > :not(.field):not(.grain):not(.panel-photo) { position: relative; z-index: 2; }
.panel > canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.panel > .grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,14,14,0.55) 0%, rgba(13,14,14,0) 22%, rgba(13,14,14,0) 48%, rgba(13,14,14,0.86) 78%, #0d0e0e 100%);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-top .logo svg { height: 26px; }
.panel-meta, .kicker, .hero2-meta, .breath {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary);
}
.panel-message { margin-top: auto; gap: 14px; max-width: none; padding-bottom: 40px; }
.panel-eyebrow { letter-spacing: 0.14em; font-size: 11px; }
.panel-headline {
  font-family: var(--serif); font-size: 38px; line-height: 1.08; letter-spacing: -0.4px; white-space: normal; color: #f3f2ee;
}
.panel-sub { font-size: 14px; color: var(--text-muted); }
.panel-bottom { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.breath { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--text-secondary); }
.breath [data-breath] { min-width: 52px; color: var(--accent); }
.breath-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 10s ease-in-out infinite; }
.breath-rule { flex: 1; height: 1px; background: var(--hairline); }
@keyframes pulse { 0%, 100% { transform: scale(0.7); opacity: 0.55; } 50% { transform: scale(1.5); opacity: 1; } }
.panel-foot { font-size: 10.5px; letter-spacing: 0; }
.breath span:last-child { white-space: nowrap; }

/* ---------- top bar ---------- */

.nav a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.btn { border-radius: 999px; }
.btn-small { padding: 0 16px; }

/* ---------- display type ---------- */

.display {
  margin: 0; font-family: var(--serif); font-weight: 400; color: #f3f2ee;
  font-size: clamp(42px, 3.85vw, 56px); line-height: 1.04; letter-spacing: -0.8px;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--accent); }
.display.md { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -0.5px; }

/* ---------- hero ---------- */

.wrap.home { max-width: 800px; }
.hero2 { padding: 40px 0 0; }
.hero2-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 44px; border-bottom: 1px solid var(--hairline); }
.hero2-meta .pip { display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.hero2-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-top: 40px; }
.lede2 { margin: 0; max-width: 460px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.hero2-foot .actions { margin: 0; flex-direction: column; align-items: stretch; }

/* ---------- figures ---------- */

.figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.figures > div { padding: 24px 20px 26px 0; }
.figures > div + div { padding-left: 20px; border-left: 1px solid var(--hairline); }
.figures dt { font-family: var(--serif); font-size: 52px; line-height: 1; color: #f3f2ee; }
.figures dd { margin: 14px 0 0; color: var(--text-tertiary); font-size: 12.5px; line-height: 1.55; }
.figures dd b { display: block; margin-bottom: 4px; color: var(--text-primary); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- stage: coach view + client phone ---------- */

.stage { margin: 72px 0 0; }
.stage-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 28px; align-items: center;
  padding: 44px 36px; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(520px 320px at 88% 8%, rgba(208,227,163,0.13), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(208,227,163,0.06), transparent 70%),
    #101111;
  border: 1px solid var(--edge);
}
.stage .app { box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.3); }
.readout { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--edge); }
.readout .pane-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.readout .score-band { text-transform: none; letter-spacing: 0; font-weight: 400; }
.readout .components { margin: 0; gap: 10px; }
.app-body { padding: 22px 24px 24px; }
.gauge { position: relative; width: 96px; height: 96px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-track { fill: none; stroke: var(--interactive); stroke-width: 5; }
.g-value { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: calc(var(--p) * 2.513) 251.3; }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 38px; color: #f3f2ee; }
.gauge.sm { width: 54px; height: 54px; flex: none; }
.gauge.sm .gauge-num { font-size: 22px; }
.gauge.sm .g-track, .gauge.sm .g-value { stroke-width: 7; }

.phone {
  width: 236px; padding: 7px; border-radius: 38px;
  background: linear-gradient(160deg, #3a3c3e, #1a1b1c 40%, #2a2c2d);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(2.2deg);
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; min-height: 468px; padding: 12px 14px 12px; border-radius: 32px; background: #131415; overflow: hidden; }
.phone-status { display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: 10px; font-weight: 500; }
.phone-island { width: 62px; height: 18px; border-radius: 999px; background: #000; }
.phone-greet { margin: 10px 0 0; color: var(--text-tertiary); font-size: 11px; }
.phone-title { margin: -8px 0 4px; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: #f3f2ee; }
.phone-card { padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--edge); }
.phone-card.ready, .phone-card.breathe { display: flex; align-items: center; gap: 12px; }
.pc-label { margin: 0 0 3px; color: var(--text-tertiary); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.pc-title { margin: 0; color: var(--text-strong); font-size: 13px; font-weight: 500; }
.pc-text { margin: 2px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.orb { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e2eec4, #9db06e 55%, #4d5a2c); box-shadow: 0 0 18px rgba(208,227,163,0.35); animation: pulse-orb 10s ease-in-out infinite; }
@keyframes pulse-orb { 0%, 100% { transform: scale(0.86); } 50% { transform: scale(1.06); } }
.phone-tabs { display: flex; justify-content: space-between; margin: auto -4px 0; padding: 10px 2px 2px; list-style: none; border-top: 1px solid var(--edge); color: var(--text-tertiary); font-size: 9px; }
.phone-tabs .on { color: var(--accent); }
.showcase-caption span { color: var(--text-secondary); }

/* ---------- the idea ---------- */

.idea { padding-top: 120px; }
.kicker { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.idea-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.idea-cols p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.plate { margin: 56px 0 0; }
.ridge { display: block; width: 100%; aspect-ratio: 16 / 8.2; border-radius: 4px; background: #141516; border: 1px solid var(--edge); }
.plate figcaption { display: flex; gap: 14px; margin-top: 14px; color: var(--text-tertiary); font-size: 12px; line-height: 1.6; }
.plate figcaption span { flex: none; color: var(--text-secondary); font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.35; }

/* ---------- closing ---------- */

.closing {
  position: relative; margin-top: 120px; padding: 72px 40px 64px; text-align: center; overflow: hidden;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: radial-gradient(560px 300px at 50% 0%, rgba(208,227,163,0.1), transparent 70%);
}
.closing .kicker { justify-content: center; }
.closing .kicker::before { display: none; }
.closing p:not(.kicker) { max-width: 440px; margin: 20px auto 30px; color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
.footer { border-top: 0; }

@media (prefers-reduced-motion: reduce) { .breath-dot, .orb { animation: none; } }

@media (max-width: 1320px) {
  .stage-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 32px 24px 40px; }
  .stage .app { width: 100%; }
  .phone { margin-top: 4px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .hero2-foot { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero2-foot .actions { flex-direction: row; }
  .panel-headline { font-size: 32px; }
}

@media (max-width: 960px) {
  .panel { padding: 28px var(--gutter) 24px; gap: 0; min-height: 300px; }
  .panel-top { display: none; }
  .panel-message { padding-bottom: 24px; }
  .panel-headline { font-size: 30px; }
  .panel-bottom { display: grid; }
  .panel-foot { display: block; white-space: normal; }
  .hero2 { padding-top: 32px; }
  .hero2-meta { margin-bottom: 32px; }
  .hero2-meta span:last-child { display: none; }
  .display { font-size: clamp(40px, 11.5vw, 56px); }
  .display.md { font-size: clamp(32px, 9vw, 44px); }
  .figures, .stage { margin-top: 56px; }
  .figures dt { font-size: 44px; }
  .stage-inner { padding: 18px 14px 32px; border-radius: 18px; }
  .readout { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .gauge { width: 76px; height: 76px; }
  .gauge-num { font-size: 30px; }
  .app-body { padding: 18px; }
  .idea { padding-top: 88px; }
  .idea-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ridge { aspect-ratio: 4 / 3; }
  .closing { margin-top: 88px; padding: 56px 12px 52px; }
  .nav a { font-size: 11px; letter-spacing: 0.06em; }
}

/* ---------- photography ---------- */

.panel > .panel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; z-index: 0; opacity: 0.92; }
.panel > canvas.field { mix-blend-mode: screen; opacity: 0.55; }
.band { position: relative; margin: 64px 0 0; border-radius: 6px; overflow: hidden; background: #0d0e0e; }
.band img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,14,0) 55%, rgba(13,14,14,0.78) 100%); pointer-events: none; }
.band figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; display: flex; justify-content: space-between; gap: 16px; font-family: var(--serif); font-style: italic; font-size: 20px; color: #f3f2ee; }
.band + .figures { margin-top: 56px; }
@media (max-width: 960px) { .band figcaption { font-size: 16px; left: 16px; right: 16px; bottom: 14px; } .band figcaption span:last-child { display: none; } .band img { aspect-ratio: 4 / 3; } }
.panel > .panel-top, .panel > .panel-message, .panel > .panel-bottom { position: relative; z-index: 3; }
.panel::after { z-index: 0; } .panel > .grain { z-index: 0; }

/* =====================================================================
   Revision, 17 Nov (late): Cormorant Garamond, a soft breathing glow,
   full-bleed photography and the client record.
   ===================================================================== */

.display { font-weight: 500; font-size: clamp(44px, 4.25vw, 62px); line-height: 1.06; letter-spacing: -0.3px; }
.display.md { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.2px; }
.display em { font-weight: 500; }
.panel-headline { font-weight: 500; font-size: 34px; line-height: 1.14; letter-spacing: -0.1px; }
.plate figcaption span { font-size: 16px; font-weight: 500; }
.panel > canvas.field { mix-blend-mode: screen; opacity: 1; }

.figures dt { font-family: var(--font); font-weight: 300; font-size: 44px; letter-spacing: -2px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.gauge-num { font-family: var(--font); font-weight: 300; letter-spacing: -1px; }

.band { margin: 56px calc(var(--gutter) * -1) 0; border-radius: 0; background: none; }
.band::after { display: none; }
.band img {
  aspect-ratio: 16 / 8.4; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 70%, transparent 100%);
}
.band + .figures { margin-top: -28px; position: relative; }

.record { margin: 88px 0 0; }
.record-card { border-radius: 20px; background: linear-gradient(180deg, #1c1d1f, #18191a); border: 1px solid var(--hairline); box-shadow: 0 40px 90px rgba(0,0,0,0.45); overflow: hidden; }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--edge); }
.team { display: flex; align-items: center; }
.team-label { margin-right: 12px; color: var(--text-tertiary); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.team .avatar { margin-left: -6px; border: 2px solid #1b1c1e; }
.record-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rd, .rn { padding: 28px; }
.rn { border-left: 1px solid var(--edge); display: flex; flex-direction: column; }
.record .pane-label { margin-bottom: 18px; letter-spacing: 0.1em; }
.rd-top { display: flex; align-items: center; gap: 22px; }
.gauge.xl { width: 124px; height: 124px; flex: none; }
.gauge.xl .gauge-num { font-size: 46px; }
.gauge.xl .g-track, .gauge.xl .g-value { stroke-width: 3; }
.gauge.xl .g-value { stroke-dasharray: calc(var(--p) * 2.7018) 270.18; }
.rd-read p { margin: 12px 0 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.6; }
.record .components { margin-top: 28px; }
.record .bar { height: 4px; }
.trend { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--edge); }
.trend .pane-label { margin-bottom: 14px; }
.trend-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.trend-bars i { flex: 1; height: var(--h); border-radius: 3px; background: var(--interactive); }
.trend-bars i.now { background: var(--accent); }
.rn-session { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--edge); }
.rn-session .session { margin: 0; font-size: 17px; }
.rn-meta { margin: 6px 0 0; color: var(--text-muted); font-size: 13px; }
.rn-gap { margin-top: 24px; }
.note { margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--accent); }
.note p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.28; color: #f3f2ee; }
.note footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; color: var(--text-muted); font-size: 12.5px; }
.note footer b { color: var(--text-primary); font-weight: 500; }
.rn-foot { margin: auto 0 0; padding-top: 24px; color: var(--text-tertiary); font-size: 12px; line-height: 1.6; }

@media (max-width: 1320px) { .panel-headline { font-size: 30px; } }
@media (max-width: 960px) {
  .band { margin-top: 32px; }
  .band img { aspect-ratio: 4 / 3; }
  .band + .figures { margin-top: -8px; }
  .record { margin-top: 64px; }
  .record-grid { grid-template-columns: minmax(0, 1fr); }
  .rn { border-left: 0; border-top: 1px solid var(--edge); }
  .rd, .rn { padding: 22px 18px; }
  .record-head { padding: 18px; }
  .team-label { display: none; }
  .gauge.xl { width: 104px; height: 104px; }
  .gauge.xl .gauge-num { font-size: 38px; }
  .note p { font-size: 21px; }
  .panel-headline { font-size: 28px; }
}
.display { font-size: clamp(42px, 3.9vw, 57px); }
.panel-headline { font-size: 31px; }
@media (max-width: 1320px) { .panel-headline { font-size: 27px; } }
@media (max-width: 960px) { .panel-headline { font-size: 28px; } .display { font-size: clamp(38px, 10.5vw, 52px); } }
.display { font-size: clamp(40px, 3.6vw, 52px); }
@media (max-width: 960px) { .display { font-size: clamp(38px, 10.5vw, 52px); } }

/* ---------- revision 3: readiness example ---------- */
.figures { margin-top: 72px; }
.score-band.good { background: var(--positive-subtle); color: var(--positive); }
.record .rd-top { margin-top: 4px; }
.trend-bars { height: 72px; gap: 7px; }
.trend-bars i { position: relative; }
.trend-bars i b { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-style: normal; font-weight: 500; font-size: 10px; color: var(--text-tertiary); opacity: 0; }
.trend-bars i.now b { opacity: 1; color: var(--accent); }
.trend { padding-top: 26px; }
.trend .pane-label { margin-bottom: 26px; }
.trend-axis { display: flex; justify-content: space-between; margin: 10px 0 0; color: var(--text-tertiary); font-size: 11px; }
.inputs { margin: 0; padding: 0; list-style: none; }
.inputs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 15px 0; border-top: 1px solid var(--edge); }
.inputs li:first-child { border-top: 0; padding-top: 0; }
.inputs span { color: var(--text-secondary); font-size: 14px; }
.inputs b { grid-row: span 2; align-self: center; color: var(--text-strong); font-weight: 400; font-size: 20px; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.inputs em { font-style: normal; color: var(--text-tertiary); font-size: 12px; }
.inputs em.up { color: var(--positive); }
.day.off { opacity: 0.35; }

/* ---------- revision 4 ---------- */
.panel-top { margin-left: -28px; }
.logo .word { fill: #e6e2d6; }
.logo .mark { fill: #c8dba0; }
.panel-bottom .panel-meta { margin: 0; }
.footer { padding-top: 28px; padding-bottom: 32px; }
.gauge.xl { width: 148px; height: 148px; }
.gauge.xl svg { overflow: visible; }
.gauge.xl .g-ticks { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 3; stroke-dasharray: 0.6 5.37; }
.gauge.xl .g-track { stroke: rgba(255,255,255,0.07); stroke-width: 4; }
.gauge.xl .g-value { stroke: url(#rg); stroke-width: 4; stroke-dasharray: calc(var(--p) * 2.953) 295.3; }
.gauge.xl .g-halo { fill: none; stroke: #d0e3a3; stroke-width: 9; stroke-linecap: round; stroke-dasharray: calc(var(--p) * 2.953) 295.3; opacity: 0.22; filter: blur(5px); }
.gauge.xl .gauge-num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 50px; line-height: 1; background: radial-gradient(closest-side, rgba(208,227,163,0.08), transparent 72%); border-radius: 50%; }
.gauge-num small { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
.trend .pane-label { display: flex; justify-content: space-between; }
.trend .pane-label span { letter-spacing: 0.02em; text-transform: none; font-weight: 400; }
.trend-bars { gap: 3px; }
.trend-bars i { border-radius: 2px; }
@media (max-width: 960px) { .panel-top { margin-left: 0; } .gauge.xl { width: 120px; height: 120px; } .gauge.xl .gauge-num { font-size: 40px; } .panel-bottom .panel-meta { display: block; } }

/* ---------- revision 5: logo in the top bar, static header, running ---------- */
.topbar { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; padding-top: 30px; padding-bottom: 14px; justify-content: flex-start; gap: 36px; }
.topbar.scrolled { border-bottom-color: transparent; }
.topbar .logo { display: inline-flex; }
.topbar .logo svg { height: 24px; }
.topbar nav { margin-left: auto; }
.topbar .btn { margin-left: 4px; }
.tile.full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: end; }
.run-bar { display: flex; gap: 3px; height: 34px; align-items: flex-end; }
.run-bar i { flex: 3; border-radius: 3px; }
.run-bar .easy { height: 38%; background: var(--interactive); }
.run-bar .work { height: 100%; background: var(--accent); opacity: 0.85; }
.run-bar .rec { flex: 1.4; height: 24%; background: var(--interactive); }
.run-key { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--text-tertiary); font-size: 11.5px; }
.run-key span:nth-child(2) { color: var(--text-secondary); text-align: center; }
.run-key span:last-child { text-align: right; }
@media (max-width: 960px) {
  .topbar { padding: 16px var(--gutter) 12px; gap: 12px; }
  .topbar .logo svg { height: 20px; }
  .tile.full { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .run-key { flex-direction: column; gap: 2px; } .run-key span:nth-child(2), .run-key span:last-child { text-align: left; }
}
