/* ANCHR marketing design system
   Direction: calm family-leadership field system with fintech-level clarity and restraint. */

:root {
  --canvas: #f5f2eb;
  --canvas-deep: #ece7dd;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --surface-warm: #f1ece2;
  --ink: #172832;
  --ink-soft: #34464f;
  --muted: #667270;
  --subtle: #87908c;
  --navy: #062f49;
  --navy-deep: #04263c;
  --navy-soft: #eaf1f4;
  --gold: #b58931;
  --gold-strong: #9c7220;
  --gold-soft: #eadab7;
  --sage: #647558;
  --sage-soft: #edf0e7;
  --line: #ddd6c9;
  --line-strong: #cfc4b4;
  --danger: #9d433d;
  --success: #566c49;
  --white: #ffffff;

  --font-sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --shadow-xs: 0 1px 2px rgba(13, 36, 47, 0.05);
  --shadow-sm: 0 8px 28px rgba(13, 36, 47, 0.07);
  --shadow-md: 0 22px 64px rgba(13, 36, 47, 0.12);
  --shadow-dark: 0 30px 80px rgba(2, 24, 38, 0.28);

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  --container: 1200px;
  --content: 760px;
  --page-gutter: 24px;
  --section-space: clamp(64px, 7vw, 112px);
  --section-space-compact: clamp(48px, 5.5vw, 80px);
  --layout-gap: clamp(32px, 5vw, 64px);
  --card-padding: 24px;
  --card-gap: 24px;
  --header-height: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 160ms var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 6%, rgba(181, 137, 49, 0.08), transparent 24rem),
    var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button:not(:disabled),
summary,
a[href] {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.prose,
.blog-list,
.footer-main,
.faq-item__answer {
  overflow-wrap: anywhere;
}

ul,
ol {
  padding-left: 1.25rem;
}

::selection {
  background: rgba(181, 137, 49, 0.24);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(181, 137, 49, 0.9);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.content-container {
  width: min(var(--content), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: var(--section-space-compact);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section--soft {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.section--navy {
  background:
    radial-gradient(circle at 88% 6%, rgba(234, 218, 183, 0.13), transparent 28rem),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 720px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.7;
}

.section--navy .eyebrow,
.cta-panel .eyebrow {
  color: var(--gold-soft);
}

.display {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display em {
  color: var(--ink-soft);
  font-weight: 400;
}

.section--navy .display,
.cta-panel .display {
  color: var(--white);
}

.section--navy .display em,
.cta-panel .display em {
  color: rgba(255, 255, 255, 0.72);
}

.heading-xl {
  font-size: clamp(3.35rem, 6.6vw, 6.25rem);
}

.heading-lg {
  font-size: clamp(2.65rem, 5vw, 4.5rem);
}

.heading-md {
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
}

.heading-sm {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}

.lede {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

.section--navy .lede,
.cta-panel .lede {
  color: rgba(255, 255, 255, 0.7);
}

.microcopy {
  color: var(--subtle);
  font-size: 0.86rem;
  line-height: 1.5;
}

.kicker {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(245, 242, 235, 0.96);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(250, 249, 246, 0.98);
  box-shadow: 0 10px 30px rgba(13, 36, 47, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
  min-width: 0;
  gap: clamp(16px, 2vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--navy);
  text-decoration: none;
}

.brand__logo {
  width: 166px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  min-width: 0;
  justify-self: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
  transition: color var(--transition);
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  content: "";
  transition: transform var(--transition);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-2);
}

.mobile-menu-button {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.mobile-menu-button svg {
  width: 20px;
  height: 20px;
}

.mobile-panel {
  display: none;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 46px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

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

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}

.button:hover svg[data-arrow] {
  transform: translateX(2px);
}

.button--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(6, 47, 73, 0.18);
}

.button--primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 12px 26px rgba(6, 47, 73, 0.22);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: rgba(6, 47, 73, 0.3);
  background: var(--surface);
}

.button--ghost {
  background: transparent;
  color: var(--ink-soft);
}

.button--ghost:hover {
  background: rgba(6, 47, 73, 0.06);
  color: var(--ink);
}

.button--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(2, 23, 36, 0.2);
}

.button--light:hover {
  background: #f4f1e9;
}

.button--large {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.text-link svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 5.5vw, 80px) clamp(64px, 6.5vw, 96px);
}

.hero::after {
  position: absolute;
  top: 5%;
  right: -18rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(181, 137, 49, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero__grid > * {
  min-width: 0;
}

.hero__copy {
  max-width: 570px;
}

.hero__copy .display {
  max-width: 590px;
}

.hero__copy .lede {
  margin-top: var(--space-6);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding: 0;
  margin: var(--space-6) 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold-strong);
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 47, 73, 0.14);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.product-window__bar {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-dots span:first-child {
  background: var(--gold);
}

.product-window__image {
  width: 100%;
  height: auto;
  background: var(--surface-warm);
}

.hero__product-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
  color: var(--subtle);
  font-size: 0.79rem;
}

.hero__product-note span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__product-note span:first-child::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

/* Trust rail */
.trust-rail {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.trust-rail__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.trust-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 112px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding: var(--space-6);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--gold-strong);
}

.trust-item__icon svg {
  width: 18px;
  height: 18px;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.trust-item span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.35;
}

/* Process */
.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: var(--layout-gap);
}

.process-intro > * {
  min-width: 0;
}

.process-intro__aside {
  border-left: 2px solid var(--gold-soft);
  padding-left: 24px;
}

.process-intro__aside p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-style: italic;
  line-height: 1.38;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  padding-left: 0;
  margin: var(--space-16) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-step {
  position: relative;
  display: flex;
  min-height: 240px;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding: var(--space-8) var(--space-8) var(--space-6);
}

.process-step:first-child {
  border-left: 0;
  padding-left: 0;
  padding-right: var(--space-8);
}

.process-step:last-child {
  padding-right: 0;
  padding-left: var(--space-8);
}

.process-step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.process-step__result {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: var(--space-6);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 750;
}

.process-step__result::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* Product tour */
.product-tour__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  align-items: end;
  gap: var(--layout-gap);
}

.product-tour__header > * {
  min-width: 0;
}

.product-tour__header .lede {
  justify-self: end;
  max-width: 480px;
}

.product-tour__layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.product-tour__layout > * {
  min-width: 0;
}

.product-tabs {
  display: grid;
  min-width: 0;
  gap: var(--space-2);
}

.product-tab {
  position: relative;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  min-width: 0;
  padding: var(--space-4);
  background: transparent;
  text-align: left;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.product-tab:hover {
  background: rgba(255, 255, 255, 0.56);
}

.product-tab[aria-selected="true"] {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}


.product-tab__label {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
}

.product-tab__copy {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.product-stage {
  min-width: 0;
}

.product-panel[hidden] {
  display: none;
}

.product-panel__frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.product-panel__frame img {
  width: 100%;
  height: auto;
}

.product-panel--portrait .product-panel__frame {
  display: grid;
  min-height: 560px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(181, 137, 49, 0.09), transparent 23rem),
    var(--surface-warm);
}

.product-panel--portrait .product-panel__frame img {
  width: min(390px, 60%);
  box-shadow: 0 20px 52px rgba(13, 36, 47, 0.13);
}

.product-panel__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.product-panel__caption > * {
  min-width: 0;
}

.product-panel__caption h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.product-panel__caption p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.actual-label {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
}

.actual-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

/* Time calculator */
.time-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.05fr);
  align-items: center;
  gap: var(--layout-gap);
}

.time-layout > * {
  min-width: 0;
}

.time-copy .display {
  max-width: 560px;
}

.time-copy .lede {
  margin-top: 24px;
  max-width: 530px;
}

.time-copy__note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 23px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.58;
}

.time-copy__note svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--gold-soft);
}

.time-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-dark);
}

.time-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  border-bottom: 1px solid var(--line);
  padding: var(--space-6) var(--space-8);
}

.time-card__label {
  display: block;
  color: var(--subtle);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.time-card__number {
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.time-card__number-copy {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.83rem;
}

.age-output {
  display: inline-flex;
  min-width: 72px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
}

.time-card__controls {
  padding: var(--space-6) var(--space-8);
}

.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.range-row label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 0.69rem;
}

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 10px 0 0;
  appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--navy) var(--range-progress, 44%), var(--line) 0);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--line);
}

input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--navy);
}

input[type="range"]::-webkit-slider-thumb {
  width: 21px;
  height: 21px;
  margin-top: -8.5px;
  appearance: none;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-strong), 0 4px 12px rgba(13, 36, 47, 0.18);
}

input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-strong), 0 4px 12px rgba(13, 36, 47, 0.18);
}

.week-visual {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: var(--space-6) var(--space-8) var(--space-8);
  background: var(--surface-soft);
}

.week-visual__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.week-visual__header strong {
  font-size: 0.84rem;
}

.week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 0;
  margin: 0;
  color: var(--subtle);
  font-size: 0.66rem;
  list-style: none;
}

.week-legend li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.week-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--line-strong);
}

.week-legend .remaining i {
  background: #dfe5d8;
}

.week-legend .current i {
  background: var(--gold);
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(52, minmax(2px, 1fr));
  gap: 2px;
  width: 100%;
}

.week-dot {
  aspect-ratio: 1;
  border-radius: 1.5px;
  background: var(--line-strong);
  transition: background-color 100ms linear;
}

.week-dot.is-remaining {
  background: #dfe5d8;
}

.week-dot.is-current {
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(156, 114, 32, 0.22);
}

.time-assumption {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 0.68rem;
  line-height: 1.45;
}

/* Coach */
.coach-layout {
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(0, 0.82fr);
  align-items: center;
  gap: var(--layout-gap);
}

.coach-layout > * {
  min-width: 0;
}

.coach-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.coach-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.coach-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coach-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
}

.coach-mark img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.coach-identity strong {
  display: block;
  font-size: 0.9rem;
}

.coach-identity span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.73rem;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.chat {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-6);
}

.chat-bubble {
  max-width: 82%;
  border-radius: 16px;
  padding: var(--space-3) var(--space-4);
  font-size: 0.86rem;
  line-height: 1.55;
}

.chat-bubble--coach {
  justify-self: start;
  border-bottom-left-radius: 5px;
  background: var(--surface-warm);
  color: var(--ink-soft);
}

.chat-bubble--user {
  justify-self: end;
  border-bottom-right-radius: 5px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
}

.coach-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--surface-soft);
}

.coach-plan__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coach-plan__header strong {
  font-size: 0.88rem;
}

.coach-plan__header span {
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 750;
}

.coach-plan ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  counter-reset: coach-step;
  list-style: none;
}

.coach-plan li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
  counter-increment: coach-step;
}

.coach-plan li::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  content: counter(coach-step);
  font-size: 0.66rem;
  font-weight: 750;
}

.coach-copy .lede {
  margin-top: 22px;
}

.context-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: var(--space-8) 0 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.context-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.context-list li:first-child {
  border-top: 0;
}

.context-list svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--gold-strong);
}

.context-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.89rem;
}

.context-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.79rem;
}

.privacy-note svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

/* Anti-features */
.anti-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--card-gap);
  margin-top: var(--space-12);
}

.anti-card {
  min-width: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  background: rgba(255, 255, 255, 0.6);
}

.anti-card__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anti-card__line::before {
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
}

.anti-card h3 {
  margin: 17px 0 8px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.35;
}

.anti-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

/* Journal */
.journal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--card-gap);
  margin-top: var(--space-12);
}

.journal-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  background: var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.journal-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.journal-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-card__meta span:first-child {
  color: var(--gold-strong);
}

.journal-card h3 {
  margin: 24px 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.16;
}

.journal-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.63;
}

.journal-card .text-link {
  margin-top: auto;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  align-items: start;
  gap: var(--layout-gap);
}

.faq-layout > * {
  min-width: 0;
}

.faq-list {
  border-block: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 0;
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) 40px var(--space-4) 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-item summary::before,
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 1.5px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--gold-strong);
  content: "";
  transition: transform var(--transition);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.faq-item__answer {
  max-width: 650px;
  padding: 0 40px var(--space-6) 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.68;
}

/* CTA */
.cta-wrap {
  padding-block: var(--section-space-compact);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(circle at 94% 10%, rgba(234, 218, 183, 0.19), transparent 22rem),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  box-shadow: var(--shadow-md);
}

.cta-panel::after {
  position: absolute;
  right: -90px;
  bottom: -210px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cta-panel__copy {
  position: relative;
  z-index: 1;
  max-width: 730px;
}

.cta-panel .lede {
  margin-top: 18px;
}

.cta-panel__actions {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 230px;
  gap: 10px;
}

.next-step {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.77rem;
  list-style: none;
}

.next-step li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.next-step li:not(:last-child)::after {
  width: 16px;
  height: 1px;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-12);
  padding-block: var(--space-16) var(--space-12);
}

.footer-main > * {
  min-width: 0;
}

.footer-brand p {
  max-width: 330px;
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.footer-column a {
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-block: 22px;
  color: var(--subtle);
  font-size: 0.72rem;
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* Blog index */
.page-hero {
  padding-block: clamp(64px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero .lede {
  margin-top: 20px;
}

.blog-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-list__item {
  border-top: 1px solid var(--line);
}

.blog-list__item:first-child {
  border-top: 0;
}

.blog-list__link {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: var(--space-8);
  padding-block: 40px;
}

.blog-list__link:hover .blog-list__arrow {
  transform: translateX(4px);
  color: var(--gold-strong);
}

.blog-list__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blog-list__meta span:first-child,
.article-meta span:first-child {
  color: var(--gold-strong);
}

.blog-list h2 {
  margin: 16px 0 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.blog-list p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.63;
}

.blog-list__arrow {
  align-self: center;
  width: 20px;
  height: 20px;
  color: var(--subtle);
  transition:
    transform var(--transition),
    color var(--transition);
}

/* Article + legal */
.article-header {
  padding-block: clamp(64px, 7vw, 96px) clamp(48px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 20px 0 0;
}

.article-deck {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.article-body {
  padding-block: var(--space-12) 80px;
}

.prose {
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.18rem);
  line-height: 1.83;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 1.35em;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.prose h2 {
  margin: 2.15em 0 0.7em;
  font-size: 1.65rem;
}

.prose h3 {
  margin: 1.75em 0 0.6em;
  font-size: 1.24rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 4px;
}

.prose a:hover {
  text-decoration-color: var(--gold);
}

.prose ul,
.prose ol {
  margin: 0 0 1.45em;
}

.prose li {
  margin-bottom: 0.55em;
  padding-left: 0.25em;
}

.prose hr {
  width: 74px;
  height: 1px;
  border: 0;
  margin: 3em auto;
  background: var(--gold-soft);
}

.article-cta {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 42px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.article-cta h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.article-cta p {
  max-width: 580px;
  margin: 15px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-cta .button {
  margin-top: 22px;
}

.article-back {
  margin-top: 30px;
}

.legal-header {
  padding-block: clamp(64px, 7vw, 96px) var(--space-12);
  border-bottom: 1px solid var(--line);
}

.legal-meta {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 0.8rem;
}

.legal-body {
  padding-block: var(--space-12) 80px;
}

.legal-body .prose {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
}

/* 404 */
.not-found {
  display: grid;
  min-height: calc(100svh - var(--header-height) - 270px);
  place-items: center;
  padding-block: 80px;
  text-align: center;
}

.not-found__code {
  color: var(--gold-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.not-found .lede {
  margin: 18px auto 28px;
}

/* Motion */
.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 480ms var(--ease),
    transform 480ms var(--ease);
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1120px) {
  .site-nav__list {
    gap: 22px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 48px;
  }

  .trust-item {
    padding-inline: var(--space-6);
  }

  .product-tour__layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 36px;
  }

  .time-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.05fr);
    gap: 52px;
  }

  .coach-layout {
    grid-template-columns: minmax(450px, 1fr) minmax(0, 0.82fr);
    gap: 52px;
  }
}

@media (max-width: 1040px) {
  .trust-rail__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  :root {
    --page-gutter: 16px;
  }

  .site-nav,
  .header-actions .button--ghost {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    justify-self: end;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    visibility: hidden;
    transform: translateY(-10px);
    border-top: 1px solid var(--line);
    background: var(--canvas);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .mobile-panel.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel__inner {
    display: grid;
    gap: var(--space-2);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: var(--space-6) var(--space-8);
  }

  .mobile-nav {
    display: grid;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 54px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
  }

  .mobile-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .hero__grid,
  .time-layout,
  .coach-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 690px;
  }

  .hero__product {
    max-width: 820px;
  }

  .process-intro,
  .product-tour__header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-tour__header .lede {
    justify-self: start;
  }

  .product-tour__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .product-tab {
    height: 100%;
    min-height: 112px;
  }

  .time-copy {
    max-width: 690px;
  }

  .time-card {
    max-width: 760px;
  }

  .coach-card {
    max-width: 720px;
  }

  .coach-copy {
    max-width: 680px;
  }

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

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
  }

  .footer-brand {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--space-6);
  }

  .footer-brand p {
    max-width: 440px;
    margin-top: 0;
  }
}

@media (max-width: 840px) {
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: var(--space-12);
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: var(--space-6) 0;
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step__result {
    margin-top: 0;
    padding-top: var(--space-4);
  }

  .anti-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
    --page-gutter: 16px;
    --section-space: 64px;
    --section-space-compact: 48px;
    --card-padding: 24px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__logo {
    width: 138px;
    max-height: 56px;
  }

  .header-actions > .button {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.86rem;
  }

  .hero {
    padding-block: var(--space-12) var(--space-16);
  }

  .hero__grid {
    gap: var(--space-12);
  }

  .hero__copy .lede {
    margin-top: 20px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    gap: 8px;
  }

  .hero__product-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-window__bar {
    min-height: 40px;
  }

  .trust-rail__grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    min-height: 86px;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 17px 4px;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .process-intro__aside {
    padding-left: 18px;
  }

  .process-step h3 {
    margin-top: 0;
  }

  .product-tour__layout {
    margin-top: 38px;
  }

  .product-tab {
    min-height: 104px;
    padding: var(--space-4);
  }

  .product-tab__copy {
    font-size: 0.78rem;
  }

  .product-panel__caption {
    display: block;
  }

  .actual-label {
    margin-top: 14px;
  }

  .product-panel--portrait .product-panel__frame {
    min-height: 500px;
  }

  .product-panel--portrait .product-panel__frame img {
    width: min(330px, 76%);
  }

  .time-card__top,
  .time-card__controls,
  .week-visual {
    padding-inline: var(--space-6);
  }

  .time-card__top {
    padding-block: 22px 20px;
  }

  .time-card__number {
    font-size: 4.4rem;
  }

  .week-grid {
    gap: 1.5px;
  }

  .week-visual__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .coach-card {
    padding: var(--space-4);
  }

  .chat-bubble {
    max-width: 90%;
  }

  .journal-header {
    display: block;
  }

  .journal-header .text-link {
    margin-top: 18px;
  }

  .faq-layout {
    gap: 36px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
  }

  .cta-panel__actions {
    min-width: 0;
  }

  .next-step {
    display: grid;
  }

  .next-step li::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-6);
    padding-block: var(--space-12) 40px;
  }

  .footer-brand {
    display: block;
    grid-column: 1 / -1;
  }

  .footer-brand p {
    margin-top: var(--space-4);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-list__link {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-list__arrow {
    display: none;
  }

  .article-header,
  .legal-header {
    padding-top: 58px;
  }
}

@media (max-width: 420px) {
  .header-actions > .button {
    display: none;
  }

  .mobile-panel__actions {
    grid-template-columns: 1fr;
  }

  .heading-xl {
    font-size: 3.05rem;
  }

  .product-window {
    border-radius: var(--radius-md);
  }

  .time-card__number {
    font-size: 3.8rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports (text-wrap: pretty) {
  .prose p,
  .blog-list p,
  .article-deck,
  .lede {
    text-wrap: pretty;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-cta,
  .cta-wrap,
  .mobile-panel {
    display: none !important;
  }

  body {
    background: white;
  }

  .prose {
    color: black;
  }
}

/* Final resilience and implementation refinements */
[hidden] {
  display: none !important;
}

.faq-intro {
  margin-top: 18px;
}

.cta-login {
  color: rgba(255, 255, 255, 0.84);
}

.icon-back {
  transform: rotate(180deg);
}

.article-meta--header {
  margin-top: 28px;
}

.article-cta__eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.not-found__title {
  margin-top: 18px;
}

@media (min-width: 1121px) {
  .heading-xl {
    font-size: clamp(3.35rem, 5.7vw, 5.45rem);
  }
}
