/* ─────────────────────────────────────────────────────────────
   תמידין כסדרן — landing page
   Design language mirrors the product: ~75% off-white, ~20% teal,
   ~5% sunrise gold. Teal is "the product speaking", gold is the
   sun in the logo, state colours stay reserved for states.
   ───────────────────────────────────────────────────────────── */

:root {
  /* brand — teal */
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;

  /* accent — sunrise */
  --sun-50: #fffbeb;
  --sun-200: #fde68a;
  --sun-300: #fcd34d;
  --sun-500: #f59e0b;
  --sun-600: #d97706;

  /* surfaces */
  --canvas: #fafcfb;
  --card: #ffffff;
  --warm: #fffcf7;
  --line: #e5edeb;
  --divider: #eef3f2;
  --tint: #f2f9f7;

  /* text */
  --ink: #16302d;
  --ink-soft: #647773;
  --ink-muted: #94a3a0;

  /* state */
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --warn: #f59e0b;
  --warn-soft: #fef3c7;
  --bad: #ef4444;
  --bad-soft: #fee2e2;

  /* category accents */
  --cat-tanakh: #0d9488;
  --cat-mishna: #2563eb;
  --cat-gemara: #7c3aed;
  --cat-halacha: #d97706;
  --cat-musar: #db2777;
  --cat-chasidut: #ea580c;
  --cat-pnimiyut: #4f46e5;
  --cat-custom: #64748b;

  --radius-card: 20px;
  --radius-tile: 16px;
  --radius-pill: 999px;

  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Rubik", "Heebo", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgb(19 78 74 / 0.05), 0 1px 6px rgb(19 78 74 / 0.04);
  --shadow-md: 0 6px 20px rgb(19 78 74 / 0.08), 0 2px 6px rgb(19 78 74 / 0.04);
  --shadow-lg: 0 24px 60px rgb(19 78 74 / 0.16), 0 8px 20px rgb(19 78 74 / 0.06);

  --container: 1160px;
  --header-h: 72px;
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(100% - 1.5rem, var(--container)); } }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: var(--brand-700); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100;
}
.skip:focus { top: 1rem; }

/* ── type helpers ──────────────────────────────────────────── */
.accent {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: .35rem .85rem; border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 14px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; border-radius: 16px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 8px 20px rgb(13 148 136 / .28), inset 0 1px 0 rgb(255 255 255 / .18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgb(13 148 136 / .34); }
.btn-soft { color: var(--brand-800); background: var(--brand-100); }
.btn-soft:hover { background: var(--brand-200); }
.btn-ghost { color: var(--brand-800); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand-300); background: var(--brand-50); }

.link { color: var(--brand-700); font-weight: 600; }
.link:hover { color: var(--brand-900); }

/* ── header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 252 251 / .8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--brand-900); }
.brand-tag { font-size: .72rem; font-weight: 500; color: var(--ink-muted); margin-top: .2rem; }

.nav { display: flex; gap: .25rem; }
.nav a {
  padding: .5rem .85rem; border-radius: 10px;
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover, .nav a.active { color: var(--brand-800); background: var(--brand-50); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset-inline: 0; top: var(--header-h);
    flex-direction: column; gap: .25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .header-actions .btn-primary { padding: .6rem .95rem; font-size: .9rem; }
}

/* ── hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-a { width: 560px; height: 560px; background: radial-gradient(circle, var(--brand-200), transparent 70%); top: -180px; inset-inline-end: -120px; }
.orb-b { width: 420px; height: 420px; background: radial-gradient(circle, var(--sun-200), transparent 70%); bottom: -160px; inset-inline-start: -120px; opacity: .45; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgb(19 78 74 / .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(19 78 74 / .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800; line-height: 1.12; color: var(--brand-900);
}
.lede { margin-top: 1.25rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--brand-800); line-height: 1; }
.hero-proof span { font-size: .85rem; color: var(--ink-muted); margin-top: .35rem; }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(330px, 86vw); aspect-ratio: 9 / 18.4;
  background: #0f2926; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgb(255 255 255 / .06);
  animation: floaty 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0f2926; border-radius: 999px; z-index: 2; }
.screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--canvas); padding: 2.9rem 1.05rem 1rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.screen-top { display: flex; align-items: flex-start; justify-content: space-between; }
.screen-kicker { font-size: .72rem; font-weight: 600; color: var(--brand-600); letter-spacing: .04em; }
.screen-date { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--brand-900); line-height: 1.2; }
.screen-sub { font-size: .75rem; color: var(--ink-muted); }

.ring-row { display: flex; align-items: center; gap: .85rem; background: var(--card); border: 1px solid var(--line); padding: .7rem .85rem; border-radius: var(--radius-tile); }
.ring {
  --p: 0; position: relative; width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--brand-500) calc(var(--p) * 1%), var(--brand-100) 0);
  display: grid; place-items: center;
}
.ring::before { content: ""; position: absolute; inset: 7px; background: var(--card); border-radius: 50%; }
.ring span { position: relative; font-family: var(--font-display); font-weight: 700; color: var(--brand-800); font-size: 1rem; }
.ring small { font-size: .7rem; color: var(--ink-muted); font-weight: 500; }
.ring-text { display: flex; flex-direction: column; line-height: 1.3; }
.ring-text strong { font-size: .9rem; }
.ring-text span { font-size: .78rem; color: var(--ink-soft); }

.task { display: flex; align-items: center; gap: .65rem; background: var(--card); border: 1px solid var(--line); padding: .65rem .75rem; border-radius: var(--radius-tile); }
.task.done { background: var(--brand-50); border-color: var(--brand-100); }
.task > div { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: .85rem; }
.task-meta { font-size: .74rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }
.check.empty { background: transparent; border: 2px solid var(--line); }
.pill { font-size: .68rem; font-weight: 600; padding: .25rem .55rem; border-radius: var(--radius-pill); background: var(--divider); color: var(--ink-soft); flex: none; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.screen-foot { margin-top: auto; text-align: center; }
.streak { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--sun-600); background: var(--sun-50); border: 1px solid var(--sun-200); padding: .35rem .8rem; border-radius: var(--radius-pill); }

.float {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-tile);
  box-shadow: var(--shadow-md); padding: .75rem .9rem; font-size: .8rem;
}
.float-title { font-weight: 700; font-size: .8rem; }
.float-body { color: var(--ink-soft); font-size: .78rem; }
.float-a { inset-inline-start: -14px; bottom: 15%; width: 186px; animation: floaty 6s ease-in-out infinite reverse; }
.float-actions { display: flex; gap: .4rem; margin-top: .5rem; }
.float-actions span { font-size: .7rem; font-weight: 600; padding: .25rem .55rem; border-radius: var(--radius-pill); background: var(--brand-100); color: var(--brand-800); }
.float-actions span:last-child { background: var(--divider); color: var(--ink-soft); }
.float-b { inset-inline-end: -44px; top: 30%; display: flex; align-items: center; gap: .6rem; animation: floaty 8s ease-in-out infinite; }
.float-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--sun-50); display: grid; place-items: center; font-size: 1rem; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-visual { margin-top: 1rem; }
  .float-a { inset-inline-start: 0; }
  .float-b { inset-inline-end: 0; }
}
@media (max-width: 480px) {
  .float { display: none; }
  .hero-proof { gap: 1rem 1.5rem; }
  .hero-proof strong { font-size: 1.35rem; }
}

/* ── category marquee ──────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--card); padding: .9rem 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: .75rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.chip {
  --c: var(--brand-600);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; color: var(--c);
  background: color-mix(in srgb, var(--c) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.c-tanakh { --c: var(--cat-tanakh); }
.c-mishna { --c: var(--cat-mishna); }
.c-gemara { --c: var(--cat-gemara); }
.c-halacha { --c: var(--cat-halacha); }
.c-musar { --c: var(--cat-musar); }
.c-chasidut { --c: var(--cat-chasidut); }
.c-pnimiyut { --c: var(--cat-pnimiyut); }
.c-custom { --c: var(--cat-custom); }

/* ── sections ──────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-top: 1rem; font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--brand-900); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; font-weight: 700; }
.feature p { margin-top: .5rem; font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); box-shadow: 0 6px 14px rgb(13 148 136 / .25);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { margin-top: .5rem; font-size: .93rem; color: var(--ink-soft); flex: 1; }
.step-demo { margin-top: 1.1rem; padding: .7rem .8rem; border-radius: 12px; background: var(--tint); border: 1px dashed var(--line); font-size: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.crumb { font-weight: 600; color: var(--brand-800); }
.sep { color: var(--ink-muted); }
.step-demo.days { justify-content: space-between; gap: .25rem; }
.step-demo.days span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; color: var(--ink-muted); background: var(--card); border: 1px solid var(--line); }
.step-demo.days span.on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.step-demo.syllabus { flex-direction: column; align-items: stretch; gap: .3rem; }
.step-demo.syllabus div { display: flex; justify-content: space-between; padding: .3rem .5rem; background: var(--card); border-radius: 8px; }
.step-demo.syllabus div span:first-child { color: var(--ink-soft); }
.step-demo.syllabus div span:last-child { font-weight: 600; color: var(--brand-800); }
.step-demo.marks span { padding: .3rem .6rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .75rem; }
.m-ok { background: var(--ok-soft); color: var(--ok); }
.m-half { background: var(--warn-soft); color: var(--sun-600); }
.m-miss { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* programs */
.programs-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.programs-copy h2 { margin-top: 1rem; font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--brand-900); }
.programs-copy p { margin: 1rem 0 1.75rem; color: var(--ink-soft); font-size: 1.05rem; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.programs li {
  position: relative; display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem; border-radius: var(--radius-tile);
  background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.programs li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); flex: none; box-shadow: 0 0 0 3px var(--brand-100); }
.programs li:hover { transform: translateY(-2px); border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .programs-inner { grid-template-columns: 1fr; } .programs-copy { text-align: center; } }
@media (max-width: 600px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .programs { grid-template-columns: 1fr; } }

/* sources */
.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.source-card {
  --c: var(--brand-600);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.35rem 1.3rem; border-top: 4px solid var(--c);
  transition: transform .2s ease, box-shadow .25s ease;
}
.source-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.source-card header { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; }
.swatch { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.source-card h3 { font-size: 1.1rem; font-weight: 700; }
.source-card li { font-size: .9rem; padding: .4rem 0; border-top: 1px solid var(--divider); }
.source-card li:first-child { border-top: 0; padding-top: 0; }
.source-card em { display: block; font-style: normal; font-size: .76rem; color: var(--ink-muted); }
.source-card p { font-size: .9rem; color: var(--ink-soft); }
.source-custom { background: var(--warm); }
@media (max-width: 1024px) { .sources { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sources { grid-template-columns: 1fr; } }

/* strategies */
.strategies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.strategy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.4rem; }
.strategy h3 { font-size: 1.1rem; font-weight: 700; }
.strategy p { margin-top: .5rem; font-size: .92rem; color: var(--ink-soft); }
.strategy-viz { display: flex; align-items: flex-end; gap: .4rem; height: 64px; margin-bottom: 1.1rem; padding: .5rem; background: var(--tint); border-radius: 12px; }
.bar { flex: 1; height: 45%; border-radius: 6px 6px 3px 3px; background: var(--brand-300); }
.bar.miss { height: 45%; background: repeating-linear-gradient(-45deg, var(--bad-soft), var(--bad-soft) 4px, #fff 4px, #fff 8px); border: 1.5px dashed var(--bad); opacity: .85; }
.bar.today.tall { height: 90%; background: var(--brand-600); }
.bar.shift { height: 45%; background: var(--brand-500); }
.bar.spread { height: 60%; background: var(--brand-500); }
@media (max-width: 1024px) { .strategies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .strategies { grid-template-columns: 1fr; } }

/* split (calendar) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-copy h2 { margin-top: 1rem; font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--brand-900); }
.split-copy p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.bullets li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.bullets li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-top: .2rem; }

.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.25rem; box-shadow: var(--shadow-md); max-width: 420px; margin-inline: auto; }
.cal-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--brand-900); }
.cal-sub { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--ink-muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-muted); padding-bottom: .3rem; }
.d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: .82rem; font-weight: 600; background: var(--tint); color: var(--ink-soft); position: relative; }
.d::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; }
.d.ok { background: var(--ok-soft); color: #166534; } .d.ok::after { background: var(--ok); }
.d.half { background: var(--warn-soft); color: #92400e; } .d.half::after { background: var(--warn); }
.d.miss { background: var(--bad-soft); color: #991b1b; } .d.miss::after { background: var(--bad); }
.d.off { background: transparent; color: var(--ink-muted); border: 1px dashed var(--line); font-weight: 500; }
.d.today { background: var(--brand-600); color: #fff; box-shadow: 0 0 0 3px var(--brand-100); }
.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .75rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; }
.cal-legend .ok { background: var(--ok); } .cal-legend .half { background: var(--warn); } .cal-legend .miss { background: var(--bad); } .cal-legend .off { border: 1px dashed var(--ink-muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-copy { text-align: center; } .bullets { align-items: center; } }

/* apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; max-width: 860px; margin-inline: auto; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.app-icon { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-700); display: grid; place-items: center; margin-bottom: .5rem; }
.app-icon svg { width: 26px; height: 26px; }
.app-card h3 { font-size: 1.2rem; font-weight: 700; }
.app-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.store-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.store { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; }
.store svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .apps { grid-template-columns: 1fr; } }

/* quote band */
.quote-band { background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgb(252 211 77 / .25), transparent 65%); top: -300px; inset-inline-end: -200px; }
.quote-band blockquote { position: relative; margin: 0; text-align: center; }
.quote-band p { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; }
.quote-band footer { margin-top: .9rem; color: var(--brand-200); font-size: .95rem; }

/* cta */
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow-md);
}
.cta-glow { position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(ellipse at 50% 0%, var(--brand-100), transparent 60%); pointer-events: none; }
.cta-logo { position: relative; margin: 0 auto 1.25rem; width: 72px; height: 72px; }
.cta-card h2 { position: relative; font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--brand-900); }
.cta-card p { position: relative; margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; }
.cta-card .hero-cta { position: relative; justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .92rem; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--brand-800); }
.footer-note { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; color: var(--ink-muted); text-align: start; }
.footer-note a { color: var(--brand-700); font-weight: 600; }
@media (max-width: 720px) { .footer-inner { flex-direction: column; align-items: flex-start; } }


/* ── persist: pillars + streak strip ──────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem 1.4rem; }
.pillar-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--sun-600); background: var(--sun-50); border: 1px solid var(--sun-200); margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.1rem; font-weight: 700; }
.pillar p { margin-top: .5rem; font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }

.streak-strip { margin-top: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.streak-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: .35rem; }
.streak-days .s { width: 18px; height: 18px; border-radius: 5px; background: var(--brand-400); }
.streak-days .s.off { background: transparent; border: 1px dashed var(--line); }
.streak-days .s.half { background: var(--warn); }
.streak-days .s.miss { background: var(--bad-soft); border: 1.5px dashed var(--bad); }
.streak-days .s.now { background: var(--brand-700); box-shadow: 0 0 0 3px var(--brand-100); }
.streak-caption { font-size: .95rem; color: var(--ink-soft); }
.streak-caption strong { color: var(--brand-800); }
@media (max-width: 640px) { .streak-days { grid-template-columns: repeat(7, 1fr); } .streak-days .s { width: 16px; height: 16px; } }

/* ── print: paper mockup ───────────────────────────────────── */
.paper {
  max-width: 400px; margin-inline: auto; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 1.4rem 1.5rem 1.1rem; box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg); position: relative;
}
.paper::before { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgb(19 78 74 / .04); pointer-events: none; }
.paper-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.paper-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.paper-sub { font-size: .75rem; color: var(--ink-soft); margin-top: .15rem; }
.paper-table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .82rem; }
.paper-table th { text-align: start; font-weight: 600; color: var(--ink-soft); font-size: .72rem; padding: .45rem .3rem; border-bottom: 1px solid var(--line); }
.paper-table td { padding: .5rem .3rem; border-bottom: 1px solid var(--divider); }
.paper-table td small { color: var(--ink-muted); font-size: .7rem; margin-inline-start: .2rem; }
.paper-table th:last-child, .paper-table td:last-child { text-align: center; width: 36px; }
.box { display: inline-block; width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; vertical-align: middle; position: relative; }
.box.checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; font-weight: 700; line-height: 1; color: var(--brand-700); }
.paper-foot { margin-top: .8rem; font-size: .68rem; color: var(--ink-muted); text-align: center; }

/* ── programs (secondary, compact) ─────────────────────────── */
.programs-compact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.programs-compact .programs-copy h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.programs-compact .programs-copy p { font-size: .98rem; margin-bottom: 0; }
.programs-compact .programs { display: flex; flex-wrap: wrap; gap: .5rem; }
.programs-compact .programs li { padding: .5rem .85rem; font-size: .85rem; font-weight: 500; border-radius: var(--radius-pill); }
.programs-compact .programs li::before { width: 6px; height: 6px; box-shadow: none; }
@media (max-width: 900px) { .programs-compact .programs { justify-content: center; } }

/* ── reveal on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float, .marquee-track { animation: none; }
  .btn, .feature, .source-card, .programs li { transition: none; }
}
