

:root {

  --meadow-600:   #0FB361;
  --meadow-500:   #1FC770;
  --meadow-400:   #38D985;
  --meadow-soft:  #E6F7E8;

  --slate-50:     #F7FAFB;
  --slate-100:    #E6EDE8;
  --slate-800:    #1A2B21;
  --slate-900:    #0F1F17;

  --bg:           var(--slate-50);
  --bg-white:     #FFFFFF;
  --bg-tint:      var(--meadow-soft);
  --dark:         var(--slate-900);
  --dark-surface: var(--slate-800);

  --brand:        var(--meadow-600);
  --brand-vivid:  var(--meadow-400);
  --brand-mid:    var(--meadow-500);

  --text-primary:   #000000;
  --text-secondary: #475157;
  --text-muted:     rgba(71, 81, 87, 0.55);
  --text-on-dark:   rgba(255, 255, 255, 0.90);
  --text-soft-dark: rgba(255, 255, 255, 0.55);

  --text-secondary-dark: #CCE6D5;

  --amber:    #F59E24;

  --surface:      var(--bg-white);
  --border:       var(--slate-100);
  --border-dark:  rgba(255, 255, 255, 0.09);

  --shadow-sm:    0 3px 12px rgba(15, 31, 23, 0.07);
  --shadow-md:    0 10px 32px rgba(15, 31, 23, 0.11);
  --shadow-lg:    0 24px 64px rgba(15, 31, 23, 0.16);
  --shadow-phone: 0 32px 80px rgba(6, 15, 10, 0.40);
  --shadow-ipad:  0 20px 60px rgba(6, 15, 10, 0.30);

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   34px;
  --r-pill: 999px;
  --r-phone: 36px;
  --r-ipad:  20px;

  --container:  min(1160px, calc(100vw - 48px));
  --section-v:  clamp(5rem, 8vw, 8rem);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::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: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
p    { margin: 0; }
button { font: inherit; cursor: pointer; border: none; }
blockquote { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: var(--container); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 0.975rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
              border-color 180ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn:active { transform: none; }
.btn:focus-visible { outline: 2px solid var(--brand-vivid); outline-offset: 3px; }

.btn-appstore {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  line-height: 0;
  transition: transform 160ms ease;
}
.btn-appstore:hover { background: transparent; transform: translateY(-1px); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

.btn-ghost {
  color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-appstore-hero {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.btn-appstore-hero:hover { transform: translateY(-2px); box-shadow: none; }

.appstore-badge-img {
  display: block;
  width: auto;
  max-width: 100%;
}

.appstore-badge-img--sm { height: 40px; }
.appstore-badge-img--hero { height: 56px; }
.appstore-badge-img--large { height: 64px; }

.section-tag {
  display: inline-flex; align-items: center; padding: 0.38rem 0.85rem;
  border-radius: var(--r-pill); background: var(--bg-tint);
  border: 1px solid rgba(15,179,97,0.18); color: var(--brand);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
}
.section-tag--light {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
}

.section-header { max-width: 50rem; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.045em; margin-top: 0.85rem;
}
.section-header p {
  margin-top: 1.1rem; font-size: 1.05rem;
  color: var(--text-secondary); line-height: 1.82; max-width: 44rem;
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 560ms cubic-bezier(0.22,0.65,0.30,1),
              transform 560ms cubic-bezier(0.22,0.65,0.30,1);
}
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--delay-1, .reveal--delay-2 { opacity:1; transform:none; transition:none; }
  .actual-path { transition:none !important; stroke-dashoffset:0 !important; }
  .hero__scroll-cue span, .today-dot { animation:none; }
}

.phone-frame {
  padding: 3px;
  border-radius: var(--r-phone);
  background: #0a0a0a;
  box-shadow: var(--shadow-phone);
}
.phone-frame img { border-radius: calc(var(--r-phone) - 4px); }

.ipad-frame {
  padding: 4px;
  border-radius: var(--r-ipad);
  background: #0a0a0a;
  box-shadow: var(--shadow-ipad);
}
.ipad-frame img { display: block; width: 100%; border-radius: calc(var(--r-ipad) - 4px); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 31, 23, 0.91);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.95rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand__icon { width: 36px; height: 36px; border-radius: var(--r-sm); box-shadow: 0 2px 8px rgba(0,0,0,0.30); }
.brand__wordmark { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.site-nav { display: flex; align-items: center; gap: 0.15rem; }
.site-nav a {
  padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
  color: rgba(255,255,255,0.52); font-size: 0.9rem;
  transition: color 140ms ease, background 140ms ease;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.hero {
  position: relative; min-height: 100svh;
  background: linear-gradient(155deg, var(--dark) 0%, #142b1e 55%, var(--dark-surface) 100%);
  overflow: hidden; display: flex; flex-direction: column;
}

.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 38% at 16% 32%, rgba(15,179,97,0.14) 0%, transparent 100%),
    radial-gradient(ellipse 44% 32% at 84% 68%, rgba(245,158,36,0.09) 0%, transparent 100%),
    radial-gradient(ellipse 58% 28% at 55% 8%,  rgba(56,217,133,0.09) 0%, transparent 100%);
}

.hero__layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem;
  align-items: center; flex: 1;
  padding-top: 5.5rem; padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex; align-items: center; padding: 0.42rem 0.9rem;
  border-radius: var(--r-pill); background: rgba(15,179,97,0.12);
  border: 1px solid rgba(15,179,97,0.25); color: var(--meadow-400);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.5rem);
  line-height: 1.0; letter-spacing: -0.055em; color: #fff;
  margin-top: 1.1rem; max-width: 14ch;
}

.gradient-text {
  font-style: italic;
  background: linear-gradient(135deg, var(--meadow-400) 15%, var(--amber) 85%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero__lede {
  margin-top: 1.5rem; max-width: 38rem;
  font-size: 1.08rem; line-height: 1.82; color: rgba(255,255,255,0.58);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.hero__support {
  margin-top: 1.3rem; max-width: 40rem;
  font-size: 0.97rem; line-height: 1.76; color: rgba(255,255,255,0.45);
}
.hero__signals { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.8rem; }
.hero__signals li {
  padding: 0.38rem 0.85rem; border-radius: var(--r-pill);
  background: rgba(15,179,97,0.09); border: 1px solid rgba(15,179,97,0.18);
  color: rgba(255,255,255,0.55); font-size: 0.82rem;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 1rem 0;
}

.hero-devices {
  position: relative;
  width: 480px;
  height: 640px;
  flex-shrink: 0;
  margin-top: -60px;
}

.hero-device { position: absolute; }

.hero-device--ipad {
  bottom: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-8deg);
  transform-origin: bottom left;
}

.hero-device--iphone {
  bottom: 0;
  right: 0;
  z-index: 3;
  transform: rotate(6deg);
  transform-origin: bottom right;
}

.hero-device--ipad  .ipad-frame  { width: 305px; }
.hero-device--iphone .phone-frame { width: 222px; }

.float-badge {
  position: absolute; padding: 0.42rem 0.88rem; border-radius: var(--r-pill);
  font-size: 0.80rem; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap; z-index: 6;
  color: #fff;
  box-shadow: 0 3px 18px rgba(0,0,0,0.24);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.float-badge--memory {
  top: 148px; left: -14px;
  background: rgba(12,155,82,0.82);
  border: 1px solid rgba(56,217,133,0.45);
  display: flex; align-items: center; gap: 0.4rem;
}
.float-badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.85); flex-shrink: 0;
  animation: dotGlow 2s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  50%       { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

.float-badge--gotit {
  bottom: -16px; right: 14px;
  background: rgba(3,100,155,0.82);
  border: 1px solid rgba(14,165,233,0.45);
}

.hero__scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.hero__scroll-cue span {
  display: block; color: rgba(255,255,255,0.20); font-size: 1.3rem;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.20; }
  50%       { transform: translateY(7px); opacity: 0.42; }
}

.manifesto {
  background: var(--bg-white); padding: clamp(4.5rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--border);
}
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18; letter-spacing: -0.04em;
  color: var(--text-primary); text-align: center; max-width: 56rem;
  margin: 0 auto; font-weight: 700;
}

.manifesto__quote strong { color: var(--brand); font-style: italic; font-weight: 900; }
.manifesto__sub {
  text-align: center; max-width: 44rem; margin: 1.5rem auto 0;
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.82;
}

.problems { background: var(--bg); padding: clamp(3rem, 5vw, 5rem) 0; }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.problem-card {
  padding: 1.85rem 1.7rem; border-radius: var(--r-lg);
  background: var(--bg-white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card__icon {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  background: var(--bg-tint);
  border: 1px solid rgba(15, 179, 97, 0.24);
  color: var(--brand);
}
.problem-card__icon-svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}
.problem-card h3 {
  font-size: 1.15rem; font-weight: 700; line-height: 1.3;
  letter-spacing: -0.02em; margin-bottom: 0.8rem; color: var(--text-primary);
}
.problem-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.78; }

.diff-band { background: var(--dark); padding: clamp(4rem, 6vw, 7rem) 0; }
.diff-band__label {
  color: rgba(255,255,255,0.28); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 2.5rem;
}
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.diff-item {
  display: flex; flex-direction: column; gap: 0.85rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.07);
}
.diff-item__no {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.28);
  text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.16);
}
.diff-item__yes {
  font-size: 1rem; line-height: 1.70; font-weight: 500;
  color: var(--text-secondary-dark);
}

.system { background: var(--bg-white); padding: var(--section-v) 0; }
.system-steps { display: flex; flex-direction: column; gap: 5.5rem; }

.system-step {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  gap: 0 3rem; align-items: center;
}
.system-step--flip .system-step__content { order: 2; }
.system-step--flip .system-step__visual  { order: 1; }
.system-step--flip .system-step__num    { order: 0; }

.system-step__num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 900;
  line-height: 1; letter-spacing: -0.06em;
  -webkit-text-stroke: 2px rgba(15,179,97,0.22); -webkit-text-fill-color: transparent;
  align-self: flex-start; padding-top: 0.3rem; user-select: none;
}
.system-step__content h3 {
  font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.22; margin-bottom: 0.7rem;
}
.system-step__content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.82; margin-bottom: 1.1rem; }
.system-step__content ul { display: flex; flex-direction: column; gap: 0.48rem; }
.system-step__content ul li {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--text-secondary); font-size: 0.925rem;
}

.system-step__content ul li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}

.ipad-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
  background: var(--bg-tint); border: 1px solid rgba(15,179,97,0.18);
  color: var(--brand); font-size: 0.82rem; font-weight: 600;
}
.ipad-note__icon { font-size: 0.7rem; }

.system-step__visual { display: flex; align-items: center; justify-content: center; }

.system-step__visual--phone .phone-frame--step {
  width: min(205px, 100%); border-radius: 38px; box-shadow: var(--shadow-lg);
}

.ipad-frame--step {
  width: min(380px, 100%);
}

.all-screens {
  background: linear-gradient(160deg, var(--bg-tint) 0%, var(--bg-white) 60%);
  padding: clamp(4rem, 6vw, 6rem) 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.all-screens__header {
  text-align: center;
  align-items: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
.all-screens__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-top: 0.8rem;
}
.all-screens__header p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.all-screens__stage {

  --all-screens-gap-iphone-ipad: clamp(7rem, 2.4vw, 3.0rem);
  --all-screens-gap-ipad-mac: clamp(0.75rem, 1.8vw, 2rem);
  --all-screens-gap-group: var(--all-screens-gap-iphone-ipad);
  width: 100%;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.all-screens__track {
  display: flex;
  align-items: flex-end;
  width: max-content;
  animation: all-screens-scroll 56s linear infinite;
  will-change: transform;
}

.all-screens__stage:hover .all-screens__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .all-screens__track { animation: none; }
}

.all-screens__group {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 0;
  padding-right: 0;
}

.all-screens__group + .all-screens__group {
  margin-left: var(--all-screens-gap-group);
}

@keyframes all-screens-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%);   }
}

.all-screens__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  margin: 0;
}

.all-screens__device--iphone {
  margin-right: var(--all-screens-gap-iphone-ipad);
}

.all-screens__device--ipad {
  margin-right: var(--all-screens-gap-ipad-mac);
}

.all-screens__device img {
  display: block;

  width: auto;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.13));
}

.all-screens__device--iphone img {
  height: clamp(260px, 28vw, 400px);
  width: auto;
}

.all-screens__device--ipad img {
  height: clamp(280px, 33vw, 460px);
  width: auto;
}

.all-screens__device--mac img {
  height: clamp(240px, 30vw, 420px);
  width: auto;
}

.all-screens__device figcaption {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.9rem 0 1.6rem;
}

.scenarios { background: var(--bg); padding: var(--section-v) 0; }
.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }

.scenario-card {
  padding: 1.7rem; border-radius: var(--r-lg);
  background: var(--bg-white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.scenario-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(15,179,97,0.22);
}
.scenario-card__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 900;
  line-height: 1; letter-spacing: -0.04em;
  -webkit-text-stroke: 1.5px rgba(15,179,97,0.20); -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem; user-select: none;
}
.scenario-card h3 {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.3; margin-bottom: 0.6rem; color: var(--text-primary);
}
.scenario-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.78; margin-bottom: 1rem; }
.scenario-card__tag {
  display: inline-flex; padding: 0.27rem 0.62rem; border-radius: var(--r-pill);
  background: var(--bg-tint); color: var(--brand); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.02em;
}

.retention { background: var(--bg-white); padding: var(--section-v) 0; }

.retention__inner {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: start;
}

.retention__copy .section-header { margin-bottom: 2rem; }

.retention__points { display: flex; flex-direction: column; gap: 1rem; }
.retention__points li {
  display: flex; flex-direction: column; gap: 0.32rem;
  padding: 1.1rem; border-radius: var(--r-md);
  background: var(--bg-tint); border: 1px solid rgba(15,179,97,0.10);
}
.retention__points li strong {
  font-size: 0.98rem; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.35; color: var(--text-primary);
}
.retention__points li span { font-size: 0.905rem; line-height: 1.75; color: var(--text-secondary); }

.retention__visuals { display: flex; flex-direction: column; gap: 1.5rem; }

.chart-card {
  background: #ffffff;
  border: 1.5px solid rgba(15,179,97,0.28); border-radius: var(--r-xl); padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(15,179,97,0.07);
}
.chart-card__header { margin-bottom: 0.7rem; }
.chart-card__title { font-size: 0.84rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }

.curve-svg { width: 100%; height: auto; display: block; }

.actual-path {
  stroke-dasharray: 900; stroke-dashoffset: 900;
  transition: stroke-dashoffset 1800ms cubic-bezier(0.4, 0, 0.2, 1);
}
.chart-card.is-curve-visible .actual-path { stroke-dashoffset: 0; }

.today-dot { animation: todayPulse 2.2s ease-in-out infinite; }
@keyframes todayPulse {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(245,158,36,0.0)); }
  50%       { filter: drop-shadow(0 0 6px rgba(245,158,36,0.55)); }
}

.chart-legend {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.3rem;
  margin-top: 0.75rem; color: var(--text-muted); font-size: 0.84rem;
}
.chart-legend span { display: flex; align-items: center; gap: 0.42rem; }
.legend-line {
  display: inline-block; width: 18px; height: 3px; border-radius: 2px; flex-shrink: 0;
  background: repeating-linear-gradient(90deg, currentColor 0, currentColor 5px, transparent 5px, transparent 9px);
}
.legend-line--amber { color: var(--amber); }
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.legend-dot--green { background: var(--meadow-600); }
.legend-dot--amber { background: var(--amber); }

.retention-ipad { display: flex; align-items: center; justify-content: center; }
.retention-mac-img {
  width: min(540px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.15));
}
.ipad-frame--retention { width: min(210px, 70%); }

.download-section {
  position: relative; background: var(--dark); padding: var(--section-v) 0; overflow: hidden;
}
.download-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(15,179,97,0.10) 0%, transparent 100%),
    radial-gradient(ellipse 42% 38% at 80% 25%, rgba(245,158,36,0.07) 0%, transparent 100%);
}
.download-card {
  position: relative; max-width: 660px; margin: 0 auto; text-align: center;
}
.download-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12; letter-spacing: -0.04em; color: #fff;
  margin: 0.9rem auto; max-width: 22ch;
}
.download-card > p {
  color: rgba(255,255,255,0.55); font-size: 1.04rem; line-height: 1.82;
  max-width: 42rem; margin: 0 auto 2.5rem;
}

.download-actions { display: flex; justify-content: center; margin-bottom: 2rem; }
.btn-appstore-large {
  display: inline-block; cursor: pointer; line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
}
.btn-appstore-large:hover { transform: translateY(-3px); filter: brightness(1.06); }
.btn-appstore-large:active { transform: none; }

.download-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem;
  color: rgba(255,255,255,0.58); font-size: 0.875rem;
}
.download-trust li { display: flex; align-items: center; gap: 0.45rem; }
.download-trust li::before {
  content: ''; display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: rgba(15,179,97,0.55); flex-shrink: 0;
}

.site-footer { background: #080F0B; padding: 3.5rem 0 2.5rem; border-top: 1px solid rgba(255,255,255,0.04); }
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.site-footer .brand__wordmark { color: rgba(255,255,255,0.72); }
.site-footer .brand__icon { width: 34px; height: 34px; }
.site-footer__brand p {
  margin-top: 0.6rem; color: rgba(255,255,255,0.60);
  font-size: 0.87rem; line-height: 1.68; max-width: 28rem;
}
.site-footer__nav { display: flex; flex-direction: column; align-items: flex-end; gap: 0.52rem; }
.site-footer__nav a { color: rgba(255,255,255,0.55); font-size: 0.87rem; transition: color 140ms ease; }
.site-footer__nav a:hover { color: rgba(255,255,255,0.78); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 0.6rem;
}
.site-footer__legal a {
  color: rgba(255,255,255,0.62); font-size: 0.79rem; transition: color 140ms ease;
}
.site-footer__legal a:hover { color: rgba(255,255,255,0.88); }
.site-footer__copy {
  color: rgba(255,255,255,0.50); font-size: 0.79rem;
}

@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
  .hero__visual { order: -1; }
  .hero-devices {
    transform: scale(0.80);
    transform-origin: top center;
    margin-top: -22px;
    margin-bottom: calc(-640px * 0.20);
  }

  .problems__grid  { grid-template-columns: 1fr 1fr; }
  .diff-grid       { grid-template-columns: 1fr 1fr; }
  .scenarios-grid  { grid-template-columns: 1fr 1fr; }

  .system-step { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .system-step__visual {
    grid-column: 2; justify-self: center;
  }
  .system-step--flip .system-step__content,
  .system-step--flip .system-step__visual,
  .system-step--flip .system-step__num { order: unset; }

  .retention__inner { grid-template-columns: 1fr; gap: 3rem; }
  .all-screens__stage {
    --all-screens-gap-iphone-ipad: clamp(0.95rem, 2vw, 1.95rem);
    --all-screens-gap-ipad-mac: clamp(0.6rem, 1.5vw, 1.5rem);
    --all-screens-gap-group: var(--all-screens-gap-iphone-ipad);
  }
  .all-screens__device--iphone img { height: clamp(200px, 26vw, 340px); }
  .all-screens__device--ipad img { height: clamp(230px, 30vw, 400px); }
  .all-screens__device--mac img { height: clamp(200px, 27vw, 360px); }
}

@media (max-width: 768px) {
  :root { --container: calc(100vw - 32px); --section-v: clamp(3.5rem, 6vw, 5.5rem); }

  .site-nav { display: none; }
  .hero__layout {
    padding-top: 1.75rem;
    padding-bottom: 3.25rem;
    gap: 1.8rem;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 38rem;
    margin-inline: auto;
  }
  .eyebrow,
  .hero h1,
  .hero__lede,
  .hero__support {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero__actions .btn {
    width: min(100%, 22rem);
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    margin-inline: auto;
  }
  .btn-appstore-hero { width: auto; }
  .appstore-badge-img--hero { height: 52px; }
  .hero__signals {
    width: min(100%, 28rem);
    justify-content: center;
  }
  .hero__signals li {
    width: 100%;
    text-align: center;
  }

  .hero h1 { font-size: clamp(2.8rem, 8vw, 4.2rem); }
  .hero__visual {
    width: 100%;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-devices {
    transform: scale(0.58);
    transform-origin: center top;
    margin-top: -80px;
    margin-inline: auto;
    margin-bottom: calc(-640px * 0.40);
  }

  .problems__grid { grid-template-columns: 1fr; }
  .diff-grid      { grid-template-columns: 1fr; gap: 1.5rem; }
  .scenarios-grid { grid-template-columns: 1fr 1fr; }

  .system-step { grid-template-columns: 1fr; gap: 1.1rem; }
  .system-step__num { font-size: 3.5rem; padding-top: 0; }
  .system-step__visual { justify-content: flex-start; }
  .ipad-frame--step { width: min(340px, 100%); }
  .all-screens__stage {
    --all-screens-gap-iphone-ipad: 0.95rem;
    --all-screens-gap-ipad-mac: 0.8rem;
    --all-screens-gap-group: var(--all-screens-gap-iphone-ipad);
  }
  .all-screens__track { animation-duration: 32s; }
  .all-screens__device--iphone img { height: clamp(130px, 22vw, 220px); }
  .all-screens__device--ipad img { height: clamp(150px, 26vw, 260px); }
  .all-screens__device--mac img { height: clamp(130px, 22vw, 220px); }

  .site-footer__inner { flex-direction: column; }
  .site-footer__nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
}

@media (max-width: 540px) {
  :root { --container: calc(100vw - 24px); }

  .hero__actions > * {
    width: min(100%, 20.5rem);
    max-width: 100%;
    justify-content: center;
    margin-inline: auto;
  }
  .btn-appstore-hero { width: auto; }

  .scenarios-grid { grid-template-columns: 1fr; }
  .manifesto__quote { font-size: clamp(1.6rem, 5vw, 2.3rem); }

  .appstore-badge-img--sm { height: 36px; }
  .appstore-badge-img--hero { height: 48px; }
  .appstore-badge-img--large { width: min(100%, 260px); height: auto; }
}

.bgm-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  background: rgba(10, 20, 14, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 28px);
  transition: transform 320ms cubic-bezier(0.22, 0.65, 0.30, 1),
              opacity 320ms ease;
}


.bgm-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.bgm-bar__left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.bgm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.50);
  padding: 0;
  flex-shrink: 0;
  transition: background 160ms ease, color 160ms ease;
}
.bgm-btn:hover { background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.90); }
.bgm-btn svg { width: 13px; height: 13px; }

.bgm-icon--pause { display: none; }
.bgm-bar.is-playing .bgm-icon--play  { display: none; }
.bgm-bar.is-playing .bgm-icon--pause { display: block; }

.bgm-bar.is-playing .bgm-btn--play {
  background: transparent;
  border-color: transparent;
  color: var(--meadow-400);
}

.bgm-btn--close {
  background: transparent;
  border-color: transparent;
  margin-left: auto;
}
.bgm-btn--close:hover { background: rgba(255, 255, 255, 0.06); }

.bgm-track-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition: color 160ms ease;
}
.bgm-track-name:hover { color: rgba(255, 255, 255, 0.65); }

.bgm-bar__lyric {
  flex: 1;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  padding-top: 6px;
}

.bgm-lyric-line {
  display: inline-block;
  font-size: 0.86rem;
  font-style: italic;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: opacity 380ms ease;
}

.bgm-lyric-line.is-fading { opacity: 0; }

.bgm-bar.is-playing .bgm-lyric-line {
  color: rgba(56, 217, 133, 0.58);
}

@media (max-width: 480px) {
  .bgm-bar {
    height: 56px;
    gap: 0.55rem;
    padding: 0 0.75rem;
  }
  .bgm-bar__left { gap: 0; }
  .bgm-track-name { display: none; }
  .bgm-bar__lyric {
    display: block;
    padding-top: 0;
    text-align: left;
  }
  .bgm-lyric-line {
    display: block;
    font-size: 0.8rem;
    line-height: 1.2;
  }
}

body { padding-bottom: 50px; }
.bgm-bar.is-hidden ~ * { padding-bottom: 0; }
