/* abso.guru — AbsoGuru, the practice for every day. The family's identity
   (C:\dev\Absolute\docs\brand.md, система «Вольт»): ink, paper, Unbounded for
   headings, Onest for text, the pin in place of the «o» - with «Рассвет» as the
   site's own accent and Volt only on the group's band. Two themes: the system's
   light and dark. Every file is this site's own - no request leaves the origin. */


/* ------------------------------------------------------------------ fonts */

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/unbounded-cyrillic-700-normal.fdc2a84527.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/unbounded-latin-700-normal.477fa23002.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/unbounded-cyrillic-800-normal.a535053f07.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/unbounded-latin-800-normal.fe6d4ea7ed.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/unbounded-cyrillic-900-normal.47cf6520d0.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/unbounded-latin-900-normal.d84ca6bdf9.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/onest-cyrillic-400-normal.51adb4c8c5.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/onest-latin-400-normal.93dfb945d2.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/onest-cyrillic-500-normal.a345dcbda6.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/onest-latin-500-normal.83c1e16166.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/onest-cyrillic-600-normal.73984d20ad.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/onest-latin-600-normal.a56e6d2dcc.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/onest-cyrillic-700-normal.0fcb8fa256.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/onest-latin-700-normal.d48e1aee80.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ----------------------------------------------------------------- tokens */

:root {
  --ink: #0b0c0f;
  --ink-2: #15171c;
  /* The site's own colour - «Рассвет» (docs/CONCEPT.md, «Цвет и знак»): a fill
     under ink text and an accent on ink; on light, text and links take --deep. */
  --accent: #ffbe9e;
  --accent-600: #ffa983;
  --accent-rgb: 255, 190, 158;
  --deep: #8a3a12;
  /* Volt - only the group's band: the bridge to Absolute. */
  --volt: #d4ff3a;
  --flame: #ff4f1f;
  --light: #f5f4ee;

  --paper: #f5f4ee;
  --card: #ffffff;
  --fg: #0b0c0f;
  --link: var(--deep);
  --muted: rgba(11, 12, 15, 0.68);
  --line: rgba(11, 12, 15, 0.12);
  --line-strong: rgba(11, 12, 15, 0.28);

  --wm-pin: var(--ink);
  --wm-accent: var(--accent);

  --display: 'Unbounded', system-ui, sans-serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 24px;
  --r-sm: 14px;
  --wrap: 1120px;
  --read: 41rem;
  --gut: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0f12;
    --card: #17191e;
    --fg: #f2f1ea;
    --link: var(--accent);
    --muted: rgba(242, 241, 234, 0.7);
    --line: rgba(242, 241, 234, 0.13);
    --line-strong: rgba(242, 241, 234, 0.32);
    --wm-pin: var(--accent);
    --wm-accent: var(--ink);
  }
}

@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }

/* ------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p a, li a, dd a { color: var(--link); }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.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: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* A stub the owner fills: never hidden, always visible as one. */
.fill {
  background: transparent; color: inherit; font-weight: 600;
  padding: 0 0.3em; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--flame);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.fill::before { content: '[[ '; color: var(--flame); }
.fill::after { content: ' ]]'; color: var(--flame); }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.72rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 12px; height: 6px; border-radius: 12px 12px 0 0; background: var(--accent); flex: none; }
.eyebrow a { text-decoration: none; color: inherit; }
.eyebrow a:hover { text-decoration: underline; }
.band .eyebrow { color: rgba(245, 244, 238, 0.72); }

.h1 { font: 800 clamp(2rem, 6vw, 4rem)/1.06 var(--display); letter-spacing: -0.035em; }
.h2 { font: 800 clamp(1.5rem, 3.4vw, 2.5rem)/1.1 var(--display); letter-spacing: -0.03em; }
.h3 { font: 700 1.12rem/1.3 var(--display); letter-spacing: -0.01em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }
.band .lead { color: rgba(245, 244, 238, 0.76); }

.mark {
  background: linear-gradient(transparent 8%, var(--accent) 8%, var(--accent) 94%, transparent 94%); color: var(--ink);
  padding: 0 0.16em; margin: 0 -0.04em; border-radius: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.num {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--accent);
  font: 900 1.05rem/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.num-sm { width: 40px; height: 40px; border-radius: 11px; font-size: 0.85rem; }
@media (prefers-color-scheme: dark) { .num { background: var(--accent); color: var(--ink); } }

.arr { display: inline-block; transition: transform 0.2s ease; }
a:hover .arr, button:hover .arr { transform: translateX(3px); }
a:hover .arr-back { transform: translateX(-3px); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 800 0.8rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-align: center; background: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.7rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-600); }
.btn-ink { background: var(--ink); color: var(--light); }
@media (prefers-color-scheme: dark) { .btn-ink { background: var(--accent); color: var(--ink); } }
.btn-ghost { border-color: rgba(245, 244, 238, 0.45); color: var(--light); }
.btn-ghost:hover { border-color: var(--light); }
.btn-outline { border-color: var(--fg); color: var(--fg); }
.btn-danger { border-color: var(--flame); }
.btn-save[aria-pressed='true']::before { content: '✓'; }
.link-more { font-weight: 700; text-decoration: none; color: var(--link); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-more:hover { border-bottom-color: var(--link); }
.band .link-more { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.45); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 700 0.62rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.badge-sound { background: var(--accent); color: var(--ink); }
.badge-sound::before { content: ''; width: 0; height: 0; border-left: 7px solid var(--ink); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.badge-soon { background: rgba(11, 12, 15, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.badge-done { background: var(--ink); color: var(--light); }
.badge-done::before { content: '✓'; }
@media (prefers-color-scheme: dark) {
  .badge-soon { background: rgba(242, 241, 234, 0.08); }
  .badge-done { background: var(--light); color: var(--ink); }
}

/* ------------------------------------------------------------ strip, header */

/* The group's band: Volt, as on every site of Absolute. */
.strip { background: var(--volt); color: var(--ink); font: 500 0.78rem/1.2 var(--sans); }
.strip-in { display: flex; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.strip-dots { display: inline-flex; gap: 3px; flex: none; }
.strip-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px var(--ink); }
.strip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.strip a { text-decoration: none; font-weight: 700; white-space: nowrap; }
.strip a:hover { text-decoration: underline; }
@media (max-width: 720px) { .strip-dots, .strip-more { display: none; } }

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 15, 0.95); color: var(--light);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(245, 244, 238, 0.08);
  --wm-pin: var(--accent); --wm-accent: var(--ink);
}
.top-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { text-decoration: none; margin-right: auto; display: inline-flex; padding: 6px 0; min-width: 0; }
.nav { display: none; gap: 2px; }
.nav a { padding: 10px 12px; border-radius: 999px; font: 600 0.92rem/1 var(--sans); text-decoration: none; color: rgba(245, 244, 238, 0.84); white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--light); background: rgba(245, 244, 238, 0.09); }
.nav .nav-me { display: none; }
.top-cta[aria-current='page'] { box-shadow: 0 0 0 3px rgba(245, 244, 238, 0.35); }
.menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(245, 244, 238, 0.08); cursor: pointer; flex: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--light); transition: transform 0.2s ease; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu[aria-expanded='true'] .menu-bars { background: transparent; }
.menu[aria-expanded='true'] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded='true'] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); padding: 8px var(--gut) 20px; border-bottom: 1px solid rgba(245, 244, 238, 0.12);
  }
  .nav.is-open a { padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid rgba(245, 244, 238, 0.08); }
}
@media (max-width: 420px) {
  .top-cta { display: none; }
  .nav.is-open .nav-me { display: block; color: var(--accent); }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
}

/* --------------------------------------------------------------- wordmark */

.wordmark {
  display: inline-flex; align-items: center; white-space: nowrap;
  font: 900 1.3rem/1 var(--display); letter-spacing: -0.04em;
  transform: skewX(-10deg);
}
@media (max-width: 380px) { .top .wordmark { font-size: 1.12rem; } }
.wm-pin { height: 1em; width: auto; margin: 0 0.02em; flex: none; }
.wm-tail { display: inline-flex; }
.wm-swap { display: inline-grid; position: relative; justify-items: start; }
.wm-word { grid-area: 1 / 1; display: inline-flex; }
.wm-word .ch { display: inline-block; transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.26s ease; transition-delay: calc(var(--i, 0) * 45ms); }
.wm-word:not(.is-on) .ch { opacity: 0; transform: translateX(-0.45em); }
.wm-word.is-leaving .ch { opacity: 0; transform: translateX(0.7em); }

/* ------------------------------------------------------------------- bands */

.band { position: relative; background: var(--ink); color: var(--light); overflow: hidden; --wm-pin: var(--accent); --wm-accent: var(--ink); --link: var(--accent); }
@media (prefers-color-scheme: dark) { .band { border-bottom: 1px solid rgba(245, 244, 238, 0.08); } }
.band .wrap { position: relative; }
/* The dawn: light coming up from under the line, in the site's colour. */
.dawn {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(90% 70% at 88% 118%, rgba(var(--accent-rgb), 0.36), transparent 62%),
    radial-gradient(46% 40% at 96% 104%, rgba(255, 79, 31, 0.22), transparent 70%);
}

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

.hero { padding: 44px 0 56px; }
.hero-in { display: grid; gap: 28px; align-items: end; }
.hero-text { max-width: 660px; }
.hero .h1 { margin-top: 20px; }
.hero-lead { margin-top: 20px; font-size: 1.1rem; color: rgba(245, 244, 238, 0.82); max-width: 38rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: rgba(245, 244, 238, 0.6); }
.today { margin-top: 18px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(245, 244, 238, 0.08); border-left: 4px solid var(--accent); max-width: 38rem; }
.today b { display: block; font: 700 0.66rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.ask { margin-top: 34px; font: 800 1.3rem/1.2 var(--display); letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 2px solid rgba(245, 244, 238, 0.32); color: var(--light); font: 600 1rem/1 var(--sans); text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero-art { justify-self: center; width: min(420px, 82%); }
.sun .ring { animation: glow 7s ease-in-out infinite; animation-delay: calc(var(--i) * 0.7s); }
@keyframes glow { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.6; } }
@media (min-width: 960px) {
  .hero { padding: 64px 0 0; }
  .hero-in { grid-template-columns: 1.15fr 0.85fr; }
  .hero-text { padding-bottom: 72px; }
  .hero-art { width: 100%; justify-self: end; }
}

/* ---------------------------------------------------------------- sections */

.sec { position: relative; padding: 56px 0; }
.sec-card { background: var(--card); }
@media (min-width: 960px) { .sec { padding: 84px 0; } }
.s-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; max-width: 800px; }
.sec-more { margin-top: 28px; }
.note-line { margin-top: 18px; color: var(--muted); font-size: 0.95rem; max-width: 52rem; }

/* what now */
.now-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .now-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .now-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.now { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); scroll-margin-top: 100px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.now:target { border-color: var(--fg); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.7); }
.now-say { color: var(--muted); }
.now .do-list { margin-top: auto; padding-top: 6px; }

/* things to do right now */
.do-list { display: grid; gap: 8px; }
.do {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'kind arr' 'title arr' 'note arr'; gap: 2px 12px; align-items: center;
  padding: 12px 16px; border-radius: var(--r-sm); background: var(--paper); text-decoration: none; color: var(--fg);
  border: 2px solid transparent; transition: border-color 0.15s ease;
}
.sec-card .do, .ep .do { background: var(--card); border-color: var(--line); }
.do:hover { border-color: var(--fg); }
.do-kind { grid-area: kind; font: 700 0.6rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
.do b { grid-area: title; font-weight: 700; }
.do-note { grid-area: note; font-size: 0.86rem; color: var(--muted); }
.do .arr { grid-area: arr; font-weight: 700; }
.do-sos .do-kind { color: var(--flame); }

/* thought of the day */
.thought .eyebrow { margin-bottom: 22px; }
.quote blockquote p { font: 700 clamp(1.3rem, 3.2vw, 2.2rem)/1.3 var(--display); letter-spacing: -0.02em; max-width: 26em; }
.quote figcaption { margin-top: 22px; }

/* the seven steps */
.steps { display: grid; gap: 10px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: start;
  padding: 16px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--fg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: var(--fg); transform: translateY(-1px); }
.step-main { display: grid; gap: 4px; min-width: 0; }
.step-title { font: 700 1.08rem/1.25 var(--display); letter-spacing: -0.01em; }
.step-lead { color: var(--muted); font-size: 0.96rem; }
.step-todo { margin-top: 6px; font-size: 0.96rem; }
.step-todo i { font-style: normal; font-weight: 700; }
.step-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 760px) {
  .step { grid-template-columns: auto 1fr auto; align-items: center; padding: 18px 22px; }
  .step-meta { grid-column: auto; justify-content: flex-end; }
}

/* how it works */
.how { display: grid; gap: 14px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.how li { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--paper); }
.how b { font: 800 1.15rem/1.2 var(--display); }
.how span:last-child { color: var(--muted); }

.honest { padding: 56px 0; }
.honest .h2 { margin-top: 16px; max-width: 18em; }
@media (min-width: 960px) { .honest { padding: 80px 0; } }

/* the neighbours */
.gcards { display: grid; gap: 16px; }
@media (min-width: 760px) { .gcards { grid-template-columns: 1fr 1fr; gap: 20px; } }
.gcard { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 22px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color 0.2s ease; }
.gcard:hover { border-color: var(--fg); }
.gcard-text { color: var(--muted); }
.gcard .link-more { margin-top: auto; }
.pchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--c); color: var(--ink); font: 800 0.8rem/1 var(--display); }
.pc-mk { height: 24px; width: auto; }

.app-in { display: grid; gap: 28px; align-items: center; }
.app .s-head { margin-bottom: 20px; }
.app-icon { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 30px; background: var(--accent); justify-self: start; }
.app-mk { height: 84px; width: auto; }
@media (min-width: 800px) { .app-in { grid-template-columns: 1fr auto; } .app-icon { justify-self: end; } }

/* -------------------------------------------------------------- inner pages */

.p-hero { padding: 40px 0 46px; }
.h1-p { margin-top: 16px; font-size: clamp(1.8rem, 5.2vw, 3.4rem); max-width: 20em; }
.ep-hero .h1-p { max-width: 16em; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.meta li { padding: 7px 12px; border-radius: 18px; background: rgba(245, 244, 238, 0.1); font-size: 0.86rem; color: rgba(245, 244, 238, 0.86); }
.meta li:first-child { background: var(--accent); color: var(--ink); font-weight: 700; }

/* One column that may shrink: a grid's own «auto» would let a wide child push the page sideways. */
.ep, .me, .sos, .breath, .br-ctl, .ep-block, .about-block div, .pl-main { grid-template-columns: minmax(0, 1fr); }
.ep { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 72px; max-width: calc(var(--read) + 2 * var(--gut)); margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .ep { gap: 40px; padding-top: 44px; padding-bottom: 96px; } }
.ep-block { display: grid; gap: 14px; }

/* the player */
.player { padding: 18px; border-radius: var(--r); background: var(--ink); color: var(--light); }
@media (prefers-color-scheme: dark) { .player { background: var(--card); box-shadow: inset 0 0 0 2px var(--line); } }
.player audio { width: 100%; display: block; }
.pl-ui { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.pl-play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.pl-play:hover { background: var(--accent-600); transform: scale(1.04); }
.pl-play svg { width: 28px; height: 28px; fill: currentColor; }
.pl-play .ic-pause, .is-playing .pl-play .ic-play { display: none; }
.is-playing .pl-play .ic-pause { display: block; }
.pl-main { min-width: 0; display: grid; gap: 6px; }
.pl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-title { min-width: 0; font: 700 0.95rem/1.25 var(--display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-time { font-size: 0.86rem; color: rgba(245, 244, 238, 0.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-seek { width: 100%; height: 28px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.pl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pl-skip, .pl-again { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(245, 244, 238, 0.28); background: transparent; color: var(--light); font: 600 0.86rem/1 var(--sans); cursor: pointer; }
.pl-skip:hover, .pl-again:hover { border-color: var(--light); }
.pl-speed { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 0.86rem; color: rgba(245, 244, 238, 0.7); }
.pl-speed select { min-height: 40px; padding: 0 10px; border-radius: 999px; border: 1.5px solid rgba(245, 244, 238, 0.28); background: var(--ink); color: var(--light); }
.pl-resume { font-size: 0.86rem; color: var(--accent); }
.pl-voice { margin-top: 12px; font-size: 0.84rem; color: rgba(245, 244, 238, 0.62); }
@media (max-width: 480px) { .pl-speed span { display: none; } .pl-play { width: 56px; height: 56px; } }

/* the small player that follows the reading */
.mini {
  position: fixed; left: 50%; bottom: 12px; z-index: 60; transform: translateX(-50%); width: min(560px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--ink); color: var(--light); border: 1px solid rgba(245, 244, 238, 0.16); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}
.mini .pl-play { width: 44px; height: 44px; flex: none; }
.mini .pl-play svg { width: 20px; height: 20px; }
.mini-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--light); }
.mini-time { font-size: 0.84rem; color: rgba(245, 244, 238, 0.7); font-variant-numeric: tabular-nums; }

/* the text */
.read { font-size: 1.125rem; line-height: 1.75; }
.read p + p, .read hr + p, .read p + hr { margin-top: 1.05em; }
.brk { border: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--accent); margin: 2.4em 0 2em; }
.pz { color: var(--muted); letter-spacing: 0.32em; font-size: 0.95rem; }
.pz b { letter-spacing: 0; font-weight: 600; margin-left: 4px; }
.read-note { font-size: 0.9rem; color: var(--muted); }
.read .read-note { margin: 6px 0 1.6em; line-height: 1.5; }
.med p[data-seg] { font-size: 1.2rem; }
.med .h3 { font-size: 1.12rem; line-height: 1.3; }

/* the step for today */
.stepcard { display: grid; gap: 14px; padding: 26px 24px; border-radius: var(--r); background: var(--accent); color: var(--ink); scroll-margin-top: 100px; }
.stepcard .eyebrow { color: rgba(11, 12, 15, 0.7); }
.stepcard .eyebrow::before { background: var(--ink); }
.stepcard-text { font: 700 clamp(1.15rem, 2.6vw, 1.45rem)/1.35 var(--display); letter-spacing: -0.015em; }
.stepcard-ctl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.stepcard .btn-ink { background: var(--ink); color: var(--light); }
.stepcard .btn-outline { border-color: var(--ink); color: var(--ink); }
.stepcard .btn-outline[aria-pressed='true'] { background: rgba(11, 12, 15, 0.12); }
.stepcard-hint { font-size: 0.84rem; color: rgba(11, 12, 15, 0.66); }
.stepcard :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--light); }

.basis-list { display: grid; gap: 8px; color: var(--muted); font-size: 0.96rem; }
.basis-list li { padding-left: 18px; position: relative; }
.basis-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 4px; border-radius: 8px 8px 0 0; background: var(--accent); }
.disclaimer { font-size: 0.88rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

.pn { display: grid; gap: 12px; padding-top: 8px; }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } }
.pn-a { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r); border: 2px solid var(--line); background: var(--card); text-decoration: none; color: var(--fg); transition: border-color 0.2s ease; }
.pn-a:hover { border-color: var(--fg); }
.pn-k { font: 700 0.64rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pn-a b { font: 700 1rem/1.3 var(--display); }
.pn-next { text-align: right; }

/* meditations */
.mcards { display: grid; gap: 16px; }
@media (min-width: 760px) { .mcards { grid-template-columns: 1fr 1fr; gap: 20px; } }
.mcard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 24px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color 0.2s ease, transform 0.2s ease; }
.mcard:hover { border-color: var(--fg); transform: translateY(-2px); }
.mcard .h3 { font-size: 1.3rem; }
.mcard-lead { color: var(--muted); }
.mcard-when { font-size: 0.94rem; }
.mcard-when i { font-style: normal; font-weight: 700; }
.mcard .link-more { margin-top: auto; }
.safety { font-size: 0.9rem; color: var(--muted); padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px dashed var(--line-strong); }
.mcards + .safety { margin-top: 28px; max-width: 52rem; }
.guide { display: grid; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); }
.guide p { color: var(--muted); }

/* the practice by its text: one phrase at a time, then its silence */
.stage {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--ink); color: var(--light); padding: 16px var(--gut) calc(20px + env(safe-area-inset-bottom));
}
.stage-close { justify-self: end; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(245, 244, 238, 0.3); background: transparent; color: var(--light); cursor: pointer; }
.stage-body { display: grid; align-content: center; justify-items: center; gap: 28px; text-align: center; padding: 16px 0; overflow: auto; }
.stage-text { font: 500 clamp(1.3rem, 3.8vw, 2.1rem)/1.5 var(--sans); max-width: 26em; transition: opacity 0.8s ease; }
.stage.is-silence .stage-text { opacity: 0.38; }
.stage-silence { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font: 700 0.8rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.stage-silence i { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); animation: breathe 4s ease-in-out infinite; }
.stage-silence b { font-variant-numeric: tabular-nums; }
@keyframes breathe { 0%, 100% { transform: scale(0.6); opacity: 0.5; } 50% { transform: scale(1.25); opacity: 1; } }
.stage-done { font-size: 1.2rem; }
.stage-done b { display: block; font: 800 1.6rem/1.2 var(--display); margin-bottom: 8px; color: var(--accent); }
.stage-bar { height: 4px; border-radius: 4px; background: rgba(245, 244, 238, 0.14); overflow: hidden; }
.stage-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s linear; }
.stage-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 16px; flex-wrap: wrap; }
.stage-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(245, 244, 238, 0.3); background: transparent; color: var(--light); font-size: 1.2rem; cursor: pointer; }
.stage-left { flex-basis: 100%; text-align: center; font-size: 0.86rem; color: rgba(245, 244, 238, 0.6); font-variant-numeric: tabular-nums; }
.is-staged { overflow: hidden; }

/* breath */
.breath { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .breath { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.br-stage { display: grid; justify-items: center; gap: 16px; text-align: center; }
.br-ring { display: grid; place-items: center; width: min(320px, 74vw); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line-strong); background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 70%); }
.br-disc { width: 100%; height: 100%; border-radius: 50%; background: var(--accent); transform: scale(0.42); transition: transform 1s ease-in-out; box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.5); }
.br-phase { font: 800 1.5rem/1.2 var(--display); letter-spacing: -0.02em; min-height: 1.2em; }
.br-count { font: 900 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; min-height: 1em; color: var(--link); }
.br-ctl { display: grid; gap: 22px; }
.opts { display: grid; gap: 8px; }
.opts legend { margin-bottom: 10px; }
.opts-row { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-in { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--card); transition: border-color 0.15s ease, background 0.15s ease; }
.opt input:checked + .opt-in { border-color: var(--fg); background: var(--accent); color: var(--ink); }
.opt input:focus-visible + .opt-in { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.opt-pat { font-size: 0.9rem; font-weight: 600; }
.opt-text { font-size: 0.9rem; opacity: 0.74; }
.opt-sm .opt-in { text-align: center; padding: 12px 8px; }
.br-start { min-width: 180px; }

/* my path */
.me { display: grid; gap: 20px; max-width: calc(46rem + 2 * var(--gut)); }
.go { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 24px; border-radius: var(--r); background: var(--accent); color: var(--ink); text-decoration: none; }
.go .eyebrow { grid-column: 1; color: rgba(11, 12, 15, 0.7); }
.go .eyebrow::before { background: var(--ink); }
.go .h3 { grid-column: 1; font-size: 1.35rem; }
.go-note { grid-column: 1; }
.go .arr { grid-column: 2; grid-row: 1 / span 3; font: 900 1.6rem/1 var(--display); }
.card { display: grid; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); scroll-margin-top: 100px; }
.card-quiet { background: transparent; border-style: dashed; }
.intent-row { display: grid; gap: 10px; }
@media (min-width: 640px) { .intent-row { grid-template-columns: 1fr auto; } }
.input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--paper); }
.input:focus { border-color: var(--fg); outline: none; }
.intent-status { min-height: 1.6em; font-size: 0.9rem; color: var(--muted); }
.me-steps { display: grid; }
.me-steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.me-steps li:first-child { border-top: 0; }
.me-step { display: grid; gap: 2px; min-width: 0; }
.me-step a { text-decoration: none; color: var(--fg); }
.me-step a:hover { text-decoration: underline; }
.me-todo { font-size: 0.9rem; color: var(--muted); }
.me-status { grid-column: 2; font-size: 0.84rem; color: var(--muted); }
.me-status.is-on { color: var(--link); font-weight: 700; }
@media (min-width: 720px) { .me-steps li { grid-template-columns: auto 1fr auto; } .me-status { grid-column: auto; text-align: right; max-width: 14em; } }

/* about, privacy */
.about { max-width: calc(58rem + 2 * var(--gut)); }
.about-block { display: grid; gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.about-block:first-child { border-top: 0; padding-top: 0; }
.about-block div { display: grid; gap: 12px; }
@media (min-width: 800px) { .about-block { grid-template-columns: 220px 1fr; } }
.plain-list { display: grid; gap: 8px; }
.plain-list li { padding-left: 22px; position: relative; }
.plain-list li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
.soon-list { display: grid; gap: 10px; }

/* if it is really hard */
.sos { display: grid; gap: 32px; max-width: calc(52rem + 2 * var(--gut)); }
.sos .h3 { margin-bottom: 12px; }
.phones { display: grid; gap: 10px; }
.phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 16px 20px; min-height: 60px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--card); text-decoration: none; color: var(--fg); transition: border-color 0.15s ease; }
.phone:hover { border-color: var(--fg); }
.phone b { font: 800 1.35rem/1.2 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.phone span { color: var(--muted); }
.sos-blocks { display: grid; gap: 14px; }
@media (min-width: 800px) { .sos-blocks { grid-template-columns: repeat(3, 1fr); } }
.sos-blocks .h3 { margin-bottom: 0; }
.sos .do { background: var(--card); border-color: var(--line); }

.simple { padding: 72px 0 96px; }

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

.foot { background: var(--ink); color: var(--light); padding: 56px 0 28px; --wm-pin: var(--accent); --wm-accent: var(--ink); }
.f-top { display: grid; gap: 36px; }
@media (min-width: 960px) { .f-top { grid-template-columns: 300px 1fr; gap: 56px; } }
.f-brand .wordmark { font-size: 2rem; }
.f-ru { margin-top: 10px; font: 700 0.72rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.f-motto { margin-top: 14px; color: rgba(245, 244, 238, 0.68); max-width: 22rem; }
.f-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.f-col h2 { font: 700 0.66rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245, 244, 238, 0.55); margin-bottom: 12px; }
.f-col li + li { margin-top: 2px; }
.f-col a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 40px; padding: 4px 0; text-decoration: none; color: rgba(245, 244, 238, 0.88); font-weight: 500; }
.f-col a:hover { color: var(--accent); }
.f-col a i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.f-col small { color: rgba(245, 244, 238, 0.5); font-size: 0.8rem; }
@media (min-width: 640px) { .f-projects { grid-column: span 2; } .f-projects ul { columns: 2; column-gap: 28px; } .f-projects li { break-inside: avoid; } }
.f-bottom { display: grid; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(245, 244, 238, 0.12); font-size: 0.86rem; color: rgba(245, 244, 238, 0.6); }
.has-mini .foot { padding-bottom: 96px; }

/* ------------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* The circle is the practice itself: without movement it shows the phase by its size at once. */
}

@media print {
  .strip, .top, .foot, .player, .mini, .stepcard-ctl, .guide, .pn, .hero-art { display: none !important; }
  body { background: #fff; color: #000; }
}
