:root {
  color-scheme: light;
  --canvas: #f8faf5;
  --surface: #ffffff;
  --ink: #14272A;
  --ink-secondary: #274345;
  --muted: #495e5b;
  --muted-light: #6a827e;
  --line: #d8e2de;
  --line-strong: #b8c8c3;
  
  /* Canonical four-pillar colour system — exact match to mark.svg */
  --food: #BDE2AF;
  --fitness: #F6CB87;
  --health: #86CBD8;
  --happiness: #EFB3AB;
  
  --serif: Georgia, 'Times New Roman', Cambria, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure, p, h1, h2, h3, h4 {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

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

.wrap {
  width: min(84rem, calc(100% - 4rem));
  margin-inline: auto;
}

/* Accessibility skip link */
.skip-link {
  position: fixed;
  z-index: 100;
  inset: 0.75rem auto auto 0.75rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.8rem;
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(19, 46, 41, 0.14));
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(1rem, 2.5vw, 2.2rem);
  row-gap: 0.5rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  padding-top: 1rem;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: #f2f5f2;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 4.2rem);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.pillar-line {
  display: flex;
  align-items: center;
  gap: 0.24em;
}

.mark-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.84em;
  height: 0.84em;
  flex-shrink: 0;
  border-radius: 50% 50% 18% 50%;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.mark-dot.food { background: var(--food); }
.mark-dot.fitness { background: var(--fitness); border-radius: 50% 50% 50% 18%; }
.mark-dot.health { background: var(--health); border-radius: 50% 18% 50% 50%; }
.mark-dot.happiness { background: var(--happiness); border-radius: 18% 50% 50% 50%; }

.petal-sym {
  width: 64%;
  height: 64%;
  display: block;
}

.pill-sym {
  width: 1.08rem;
  height: 1.08rem;
  color: var(--ink);
  flex-shrink: 0;
  display: block;
}

.mini-petal-sym {
  width: 66%;
  height: 66%;
  color: var(--ink);
  display: block;
}

.tag-sym {
  width: 0.92rem;
  height: 0.92rem;
  color: var(--ink);
  flex-shrink: 0;
  display: block;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
}

.button-primary:hover {
  background: #25473f;
  border-color: #25473f;
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.button-secondary:hover {
  background: #f1f6ec;
  border-color: var(--ink);
}

.hero-pillars-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d3decb;
  width: 100%;
}

.bar-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
}

.food-pill { background: var(--food); color: var(--ink); border: 1px solid rgba(20, 39, 42, 0.14); }
.food-pill .pill-dot { background: var(--ink); }

.fitness-pill { background: var(--fitness); color: var(--ink); border: 1px solid rgba(20, 39, 42, 0.14); }
.fitness-pill .pill-dot { background: var(--ink); }

.health-pill { background: var(--health); color: var(--ink); border: 1px solid rgba(20, 39, 42, 0.14); }
.health-pill .pill-dot { background: var(--ink); }

.happiness-pill { background: var(--happiness); color: var(--ink); border: 1px solid rgba(20, 39, 42, 0.14); }
.happiness-pill .pill-dot { background: var(--ink); }

/* Hero Phone Visual with Callouts */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone-card {
  position: relative;
  width: min(100%, 22rem);
}

.app-frame {
  position: relative;
  background: #0f1c19;
  border: 7px solid #142724;
  border-radius: 2.2rem;
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(19, 46, 41, 0.28), 0 4px 16px rgba(19, 46, 41, 0.08);
  aspect-ratio: 1080 / 2400;
}

.app-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-example {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 39, 42, 0.88);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.hero-phone-card .badge-example {
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  padding: 0.14rem 0.5rem;
}

/* Callouts */
.callout {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(19, 46, 41, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--ink);
  z-index: 3;
}

.callout-dot {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 18% 50%;
  border: 1.5px solid var(--ink);
  flex: none;
}

.callout-food { top: 12%; left: -14%; }
.callout-food .callout-dot { background: var(--food); }

.callout-fitness { top: 38%; right: -16%; }
.callout-fitness .callout-dot { background: var(--fitness); border-radius: 50% 50% 50% 18%; }

.callout-health { bottom: 34%; left: -16%; }
.callout-health .callout-dot { background: var(--health); border-radius: 50% 18% 50% 50%; }

.callout-happiness { bottom: 10%; right: -12%; }
.callout-happiness .callout-dot { background: var(--happiness); border-radius: 18% 50% 50% 50%; }

/* Editorial banner below hero */
.editorial-banner {
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  max-height: 16rem;
  border: 1px solid var(--line);
}

.editorial-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.banner-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(19, 46, 41, 0.9) 0%, rgba(19, 46, 41, 0.4) 70%, transparent 100%);
  color: #f1f6ec;
  font-size: 0.92rem;
  padding: 1.5rem 1.75rem 0.9rem;
}

/* Common Section Typography */
.section-heading {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Walkthrough Section */
.walkthrough-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  scroll-margin-top: 2rem;
}

.walkthrough-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tab-button:hover {
  border-color: var(--ink-secondary);
}

.tab-button[aria-selected="true"] {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(19, 46, 41, 0.08);
}

#tab-moment-lunch[aria-selected="true"] { border-top: 6px solid var(--food); }
#tab-moment-workout[aria-selected="true"] { border-top: 6px solid var(--fitness); }
#tab-moment-checkin[aria-selected="true"] { border-top: 6px solid var(--health); }
#tab-moment-unwind[aria-selected="true"] { border-top: 6px solid var(--happiness); }

.tab-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.tab-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Walkthrough Panel */
.walkthrough-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: clamp(2rem, 4.5vw, 4rem);
  box-shadow: 0 12px 36px rgba(19, 46, 41, 0.05);
}

.walkthrough-panel.food-theme { border-left: 8px solid var(--food); }
.walkthrough-panel.fitness-theme { border-left: 8px solid var(--fitness); }
.walkthrough-panel.health-theme { border-left: 8px solid var(--health); }
.walkthrough-panel.happiness-theme { border-left: 8px solid var(--happiness); }

.panel-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-block: 0.6rem 1rem;
}

.moment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-transform: uppercase;
}

.badge-dot {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 18% 50%;
  border: 1.5px solid var(--ink);
  flex: none;
}
.badge-dot.food { background: var(--food); }
.badge-dot.fitness { background: var(--fitness); border-radius: 50% 50% 50% 18%; }
.badge-dot.health { background: var(--health); border-radius: 50% 18% 50% 50%; }
.badge-dot.happiness { background: var(--happiness); border-radius: 18% 50% 50% 50%; }

.panel-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.panel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: grid;
  gap: 0.85rem;
}

.panel-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}

.panel-features li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: -0.1rem;
  font-size: 1.4rem;
  color: var(--ink-secondary);
}

.app-route {
  display: inline-block;
  background: #edf3eb;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.panel-meta-note {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.panel-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 20rem);
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(19, 46, 41, 0.15);
  border: 5px solid #142724;
  background: #0f1c19;
  aspect-ratio: 1080 / 2400;
}

.zoomable-shot {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.zoomable-shot:hover {
  transform: scale(1.015);
}

.shot-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* Fallback notice */
.noscript-notice {
  background: #fff8e8;
  border: 1px solid #ecc982;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  color: #634305;
}

/* Pillar Deep Dives */
.pillars-deep-dive {
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.pillar-block {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  padding: clamp(2rem, 5vw, 4rem);
  scroll-margin-top: 2rem;
}

.food-block { border-top: 6px solid var(--food); }
.fitness-block { border-top: 6px solid var(--fitness); }
.health-block { border-top: 6px solid var(--health); }
.happiness-block { border-top: 6px solid var(--happiness); }

.pillar-header {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  color: var(--ink);
  border: 1px solid rgba(20, 39, 42, 0.14);
}

.pillar-pill .pill-dot { background: var(--ink); }
.pillar-pill.food { background: var(--food); }
.pillar-pill.fitness { background: var(--fitness); }
.pillar-pill.health { background: var(--health); }
.pillar-pill.happiness { background: var(--happiness); }

.pillar-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.pillar-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pillar-content {
  display: grid;
  gap: 1.75rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: #fbfdf9;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 800;
}

.pillar-shots-col {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
}

.side-shot-card {
  position: relative;
  width: min(100%, 18rem);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(19, 46, 41, 0.12);
  border: 4px solid #142724;
  background: #0f1c19;
}

.side-shot-card img {
  width: 100%;
  aspect-ratio: 1080 / 2400;
  object-fit: cover;
}

.shot-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
}

/* Routines Timeline Section */
.routines-section {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.routines-card {
  background: #132e29;
  color: #ffffff;
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.routines-copy .section-tag {
  color: #9eccba;
}

.routines-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-block: 0.5rem 1rem;
}

.routines-copy p {
  color: #d1e2d7;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.history-features-list {
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid #285449;
  padding-top: 1.5rem;
}

.h-feature strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.h-feature span {
  font-size: 0.92rem;
  color: #b7cfc0;
  line-height: 1.5;
}

.routines-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.routines-visual .shot-caption {
  color: #a4c2b0;
}

/* Feature Explorer Section */
.explorer-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  scroll-margin-top: 2rem;
}

.explorer-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.chip[data-filter="food"].active { background: var(--food); color: var(--ink); border-color: var(--ink); }
.chip[data-filter="fitness"].active { background: var(--fitness); color: var(--ink); border-color: var(--ink); }
.chip[data-filter="health"].active { background: var(--health); color: var(--ink); border-color: var(--ink); }
.chip[data-filter="happiness"].active { background: var(--happiness); color: var(--ink); border-color: var(--ink); }

.search-box input {
  width: 100%;
  max-width: 32rem;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 39, 42, 0.14);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 6px 20px rgba(19, 46, 41, 0.06);
}

.item-head {
  margin-bottom: 0.65rem;
}

.item-pillar {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.item-pillar.food { background: var(--food); color: var(--ink); }
.item-pillar.fitness { background: var(--fitness); color: var(--ink); }
.item-pillar.health { background: var(--health); color: var(--ink); }
.item-pillar.happiness { background: var(--happiness); color: var(--ink); }
.item-pillar.platform { background: #e6ecea; color: var(--ink); }

.feature-item h4 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.item-benefit {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  font-size: 0.82rem;
}

.meta-route {
  font-weight: 700;
  color: var(--ink);
}

.meta-req {
  color: var(--muted);
  background: #f1f6ec;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* FAQ Section */
.faq-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  scroll-margin-top: 2rem;
}

.faq-accordion {
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.01em;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.6rem 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Bottom CTA */
.bottom-cta {
  padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem);
}

.cta-inner {
  background: #e9f0e3;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Lightbox Modal */
.screenshot-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: min(90vw, 32rem);
  width: 100%;
  max-height: 90vh;
}

.screenshot-dialog::backdrop {
  background: rgba(15, 33, 29, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-content {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #f1f6ec;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
}

.dialog-close:hover {
  background: var(--ink);
  color: #ffffff;
}

.dialog-image-wrapper {
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 1rem;
  background: #0f1c19;
  border: 4px solid #142724;
}

.dialog-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.dialog-caption {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3.5rem;
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.back-to-top {
  margin-left: auto;
  color: var(--ink);
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.55;
}

.footer-legal .footer-nav {
  margin-bottom: 0.75rem;
  column-gap: 1rem;
  row-gap: 0;
}

.information-page {
  max-width: 48rem;
  padding-block: clamp(2rem, 7vw, 5rem);
}

.information-page h1,
.information-page h2 {
  font-family: var(--serif);
  line-height: 1.15;
}

.information-page h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.information-page h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.information-page .information-lead {
  margin-top: 1rem;
  color: var(--ink-secondary);
  font-size: 1.15rem;
}

.information-page section {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.information-page p + p,
.information-page li + li {
  margin-top: 0.75rem;
}

.information-page a {
  overflow-wrap: anywhere;
}

/* Responsive Breakpoints */
@media (max-width: 68rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }

  .callout-food { left: 0%; }
  .callout-fitness { right: 0%; }
  .callout-health { left: 0%; }
  .callout-happiness { right: 0%; }

  .walkthrough-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .walkthrough-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar-shots-col {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    width: 100%;
  }

  .routines-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .site-header {
    min-height: 4.5rem;
  }

  .main-nav {
    display: none; /* Mobile navigation simplified */
  }

  .hero-section {
    padding-top: 0.5rem;
  }

  .hero-grid {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 9.5vw, 3.4rem);
  }

  .walkthrough-tabs {
    grid-template-columns: 1fr;
  }

  .tab-button {
    padding: 0.75rem 1rem;
  }

  .walkthrough-panel {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .pillar-block {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .routines-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .callout {
    display: none; /* Hide floating callout pills on small mobile to avoid layout breakage */
  }

  .footer-brand, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    margin-left: 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
