/* Daily OS website. Dark only, matching the app: Manrope, the app's five hue
   families (violet mind, blue time, green health, orange activity, teal money)
   and flat surfaces with hairlines. No inline styles anywhere (CSP). */

@font-face { font-family: Manrope; src: url(/fonts/Manrope-400.ttf) format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/Manrope-600.ttf) format("truetype"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/Manrope-800.ttf) format("truetype"); font-weight: 800 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #09090f;
  --bg-2: #0d0d15;
  --surface: #121219;
  --surface-2: #181821;
  --surface-3: #20202c;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #eeeef6;
  --muted: #a3a3b9;
  --violet: #a596ff;
  --blue: #62aeff;
  --green: #4fdc9c;
  --orange: #ffa162;
  --teal: #46d6c6;
  --yellow: #ffc857;
  --danger: #ff6b78;
  --ink: #120e2e;
  --tone: var(--violet);
  --r-lg: 20px;
  --r-xl: 28px;
  --wrap: 1160px;
  --gutter: 24px;
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg { display: block; flex: none; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #c7bdff; }
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
code { font: 600 0.92em ui-monospace, "Cascadia Code", Consolas, monospace; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(165, 150, 255, 0.35); }
[hidden] { display: none !important; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--violet); color: var(--ink); font-weight: 800; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.blue, .c-blue, .b-blue { --tone: var(--blue); }
.orange, .c-orange, .b-orange { --tone: var(--orange); }
.violet, .c-violet, .b-violet { --tone: var(--violet); }
.green, .c-green { --tone: var(--green); }
.teal { --tone: var(--teal); }
.danger { --tone: var(--danger); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--tone); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.lead { max-width: 38rem; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link .i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.text-link:hover .i { transform: translateX(3px); }
.fi {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 13px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
}
.fi .i { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--violet); color: var(--ink);
  font: 800 0.98rem/1 Manrope, system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: #bcb1ff; color: var(--ink); }
.btn .i { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-3); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 0.9rem; }
.btn.danger { background: var(--danger); color: #2a0409; }
.btn.danger:hover { background: #ff8a94; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px;
  border: 1px solid #f4f4fa; border-radius: 14px;
  background: #f4f4fa; color: #0b0b12; text-decoration: none;
}
.store:hover { background: #fff; color: #0b0b12; }
.store .i { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.store > span { display: grid; font-size: 1.08rem; font-weight: 800; line-height: 1.15; text-align: left; }
.store small { font-size: 0.72rem; font-weight: 600; opacity: 0.72; }
.store.soon { background: var(--surface-2); border-color: var(--line-3); color: var(--text); }
.store.soon .i { color: var(--green); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 15, 0.82);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--text); }
.mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.top-cta { flex: none; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu .close-i, .menu[open] .open-i { display: none; }
.menu[open] .close-i { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  display: grid; gap: 2px; width: min(280px, calc(100vw - 32px)); padding: 8px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.menu-panel a:not(.btn) { padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.menu-panel a:not(.btn):hover { background: var(--surface-3); }
.menu-panel .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -12%; top: -24%; width: 62vw; max-width: 860px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(165, 150, 255, 0.16), rgba(98, 174, 255, 0.05) 60%, transparent 76%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 56px; }
.hero h1 { max-width: 11.5ch; margin-bottom: 22px; font-size: clamp(2.7rem, 6.4vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.94rem; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof .i { width: 18px; height: 18px; color: var(--green); }
.hero-visual { position: relative; display: grid; place-items: center end; min-height: 660px; }

.notif, .float-chip { position: absolute; z-index: 2; background: rgba(28, 28, 40, 0.97); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.notif { left: 0; top: 23%; width: 250px; padding: 12px 14px; border-radius: 18px; font-size: 12.5px; }
.notif-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
.notif-top .mark { width: 16px; height: 16px; }
.notif-time { margin-left: auto; }
.notif-title { margin: 0; font-size: 13.5px; font-weight: 800; }
.notif-text { margin: 0 0 10px; color: var(--muted); }
.notif-actions { display: flex; gap: 18px; color: var(--violet); font-size: 12.5px; font-weight: 800; }
.float-chip { left: 9%; bottom: 17%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; font-size: 12px; }
.float-chip b { display: block; font-size: 13px; }
.float-chip small { color: var(--muted); }
.fc-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); }
.fc-ico .i { width: 18px; height: 18px; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid div { padding: 28px 24px; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.stats-grid span { color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section h2, .feature h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.05; letter-spacing: -0.035em; }
.section-lead { max-width: 40rem; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }

.groups { display: grid; border-top: 1px solid var(--line-2); }
.group { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.group-head h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 1.1rem; }
.group-head h3 span { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.group-head p { margin: 0 0 0 18px; color: var(--muted); font-size: 0.93rem; }
.group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.group a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.group a:hover { border-color: color-mix(in srgb, var(--tone) 65%, transparent); color: var(--text); }

.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.points li { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.points h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.points p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Feature rows ---------- */
.feature { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.feature.flip .feature-copy { order: 2; }
.flist { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.flist li { display: flex; align-items: flex-start; gap: 14px; }
.flist .fi { width: 38px; height: 38px; border-radius: 11px; }
.flist .fi .i { width: 19px; height: 19px; }
.flist h3 { margin: 1px 0 2px; font-size: 1rem; letter-spacing: -0.01em; }
.flist p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 560px; }
.feature-visual::before {
  content: ""; position: absolute; z-index: -1; inset: 6% 2%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 15%, transparent), transparent 78%);
}

.parse-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.parse-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.parse-list code { overflow: hidden; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.parse-list .i { width: 16px; height: 16px; color: var(--muted); }
.parse-list span { color: var(--muted); font-size: 0.93rem; }
.parse-list b { margin-right: 6px; color: var(--text); }

/* ---------- Phone mockups ---------- */
.phone {
  position: relative; flex: none;
  width: min(292px, 100%); height: 624px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 48px;
  background: #050508;
  box-shadow: inset 0 0 0 2px #1b1b25, var(--shadow-lg);
}
.phone-screen {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 39px; background: #0e0e16; color: #ececf5;
  font-size: 12px; line-height: 1.35; text-align: left;
}
.m-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px; color: #e6e6f0; font-size: 11px; font-weight: 700; }
.m-cam { width: 10px; height: 10px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #17171f; }
.m-sys { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.m-batt { position: relative; display: inline-block; width: 20px; height: 10px; border: 1.5px solid #e6e6f0; border-radius: 3px; }
.m-batt::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: #e6e6f0; }
.m-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; }
.m-kicker { margin: 0; color: #8f8fa6; font-size: 10.5px; font-weight: 600; }
.m-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.m-title.sm { font-size: 15px; }
.m-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #2a2640; color: #cfc8ff; font-size: 13px; font-weight: 800; }
.m-score { display: flex; align-items: center; gap: 12px; margin: 0 12px; padding: 14px 14px 14px 12px; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 22px; background: #16161f; }
.m-rings { position: relative; flex: none; width: 108px; height: 108px; }
.m-ring-svg { width: 108px; height: 108px; }
.rt { opacity: 0.18; }
.rt-orange, .rs-orange { stroke: var(--orange); }
.rt-violet, .rs-violet { stroke: var(--violet); }
.rt-green, .rs-green { stroke: var(--green); }
.m-rings-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.m-rings-center b { font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.m-rings-center span { color: #8f8fa6; font-size: 10px; font-weight: 700; }
.m-legend { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.m-legend li { display: grid; grid-template-columns: 10px 1fr auto; align-items: baseline; column-gap: 6px; }
.m-legend .dot { width: 7px; height: 7px; align-self: center; }
.m-legend span { color: #b5b5c8; font-size: 10.5px; font-weight: 700; }
.m-legend b { font-size: 12px; font-weight: 800; }
.m-legend small { grid-column: 2 / -1; color: #7f7f96; font-size: 9.5px; }
.m-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px 8px; font-size: 12.5px; font-weight: 800; }
.m-link { color: var(--violet); font-size: 10.5px; font-weight: 700; }
.m-list { display: grid; gap: 6px; margin: 0; padding: 0 12px; list-style: none; }
.m-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-left: 3px solid var(--tone); border-radius: 14px; background: #15151e; }
.m-list time { flex: none; width: 32px; color: #9d9db3; font-size: 10.5px; font-weight: 700; }
.m-row { display: grid; flex: 1; min-width: 0; }
.m-row b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.m-row small { color: #7f7f96; font-size: 10px; }
.m-chip { flex: none; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 16%, transparent); color: var(--tone); font-size: 10px; font-weight: 800; }
.m-quick { display: flex; gap: 6px; padding: 12px 12px 0; }
.m-quick span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 13%, transparent); color: var(--tone); font-size: 10.5px; font-weight: 800; }
.m-quick .i { width: 13px; height: 13px; stroke-width: 2.2; }
.m-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; margin-top: auto; padding: 8px 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: #121219; }
.m-nav span { display: grid; justify-items: center; gap: 3px; color: #7f7f96; font-size: 9px; font-weight: 700; }
.m-nav .i { width: 18px; height: 18px; }
.m-nav .on { color: var(--violet); }
.m-nav .m-fab { place-items: center; place-self: center; width: 42px; height: 42px; border-radius: 15px; background: var(--violet); color: var(--ink); }
.m-nav .m-fab .i { width: 20px; height: 20px; stroke-width: 2.4; }

/* Walk */
.m-bar { display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; }
.m-back { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #1a1a24; }
.m-back .i { width: 16px; height: 16px; }
.map { position: relative; height: 236px; margin: 0 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; }
.map svg { width: 100%; height: 100%; }
.map-bg { fill: #121722; }
.map-park { fill: rgba(79, 220, 156, 0.12); }
.map-lake { fill: rgba(98, 174, 255, 0.16); }
.map-road { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 5; }
.map-road.major { stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.map-route-glow { fill: none; stroke: rgba(255, 161, 98, 0.22); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.map-route { fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.map-start { fill: var(--green); stroke: #121722; stroke-width: 3; }
.map-end { fill: var(--orange); stroke: #fff; stroke-width: 3; }
.map-km circle { fill: #0e0e16; stroke: var(--orange); stroke-width: 2; }
.map-km text { fill: #fff; font: 800 10px Manrope, sans-serif; text-anchor: middle; }
.map-credit { position: absolute; right: 8px; bottom: 6px; color: rgba(255, 255, 255, 0.45); font-size: 7.5px; }
.walk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px 14px 2px; }
.walk-stats div { display: grid; }
.walk-stats b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.walk-stats small { color: #7f7f96; font-size: 9.5px; font-weight: 600; }
.splits { display: grid; gap: 7px; margin: 0; padding: 0 18px; list-style: none; }
.splits li { display: grid; grid-template-columns: 34px 1fr 38px; align-items: center; gap: 8px; color: #9d9db3; font-size: 10.5px; }
.splits b { color: #ececf5; text-align: right; }
.sb { display: block; height: 7px; border-radius: 7px; background: var(--orange); }
.sb.s1 { width: 77%; }
.sb.s2 { width: 93%; }
.sb.s3 { width: 90%; }
.earn { display: flex; align-items: center; gap: 8px; margin: auto 12px 14px; padding: 11px 12px; border-radius: 14px; background: color-mix(in srgb, var(--green) 12%, #14141c); color: var(--green); font-size: 11px; }
.earn .i { width: 16px; height: 16px; }
.earn span { color: #cfd6dd; }
.earn b { color: #fff; }

/* Pause */
.pause {
  display: flex; flex: 1; flex-direction: column; align-items: center;
  padding: 26px 18px 18px; text-align: center;
  background: radial-gradient(120% 60% at 50% 35%, rgba(79, 220, 156, 0.12), transparent 70%), #0d1110;
}
.pause-app { display: grid; justify-items: center; gap: 4px; }
.pause-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: #2b2f3d; color: #fff; font-size: 22px; font-weight: 800; }
.pause-app p { margin: 0; font-size: 16px; font-weight: 800; }
.pause-app small { color: #8fa39a; font-size: 10.5px; }
.breath { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin: 26px 0 22px; }
.breath-ring { position: absolute; inset: 0; border: 2px solid rgba(79, 220, 156, 0.5); border-radius: 50%; background: rgba(79, 220, 156, 0.08); animation: breathe 8s ease-in-out infinite; }
.breath-core { position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: rgba(79, 220, 156, 0.16); color: var(--green); font-size: 13px; font-weight: 800; }
@keyframes breathe { 0%, 100% { transform: scale(0.78); opacity: 0.7; } 50% { transform: scale(1); opacity: 1; } }
.pause-earn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(79, 220, 156, 0.1); color: var(--green); font-size: 11px; }
.pause-earn .i { width: 15px; height: 15px; }
.pause-earn span { color: #cfe7dc; }
.pause-earn b { color: #fff; }
.pause-actions { display: grid; gap: 8px; width: 100%; margin-top: auto; }
.pause-actions span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 13px; font-size: 12px; font-weight: 800; }
.pa-main { background: var(--green); color: #04150d; }
.pa-ghost { border: 1px solid rgba(79, 220, 156, 0.4); color: var(--green); }
.pa-muted { color: #73817b; }

/* ---------- Card mockups ---------- */
.ui-card { width: min(100%, 380px); padding: 18px; border: 1px solid var(--line-2); border-radius: 24px; background: #14141c; box-shadow: var(--shadow-lg); font-size: 0.88rem; text-align: left; }
.uc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.uc-kicker { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.uc-title { margin: 2px 0 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.uc-pill { padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--tone); font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.stack { display: grid; width: min(100%, 440px); }
.stack > .ui-card:first-child { padding-bottom: 60px; }
.stack > .ui-card + .ui-card { position: relative; width: min(88%, 300px); margin: -46px 0 0 auto; }

.sheet { width: min(100%, 440px); padding: 14px 20px 22px; border: 1px solid var(--line-2); border-radius: 28px 28px 22px 22px; background: #15151e; box-shadow: var(--shadow-lg); text-align: left; }
.sheet-grip { display: block; width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.sheet-title { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; }
.sheet-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sheet-kinds span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.sheet-kinds .i { width: 13px; height: 13px; }
.sheet-kinds .on { border-color: var(--violet); background: var(--violet); color: var(--ink); }
.sheet-input { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--violet); border-radius: 14px; background: #0e0e16; font-size: 1rem; font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-left: 2px; background: var(--violet); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sheet-parse { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.sheet-parse span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); font-size: 0.8rem; font-weight: 800; }
.sheet-parse .hot { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
.sheet-parse .i { width: 14px; height: 14px; }
.sheet-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; background: var(--violet); color: var(--ink); font-weight: 800; }

.tl { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.tl time { padding-top: 8px; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.tl li > div { display: grid; padding: 8px 12px; border-left: 3px solid var(--tone); border-radius: 12px; background: color-mix(in srgb, var(--tone) 12%, #14141c); }
.tl li.tall > div { padding-block: 16px; }
.tl b { font-size: 0.88rem; }
.tl small { color: var(--muted); font-size: 0.75rem; }
.habit-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.hr-name { display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-weight: 700; }
.hr-name .i { width: 16px; height: 16px; }
.hr-meta { margin-left: auto; color: var(--muted); }
.hr-dots { display: inline-flex; gap: 4px; }
.hr-dots i { width: 10px; height: 10px; border: 1.5px solid var(--violet); border-radius: 50%; }
.hr-dots i.on { background: var(--violet); }

.ui-card.alarm { background: #17141f; }
.al-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.al-time { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.al-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); font-size: 0.74rem; font-weight: 800; }
.al-tag .i { width: 14px; height: 14px; }
.al-q { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 12px; padding: 14px; border-radius: 14px; background: #0e0e16; font-size: 1.35rem; font-weight: 800; }
.al-a { color: var(--violet); }
.al-btn { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 12px; background: var(--violet); color: var(--ink); font-weight: 800; }

.chart { width: 100%; height: auto; margin-top: 4px; }
.chart .bar { fill: rgba(255, 255, 255, 0.1); }
.chart .bar.hi { fill: var(--orange); }
.goal-line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; stroke-dasharray: 4 4; }
.chart-label { fill: var(--muted); font: 700 9px Manrope, sans-serif; text-anchor: end; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 4px; color: var(--muted); font-size: 0.72rem; font-weight: 700; text-align: center; }
.moods { justify-items: center; margin-top: 8px; }
.mood { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); }
.mood.m3 { opacity: 0.35; }
.mood.m4 { opacity: 0.7; }
.legend { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.lg-bar, .lg-dot { display: inline-block; width: 10px; height: 10px; }
.lg-bar { border-radius: 3px; background: var(--orange); }
.lg-dot { margin-left: 10px; border-radius: 50%; background: var(--violet); }
.insight { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--violet) 12%, #14141c); font-size: 0.86rem; font-weight: 600; }
.insight .i { width: 18px; height: 18px; margin-top: 1px; color: var(--violet); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stats div { display: grid; padding: 10px; border-radius: 12px; background: #1a1a24; }
.mini-stats b { font-size: 1rem; }
.mini-stats small { color: var(--muted); font-size: 0.72rem; }

.budgets { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.budgets li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 0.85rem; }
.budgets li > span { font-weight: 700; }
.budgets b { font-weight: 800; }
.budgets b small { color: var(--muted); font-weight: 600; }
.track { display: block; grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.fill { display: block; height: 100%; border-radius: 8px; background: var(--teal); }
.fill.f78 { width: 78%; }
.fill.f82 { width: 82%; }
.fill.f98 { width: 98%; }
.budgets .warn .fill { background: var(--yellow); }
.recurring { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: #1a1a24; font-size: 0.82rem; font-weight: 700; }
.recurring .i { width: 16px; height: 16px; color: var(--teal); }
.recurring small { margin-left: auto; color: var(--muted); font-weight: 600; }
.sp-top { display: flex; align-items: center; gap: 10px; }
.sp-top b { display: block; font-size: 0.92rem; }
.sp-top small { color: var(--muted); font-size: 0.76rem; }
.avatar { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 0.85rem; font-weight: 800; }
.avatar.a1 { background: #2a2640; color: #cfc8ff; }
.avatar.a2 { background: #173331; color: #8ff0e4; }
.avatar.a3 { background: #1c2a40; color: #a9d2ff; }
.sp-share { margin: 12px 0; color: var(--muted); font-size: 0.85rem; }
.sp-share b { display: block; color: var(--text); font-size: 1.6rem; letter-spacing: -0.03em; }
.sp-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.sp-actions span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 12px; font-size: 0.85rem; font-weight: 800; }
.sp-ghost { border: 1px solid var(--line-3); }
.sp-main { background: var(--teal); color: #03201c; }
.sp-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: 0.76rem; }
.sp-note .i { width: 14px; height: 14px; color: var(--teal); }

.vs-head { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 800; }
.vs-head span:nth-child(4) { text-align: right; }
.vs { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.vs-rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vs-rows li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1a1a24; }
.vs-rows em { color: var(--muted); font-size: 0.76rem; font-style: normal; font-weight: 700; text-align: center; }
.vs-rows span { font-size: 1rem; font-weight: 800; }
.vs-rows span:last-child { text-align: right; }
.vs-rows .win { color: var(--blue); }
.duel { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--orange) 12%, #14141c); color: var(--orange); font-size: 0.8rem; font-weight: 700; }
.duel .i { width: 16px; height: 16px; }
.duel span { color: var(--text); }

/* ---------- Privacy ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin: 0; padding: 0; list-style: none; }
.trust li { padding-top: 24px; border-top: 1px solid var(--line-2); }
.trust h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.trust p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 44px 0 0; }

/* ---------- Pricing ---------- */
.pricing { max-width: 1000px; margin: 0 auto 28px; }
.region { position: relative; display: flex; width: max-content; margin: 0 auto 32px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); }
.region input { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.region label { padding: 9px 18px; border-radius: 9px; color: var(--muted); font-size: 0.92rem; font-weight: 700; cursor: pointer; }
.region input:checked + label { background: var(--surface-3); color: var(--text); }
.region input:focus-visible + label { outline: 2px solid var(--violet); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plans-ww { display: none; }
.pricing:has(#region-ww:checked) .plans-in { display: none; }
.pricing:has(#region-ww:checked) .plans-ww { display: grid; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.plan.best { border-color: color-mix(in srgb, var(--violet) 55%, transparent); background: color-mix(in srgb, var(--violet) 7%, var(--surface)); }
.plan .tag { position: absolute; top: -12px; left: 28px; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--violet); color: var(--ink); font-size: 0.74rem; font-weight: 800; }
.plan h3 { margin-bottom: 10px; font-size: 1.05rem; }
.amount { margin: 0; font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
.amount span { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan-sub { margin: 8px 0 18px; color: var(--muted); font-size: 0.92rem; }
.plan-list { display: grid; gap: 8px; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.92rem; font-weight: 600; }
.plan-list li { display: flex; align-items: center; gap: 8px; }
.plan-list .i { width: 16px; height: 16px; color: var(--green); stroke-width: 2.4; }
.plans-note { margin: 22px 0 0; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 56px; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; }
.faq[open] summary .i { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- Download ---------- */
.download-box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; gap: 40px; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line-2); border-radius: 32px; background: var(--surface); }
.download-box h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.steps { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 1.3em; color: var(--muted); font-size: 1.02rem; }
.steps b { color: var(--text); }
.steps li::marker { color: var(--violet); font-weight: 800; }
.download-art { display: grid; grid-template-columns: repeat(3, 64px); justify-content: center; gap: 14px; }
.download-art .fi { width: 64px; height: 64px; border-radius: 20px; }
.download-art .fi .i { width: 28px; height: 28px; }

/* ---------- Documents ---------- */
.page, .doc { padding-block: clamp(48px, 7vw, 88px); }
.doc { max-width: 860px; }
.doc-head { margin-bottom: 32px; }
.doc-head.center { margin-inline: auto; text-align: center; }
.doc-head.center .lead { margin-inline: auto; }
.doc-head h1, .page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; }
.doc-body { color: #d6d6e3; }
.doc-body.narrow { max-width: 760px; margin: 56px auto 0; }
.doc-body section { margin: 40px 0; scroll-margin-top: 90px; }
.doc-body h2 { color: var(--text); font-size: 1.35rem; letter-spacing: -0.02em; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li { margin-bottom: 0.55em; }
.doc-body strong { color: var(--text); }
.toc { margin: 0 0 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toc-title { margin-bottom: 8px; font-weight: 800; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 800; white-space: nowrap; }
tbody th { color: var(--text); font-weight: 700; }
tr:last-child > * { border-bottom: 0; }

/* ---------- Forms ---------- */
.two, .support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); scroll-margin-top: 90px; }
.panel h2 { font-size: 1.3rem; }
.panel ol { display: grid; gap: 6px; margin: 0 0 16px; padding-left: 1.2em; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 0.94rem; font-weight: 700; }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
input, textarea, select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 12px; background: var(--bg-2); color: var(--text); font: inherit; font-weight: 500; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(165, 150, 255, 0.25); }
input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--violet); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.notice.ok { border: 1px solid rgba(79, 220, 156, 0.35); background: rgba(79, 220, 156, 0.12); }
.notice.bad { border: 1px solid rgba(255, 107, 120, 0.35); background: rgba(255, 107, 120, 0.12); }

/* ---------- Footer ---------- */
.foot { padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { max-width: 32ch; margin: 14px 0; color: var(--muted); font-size: 0.92rem; }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.92rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.foot-mail .i { width: 18px; height: 18px; color: var(--muted); }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h2 { margin: 0 0 4px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-col a { color: var(--text); font-size: 0.94rem; font-weight: 500; text-decoration: none; }
.foot-col a:hover { color: var(--violet); }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: 0.84rem; }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .hero-visual { place-items: center; min-height: 0; padding-top: 8px; }
  .notif { position: relative; left: auto; top: auto; order: -1; width: min(300px, 100%); margin-bottom: -30px; }
  .float-chip { display: none; }
  .feature-visual { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .faq-grid .section-head { position: static; margin-bottom: 28px; }
}
@media (max-width: 880px) {
  .nav, .top-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .download-box, .two, .support-grid { grid-template-columns: 1fr; }
  .download-art { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid div { padding: 22px 18px; }
  .stats-grid div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-grid div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .group { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .points, .trust { grid-template-columns: 1fr; }
  .parse-list li { grid-template-columns: 1fr; gap: 4px; }
  .parse-list .i { display: none; }
  .plan { padding: 24px; }
  .store, .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
