/* Dato: the "Instrument" look. Dark only, near-black and serene: light type,
   small monospaced capitals, hairlines, bracket corners and round marks that are
   all one size. One calm accent marks what is done. Tokens match the app's
   App/Support/Theme.swift. */

@property --c { syntax: "<color>"; inherits: true; initial-value: #666666; }
@property --l { syntax: "<length>"; inherits: true; initial-value: 10px; }

:root {
  color-scheme: dark;
  --ground: #151515;
  --raised: #1B1B1B;
  --elevated: #242424;
  --line: #262626;
  --ink: #E6E6E6;
  --label: #8C8C8C;
  --hint: #808080;
  --faded: #6A6A6A;
  --idle: #666666;
  --missed: #3A3A3A;
  --empty: #1F1F1F;
  --rest: #555555;
  --slip: #C9A27A;
  --accent: #8FD9D5;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
  --gut: clamp(16px, 4.5vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--raised); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */

.mono {
  font: 400 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--label);
}
.mono.ink { color: var(--ink); }
.lt { font-weight: 300; letter-spacing: -.035em; }
h1 {
  font-weight: 300;
  font-size: clamp(46px, 8.4vw, 104px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
h2 {
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.big {
  font-weight: 200;
  font-size: clamp(64px, 10vw, 120px);
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Bracket corners: the frame of every mark and button ---------- */

.brk {
  --c: var(--idle);
  --l: 10px;
  --w: 1.2px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
}

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgb(21 21 21 / .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 60px; padding-top: env(safe-area-inset-top); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 400; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a, .foot nav a {
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em;
  color: var(--label); text-decoration: none; padding: 12px 0;
}
.top nav a:hover, .foot nav a:hover { color: var(--ink); }
.get {
  --c: var(--accent);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em;
  text-decoration: none; padding: 13px 14px; color: var(--ink);
}
.get:hover { --l: 14px; }
@media (max-width: 720px) {
  .top nav a:not(:last-child) { display: none; }
  .top-in { gap: 16px; }
}

/* ---------- Hero ---------- */

.hero { padding-top: clamp(28px, 5vw, 64px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); }
.hero h1 > span { display: block; }
/* "Track habits." stays; the line under it turns through what else Dato does. */
.hero h1 .rot { display: grid; color: var(--accent); }
.rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.32em); transition: opacity .45s var(--ease), transform .65s var(--ease); }
.rot > span.on { opacity: 1; transform: none; }
.rot > span.out { opacity: 0; transform: translateY(-.32em); }
.lede { margin-top: 22px; max-width: 31em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: #BDBDBD; text-wrap: pretty; }
.cta { display: flex; align-items: center; gap: 14px 12px; flex-wrap: wrap; margin-top: clamp(26px, 3.4vw, 36px); }
.cta .mono { line-height: 1.7; }

/* To the New Year: a slim countdown under the buttons, the seconds in the accent. */
.ny-strip { margin-top: clamp(30px, 4vw, 44px); }
.ny-strip .row-labels { margin-bottom: 0; }
.ny-strip a { text-decoration: none; }
.ny-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kpis.clock { margin-top: 12px; }
.kpis.clock li { padding-top: 14px; }
.kpis.clock b { font-size: clamp(28px, 3.2vw, 40px); }

/* The habit tracker itself, with what else it does floating beside it. */
.stage { position: relative; display: flex; justify-content: flex-end; --pw: min(310px, 66%); }
.phone-wrap { width: var(--pw); padding: 10px; -webkit-mask-image: linear-gradient(#000 70%, transparent 97%); mask-image: linear-gradient(#000 70%, transparent 97%); }
.phone-wrap .phone { margin: 0; aspect-ratio: 660 / 1180; }
.phone-wrap .phone img { height: 100%; object-fit: cover; object-position: top; }
.float { position: absolute; right: calc(var(--pw) - 26px); width: min(206px, 44%); display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 15px; border-radius: 16px; background: rgb(30 30 30 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #2E2E2E, 0 26px 50px -20px rgb(0 0 0 / .9); }
.float .mono { font-size: 9.5px; }
.float b.lt { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.12; }
.float b.lt small { font: 400 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--label); margin-left: 5px; }
.f-row { display: flex; align-items: center; gap: 8px; }
.f-row .yes { transform: scale(.8); transform-origin: left center; margin-right: -4px; }
.f-res { top: 8%; }
.f-goal { top: 37%; right: calc(var(--pw) - 6px); }
.f-goal svg { width: 100%; height: auto; aspect-ratio: 4 / 1; overflow: visible; margin-top: 2px; }
.f-comp { top: 66%; }
.f-bars { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; }
.f-bars i { display: block; height: 1.5px; width: 0; background: var(--label); transition: width 1.1s var(--ease); }
.f-bars i.me { background: var(--accent); height: 2px; }
.js .float { opacity: 0; transform: translateY(16px); }
.js .stage.go .float { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .stage.go .f-res { transition-delay: .25s; }
.js .stage.go .f-goal { transition-delay: .45s; }
.js .stage.go .f-comp { transition-delay: .65s; }
@media (max-width: 880px) {
  .stage { width: 100%; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .stage { --pw: 62%; }
  .float { width: 46%; right: calc(var(--pw) - 22px); padding: 10px 12px 11px; border-radius: 13px; gap: 5px; }
  .float b.lt { font-size: 17px; }
  .float .mono { font-size: 8.5px; }
}
@media (max-width: 640px) {
  .kpis.clock { grid-template-columns: repeat(4, 1fr); }
  .kpis.clock li:nth-child(n) { padding: 16px 10px 2px; border-left: 1px solid var(--line); }
  .kpis.clock li:first-child { border-left: 0; padding-left: 0; }
  .kpis.clock li:nth-child(n+3) { border-top: 0; margin-top: 0; }
}

/* The promise card: a resolution typed out, the year ahead, the mark to hold. */
.pledge { position: relative; padding: clamp(20px, 2.6vw, 30px); --c: var(--idle); --l: 14px; background-color: #171717; transition: --c .6s; isolation: isolate; }
.pledge::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 55% at 50% 100%, rgb(143 217 213 / .07), transparent 70%); opacity: .5; transition: opacity 1.4s var(--ease); }
.pledge.promised { --c: var(--accent); }
.pledge.promised::before { opacity: 1; }
.pledge-what { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.12; margin-top: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.12em; }
.caret { display: inline-block; width: 2px; height: .82em; margin-left: 3px; vertical-align: -.06em; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pledge.promised .caret, .still .caret { visibility: hidden; }
.pledge-why { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; min-height: 2.9em; font-size: 15px; line-height: 1.45; color: #BDBDBD; }
.pledge-why .mono { flex: none; color: var(--accent); }
.pledge-why [data-why] { transition: opacity .35s; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px clamp(10px, 1.3vw, 14px); margin-top: 22px; }
@media (max-width: 520px) { .months { grid-template-columns: repeat(4, 1fr); gap: 14px 12px; } }
.mo .mono { display: block; font-size: 9.5px; margin-bottom: 7px; }
.mo .field { --gap: clamp(1.5px, .3vw, 2.5px); }
.pledge .f { background: #1F1F1F; box-shadow: inset 0 0 0 1px #2A2A2A; }
.first { background: transparent; box-shadow: inset 0 0 0 1.3px var(--accent); }
.months.sweep i { animation: sweep 1.1s var(--ease) both; animation-delay: calc(var(--n, 0) * 2.4ms); }
@keyframes sweep { 30% { background: #A8A8A8; box-shadow: none; } }
.pledge-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.pledge-foot .hold { width: 64px; height: 64px; margin: -6px 0 -6px -8px; }
.pledge-days { margin-left: auto; text-align: right; }
.pledge.promised [data-hold-label] { color: var(--accent); }

/* ---------- The four, at a glance ---------- */

.four { margin-top: clamp(64px, 9vw, 120px); }
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.four-grid > li { border-left: 1px solid var(--line); }
.four-grid > li:first-child { border-left: 0; }
.js .four-grid > li:nth-child(2) { transition-delay: .08s; }
.js .four-grid > li:nth-child(3) { transition-delay: .16s; }
.js .four-grid > li:nth-child(4) { transition-delay: .24s; }
.card { position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 24px 22px 22px; text-decoration: none; --c: transparent; --l: 10px; transition: --c .3s, --l .3s var(--ease); }
.card:hover, .card:focus-visible { --c: var(--idle); --l: 16px; }
.card .idx { display: flex; gap: 12px; }
.card .idx span { color: var(--accent); }
.card .arr { position: absolute; right: 22px; top: 27px; color: var(--faded); transition: transform .35s var(--ease), color .3s; }
.card:hover .arr { transform: translateX(4px); color: var(--accent); }
.card b.lt { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.08; }
.card-kpi { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-kpi b { font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-kpi b small { font: 400 11px/1 var(--mono); letter-spacing: .06em; color: var(--label); margin-left: 3px; text-transform: uppercase; }
.card-kpi .mono { font-size: 10px; }
.mini { display: flex; align-items: center; height: 96px; }

.mini-res { gap: 10px; align-items: center; max-width: 260px; }
.mini-res .mo { flex: 1; min-width: 0; }
.mo-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.mo-h .mono { font-size: 9.5px; margin: 0; }
.box { position: relative; width: 13px; height: 13px; --c: var(--idle); --l: 4px; --w: 1.1px; transition: --c .4s; }
.box::after { content: ""; position: absolute; left: 4.6px; top: 2.6px; width: 3px; height: 6px; border: solid var(--accent); border-width: 0 1.2px 1.2px 0; transform: rotate(40deg) scale(.4); opacity: 0; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.kept .box { --c: var(--accent); }
.kept .box::after { opacity: 1; transform: rotate(40deg); }
.mini-res .field { --gap: 2px; }

.mini-goal svg { width: 100%; height: 100%; overflow: visible; }
.f-goal .mono { display: block; }
:is(.mini-goal, .f-goal) .reading { fill: #555; }
:is(.mini-goal, .f-goal) .trend { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
:is(.mini-goal, .f-goal) :is(.target, .proj) { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
:is(.mini-goal, .f-goal) .now { fill: var(--accent); }
:is(.mini-goal, .f-goal) .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
:is(.mini-goal, .f-goal) .go .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
:is(.mini-goal, .f-goal) :is(.proj, .now) { opacity: 0; transition: opacity .5s 1.4s; }
:is(.mini-goal, .f-goal) .go :is(.proj, .now) { opacity: 1; }

.mini-habit { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.mh-row { display: flex; margin-left: -9px; }
.mh-line { display: block; height: 1px; background: var(--line); max-width: 176px; }
.mh-line i { display: block; height: 1.5px; margin-top: -.25px; width: 0; background: var(--accent); transition: width .5s var(--ease); }

.mini-board { flex-direction: column; align-items: stretch; justify-content: center; gap: 9px; }
.mini-board > span { display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 8px; }
.mini-board > span .mono { font-size: 10px; }
.mini-board i { display: block; height: 1.5px; background: var(--label); width: 0; transition: width 1.2s var(--ease); }
.mini-board .me i { background: var(--accent); height: 2px; }
.mini-board .me .mono { color: var(--accent); }

@media (max-width: 960px) {
  .four-grid { grid-template-columns: 1fr 1fr; }
  .four-grid > li:nth-child(3) { border-left: 0; }
  .four-grid > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .card { padding: 18px 14px 16px; gap: 14px; }
  .card .arr { display: none; }
  .mini { height: 78px; }
  .mini-res .mo:nth-child(4), .mh-row .tick:nth-child(4) { display: none; }
  .mh-row { margin-left: -7px; }
  .mini-board { gap: 7px; }
  .mh-row .tick { width: 36px; height: 36px; }
  .mh-row .tick .c { inset: 7px; }
  .mh-row .tick svg { inset: 6px; }
  .card-kpi { flex-direction: column; gap: 6px; }
  .card-kpi .mono { font-size: 9px; }
}
.center .cta { justify-content: center; }
.badge img { width: 150px; height: auto; }
.badge-soon img { width: 168px; }
.badge { border-radius: 10px; }

.phone {
  position: relative;
  border-radius: 13.5% / 6.2%;
  overflow: hidden;
  background: var(--ground);
  box-shadow: 0 0 0 1px #2c2c2c, 0 0 0 7px #0f0f0f, 0 0 0 8px #2a2a2a, 0 40px 80px -30px rgb(0 0 0 / .8);
  margin: 8px;
}
.phone img { width: 100%; height: auto; }
.hero-phone { max-width: 360px; justify-self: end; width: 100%; }
.hero-phone.side { justify-self: center; }

.row-labels { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.acc { color: var(--accent); }

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; }
  .pledge { max-width: 560px; }
}

/* ---------- Round marks: one size per figure, never a size for meaning ---------- */

.field { display: grid; gap: var(--gap, 3px); grid-auto-flow: column; grid-template-rows: repeat(7, auto); }
:where(.field) i, .m {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--empty);
}
.m { width: 9px; height: 9px; flex: none; }
.d { background: var(--ink); }
.p { background: var(--label); }
.x { background: var(--missed); }
.e { background: var(--empty); }
.f { background: #1A1A1A; box-shadow: inset 0 0 0 1px #232323; }
.r { background: transparent; box-shadow: inset 0 0 0 1.2px var(--rest); }
.s { background: transparent; box-shadow: inset 0 0 0 1.2px var(--slip); }
.t { background: var(--accent); }

/* Marks arrive as a wave (left to right), unless motion is reduced. */
.js .wave i { opacity: 0; transform: scale(.4); }
.js .wave.go i { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--k, 0) * 9ms); }
.t.breathe { animation: breathe 2.6s ease-in-out 3; }
@keyframes breathe { 50% { box-shadow: 0 0 0 4px rgb(143 217 213 / .18); } }

/* ---------- Figures in a row (the app's KPIRow) ---------- */

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.kpis li { padding: 22px 18px 4px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.kpis li:first-child { border-left: 0; padding-left: 0; }
.kpis b { font-weight: 300; font-size: clamp(36px, 4.6vw, 56px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpis b small { font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--label); margin-left: 4px; text-transform: uppercase; }
.kpis span { font: 400 10.5px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--label); }
.kpis .on b { color: var(--accent); }
.kpis.compact { grid-template-columns: repeat(var(--n, 3), 1fr); margin-top: 28px; }
.kpis.compact b { font-size: clamp(28px, 3.2vw, 40px); }
.kpis.compact li { padding-top: 16px; }
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kpis li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .kpis.compact { grid-template-columns: repeat(var(--n, 3), 1fr); }
  .kpis.compact li:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 12px; }
  .kpis.compact li:first-child { border-left: 0; padding-left: 0; }
  .kpis.compact li:nth-child(n+3) { border-top: 0; margin-top: 0; }
  .kpis.compact li { padding-right: 8px; }
}

/* ---------- Sections ---------- */

.sec { padding-block: clamp(88px, 13vw, 168px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head .idx { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.sec-head .idx span { color: var(--accent); }
.sec-head.wide { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { text-align: center; }
.sec-head.center .idx { justify-content: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.two.flip > :first-child { order: 0; }
@media (max-width: 880px) {
  .two { grid-template-columns: 1fr; }
  .two.flip > :first-child { order: 2; }
  .hero-phone.side { max-width: 300px; }
}

.soon { font-style: normal; color: var(--ground); background: var(--accent); padding: 3px 7px 2px; border-radius: 2px; }

/* Calm arrival on scroll; fades only when motion is reduced. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- The log mark (yes / no) ---------- */

.tick {
  position: relative;
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
}
.tick .c {
  position: absolute; inset: 9px;
  --c: var(--idle); --l: 6px; --w: 1.3px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
  transition: inset .5s cubic-bezier(.3, 1.6, .5, 1), --c .3s;
}
.tick::after { /* the idle point in the middle */
  content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--idle);
  transition: opacity .2s, transform .3s;
}
.tick svg { position: absolute; inset: 10px; width: 24px; height: 24px; margin: auto; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tick svg path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .45s var(--ease) .08s; }
.tick.is-done .c { inset: 11px; --c: var(--accent); }
.tick.is-done::after { opacity: 0; transform: scale(0); }
.tick.is-done svg path { stroke-dashoffset: 0; }
.tick.sm { width: 34px; height: 34px; }
.tick.sm .c { inset: 7px; --l: 5px; }
.tick.sm.is-done .c { inset: 8.5px; }
.tick.sm svg { width: 20px; height: 20px; inset: 7px; }
.tick .pulse { position: absolute; inset: 11px; border: 1px solid var(--accent); opacity: .6; animation: pulse .7s var(--ease) forwards; pointer-events: none; }
@keyframes pulse { to { inset: -6px; opacity: 0; } }

/* ---------- The count dial ---------- */

.dial, .dial-mini { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.dial svg, .dial-mini svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial .seg-a, .dial-mini .seg-a { fill: none; stroke: var(--missed); stroke-width: 1.6; stroke-linecap: round; transition: stroke .3s; }
.dial .seg-a.on, .dial-mini .seg-a.on { stroke: var(--accent); }
.dial .num, .dial-mini .num { font: 400 10px/1 var(--mono); color: var(--ink); position: relative; font-variant-numeric: tabular-nums; }
.dial .corners, .dial-mini .corners { fill: none; stroke: var(--idle); stroke-width: 1.3; }
.dial.met .corners { stroke: var(--accent); }
.dial-mini.lg { width: 58px; height: 58px; }
.dial-mini.lg .num { font-size: 13px; }
.dial-mini.xl { width: 92px; height: 92px; }
.dial-mini.xl .num { font-size: 20px; }
.star-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); font-size: 14px; }

/* ---------- 01 Habits: the Today demo ---------- */

.kinds { display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.kinds li { display: flex; align-items: center; gap: 6px; }
.today-demo { border-top: 1px solid var(--line); padding-top: 18px; }
.td-head { display: flex; justify-content: space-between; }
.td-title { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.td-title .lt { font-size: clamp(48px, 6vw, 64px); line-height: 1; }
.td-progress { height: 1px; background: var(--line); margin: 18px 0 6px; }
.td-progress i { display: block; height: 1.5px; margin-top: -.25px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.td-list li { display: flex; align-items: center; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--line); }
.td-name { font-weight: 300; font-size: clamp(26px, 3vw, 32px); letter-spacing: -.035em; flex: 1; transition: color .8s var(--ease); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-list li.done .td-name { color: var(--faded); }
.td-time { min-width: 4ch; text-align: right; }

/* ---------- 02 Review ---------- */

.seg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.seg button {
  --c: transparent; --l: 7px; --w: 1.2px;
  font-weight: 300; font-size: clamp(18px, 2.2vw, 22px); letter-spacing: -.02em; color: var(--label);
  padding: 8px 12px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
  transition: --c .3s, color .3s;
}
.seg button:first-child { margin-left: -12px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { --c: var(--accent); color: var(--ink); }
.seg.small button { font-size: clamp(16px, 1.8vw, 19px); padding: 7px 10px; }
.seg.small button:first-child { margin-left: -10px; }

.rv { min-height: 200px; }
.rv-habit { border-top: 1px solid var(--line); padding: 18px 0 26px; }
.rv-habit .row-labels .lt { font-size: clamp(22px, 2.6vw, 28px); }
.rv-days { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap, 6px); }
.rv-days.week { --gap: clamp(10px, 3vw, 28px); max-width: 520px; }
.rv-days.week i { max-width: 44px; }
.rv-days.month { --gap: clamp(2px, .6vw, 7px); }
.rv-days i { display: block; aspect-ratio: 1; border-radius: 50%; width: 100%; }
.rv-letters { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap); margin-bottom: 10px; }
.rv-letters span { text-align: center; }
.rv-letters.month span { text-align: left; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.legend li { display: flex; align-items: center; gap: 8px; }

/* ---------- 03 Goals ---------- */

.goal { margin-top: 36px; }
.goal-fig { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.chart { width: 100%; height: auto; aspect-ratio: 600 / 260; margin-top: 22px; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .reading { fill: #5C5C5C; }
.chart .trend { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.chart .target { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 5 5; }
.chart .proj { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 5; }
.chart .pace { fill: none; stroke: #4a4a4a; stroke-width: 1; stroke-dasharray: 2 4; }
.chart .now { fill: var(--accent); }
.chart text { font: 400 11px var(--mono); fill: var(--label); letter-spacing: .06em; }
.chart text.acc { fill: var(--accent); }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.chart.go .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.axis { display: flex; justify-content: space-between; margin-top: 8px; position: relative; min-height: 16px; }
.axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chips li { border: 1px solid var(--line); padding: 8px 10px 7px; border-radius: 2px; }

/* ---------- 04 Resolutions ---------- */

.runup { margin-top: 40px; }
.runup-days { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 32), 1fr); padding-block: 9px; }
:where(.runup-days) i { display: block; width: 74%; justify-self: center; aspect-ratio: 1; border-radius: 50%; background: var(--empty); }
.runup .win { position: absolute; top: 0; bottom: 0; --c: var(--idle); --l: 7px; transition: --c .6s .5s; }
.runup.in .win, .still .runup .win { --c: var(--accent); }
.runup-foot { margin: 12px 0 0; }
.ways { margin-top: 36px; }
.ways li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ways li:last-child { border-bottom: 1px solid var(--line); }
.ways .lt { font-size: clamp(20px, 2.2vw, 24px); }
.ways .mono { text-align: right; }
@media (max-width: 520px) {
  .ways li { flex-direction: column; gap: 6px; }
  .ways .mono { text-align: left; }
}
.final-count { color: var(--accent); margin-bottom: 18px; }

.hold { position: relative; width: 80px; height: 80px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold .ring-bg { fill: none; stroke: var(--line); stroke-width: 1.5; }
.hold .ring { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 138.3; stroke-dashoffset: 138.3; stroke-linecap: round; }
.hold .chk { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; transform: rotate(90deg); transform-origin: 40px 40px; transition: stroke-dashoffset .45s var(--ease); }
.hold .c {
  position: absolute; inset: 4px;
  --c: var(--idle); --l: 10px; --w: 1.3px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
  transition: inset .5s cubic-bezier(.3, 1.6, .5, 1), --c .3s;
}
.hold.holding .c { inset: 9px; }
.hold.kept .c { inset: 12px; --c: var(--accent); }
.hold.kept .chk { stroke-dashoffset: 0; }
.hold.kept .ring { opacity: 0; transition: opacity .4s; }
.hold.kept .ring-bg { opacity: 0; transition: opacity .4s; }

/* ---------- 05 Health ---------- */

.health { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px) clamp(40px, 7vw, 112px); }
.gauge-fig { display: flex; align-items: center; gap: 28px; }
.gauge-fig .big { font-size: clamp(52px, 7vw, 88px); display: block; }
.gauge-fig .mono { display: block; margin-top: 10px; }
.gauge { --c: var(--idle); --l: 16px; width: clamp(110px, 13vw, 150px); aspect-ratio: 1; flex: none; padding: 12px; transition: --c .4s; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-bg { fill: none; stroke: var(--line); stroke-width: 2; }
.gauge .g-fg { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; }
.gauge .chk { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transform: rotate(90deg); transform-origin: 60px 60px; transition: stroke-dashoffset .45s var(--ease); }
.gauge.done { --c: var(--accent); }
.gauge.done .chk { stroke-dashoffset: 0; }
.bars-fig { grid-row: span 2; }
.bars { position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1.8vw, 18px); height: 200px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; background: #4A4A4A; border-radius: 2px 2px 0 0; height: var(--h); transform-origin: bottom; }
.bars i.hit { background: var(--ink); }
.bars i.now { background: var(--accent); }
.js .bars.wave i { transform: scaleY(0); }
.js .bars.wave.go i { transform: none; transition: transform .8s var(--ease); transition-delay: calc(var(--k) * 40ms); }
.bars .goal-line { position: absolute; left: 0; right: 0; border-top: 1.2px dashed var(--accent); }
.bars .goal-line span { position: absolute; right: 0; top: -20px; color: var(--accent); }
.sources li { display: grid; grid-template-columns: 22px auto 1fr; gap: 14px; align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.sources li:last-child { border-bottom: 1px solid var(--line); }
.sources svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sources li > span:nth-child(2) { font-weight: 300; font-size: 20px; letter-spacing: -.02em; }
.sources .mono { text-align: right; }
@media (max-width: 880px) {
  .health { grid-template-columns: 1fr; }
  .bars-fig { grid-row: auto; }
  .sources li { grid-template-columns: 22px 1fr; padding-block: 12px; }
  .sources .mono { grid-column: 2; text-align: left; }
}

/* ---------- 06 Widgets ---------- */

.widgets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "island island live live live live"
    "medium medium medium medium small circ"
    "yearw yearw yearw yearw small circ";
  gap: 28px 24px;
  align-items: start;
}
.wg { display: flex; flex-direction: column; gap: 12px; }
.wg figcaption { padding-left: 4px; }
.w-island { grid-area: island; }
.w-live { grid-area: live; }
.w-medium { grid-area: medium; }
.w-small { grid-area: small; }
.w-circ { grid-area: circ; align-items: center; }
.w-yearw { grid-area: yearw; }
.widget { background: var(--raised); border-radius: 24px; box-shadow: inset 0 0 0 1px #232323; padding: 18px; }
.island { display: flex; align-items: center; justify-content: space-between; background: #000; border-radius: 999px; padding: 10px 18px 10px 12px; max-width: 320px; height: 54px; }
.island .mono { font-size: 15px; letter-spacing: .04em; }
.ring-sm, .ring-lg { --p: 0; display: block; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 360deg), #333 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.ring-sm { width: 26px; height: 26px; }
.ring-lg { width: 100%; height: 100%; position: absolute; inset: 0; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); }
.live { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; background: #10201f; background: linear-gradient(160deg, #142624, #111716); border-radius: 26px; padding: 20px 20px 22px 24px; box-shadow: inset 0 0 0 1px #1f2d2c; }
.live b.lt { display: block; font-size: 44px; line-height: 1.05; margin-top: 4px; }
.segline { display: flex; gap: 4px; margin-top: 10px; }
.segline i { width: 22px; height: 3px; border-radius: 2px; background: #3a3a3a; }
.segline i.on { background: var(--accent); }
.live-next { text-align: right; }
.live-next .lt { display: block; font-size: 22px; margin-top: 4px; }
.medium { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; min-height: 196px; }
.wm-left { display: flex; flex-direction: column; gap: 6px; }
.wm-left b.lt { font-size: 34px; line-height: 1; }
.wm-line { margin-top: auto; height: 1px; background: var(--line); margin-bottom: 8px; }
.wm-line i { display: block; height: 1.5px; background: var(--accent); width: 67%; transition: width .5s var(--ease); }
.wm-list li { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); min-height: 40px; }
.wm-list li:last-child { border-bottom: 0; }
.wm-list li > span { font-weight: 300; font-size: 18px; letter-spacing: -.02em; transition: color .6s; }
.wm-list li.done > span { color: var(--faded); }
.wsmall { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; }
.wsmall b.lt { font-size: 24px; line-height: 1.05; }
.wsmall .dial-mini { align-self: flex-end; }
.circ { position: relative; width: 86px; height: 86px; display: grid; place-items: center; background: rgb(255 255 255 / .06); border-radius: 50%; margin-top: 30px; }
.circ b { font: 400 14px var(--mono); }
.yearw .row-labels .lt { font-size: 22px; }
.yearw .field { --gap: 3px; grid-template-rows: repeat(7, auto); }
@media (max-width: 880px) {
  .widgets {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "island island"
      "live live"
      "medium medium"
      "small circ"
      "yearw yearw";
  }
  .w-circ { justify-content: center; }
}
@media (max-width: 520px) {
  .live { gap: 12px; padding: 18px 16px 18px 18px; }
  .live b.lt { font-size: 36px; }
  .segline i { width: 14px; }
  .live-next .lt { font-size: 18px; }
  .medium { grid-template-columns: .7fr 1.3fr; gap: 12px; padding: 16px; }
  .wm-list li > span { font-size: 16px; }
}

/* ---------- 07 Compete ---------- */

.board { margin-top: 36px; }
.b-title { font-size: clamp(22px, 2.6vw, 28px); }
.b-list li { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: baseline; gap: 4px 12px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.b-list .who { font-weight: 300; font-size: 22px; letter-spacing: -.02em; }
.b-list .me .who { color: var(--accent); }
.b-list .bar { grid-column: 2 / 4; height: 1.5px; background: var(--line); }
.b-list .bar i { display: block; height: 100%; background: var(--label); width: 0; transition: width 1.2s var(--ease); }
.b-list .me .bar i { background: var(--accent); }
.code { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.code b { font: 400 22px/1 var(--mono); letter-spacing: .3em; padding: 14px 10px 14px 18px; --c: var(--accent); --l: 9px; }

/* ---------- 08 Day done ---------- */

.globe { max-width: 520px; margin: clamp(32px, 5vw, 56px) auto 0; }
.globe img { width: 100%; height: auto; }

/* ---------- 09 Watch ---------- */

.watch-fig { display: grid; place-items: center; }
.watch {
  width: min(230px, 70vw); aspect-ratio: 41 / 50;
  border-radius: 31% / 26%;
  background: #000;
  box-shadow: 0 0 0 1px #333, 0 0 0 9px #161616, 0 0 0 10px #2c2c2c, 0 40px 80px -30px rgb(0 0 0 / .9);
  display: grid; place-items: center;
  position: relative;
}
.watch::after { content: ""; position: absolute; right: -14px; top: 26%; width: 6px; height: 46px; border-radius: 3px; background: #2a2a2a; }
.watch-face { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- 11 Unlock ---------- */

.plans table { width: 100%; border-collapse: collapse; }
.plans th, .plans td { text-align: left; padding: 16px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.plans thead th { border-top: 0; vertical-align: bottom; padding-bottom: 22px; }
.plans thead .lt { display: block; font-size: clamp(28px, 3.6vw, 40px); line-height: 1; margin-bottom: 10px; }
.plans thead .un .lt { color: var(--accent); }
.plans tbody th { font-weight: 300; font-size: clamp(17px, 2vw, 21px); letter-spacing: -.015em; padding-left: 0; }
.plans td { font-weight: 300; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; width: 26%; font-variant-numeric: tabular-nums; }
.plans td.un { color: var(--ink); }
.plans td:not(.un) { color: var(--label); }
.plans .price { line-height: 1.7; color: var(--ink); }
.yes, .no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; position: relative; }
.yes { --c: var(--accent); --l: 5px; --w: 1.2px;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w), linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
}
.yes::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 1.4px 1.4px 0; transform: rotate(40deg); }
.no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; border-top: 1.2px solid var(--missed); }
@media (max-width: 560px) {
  .plans .price { font-size: 9.5px; letter-spacing: .04em; white-space: nowrap; }
  .plans th, .plans td { padding-inline: 6px; }
  .plans tbody th { padding-left: 0; }
  .plans td { width: 28%; }
}

/* ---------- Links, final, footer ---------- */

.more { margin-top: 36px; }
.link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 10px 0; }
.link:hover { color: var(--accent); }
.arr { width: 26px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.final-icon { width: 96px; height: 96px; border-radius: 22.5%; margin: 0 auto 32px; box-shadow: 0 0 0 1px #2a2a2a; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }

/* ---------- Privacy and support pages ---------- */

.doc { max-width: 760px; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(80px, 12vw, 140px); }
.doc h1 { font-size: clamp(44px, 7vw, 76px); }
.doc .updated { margin-top: 18px; }
.doc h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -.03em; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc p, .doc ul:not(.kpis) li { color: #CFCFCF; margin-top: 14px; }
.doc ul:not(.kpis) { margin-top: 14px; }
.doc ul:not(.kpis) li { position: relative; padding-left: 22px; margin-top: 10px; }
.doc ul:not(.kpis) li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.doc strong { font-weight: 500; color: var(--ink); }
.doc a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.callout { margin-top: 32px; border-left: 1.5px solid var(--accent); padding: 2px 0 2px 20px; }
.callout p { font-weight: 300; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); margin: 0; }
.doc .kpis { margin-top: 40px; }
.doc .kpis span { margin-top: 0; color: var(--label); }
.contact { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.contact .mail { display: inline-block; margin-top: 12px; font-weight: 300; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.03em; color: var(--ink); text-decoration: none; padding: 10px 16px; --c: var(--accent); }
.contact .mail:hover { --l: 14px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 300; font-size: clamp(19px, 2.2vw, 22px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--label); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details > p, .faq details > ul { margin: 0 0 22px; }
.faq details > p + p { margin-top: 10px; }

/* "?still": every figure in its final state, nothing moving (captures, checks). */
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }

/* ---------- Reduced motion: fades only ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .3s; }
  .js .wave i, .js .bars.wave i { transform: none; }
  .js .wave.go i, .js .bars.wave.go i { transition: opacity .3s; transition-delay: 0s; }
  .chart .draw { stroke-dashoffset: 0; }
  .chart.go .draw { transition: none; }
  .t.breathe { animation: none; }
  .tick .c, .hold .c { transition: --c .2s; }
  .tick .pulse { display: none; }
  .tick svg path, .hold .chk, .gauge .chk { transition: stroke-dashoffset .15s; }
  .b-list .bar i, .td-progress i, .wm-line i { transition: none; }
  .caret { animation: none; }
  .months.sweep i { animation: none; }
  .mini-goal .draw { stroke-dashoffset: 0; }
  .mini-goal .go .draw { transition: none; }
  .mini-goal .proj, .mini-goal .now { transition: opacity .3s; }
  .mini-board i, .mh-line i, .f-bars i { transition: none; }
  .js .float { transform: none; }
  .js .stage.go .float { transition: opacity .4s; }
  .rot > span, .rot > span.out { transform: none; transition: opacity .3s; }
  .card .arr { transition: color .3s; }
  .card:hover .arr { transform: none; }
}
