/* ==========================================================================
   WiggleMate — Modern Warm-Clay Design System
   Fonts: Baloo 2 (Headings), Figtree (Body)
   ========================================================================== */

@font-face {
  font-family: "Baloo 2";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/baloo-2-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/baloo-2-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/baloo-2-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-latin-700-normal.woff2") format("woff2");
}

/* ---------- Design Tokens ---------- */
:root {
  /* Warm cream & clay canvas */
  --bg-cream: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-card-warm: #FFFDF9;
  --bg-sage-wash: #EEF7F3;
  --bg-sage-soft: #E2F2EB;
  --bg-clay-soft: #F4EFEA;

  /* Leaf & Sage Greens */
  --green-dark: #16342B;
  --green-primary: #2D7A60;
  --green-hover: #215F4A;
  --green-leaf: #3E8E5E;
  --green-bright: #6CC684;
  --green-glow: #7FD494;
  --mint-clay: #5FD0B4;

  /* Accent pops */
  --pink-bud: #FF94AA;
  --amber-warm: #E28C38;
  --blue-sky: #4A90E2;

  /* Typography & Ink */
  --ink: #16342B;
  --ink-secondary: #2B453D;
  --ink-muted: #566E65;
  --ink-subtle: #7A9188;

  /* Borders & Dividers */
  --border-light: #E4ECE7;
  --border-warm: #ECE6DE;
  --border-green: #D2E7DE;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(22, 52, 43, 0.04);
  --shadow-md: 0 10px 28px -6px rgba(22, 52, 43, 0.07), 0 2px 6px rgba(22, 52, 43, 0.03);
  --shadow-lg: 0 22px 48px -12px rgba(22, 52, 43, 0.12), 0 6px 16px rgba(22, 52, 43, 0.04);
  --shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.8);

  /* Fonts */
  --font-display: "Baloo 2", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* ---------- Global Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background-color: var(--bg-cream);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--green-hover);
}

:focus-visible {
  outline: 3px solid var(--green-primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(1140px, 100% - 36px);
  margin-inline: auto;
}

/* Visually Hidden Utility */
.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;
}

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font: 700 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s var(--ease-smooth);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(45, 122, 96, 0.35);
}

.btn-primary:hover {
  background: var(--green-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(45, 122, 96, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--border-light), var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-sage-wash);
  color: var(--green-primary);
  box-shadow: 0 0 0 1.5px var(--green-leaf), var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-subtle {
  background: var(--bg-sage-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.btn-subtle:hover {
  background: #D2EADC;
  color: var(--green-dark);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font: 700 13px/1 var(--font-body);
  background: var(--bg-sage-soft);
  color: var(--green-primary);
  letter-spacing: 0.02em;
}

.badge-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-leaf);
  animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ---------- Header Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 236, 231, 0.7);
  transition: all 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 24px/1 var(--font-display);
  color: var(--ink);
  text-decoration: none;
}

.brand-logo svg {
  width: 32px;
  height: 34px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font: 600 15px/1 var(--font-body);
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--green-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14.5px;
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- Section Container & Headers ---------- */
.section {
  padding: 68px 0;
  position: relative;
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }
}

.section-alt {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font: 700 13px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-primary);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- SECTION 1: HERO ---------- */
.hero-section {
  padding: 36px 0 64px;
  position: relative;
}

@media (min-width: 960px) {
  .hero-section {
    padding: 60px 0 92px;
  }
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill {
  margin-bottom: 18px;
}

.hero-headline {
  font-size: clamp(36px, 5.8vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-lede {
  font-size: clamp(17px, 2vw, 19.5px);
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 33em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--green-leaf);
}

/* Desktop Preview Box */
.desk {
  position: relative;
  aspect-ratio: 4 / 3.25;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 0% 0%, #79D9BE, #24997B 70%);
  box-shadow: 0 32px 64px -24px rgba(22, 52, 43, 0.45), 0 0 0 1px rgba(22, 52, 43, 0.08);
}

.desk::before {
  content: "";
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  right: -32%;
  top: -38%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  z-index: -1;
}

.win {
  position: absolute;
  left: 6%;
  top: 7%;
  width: 62%;
  height: 60%;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.win .bar {
  height: 28px;
  background: rgba(22, 52, 43, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.win .bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 52, 43, 0.18);
}

.win .bar b {
  margin-left: 8px;
  font: 600 11.5px/1 var(--font-body);
  color: rgba(22, 52, 43, 0.65);
}

.win .body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.win .ln {
  height: 8px;
  border-radius: 4px;
  background: rgba(22, 52, 43, 0.1);
}

.win .ln.s { width: 55%; }
.win .ln.m { width: 78%; }
.win .ln.h { height: 12px; width: 42%; background: rgba(22, 52, 43, 0.2); }

.win .cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.win .cells span {
  height: 14px;
  border-radius: 4px;
  background: rgba(22, 52, 43, 0.08);
}

.win .cells span.on {
  background: #5FD0B4;
}

.tally-container {
  position: absolute;
  right: 5%;
  top: 6%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tally-pill {
  font: 600 12.5px/1 var(--font-body);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.tally-pill.bump {
  animation: popBounce 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11%;
  min-height: 34px;
  background: rgba(240, 246, 244, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.taskbar i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(22, 52, 43, 0.16);
}

.taskbar i:first-child {
  background: #2D7A60;
}

.taskbar .clock {
  position: absolute;
  right: 14px;
  text-align: right;
  font: 600 10.5px/1.2 var(--font-body);
  color: rgba(22, 52, 43, 0.85);
}

.buddy {
  position: absolute;
  right: 4%;
  bottom: calc(11% - 4px);
  width: 25%;
  max-width: 130px;
  z-index: 2;
}

.buddy svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.bubble {
  position: absolute;
  right: 22%;
  bottom: 33%;
  width: min(65%, 290px);
  background: #FFFDF9;
  color: #16342B;
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 12px 32px rgba(20, 40, 40, 0.24), 0 0 0 1px rgba(31, 59, 58, 0.07);
  transform-origin: 88% 100%;
  z-index: 3;
}

.bubble::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #FFFDF9;
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}

.bubble .t {
  font: 800 15px/1.2 var(--font-body);
  margin-bottom: 4px;
  color: #16342B;
}

.bubble .x {
  font-size: 13.5px;
  line-height: 1.4;
  color: #3E544D;
}

.bubble .b {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.bubble .b button {
  font: 700 12.5px/1 var(--font-body);
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #EEF4F1;
  color: #16342B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bubble .b button:first-child {
  background: var(--green-primary);
  color: #FFFFFF;
}

.bubble .b button:hover {
  filter: brightness(0.94);
}

.bubble .t[hidden], .bubble .b[hidden] {
  display: none;
}

/* Live Demo Interactive States */
.desk.live .buddy {
  transition: transform 0.9s cubic-bezier(0.3, 0.8, 0.4, 1);
}
.desk.live .buddy.home {
  transform: translateX(64%);
}
.desk.live .buddy.walking svg {
  animation: deskBob 0.3s ease-in-out infinite alternate;
}
.desk.live .buddy.hop svg {
  animation: deskHop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.desk.live .bubble {
  transition: opacity 0.2s, transform 0.2s;
}
.desk.live .bubble.hide {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.desk.live .bubble.pop {
  animation: popBounce 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
}

@keyframes deskBob {
  to { transform: translateY(-5%) rotate(-3deg); }
}
@keyframes deskHop {
  40% { transform: translateY(-18%) scale(1.05); }
}
@keyframes popBounce {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confetti {
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: floatUp 1.2s ease-out forwards;
  z-index: 5;
}

@keyframes floatUp {
  to { transform: translate(var(--dx), -100px) rotate(var(--rot)); opacity: 0; }
}

/* Demo Selector Buttons */
.try-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.try-bar span {
  font: 600 13.5px/1 var(--font-body);
  color: var(--ink-muted);
}

.try-bar button {
  font: 700 13.5px/1 var(--font-body);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #FFFFFF;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 0 0 1.5px var(--border-light), var(--shadow-sm);
  transition: all 0.15s ease;
}

.try-bar button:hover,
.try-bar button[aria-pressed="true"] {
  background: var(--bg-sage-wash);
  color: var(--green-primary);
  box-shadow: 0 0 0 2px var(--green-primary);
}

/* ---------- SECTION 2: THE EVERYDAY PROBLEM ---------- */
.problem-grid {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 680px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.problem-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green);
}

.problem-time {
  display: inline-block;
  font: 700 12.5px/1 var(--font-body);
  color: var(--green-primary);
  background: var(--bg-sage-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.problem-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.problem-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

.problem-takeaway {
  margin: 36px auto 0;
  padding: 24px 28px;
  background: var(--bg-sage-wash);
  border-radius: 22px;
  border: 1px solid var(--border-green);
  text-align: center;
  max-width: 860px;
}

.problem-takeaway p {
  margin: 0;
  font: 600 clamp(16px, 1.9vw, 19px)/1.5 var(--font-display);
  color: var(--green-dark);
}

/* ---------- SECTION 3: FEATURE CARDS ---------- */
.features-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 30px 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.22s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green);
}

.feature-card:hover::before {
  background: var(--green-leaf);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg-sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--green-primary);
}

.feature-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

.feature-pill-stat {
  margin-top: auto;
  align-self: flex-start;
  font: 600 12.5px/1 var(--font-body);
  background: var(--bg-clay-soft);
  color: var(--ink-secondary);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- SECTION 4: CHARACTER REACTIONS ---------- */
.reactions-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.reactions-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 840px) {
  .reactions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reaction-card {
  background: var(--bg-card-warm);
  border-radius: 24px;
  border: 1px solid var(--border-warm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.reaction-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.reaction-img-wrap {
  background: #111A17;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border-bottom: 1px solid rgba(22, 52, 43, 0.08);
}

.reaction-img-wrap img {
  border-radius: 12px;
  max-height: 170px;
  width: auto;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.reaction-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.reaction-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 13px/1 var(--font-body);
  margin-bottom: 8px;
}

.reaction-tag.thrive { color: #2D7A60; }
.reaction-tag.thirsty { color: #D96038; }
.reaction-tag.rest { color: #4A6E8C; }

.reaction-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reaction-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- SECTION 5: DIFFERENTIATION ---------- */
.diff-container {
  max-width: 1140px;
  margin: 0 auto;
}

.diff-intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.compare-card-table {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--bg-clay-soft);
  font: 700 15px/1.2 var(--font-body);
  color: var(--ink-muted);
}

.compare-table thead th.col-wm {
  background: var(--bg-sage-soft);
  color: var(--green-primary);
  font-weight: 800;
  font-size: 16px;
  border-bottom: 2px solid var(--green-leaf);
}

.compare-table tbody td.col-wm {
  background: rgba(226, 242, 235, 0.35);
  font-weight: 600;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.check-yes {
  color: var(--green-leaf);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.check-no {
  color: #B4372F;
  font-weight: 700;
}

.check-partly {
  color: var(--ink-muted);
  font-size: 13.5px;
}

/* Responsive Table as Cards on Mobile */
@media (max-width: 760px) {
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
  }

  .compare-table thead {
    display: none;
  }

  .compare-card-table {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .compare-table tr {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    padding: 18px 20px;
  }

  .compare-table th[scope="row"] {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--border-light);
    padding: 0 0 12px;
    margin-bottom: 12px;
  }

  .compare-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border: none;
    font-size: 14.5px;
  }

  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-muted);
  }

  .compare-table td.col-wm {
    background: var(--bg-sage-wash);
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
  }
}

/* ---------- SECTION 6: CHARACTER GALLERY ---------- */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.character-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green);
}

.character-card.pip-primary {
  background: var(--bg-card-warm);
  border: 2px solid var(--green-leaf);
  position: relative;
}

.character-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font: 700 11px/1 var(--font-body);
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.character-avatar {
  width: 96px;
  height: 104px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-avatar img {
  width: 90px;
  height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(22, 52, 43, 0.12));
}

.character-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
}

.character-type {
  font: 600 12.5px/1 var(--font-body);
  color: var(--green-primary);
  margin-bottom: 10px;
}

.character-blurb {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0;
}

.gallery-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--ink-muted);
}

.gallery-note b {
  color: var(--ink);
}

/* ---------- SECTION 7: WORKDAY-FRIENDLY DESIGN ---------- */
.workday-grid {
  display: grid;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .workday-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .workday-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workday-item {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 26px 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workday-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green);
}

.workday-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-sage-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.workday-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.workday-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- SECTION 8: PRIVACY ---------- */
.privacy-container {
  max-width: 980px;
  margin: 0 auto;
}

.privacy-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.privacy-card {
  background: var(--bg-card-warm);
  border-radius: 22px;
  padding: 28px 24px;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.privacy-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.privacy-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.privacy-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}

.privacy-statement {
  margin-top: 32px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 24px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  text-align: center;
}

/* ---------- SECTION 9: COMING SOON TRACKERS ---------- */
.coming-soon-grid {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .coming-soon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .coming-soon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tracker-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 26px 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}

.tracker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tracker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tracker-icon {
  font-size: 32px;
}

.tracker-badge {
  font: 700 11.5px/1 var(--font-body);
  background: var(--bg-clay-soft);
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tracker-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tracker-blurb {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

.coming-soon-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------- SECTION 10: PRICING ---------- */
.pricing-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.pricing-card-main {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 32px;
  border: 2px solid var(--green-leaf);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .pricing-card-main {
    grid-template-columns: 1.15fr 1fr;
    padding: 48px 44px;
    gap: 44px;
  }
}

.pricing-tag-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12.5px/1 var(--font-body);
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.pricing-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.pricing-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--green-leaf);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-box-right {
  background: var(--bg-sage-wash);
  border-radius: 22px;
  padding: 32px 26px;
  text-align: center;
  border: 1px solid var(--border-green);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.price-currency {
  font: 800 28px/1 var(--font-display);
  color: var(--ink);
}

.price-amount {
  font: 800 clamp(48px, 6vw, 64px)/1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.price-type {
  font: 600 15px/1 var(--font-body);
  color: var(--ink-muted);
}

.price-subsequent {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.pricing-box-right .btn {
  width: 100%;
  margin-bottom: 14px;
}

.price-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.price-guarantee svg {
  width: 15px;
  height: 15px;
  color: var(--green-leaf);
}

/* ---------- SECTION 11: FAQ ---------- */
.faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: var(--border-green);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font: 700 17.5px/1.3 var(--font-display);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-sage-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--bg-sage-soft);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- SECTION 12: FINAL CTA ---------- */
.final-cta-section {
  padding: 72px 0 84px;
  background: radial-gradient(100% 100% at 50% 0%, #E6F5EE, var(--bg-cream) 70%);
  text-align: center;
}

.final-cta-card {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-card .character-preview {
  width: 90px;
  height: 98px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 16px rgba(22, 52, 43, 0.15));
}

.final-cta-title {
  font-size: clamp(30px, 4.8vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
  text-wrap: balance;
}

.final-cta-text {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 30px;
  max-width: 520px;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.final-cta-guarantee {
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- SECTION 13: FOOTER ---------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 36px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-logo {
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.footer-nav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col b {
  font: 700 13px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-nav-col a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-col a:hover {
  color: var(--green-primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
}

.footer-support a,
.footer-made a {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Home page refinements (typography, rhythm, icons, layout polish)
   ========================================================================== */

/* ----- Type & rhythm ----- */
h1, h2, h3, h4 { letter-spacing: -0.01em; }

.section-title {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  max-width: 34em;
  margin-inline: auto;
}

.section-tag {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-sage-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-alt {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green-dark);
  color: #FFFFFF;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* ----- Buttons ----- */
.btn-primary {
  background: linear-gradient(180deg, #33876B 0%, var(--green-primary) 100%);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #2A7A60 0%, var(--green-hover) 100%);
}
.btn-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16.5px;
}
.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-smooth);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn-light {
  background: #FFFFFF;
  color: var(--green-dark);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35);
}
.btn-light:hover {
  background: #F2FBF7;
  color: var(--green-dark);
  transform: translateY(-1px);
}
.hero-ctas .btn,
.final-cta-buttons .btn { white-space: normal; }

/* ----- Header ----- */
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green-leaf);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease-smooth);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ----- Hero ----- */
.hero-section {
  overflow: hidden;
  isolation: isolate;
}
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::before {
  width: 620px;
  height: 620px;
  right: -160px;
  top: -200px;
  background: radial-gradient(circle, rgba(127, 212, 148, 0.28), rgba(127, 212, 148, 0) 65%);
}
.hero-section::after {
  width: 520px;
  height: 520px;
  left: -240px;
  top: 180px;
  background: radial-gradient(circle, rgba(255, 180, 150, 0.2), rgba(255, 180, 150, 0) 65%);
}
.hero-headline .accent {
  color: var(--green-primary);
  background: linear-gradient(transparent 68%, rgba(127, 212, 148, 0.38) 68%, rgba(127, 212, 148, 0.38) 90%, transparent 90%);
  padding: 0 0.04em;
}
.hero-headline { font-size: clamp(34px, 4.6vw, 52px); }
.hero-lede { margin-bottom: 30px; }
.hero-lede b { color: var(--ink); font-weight: 700; }
.hero-visual .desk {
  transform: rotate(-1deg);
  transition: transform 0.4s var(--ease-smooth);
}
.hero-visual .desk:hover { transform: rotate(0deg); }
@media (max-width: 959px) {
  .hero-visual .desk { transform: none; }
}

/* ----- Problem: a day in four moments ----- */
ol.problem-grid {
  list-style: none;
  padding: 0;
  position: relative;
}
@media (min-width: 980px) {
  ol.problem-grid::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 37px;
    border-top: 2px dashed var(--border-green);
    z-index: 0;
  }
}
.problem-card {
  position: relative;
  z-index: 1;
}
.problem-card.is-late {
  background: linear-gradient(160deg, #FFF6EF 0%, #FFFFFF 70%);
  border-color: #F3DCCB;
}
.problem-card.is-late .problem-time {
  background: #FBE6D6;
  color: #A24C22;
}
.problem-takeaway {
  background: linear-gradient(135deg, var(--bg-sage-wash) 0%, #F6FBF8 100%);
}
.problem-takeaway p + p { margin-top: 8px; }
.problem-takeaway .soft {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* ----- Icons ----- */
.ico {
  width: 26px;
  height: 26px;
  display: block;
}
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: var(--shadow-inner);
}
.tint-sky { background: #E5F1FB; color: #2F6FA8; }
.tint-mint { background: var(--bg-sage-soft); color: var(--green-primary); }
.tint-lilac { background: #EFEAFB; color: #6B53B8; }
.tint-sand { background: #F7EEDF; color: #94621B; }
.tint-peach { background: #FDE9E1; color: #B84D28; }
.feature-title { font-size: 20px; }

.workday-icon,
.privacy-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-sage-soft);
  color: var(--green-primary);
  font-size: 0;
  margin-bottom: 16px;
}
.workday-icon .ico,
.privacy-icon .ico { width: 24px; height: 24px; }

/* ----- Reactions ----- */
.reaction-img-wrap.char {
  background: radial-gradient(80% 90% at 50% 100%, #DDF2E8 0%, var(--bg-sage-wash) 60%, #F7FBF9 100%);
  min-height: 200px;
}
.reaction-img-wrap .ch svg {
  width: 124px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(22, 52, 43, 0.14));
}
.reaction-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.reaction-tag.thirsty { color: #B8502E; }
.reaction-tag.bloom { color: #B23F67; }

/* ----- Split sections (habit tracker, settings) ----- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .split-reverse .split-visual { order: -1; }
}
.split > * { min-width: 0; }
.split-copy .section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}
.split-lede {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 0 26px;
}
.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.point-list li > svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 12px;
  background: var(--bg-sage-soft);
  color: var(--green-primary);
}
.point-list b {
  display: block;
  font: 700 16.5px/1.3 var(--font-display);
  color: var(--ink);
  margin-bottom: 2px;
}
.point-list span {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ----- Product mock cards (drawn in HTML, mirroring the app) ----- */
.mock-card {
  background: #FFFFFF;
  border-radius: 26px;
  border: 1px solid var(--border-light);
  box-shadow: 0 0 0 8px rgba(226, 242, 235, 0.5), var(--shadow-lg);
  padding: 22px 22px 20px;
  max-width: 520px;
  margin-inline: auto;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.mock-head b {
  font: 700 17px/1.2 var(--font-display);
  color: var(--ink);
}
.mock-streak {
  font: 700 12.5px/1 var(--font-body);
  background: #FDE9E1;
  color: #A24C22;
  padding: 6px 11px;
  border-radius: 999px;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
}
.mock-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

.habit-grid {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 5px;
  margin: 0 -5px;
  width: calc(100% + 10px);
}
.habit-grid thead th:first-child { width: 34%; }
.habit-grid thead th {
  font: 700 11.5px/1 var(--font-body);
  color: var(--ink-subtle);
  text-align: center;
  padding-bottom: 2px;
}
.habit-grid tbody th {
  font: 600 13.5px/1.2 var(--font-body);
  color: var(--ink-secondary);
  text-align: left;
  white-space: nowrap;
  padding-right: 6px;
}
.habit-grid td {
  height: 30px;
  border-radius: 9px;
  background: #EFF2F0;
}
.habit-grid td.on {
  background: linear-gradient(160deg, #6FDBBF 0%, #4CC2A3 100%);
  box-shadow: inset 0 -2px 0 rgba(22, 52, 43, 0.12);
}
.mock-export {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed var(--border-green);
  background: var(--bg-sage-wash);
}
.mock-export .ico {
  width: 22px;
  height: 22px;
  color: #1D7044;
  flex-shrink: 0;
}
.mock-export span {
  font: 600 13.5px/1.2 var(--font-body);
  color: var(--ink-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-export em {
  margin-left: auto;
  font: 700 12.5px/1 var(--font-body);
  font-style: normal;
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.set-row {
  display: grid;
  grid-template-columns: 34px 1fr auto 38px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.set-row:last-of-type { border-bottom: none; }
.set-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.set-ico .ico { width: 18px; height: 18px; }
.set-name {
  font: 600 14.5px/1.2 var(--font-body);
  color: var(--ink);
}
.set-val {
  font-size: 13.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}
.set-val b { color: var(--ink); }
.set-toggle {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #D6DDD9;
  position: relative;
}
.set-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.set-toggle.on { background: var(--green-primary); }
.set-toggle.on::after { transform: translateX(16px); }
.set-row-choice { grid-template-columns: 34px 1fr auto; }
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #EFF2F0;
  white-space: nowrap;
}
.seg span {
  font: 600 12px/1 var(--font-body);
  color: var(--ink-muted);
  padding: 6px 10px;
  border-radius: 999px;
}
.seg .on {
  background: #FFFFFF;
  color: var(--green-dark);
  box-shadow: 0 1px 3px rgba(22, 52, 43, 0.15);
}
@media (max-width: 420px) {
  .mock-card { padding: 18px 14px 16px; }
  .set-row { grid-template-columns: 30px 1fr auto 34px; gap: 8px; }
  .set-row-choice { grid-template-columns: 30px 1fr; row-gap: 8px; }
  .set-row-choice .seg { grid-column: 2; justify-self: start; }
  .seg span { font-size: 11.5px; padding: 6px 9px; }
  .set-ico { width: 30px; height: 30px; }
  .set-name { font-size: 13px; }
  .set-val { font-size: 12px; }
  .set-toggle { width: 34px; height: 20px; }
  .set-toggle::after { width: 14px; height: 14px; }
  .set-toggle.on::after { transform: translateX(14px); }
  .habit-grid tbody th { font-size: 12px; }
}

/* ----- Reaction player ----- */
.react-player {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 840px) {
  .react-player {
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 28px 36px 28px 28px;
  }
}
.react-stage {
  border-radius: 22px;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(80% 90% at 50% 100%, #DDF2E8 0%, var(--bg-sage-wash) 60%, #F7FBF9 100%);
}
.react-stage .ch svg {
  width: 150px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 16px rgba(22, 52, 43, 0.16));
}
.react-stage .ch.pop svg { animation: reactPop 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes reactPop {
  from { transform: scale(0.92) translateY(4px); }
  to { transform: scale(1) translateY(0); }
}
.react-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.react-caption {
  font-size: 16.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  min-height: 3em;
  margin: 0 0 16px;
}
.react-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.react-chips button {
  font: 600 13.5px/1 var(--font-body);
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--bg-cream);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 0 0 1.5px var(--border-light);
  transition: all 0.15s ease;
}
.react-chips button:hover { box-shadow: 0 0 0 1.5px var(--green-leaf); }
.react-chips button[aria-pressed="true"] {
  background: var(--bg-sage-soft);
  color: var(--green-dark);
  box-shadow: 0 0 0 2px var(--green-primary);
}

/* ----- Deep green band: the brand anchor, used for the comparison and the final CTA ----- */
.section-dark {
  background: radial-gradient(120% 120% at 0% 0%, #2A7F63 0%, #1E5C48 50%, #16342B 100%);
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}
.section-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -200px;
  top: -240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #A8E6C4;
}
.section-dark .section-title { color: #FFFFFF; }
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.8); }
.section-dark .compare-card-table {
  border: none;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.compare-table th[scope="row"] {
  font: 600 15px/1.35 var(--font-body);
  color: var(--ink);
}
.compare-table td { font-size: 14.5px; color: var(--ink-secondary); }
.compare-table .check-yes svg,
.compare-table .check-yes > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.compare-table .check-yes {
  font-weight: 600;
  color: var(--green-primary);
  gap: 7px;
}
.compare-table thead th.col-wm { text-align: left; }
@media (min-width: 761px) {
  .compare-table { table-layout: fixed; }
  .compare-table thead th:first-child { width: 22%; }
  .compare-table thead th.col-wm { width: 28%; }
  .compare-table th, .compare-table td { padding: 16px 18px; }
}
.diff-foot {
  text-align: center;
  margin: 32px auto 0;
  max-width: 34em;
  font: 600 clamp(16px, 1.9vw, 19px)/1.5 var(--font-display);
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 760px) {
  .compare-table td { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: start; text-align: left; }
  .compare-table td::before { font-size: 13.5px; }
  .compare-table tr { padding: 16px 16px; }
  .compare-table td.col-wm { padding: 10px 12px; }
}

/* ----- Characters: centred rows ----- */
.characters-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.character-card {
  flex: 1 1 210px;
  max-width: 250px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%);
}
.character-card.pip-primary {
  background: linear-gradient(180deg, #F3FBF7 0%, #FFFFFF 100%);
  box-shadow: 0 0 0 4px rgba(127, 212, 148, 0.18), var(--shadow-sm);
}
.character-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #E6F4EE 0%, rgba(230, 244, 238, 0) 70%);
}
.character-avatar img { transition: transform 0.25s var(--ease-smooth); }
.character-card:hover .character-avatar img { transform: translateY(-4px) rotate(-3deg); }
@media (max-width: 600px) {
  .characters-grid { gap: 12px; }
  .character-card { flex: 1 1 140px; padding: 20px 12px; }
  .character-avatar { width: 92px; height: 92px; }
  .character-avatar img { width: 76px; height: 82px; }
  .character-name { font-size: 19px; }
  .character-blurb { font-size: 13px; }
  .character-badge { top: 10px; right: 10px; font-size: 10px; }
}

/* ----- Workday: centred rows ----- */
.workday-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1080px;
}
.workday-item {
  flex: 1 1 280px;
  max-width: 340px;
}

/* ----- Privacy ----- */
.privacy-card { background: #FFFFFF; }
.privacy-statement {
  background: transparent;
  border: 1px dashed var(--border-green);
}

/* ----- Coming soon ----- */
ul.coming-soon-grid {
  list-style: none;
  padding: 0;
  max-width: 1140px;
}
@media (min-width: 1040px) {
  .coming-soon-grid { grid-template-columns: repeat(5, 1fr); }
}
.tracker-card {
  padding: 22px 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 100%);
}
.tracker-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-clay-soft);
  color: var(--ink-secondary);
  font-size: 0;
}
.tracker-icon .ico { width: 22px; height: 22px; }
.tracker-name { font-size: 18px; margin-bottom: 6px; }
.tracker-blurb { font-size: 14px; }
.coming-soon-footer { font-size: 14px; }

/* ----- Pricing ----- */
.pricing-card-main {
  background: linear-gradient(160deg, #FFFFFF 0%, #FBFDFC 100%);
  border: 1px solid var(--border-green);
  box-shadow: 0 0 0 6px rgba(127, 212, 148, 0.12), var(--shadow-lg);
}
.pricing-title { font-size: 32px; }
.pricing-box-right {
  background: radial-gradient(120% 100% at 50% 0%, #E2F2EB 0%, var(--bg-sage-wash) 70%);
}
.price-display { margin-bottom: 2px; }
.price-type {
  margin: 0 0 14px;
  font-size: 14.5px;
}
.price-subsequent { margin-top: 0; }

/* ----- FAQ ----- */
.faq-question { transition: color 0.15s ease; }
.faq-question:hover { color: var(--green-primary); }
.faq-more {
  text-align: center;
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--ink-muted);
}
.faq-more a { font-weight: 600; }

/* ----- Final CTA: a deep green panel ----- */
.final-cta-section {
  background: var(--bg-cream);
  padding: 24px 0 88px;
}
.final-cta-card {
  max-width: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 24px 52px;
  border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, #2F8C6D 0%, #1E5C48 55%, #16342B 100%);
  box-shadow: 0 30px 60px -24px rgba(22, 52, 43, 0.55);
}
.final-cta-card::before,
.final-cta-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.final-cta-card::before { width: 420px; height: 420px; right: -140px; top: -180px; }
.final-cta-card::after { width: 300px; height: 300px; left: -120px; bottom: -160px; }
.final-cta-card .character-preview {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
}
.final-cta-title { color: #FFFFFF; max-width: 16em; }
.final-cta-text { color: rgba(255, 255, 255, 0.85); }
.final-cta-guarantee {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  justify-content: center;
  text-align: center;
}

/* ----- Footer ----- */
.footer-bottom { color: var(--ink-muted); }
.footer-nav-col a { font-size: 14.5px; }

/* ---------- Legal pages (privacy/, terms/, refund/, delivery/) ---------- */
.legal-main { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-secondary);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal h1 {
  font: 800 clamp(32px, 5vw, 46px)/1.1 var(--font-display);
  color: var(--ink);
  margin: 12px 0 8px;
}
.legal-meta { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 22px; }
.legal-intro { font-size: 18px; color: var(--ink); margin: 0 0 28px; }
.legal h2 {
  font: 700 clamp(21px, 2.6vw, 25px)/1.25 var(--font-display);
  color: var(--ink);
  margin: 44px 0 10px;
  scroll-margin-top: 90px;
}
.legal h3 { font: 700 17px/1.35 var(--font-body); color: var(--ink); margin: 22px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 7px; }
.legal a { color: var(--green-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--green-hover); }
.legal b, .legal strong { color: var(--ink); }
.legal-card {
  background: var(--bg-sage-wash);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 0 0 24px;
}
.legal-card > :last-child { margin-bottom: 0; }
.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px 22px;
  margin: 0 0 8px;
}
.legal-toc b { display: block; color: var(--ink); margin-bottom: 6px; }
.legal-toc ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.legal-toc li { margin: 0 0 4px; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border-light); }
.legal thead th { background: var(--bg-clay-soft); color: var(--ink); font-weight: 700; }
.legal dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0 0 18px; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; }
.legal-others { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border-warm); font-size: 15px; }
.legal-others a { margin-right: 16px; display: inline-block; }
@media (max-width: 560px) {
  .legal { font-size: 16px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

/* ---------- Spacing pass: tighter sections, centred mobile hero ---------- */
.section { padding: 60px 0; }
.section-header { margin-bottom: 36px; }
.hero-section { padding: 32px 0 48px; }
.final-cta-section { padding: 16px 0 64px; }
@media (min-width: 900px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
}
@media (min-width: 960px) {
  .hero-section { padding: 48px 0 64px; }
}

@media (max-width: 959px) {
  /* Hero: centred on phones and tablets */
  .hero-grid { gap: 24px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-lede { max-width: 34em; margin-inline: auto; margin-bottom: 22px; }
  .hero-ctas { justify-content: center; }
  .hero-note { justify-content: center; }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 26px; }
  .section-title { margin-bottom: 10px; }
  .hero-section { padding: 20px 0 32px; }
  .hero-pill { margin-bottom: 14px; }
  .hero-headline { margin-bottom: 14px; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin-bottom: 16px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .final-cta-section { padding: 8px 0 48px; }
  .site-footer { padding-top: 36px; }

  /* "Try a nudge": a clear panel instead of small floating chips */
  .try-bar {
    margin-top: 18px;
    padding: 14px 12px 16px;
    gap: 10px;
    background: var(--bg-sage-wash);
    border: 1.5px solid var(--border-green);
    border-radius: 20px;
  }
  .try-bar span {
    flex: 0 0 100%;
    text-align: center;
    font: 800 15px/1.2 var(--font-display);
    color: var(--green-primary);
  }
  .try-bar button { font-size: 15px; padding: 11px 17px; }

  /* Comparison cards: every label starts at the same left edge */
  .compare-table tr { padding: 16px 10px; }
  .compare-table th[scope="row"] { padding: 0 12px 12px; }
  .compare-table td { padding: 8px 12px; }
  .compare-table td.col-wm { padding: 10px 12px; margin-bottom: 0; }
}

/* ---------- Accessibility & Motion Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
