:root {
  color-scheme: light;
  --color-bg: #f4eee3;
  --color-bg-soft: #fbf7ef;
  --color-surface: #fffdf8;
  --color-surface-warm: #f1e8d8;
  --color-surface-muted: #e9ddcb;
  --color-text: #2b211c;
  --color-text-soft: #6f6255;
  --color-text-muted: #9b8d7d;
  --color-primary: #c9362b;
  --color-primary-dark: #a92d24;
  --color-primary-soft: #e9b4a5;
  --color-primary-pale: #f8e4dc;
  --color-border: #e4d8c8;
  --color-border-soft: #efe5d6;
  --color-shadow: rgba(43, 33, 28, 0.12);
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --container: min(1240px, calc(100% - 64px));
  --ease: 180ms ease;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #19120f;
  --color-bg-soft: #241814;
  --color-surface: #2b211c;
  --color-surface-warm: #3a2b22;
  --color-surface-muted: #514033;
  --color-text: #fff8ee;
  --color-text-soft: #dccfbd;
  --color-text-muted: #bcae9e;
  --color-primary: #ef6a5e;
  --color-primary-dark: #d74d42;
  --color-primary-soft: #9e4b40;
  --color-primary-pale: rgba(239, 106, 94, 0.16);
  --color-border: rgba(241, 232, 216, 0.18);
  --color-border-soft: rgba(241, 232, 216, 0.12);
  --color-shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 253, 248, 0.92), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(232, 197, 165, 0.28), transparent 34%),
    radial-gradient(circle at 48% 92%, rgba(201, 54, 43, 0.06), transparent 32%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 253, 248, 0.08), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(201, 54, 43, 0.16), transparent 36%),
    var(--color-bg);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(201, 54, 43, 0.35);
  outline-offset: 4px;
}

.page-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid rgba(228, 216, 200, 0.9);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow:
    0 28px 80px rgba(43, 33, 28, 0.12),
    0 4px 14px rgba(43, 33, 28, 0.06);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .page-shell {
  background: rgba(36, 29, 24, 0.84);
  border-color: rgba(241, 232, 216, 0.13);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.46),
    0 4px 16px rgba(0, 0, 0, 0.24);
}

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

section {
  padding-block: 88px;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 253, 248, 0.76);
  backdrop-filter: blur(20px);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: var(--color-border);
  background: rgba(36, 29, 24, 0.8);
}

.header-inner {
  width: var(--container);
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: #b83228;
  font-family: var(--font-heading);
  font-weight: 700;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
}

.logo {
  font-size: 2.7rem;
  font-weight: 650;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(228, 216, 200, 0.8);
  border-radius: 10px;
  background: #f7f1e8;
  box-shadow:
    0 10px 22px rgba(43, 33, 28, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.logo-text {
  transform: translateY(-1px);
}

:root[data-theme="dark"] .logo,
:root[data-theme="dark"] .footer-logo {
  color: #ff7d70;
}

:root[data-theme="dark"] .logo-icon {
  border-color: rgba(241, 232, 216, 0.2);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 248, 238, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a,
.footer nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--ease), opacity var(--ease);
}

.nav a {
  font-size: 0.92rem;
  font-weight: 650;
  opacity: 0.86;
}

.nav a:hover,
.footer nav a:hover,
.card-link:hover,
.link-button:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-toggle,
.menu-toggle,
.carousel-arrow {
  display: grid;
  place-items: center;
  border: 0;
  color: var(--color-text);
  background: transparent;
  cursor: pointer;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(228, 216, 200, 0.9);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 10px 24px rgba(43, 33, 28, 0.05);
  transition:
    transform var(--ease),
    color var(--ease),
    background var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.theme-toggle:hover {
  background: var(--color-primary-pale);
  border-color: rgba(201, 54, 43, 0.24);
  color: var(--color-primary);
  box-shadow: 0 12px 26px rgba(43, 33, 28, 0.09);
  transform: translateY(-1px);
}

.theme-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-moon {
  fill: currentColor;
  stroke: none;
}

.theme-icon-sun {
  display: none;
  fill: none;
}

:root[data-theme="dark"] .theme-toggle {
  border-color: rgba(241, 232, 216, 0.18);
  background: rgba(255, 253, 248, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 238, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(239, 106, 94, 0.36);
  background: rgba(239, 106, 94, 0.14);
  color: var(--color-primary);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.header-cta {
  padding: 14px 22px;
  border-radius: 15px;
  background: var(--color-primary);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(201, 54, 43, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}

.header-cta:hover,
.button-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle span + span {
  margin-top: -10px;
}

.mobile-nav {
  display: none;
}

.hero {
  padding-top: 54px;
  padding-bottom: 54px;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
  overflow: visible;
}

.eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.laurel-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 650;
}

.hero-title {
  max-width: 720px;
  font-size: 5.9rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 0;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 510px;
  margin: 28px 0 0;
  color: var(--color-text-soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.96rem;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  border-color: rgba(169, 45, 36, 0.4);
  background: var(--color-primary);
  color: #fffdf8;
  box-shadow:
    0 16px 32px rgba(201, 54, 43, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(255, 253, 248, 0.72);
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .menu-toggle {
  background: rgba(255, 253, 248, 0.08);
}

.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(43, 33, 28, 0.08);
}

:root[data-theme="dark"] .button-secondary:hover,
:root[data-theme="dark"] .menu-toggle:hover,
:root[data-theme="dark"] .carousel-arrow:hover {
  border-color: rgba(239, 106, 94, 0.36);
  background: rgba(239, 106, 94, 0.14);
  color: var(--color-primary);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}

.stars {
  color: var(--color-primary);
  font-size: 0.96rem;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 610px;
  height: 410px;
  border-radius: 50% 50% 45% 55%;
  background: radial-gradient(
    circle at 50% 46%,
    rgba(233, 221, 203, 0.98),
    rgba(233, 221, 203, 0.42) 58%,
    transparent 73%
  );
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 420px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 33, 28, 0.16), transparent 68%);
  filter: blur(14px);
  transform: translateX(-50%);
}

:root[data-theme="dark"] .hero-visual::before {
  background: radial-gradient(
    circle at 50% 45%,
    rgba(87, 67, 52, 0.92),
    rgba(87, 67, 52, 0.35) 58%,
    transparent 73%
  );
}

:root[data-theme="dark"] .hero-visual::after {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42), transparent 68%);
}

.phone {
  --phone-bezel: 6px;
  position: absolute;
  z-index: 2;
  margin: 0;
  border-radius: 14% / 6.5%;
  background: #111;
  padding: var(--phone-bezel);
  transform-origin: center bottom;
  box-shadow:
    0 36px 78px rgba(43, 33, 28, 0.27),
    0 12px 26px rgba(43, 33, 28, 0.17);
}

.phone img {
  width: 100%;
  border-radius: 10.5% / 5%;
}

.phone-center {
  z-index: 5;
  width: 270px;
  transform: translate(0, 4px) rotate(0deg);
}

.phone-left {
  z-index: 3;
  width: 210px;
  transform: translate(-178px, 26px) rotate(-1.2deg);
}

.phone-right {
  z-index: 2;
  width: 204px;
  transform: translate(186px, 28px) rotate(1.2deg);
}

.feature-strip-section {
  padding-top: 36px;
  padding-bottom: 88px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.64);
  box-shadow:
    0 20px 50px rgba(43, 33, 28, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

:root[data-theme="dark"] .feature-strip,
:root[data-theme="dark"] .insight-card,
:root[data-theme="dark"] .button-secondary {
  background: rgba(42, 34, 29, 0.68);
}

:root[data-theme="dark"] .feature-strip {
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 248, 238, 0.08);
}

.feature-card-mini {
  padding: 38px 34px;
  border-right: 1px solid rgba(228, 216, 200, 0.72);
  transition:
    transform var(--ease),
    background var(--ease);
}

:root[data-theme="dark"] .feature-card-mini {
  border-right-color: var(--color-border);
}

.feature-card-mini:last-child {
  border-right: 0;
}

.feature-card-mini:hover {
  background: rgba(255, 253, 248, 0.42);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .feature-card-mini:hover {
  background: rgba(255, 248, 238, 0.08);
}

.feature-icon,
.benefit-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3e8da;
  color: var(--color-primary);
}

:root[data-theme="dark"] .feature-icon,
:root[data-theme="dark"] .benefit-icon {
  background: rgba(239, 106, 94, 0.16);
}

.feature-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
}

.feature-icon svg,
.benefit-icon svg,
.insight-card svg,
.carousel-arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.85;
}

.feature-card-mini h3,
.benefit h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.2;
}

.feature-card-mini p,
.benefit p,
.section-copy,
.insights-copy p {
  color: var(--color-text-soft);
}

.feature-card-mini p {
  min-height: 92px;
  margin: 12px 0 24px;
  font-size: 0.96rem;
  line-height: 1.48;
}

.card-link,
.link-button {
  color: var(--color-primary);
  font-weight: 750;
  text-decoration: none;
}

.card-link {
  font-size: 0.92rem;
}

.editorial-section {
  padding-block: 84px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 80px;
  align-items: center;
}

.editorial-image {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 390px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(43, 33, 28, 0.08), transparent 58%),
    url("/assets/reading-still-life.jpg") left center / cover no-repeat,
    var(--color-surface-warm);
  box-shadow: 0 20px 48px rgba(43, 33, 28, 0.12);
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 33, 28, 0.08), transparent 56%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16), transparent 40%);
  pointer-events: none;
}

.editorial-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: left center;
  filter: saturate(1.06) brightness(1.04) contrast(0.98);
}

.quote-card {
  position: absolute;
  right: 52px;
  bottom: 52px;
  z-index: 1;
  width: 270px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 20px 48px rgba(43, 33, 28, 0.16);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .quote-card {
  background: rgba(42, 34, 29, 0.78);
  border-color: rgba(255, 248, 238, 0.18);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .editorial-image {
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .editorial-image::after {
  background:
    linear-gradient(90deg, rgba(25, 18, 15, 0.18), transparent 56%),
    radial-gradient(circle at 70% 20%, rgba(255, 248, 238, 0.08), transparent 40%);
}

.quote-mark,
.quote-symbol {
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 0.8;
}

.quote-mark {
  font-size: 3rem;
}

.quote-card p {
  margin: 8px 0 18px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.35;
}

.quote-card span {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.editorial-copy {
  max-width: 560px;
}

.section-title {
  margin-top: 14px;
  font-size: 4.15rem;
  line-height: 0.98;
}

.editorial-copy .section-title {
  max-width: 560px;
  font-size: 4.05rem;
  line-height: 0.98;
}

.section-copy {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.62;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 48px;
}

.benefit {
  min-width: 0;
  border-left: 1px solid var(--color-border);
  padding-left: 28px;
}

.benefit:first-child {
  border-left: 0;
  padding-left: 0;
}

.benefit-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.benefit h3 {
  font-size: 0.98rem;
}

.benefit p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.insights-section {
  padding-block: 96px;
}

.insights-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.insights-copy .section-copy {
  max-width: 360px;
  margin-bottom: 26px;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  min-height: 224px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow:
    0 18px 42px rgba(43, 33, 28, 0.08),
    0 2px 8px rgba(43, 33, 28, 0.035);
  padding: 28px;
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(43, 33, 28, 0.09);
}

:root[data-theme="dark"] .insight-card {
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.26),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .insight-card:hover {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.insight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 750;
}

.insight-header span:last-child {
  color: var(--color-text-soft);
  font-weight: 500;
  text-align: right;
}

.insight-header a {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.metric-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.metric-line strong,
.streak-metric strong,
.goal-target {
  color: var(--color-primary);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}

.metric-line strong {
  color: var(--color-text);
}

.metric-line span,
.streak-metric span,
.goal-target span {
  color: var(--color-text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.trend {
  margin: 4px 0 12px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 750;
  text-align: right;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
  height: 112px;
  margin-top: 16px;
}

.bar-item {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.66rem;
  text-align: center;
}

.bar {
  width: 22px;
  height: var(--height);
  min-height: 18px;
  justify-self: center;
  border-radius: 10px 10px 0 0;
  background: #e5b3a5;
}

:root[data-theme="dark"] .bar {
  background: rgba(239, 106, 94, 0.34);
}

.bar.active {
  background: var(--color-primary);
  box-shadow: 0 8px 16px rgba(201, 54, 43, 0.22);
}

.insight-label {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 750;
}

.streak-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.streak-metric svg {
  width: 20px;
  height: 20px;
  color: #d86d29;
  fill: rgba(216, 109, 41, 0.18);
  stroke-width: 1.8;
}

.weekday-row,
.streak-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: center;
}

.weekday-row {
  margin-top: 24px;
  color: var(--color-text-soft);
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
}

.streak-row {
  margin-top: 10px;
}

.streak-day {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.streak-card p,
.goal-footnote,
.goal-name {
  color: var(--color-text-soft);
}

.streak-card p {
  margin: 22px 0 0;
  font-size: 0.88rem;
}

.goal-name {
  margin: 20px 0 12px;
  font-size: 0.98rem;
  font-weight: 600;
}

.goal-target {
  color: var(--color-primary);
}

.goal-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  color: var(--color-text-soft);
  font-size: 0.86rem;
  font-weight: 650;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ddd2c4;
}

:root[data-theme="dark"] .progress-track {
  background: rgba(255, 248, 238, 0.16);
}

.progress-fill {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-primary);
}

.goal-footnote {
  margin: 22px 0 0;
  font-size: 0.82rem;
}

.testimonial-section {
  padding-block: 30px 50px;
}

.testimonial-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 56px 42px minmax(0, 1fr) 220px 56px;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  background: linear-gradient(135deg, #f2e8da, #fff8ee);
  box-shadow: 0 16px 38px rgba(43, 33, 28, 0.06);
  padding: 28px 34px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.testimonial-card.is-switching {
  opacity: 0.72;
  transform: translateY(1px);
}

:root[data-theme="dark"] .testimonial-card {
  background: linear-gradient(135deg, #352a22, #271f1a);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  transition:
    transform var(--ease),
    color var(--ease),
    background var(--ease);
}

:root[data-theme="dark"] .carousel-arrow {
  background: rgba(255, 253, 248, 0.08);
}

.carousel-arrow:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.quote-symbol {
  font-size: 3.2rem;
  align-self: start;
}

.testimonial-card blockquote {
  grid-column: 3;
}

.testimonial-person {
  grid-column: 4;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.36rem;
  font-weight: 500;
  line-height: 1.35;
}

.testimonial-person {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  display: block;
  border: 2px solid rgba(255, 253, 248, 0.78);
  border-radius: 50%;
  background: var(--color-surface-warm);
  box-shadow: 0 8px 18px rgba(43, 33, 28, 0.14);
  object-fit: cover;
}

:root[data-theme="dark"] .avatar {
  border-color: rgba(255, 248, 238, 0.62);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person strong {
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial-person span {
  margin-top: 4px;
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.testimonial-dots button {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background var(--ease),
    transform var(--ease);
}

.testimonial-dots button::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #ddd2c4;
  transition:
    background var(--ease),
    transform var(--ease);
}

.testimonial-dots button:hover {
  background: var(--color-primary-pale);
}

.testimonial-dots .active::after {
  background: var(--color-primary);
  transform: scale(1.08);
}

:root[data-theme="dark"] .testimonial-dots button::after {
  background: rgba(255, 248, 238, 0.22);
}

:root[data-theme="dark"] .testimonial-dots .active::after {
  background: var(--color-primary);
}

.final-cta-section {
  padding-block: 44px 28px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 28px;
  padding: 52px 68px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #cf3a2e 0%, #a92d24 100%);
  box-shadow: 0 24px 54px rgba(201, 54, 43, 0.24);
  color: white;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.final-cta::before {
  left: -40px;
  bottom: -60px;
  width: 320px;
  height: 160px;
  border-radius: 50%;
  background: rgba(80, 22, 18, 0.18);
}

.final-cta::after {
  left: 40px;
  bottom: 18px;
  width: 140px;
  height: 44px;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 22px 28px, rgba(80, 22, 18, 0.2) 0 25px, transparent 26px),
    radial-gradient(circle at 62px 24px, rgba(80, 22, 18, 0.16) 0 28px, transparent 29px),
    radial-gradient(circle at 104px 26px, rgba(80, 22, 18, 0.14) 0 30px, transparent 31px);
}

.final-cta-copy {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.05;
}

.final-cta p {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.96rem;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta-white {
  background: #fffdf8;
  color: var(--color-primary);
}

.cta-white:hover,
.cta-outline:hover {
  transform: translateY(-1px);
}

.cta-outline {
  border-color: rgba(255, 255, 255, 0.44);
  background: transparent;
  color: white;
}

.footer {
  padding: 34px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #8d7e70;
  font-size: 0.86rem;
}

:root[data-theme="dark"] .footer-inner {
  color: var(--color-text-muted);
}

.footer-logo {
  font-size: 2rem;
  gap: 9px;
}

.footer-logo .logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer nav a {
  color: inherit;
  font-size: 0.84rem;
}

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

.fade-up {
  animation: fade-up 620ms both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .phone {
    --phone-bezel: 5.5px;
  }

  .hero-title {
    font-size: 4.55rem;
  }

  .hero-grid {
    gap: 48px;
  }

  .nav {
    gap: 26px;
  }

  .phone-center {
    width: 252px;
  }

  .phone-left {
    width: 192px;
    transform: translate(-160px, 28px) rotate(-1.2deg);
  }

  .phone-right {
    width: 188px;
    transform: translate(166px, 30px) rotate(1.2deg);
  }

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

  .insights-copy .section-copy {
    max-width: 520px;
  }
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 88px 16px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 20px 44px rgba(43, 33, 28, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--ease),
      transform var(--ease);
    backdrop-filter: blur(18px);
  }

  :root[data-theme="dark"] .mobile-nav {
    border-color: rgba(241, 232, 216, 0.22);
    background: #241d18;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
  }

  body.menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--color-text);
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-nav a:hover {
    background: var(--color-primary-pale);
    color: var(--color-primary);
  }

  .mobile-download {
    margin-top: 8px;
    background: var(--color-primary);
    color: white !important;
    text-align: center;
  }

  .hero-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 450px;
  }

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

  .feature-card-mini:nth-child(2) {
    border-right: 0;
  }

  .feature-card-mini:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .feature-card-mini p {
    min-height: 0;
  }

  .editorial-copy {
    max-width: none;
  }

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

  .goals-card {
    grid-column: 1 / -1;
  }

  .testimonial-card {
    grid-template-columns: 44px 34px 1fr 44px;
  }

  .testimonial-person {
    grid-column: 3 / 4;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100% - 32px, 640px);
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .header-inner {
    min-height: 78px;
  }

  .mobile-nav {
    inset: 78px 16px auto;
  }

  section {
    padding-block: 56px;
  }

  .hero {
    padding-top: 52px;
  }

  .logo {
    font-size: 2.35rem;
  }

  .logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .hero-title {
    font-size: 4.2rem;
    line-height: 0.96;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .hero-visual {
    min-height: 400px;
    overflow: visible;
  }

  .hero-visual::before {
    width: 520px;
    height: 360px;
  }

  .hero-visual::after {
    bottom: 44px;
    width: 360px;
    height: 72px;
  }

  .phone-center {
    width: 218px;
  }

  .phone {
    --phone-bezel: 5px;
  }

  .phone-left {
    width: 154px;
    transform: translate(-112px, 36px) rotate(-1.2deg);
  }

  .phone-right {
    width: 150px;
    transform: translate(114px, 38px) rotate(1.2deg);
  }

  .section-title {
    font-size: 3.05rem;
  }

  .quote-card {
    right: 22px;
    bottom: 22px;
    width: min(260px, calc(100% - 44px));
  }

  .benefit-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .benefit,
  .benefit:first-child {
    border-left: 0;
    border-top: 1px solid var(--color-border);
    padding: 22px 0 0;
  }

  .benefit:first-child {
    border-top: 0;
    padding-top: 0;
  }

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

@media (max-width: 620px) {
  .header-actions {
    gap: 10px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .rating-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-title {
    font-size: 2.85rem;
  }

  .hero-visual {
    min-height: 370px;
  }

  .phone-center {
    width: 198px;
  }

  .phone {
    --phone-bezel: 4.5px;
  }

  .phone-left {
    width: 138px;
    transform: translate(-94px, 34px) rotate(-1.2deg);
  }

  .phone-right {
    width: 134px;
    transform: translate(96px, 36px) rotate(1.2deg);
  }

  .feature-strip,
  .insight-cards {
    grid-template-columns: 1fr;
  }

  .editorial-image {
    aspect-ratio: auto;
    height: 360px;
    min-height: 0;
  }

  .feature-card-mini {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .feature-card-mini:last-child {
    border-bottom: 0;
  }

  .goals-card {
    grid-column: auto;
  }

  .testimonial-card {
    grid-template-columns: 44px 1fr 44px;
    align-items: start;
    gap: 16px;
    padding: 24px 20px;
  }

  .testimonial-card .carousel-arrow:first-of-type {
    grid-column: 1;
    grid-row: 1;
  }

  .testimonial-card .carousel-arrow:last-of-type {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .quote-symbol {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    font-size: 2.8rem;
    line-height: 1;
  }

  .testimonial-card blockquote {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  blockquote p {
    font-size: 1.18rem;
  }

  .testimonial-person {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .final-cta {
    padding: 34px 24px;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .cta-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 2.72rem;
  }

  .button {
    padding-inline: 18px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.08rem;
  }

  .phone-center {
    width: 176px;
  }

  .phone {
    --phone-bezel: 4px;
  }

  .phone-left {
    width: 120px;
    transform: translate(-76px, 34px) rotate(-1.2deg);
  }

  .phone-right {
    width: 118px;
    transform: translate(78px, 36px) rotate(1.2deg);
  }
}
