/* =========================================================
   MetaSelf · H5 / Health Report
   Design language: quiet glass, mist blue, warm sand
   ========================================================= */

@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/urbanist.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../assets/fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #eef1f2;
  --canvas-deep: #e4eaec;
  --card: rgba(255, 255, 255, 0.68);
  --card-solid: #f9faf9;
  --nested: rgba(255, 255, 255, 0.46);
  --line: rgba(89, 104, 115, 0.14);
  --line-strong: rgba(89, 104, 115, 0.24);
  --ink: #1b1c21;
  --ink-2: #4c535d;
  --ink-3: #7c878f;
  --ink-4: #a3adb3;
  --optimal: #3a6256;
  --optimal-soft: #edf4f0;
  --threshold: #b55b3c;
  --threshold-soft: #fbf0e9;
  --critical: #a04e5d;
  --critical-soft: #f8ecef;
  --low: #596f86;
  --low-soft: #edf1f5;
  --sand: #d9c6b2;
  --sand-light: #f1e8dc;
  --cta: #26332f;
  --cta-press: #1c2724;
  --cream: #f4f1e9;
  --white: #ffffff;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-latin: "Urbanist", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
  --shadow-card: 0 24px 60px -34px rgba(41, 55, 63, 0.42), 0 2px 8px rgba(41, 55, 63, 0.035);
  --shadow-float: 0 20px 46px -24px rgba(41, 55, 63, 0.4);
  --content: 520px;
  --pad: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(1000px 760px at 78% -12%, rgba(208, 219, 225, 0.94), transparent 64%),
    radial-gradient(860px 700px at -10% 38%, rgba(225, 216, 204, 0.5), transparent 60%),
    linear-gradient(180deg, #f4f5f6 0%, #edf0f2 45%, #f2f1ee 100%);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(217, 198, 178, 0.55);
  color: var(--ink);
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid rgba(58, 98, 86, 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--optimal), #78978b);
  transition: width 0.1s linear;
}

.ambient-word {
  position: fixed;
  top: 8%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  color: rgba(27, 28, 33, 0.022);
  font-family: var(--font-latin);
  font-size: clamp(130px, 25vw, 330px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.side-note {
  position: fixed;
  left: 34px;
  bottom: 42px;
  z-index: 4;
  color: rgba(76, 83, 93, 0.52);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.9;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--pad) * 2)), var(--content));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 245, 245, 0.7);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
}

.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: rgba(89, 104, 115, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - (var(--pad) * 2)), var(--content));
  height: calc(64px + env(safe-area-inset-top));
  margin-inline: auto;
  padding-top: env(safe-area-inset-top);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.brand-mark {
  width: 31px;
  height: auto;
  color: var(--ink);
}

.brand-word {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.header-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--optimal);
  box-shadow: 0 0 0 3px rgba(58, 98, 86, 0.09);
}

/* ---------- Type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(89, 104, 115, 0.4);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--optimal);
  box-shadow: 0 0 0 4px rgba(58, 98, 86, 0.08);
}

.micro-label {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-head h2,
.hero-title,
.privacy-intro h2,
.final-content h2 {
  font-weight: 300;
  letter-spacing: -0.025em;
}

.section {
  position: relative;
  padding: 54px 0;
}

.section-head {
  max-width: 430px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(27px, 7.4vw, 33px);
  line-height: 1.42;
}

.section-head > p {
  max-width: 360px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
}

.section-footnote {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.desktop-only {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn-primary {
  color: var(--cream);
  background: var(--cta);
  box-shadow: 0 14px 30px -18px rgba(38, 51, 47, 0.75);
}

.btn-primary:hover {
  background: var(--cta-press);
  box-shadow: 0 16px 34px -18px rgba(38, 51, 47, 0.85);
}

.btn-primary[disabled] {
  cursor: not-allowed;
  opacity: 0.38;
  box-shadow: none;
}

.btn-dark {
  color: var(--cream);
  background: var(--cta);
}

.btn-light {
  color: var(--cta);
  background: var(--cream);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.55);
}

.btn-light:hover {
  background: #fffdf6;
}

.btn-quiet {
  display: inline-flex;
  gap: 6px;
  width: auto;
  min-height: 38px;
  padding: 0 2px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 400;
}

.btn-quiet svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.btn-quiet:hover svg {
  transform: translateY(3px);
}

.btn-sm {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-top: calc(106px + env(safe-area-inset-top));
  padding-bottom: 28px;
}

.topography {
  position: absolute;
  top: -40px;
  right: -150px;
  z-index: 0;
  width: 560px;
  height: 780px;
  color: rgba(89, 104, 115, 0.17);
  opacity: 0.75;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 60% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(closest-side at 60% 30%, #000 20%, transparent 78%);
}

.topography svg {
  width: 100%;
  height: 100%;
}

.hero-copy {
  z-index: 2;
}

.hero-eyebrow {
  color: var(--ink-3);
}

.hero-title {
  max-width: 460px;
  margin-top: 18px;
  font-size: clamp(34px, 9.6vw, 47px);
  line-height: 1.3;
}

.accent-word {
  position: relative;
  display: inline-block;
  color: var(--optimal);
  white-space: nowrap;
}

.accent-word::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: 5px;
  left: -1%;
  z-index: -1;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(217, 198, 178, 0.08), rgba(217, 198, 178, 0.72) 32%, rgba(217, 198, 178, 0.2));
  transform: rotate(-1.4deg);
}

.hero-lede {
  max-width: 350px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 26px;
}

.hero-actions .btn-primary {
  width: 100%;
}

.assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.assurance li {
  display: flex;
  align-items: center;
}

.assurance li + li::before {
  content: "";
  width: 2px;
  height: 2px;
  margin: 0 8px;
  border-radius: 50%;
  background: var(--ink-4);
}

/* ---------- Hero report visual ---------- */

.hero-stage {
  position: relative;
  z-index: 2;
  height: 452px;
  margin-top: 30px;
  padding-top: 4px;
}

.stage-halo {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 0;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(232, 237, 238, 0.5) 46%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(2px);
  pointer-events: none;
}

.report-window {
  position: relative;
  z-index: 2;
  width: calc(100% - 26px);
  padding: 17px 16px 54px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 249, 0.68) 58%, rgba(245, 247, 246, 0.76) 100%);
  box-shadow: 0 32px 70px -36px rgba(40, 54, 62, 0.48), 0 3px 10px rgba(40, 54, 62, 0.035), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  backdrop-filter: blur(24px) saturate(1.08);
}

.report-window::before {
  content: "";
  position: absolute;
  inset: 9px -5px -9px 11px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(1.2deg);
}

.rw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rw-head h2 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.status-threshold {
  color: var(--threshold);
  background: var(--threshold-soft);
  border-color: rgba(181, 91, 60, 0.12);
}

.status-low {
  color: var(--low);
  background: var(--low-soft);
  border-color: rgba(89, 111, 134, 0.12);
}

.status-optimal {
  color: var(--optimal);
  background: var(--optimal-soft);
  border-color: rgba(58, 98, 86, 0.1);
}

.score-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 16px 0 12px;
}

.score-ring {
  position: relative;
  display: grid;
  flex: none;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--optimal) 0 76%, rgba(89, 104, 115, 0.11) 76% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.score-ring::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--optimal);
  transform: translateX(-50%);
}

.score-ring-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f8faf8;
  box-shadow: inset 0 1px 3px rgba(40, 54, 62, 0.06);
}

.score-ring-inner strong {
  font-family: var(--font-latin);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.score-ring-inner span {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 8px;
}

.score-copy {
  min-width: 0;
}

.score-copy strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.score-copy p {
  margin-top: 4px;
  color: var(--threshold);
  font-size: 11px;
  line-height: 1.4;
}

.score-copy > span {
  display: block;
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 9px;
}

.indicator-list {
  border-top: 1px solid var(--line);
}

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

.ind-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot-threshold {
  background: var(--threshold);
  box-shadow: 0 0 0 3px rgba(181, 91, 60, 0.08);
}

.dot-optimal {
  background: var(--optimal);
  box-shadow: 0 0 0 3px rgba(58, 98, 86, 0.08);
}

.dot-low {
  background: var(--low);
  box-shadow: 0 0 0 3px rgba(89, 111, 134, 0.08);
}

.ind-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.ind-name b {
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ind-name small {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.ind-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.ind-value strong {
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ind-value span {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 8px;
}

.ind-value em {
  margin-left: 1px;
  color: var(--threshold);
  font-size: 10px;
  font-style: normal;
}

.ind-value em.is-low {
  color: var(--low);
}

.ai-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(58, 98, 86, 0.08);
  border-radius: 11px;
  background: rgba(58, 98, 86, 0.045);
}

.ai-chip {
  display: grid;
  flex: none;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  color: #f7faf7;
  background: var(--optimal);
  font-family: var(--font-latin);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.ai-note p {
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.65;
}

.float-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(252, 252, 250, 0.8);
  box-shadow: var(--shadow-float), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.float-plan {
  right: -2px;
  bottom: 2px;
  width: 172px;
  padding: 11px 12px;
  border-radius: 15px;
}

.float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.float-head > span:first-child {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.float-badge {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--optimal);
  background: var(--optimal-soft);
  font-size: 7.5px;
}

.float-plan strong {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.mini-progress {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(89, 104, 115, 0.12);
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--optimal);
}

.float-remind {
  bottom: 58px;
  left: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 13px;
}

.remind-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: var(--optimal);
  background: var(--optimal-soft);
}

.remind-icon svg {
  width: 16px;
  height: 16px;
}

.float-remind small {
  display: block;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.4;
}

.float-remind strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-latin);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- Proof band ---------- */

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
}

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

.proof-item strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.proof-item strong span {
  color: var(--ink-3);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.proof-item p {
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.55;
}

/* ---------- Hero entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.9s var(--ease) forwards;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.22s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
  .hero-stage {
    opacity: 0;
    transform: translateY(20px);
    animation: rise 1.05s 0.24s var(--ease) forwards;
  }
  .float-plan {
    animation: float 7s 1.1s ease-in-out infinite alternate;
  }
  .float-remind {
    animation: float 8s 1.4s ease-in-out infinite alternate-reverse;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

section[id] {
  scroll-margin-top: 82px;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(250, 251, 250, 0.54));
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  backdrop-filter: blur(22px) saturate(1.08);
}

/* ---------- Problem / compare ---------- */

.section-problem {
  padding-top: 50px;
}

.compare-card {
  margin-top: 26px;
  padding: 7px;
  overflow: hidden;
  border-radius: 24px;
}

.compare-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  border-radius: 13px;
  background: rgba(89, 104, 115, 0.06);
  border: 1px solid rgba(89, 104, 115, 0.04);
}

.compare-tab {
  position: relative;
  z-index: 2;
  height: 38px;
  border-radius: 10px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}

.compare-tab.is-active {
  color: var(--ink);
  font-weight: 500;
}

.compare-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 1;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 14px -8px rgba(41, 55, 63, 0.4);
  transition: transform 0.4s var(--ease);
}

.compare-card[data-active="ai"] .compare-thumb {
  transform: translateX(100%);
}

.compare-panel {
  display: none;
  padding: 16px 11px 9px;
}

.compare-panel.is-active {
  display: block;
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.raw-sheet {
  padding: 13px 13px 11px;
  border: 1px solid rgba(89, 104, 115, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.raw-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.raw-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 11px 68px;
  align-items: baseline;
  gap: 6px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(89, 104, 115, 0.08);
}

.raw-line span {
  overflow: hidden;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raw-line b {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.raw-line em {
  color: var(--threshold);
  font-size: 9px;
  font-style: normal;
}

.raw-line em.is-low {
  color: var(--low);
}

.raw-line small {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 8px;
  text-align: right;
}

.raw-note {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 9.5px;
  line-height: 1.65;
}

.compare-caption {
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 9.5px;
  line-height: 1.6;
  text-align: center;
}

.ai-read-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 3px 12px;
}

.ai-read-head p {
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.65;
}

.priority-list li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 11px 3px;
  border-top: 1px solid var(--line);
}

.priority-num {
  color: var(--ink-4);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.priority-list b {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
}

.priority-list p {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.65;
}

.priority-when {
  padding-top: 1px;
  color: var(--ink-3);
  font-size: 8px;
  white-space: nowrap;
}

/* ---------- Steps ---------- */

.section-steps {
  padding-top: 38px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.step-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 46px -36px rgba(41, 55, 63, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-2px);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-num {
  color: rgba(76, 83, 93, 0.34);
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.step-time {
  padding: 4px 8px;
  border: 1px solid rgba(89, 104, 115, 0.1);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1;
}

.step-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 146px;
  margin: 12px 0 15px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(255, 255, 255, 0.92), transparent 56%),
    linear-gradient(160deg, rgba(232, 237, 238, 0.8), rgba(243, 241, 236, 0.72));
}

.step-visual::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -24px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(89, 104, 115, 0.09);
  border-radius: 50%;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.step-card > p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.8;
}

.upload-tile {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px -18px rgba(41, 55, 63, 0.38);
}

.file-icon {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--optimal);
  background: var(--optimal-soft);
}

.file-icon svg {
  width: 18px;
  height: 18px;
}

.file-copy {
  min-width: 0;
}

.file-copy b {
  display: block;
  overflow: hidden;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-copy small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.4;
}

.file-check {
  display: grid;
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  color: var(--optimal);
  background: var(--optimal-soft);
}

.file-check svg {
  width: 11px;
  height: 11px;
}

.upload-progress {
  position: relative;
  z-index: 1;
  height: 3px;
  margin: 12px 3px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(89, 104, 115, 0.12);
}

.upload-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--optimal);
}

.upload-hint {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 8px;
  text-align: center;
}

.mini-result {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.mini-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(89, 104, 115, 0.08);
}

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

.mini-line span {
  overflow: hidden;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-line b {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
}

.mini-line em {
  min-width: 30px;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 7px;
  font-style: normal;
  text-align: center;
}

.t-threshold {
  color: var(--threshold);
  background: var(--threshold-soft);
}

.t-low {
  color: var(--low);
  background: var(--low-soft);
}

.t-optimal {
  color: var(--optimal);
  background: var(--optimal-soft);
}

.mini-ai {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 0 3px;
}

.mini-ai .ai-chip {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  font-size: 6.5px;
}

.mini-ai p {
  color: var(--ink-2);
  font-size: 8.5px;
  line-height: 1.55;
}

.week-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.week-strip span {
  display: grid;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(89, 104, 115, 0.1);
  border-radius: 7px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.6);
  font-size: 8px;
}

.week-strip span.is-done {
  color: #f4f7f3;
  border-color: var(--optimal);
  background: var(--optimal);
}

.mini-task {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.mini-task i {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(58, 98, 86, 0.36);
  border-radius: 50%;
  background: var(--optimal);
  box-shadow: inset 0 0 0 2px #f7f8f5;
}

.mini-task span {
  color: var(--ink-2);
  font-size: 8px;
}

.mini-task small {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 7px;
}

.mini-task.is-muted {
  opacity: 0.6;
}

.mini-task.is-muted i {
  background: transparent;
  box-shadow: none;
}

.inline-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.5);
}

.inline-cta p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.inline-cta .btn {
  min-height: 46px;
}

/* ---------- Sample report ---------- */

.section-sample {
  padding-top: 34px;
}

.sample-card {
  margin-top: 26px;
  padding: 15px 15px 13px;
  border-radius: 24px;
}

.sample-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sample-avatar {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--cta);
  background: linear-gradient(135deg, #f2e4d5, #d9c6b2);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 500;
}

.sample-person b {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.sample-person span {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 8.5px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(89, 104, 115, 0.12);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1;
  white-space: nowrap;
}

.privacy-badge svg {
  width: 10px;
  height: 10px;
}

.sample-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 2px 15px;
  border-bottom: 1px solid var(--line);
}

.summary-score {
  flex: none;
  min-width: 62px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.summary-score strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.summary-score span {
  display: block;
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 7.5px;
}

.summary-copy {
  min-width: 0;
}

.summary-copy h3 {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.summary-copy p {
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 8.5px;
  line-height: 1.55;
}

.sample-accordion {
  border-bottom: 1px solid var(--line);
}

.ind-card {
  border-bottom: 1px solid var(--line);
}

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

.ind-card summary {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 8px;
  padding: 11px 2px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.ind-card summary::-webkit-details-marker {
  display: none;
}

.ind-card summary:hover {
  background: rgba(255, 255, 255, 0.26);
}

.ind-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 20px;
  border-radius: 999px;
  font-size: 7.5px;
  line-height: 1;
}

.ind-title {
  min-width: 0;
}

.ind-title b {
  display: block;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ind-title small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ind-reading {
  text-align: right;
  white-space: nowrap;
}

.ind-reading strong {
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ind-reading small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 7px;
}

.ind-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(89, 104, 115, 0.16);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.ind-toggle::before,
.ind-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 1px;
  background: var(--ink-3);
  transform: translate(-50%, -50%);
}

.ind-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ind-card[open] .ind-toggle {
  border-color: rgba(58, 98, 86, 0.28);
  transform: rotate(45deg);
}

.ind-body {
  padding: 0 2px 13px;
  animation: body-in 0.35s var(--ease);
}

@keyframes body-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.ind-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 9px;
}

.ind-facts div {
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
}

.ind-facts span {
  display: block;
  color: var(--ink-3);
  font-size: 7px;
  line-height: 1.4;
}

.ind-facts b {
  display: block;
  margin-top: 2px;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.ind-body > p {
  color: var(--ink-2);
  font-size: 9.5px;
  line-height: 1.75;
}

.ind-action {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 6px;
  padding: 7px 0;
  margin-top: 3px;
  border-top: 1px dashed rgba(89, 104, 115, 0.14);
}

.ind-action span {
  color: var(--optimal);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.ind-action p {
  color: var(--ink-2);
  font-size: 9px;
  line-height: 1.7;
}

.text-threshold { color: var(--threshold) !important; }
.text-low { color: var(--low) !important; }
.text-optimal { color: var(--optimal) !important; }

.sample-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 13px;
}

.sample-footer-copy span {
  display: block;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.4;
}

.sample-footer-copy b {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.5;
}

.sample-footer .btn {
  width: 100%;
}

.sample-disclaimer {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 8.5px;
  line-height: 1.65;
  text-align: center;
}

/* ---------- Plan ---------- */

.section-plan {
  padding-top: 38px;
}

.plan-card {
  position: relative;
  margin-top: 26px;
  padding: 20px 17px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  color: var(--cream);
  background: #26332f;
  box-shadow: 0 32px 70px -38px rgba(22, 34, 29, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plan-glow {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 198, 178, 0.2), transparent 65%);
  pointer-events: none;
}

.plan-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-kicker {
  display: block;
  color: rgba(244, 241, 233, 0.52);
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.plan-head h3 {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.plan-progress {
  flex: none;
  text-align: center;
}

.plan-progress-ring {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--sand) 0 var(--progress), rgba(255, 255, 255, 0.13) var(--progress) 100%);
}

.plan-progress-ring strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #26332f;
  color: var(--cream);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 500;
}

.plan-progress > span {
  display: block;
  margin-top: 5px;
  color: rgba(244, 241, 233, 0.48);
  font-size: 7px;
}

.plan-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 18px 0 15px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.plan-tab {
  height: 32px;
  border-radius: 8px;
  color: rgba(244, 241, 233, 0.54);
  font-size: 8.5px;
  line-height: 1;
  transition: color 0.25s ease, background 0.25s ease;
}

.plan-tab.is-active {
  color: var(--cta);
  background: var(--cream);
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.4);
}

.plan-panel {
  display: none;
  position: relative;
  z-index: 1;
}

.plan-panel.is-active {
  display: block;
  animation: panel-in 0.4s var(--ease);
}

.plan-focus {
  padding: 1px 0 1px 10px;
  margin-bottom: 7px;
  border-left: 2px solid var(--sand);
}

.plan-focus span {
  display: block;
  color: rgba(217, 198, 178, 0.75);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.plan-focus p {
  margin-top: 3px;
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
}

.plan-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  cursor: pointer;
}

.plan-task input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.plan-check {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(244, 241, 233, 0.28);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.plan-task input:checked + .plan-check {
  border-color: var(--sand);
  background: var(--sand);
}

.plan-task input:checked + .plan-check::after {
  content: "";
  position: absolute;
  top: 3.5px;
  left: 3.3px;
  width: 7px;
  height: 4px;
  border-bottom: 1.4px solid var(--cta);
  border-left: 1.4px solid var(--cta);
  transform: rotate(-45deg);
}

.plan-task input:focus-visible + .plan-check {
  outline: 2px solid rgba(217, 198, 178, 0.8);
  outline-offset: 3px;
}

.plan-task-copy {
  min-width: 0;
}

.plan-task-copy b {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.plan-task-copy small {
  display: block;
  margin-top: 1px;
  color: rgba(244, 241, 233, 0.45);
  font-size: 7.5px;
  line-height: 1.45;
}

.plan-task input:checked ~ .plan-task-copy b {
  color: rgba(244, 241, 233, 0.52);
}

.plan-note {
  margin-top: 11px;
  color: rgba(244, 241, 233, 0.42);
  font-size: 8px;
  line-height: 1.65;
}

.coach {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.coach-avatar {
  display: grid;
  flex: none;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--cta);
  background: var(--sand);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 600;
}

.coach-body {
  min-width: 0;
}

.coach-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.coach-name b {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
}

.coach-name span {
  color: rgba(244, 241, 233, 0.35);
  font-family: var(--font-latin);
  font-size: 7px;
}

.coach-body > p {
  margin-top: 4px;
  color: rgba(244, 241, 233, 0.74);
  font-size: 9.5px;
  line-height: 1.7;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.quick-replies button {
  height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: 999px;
  color: rgba(244, 241, 233, 0.74);
  font-size: 7.5px;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quick-replies button:hover,
.quick-replies button.is-active {
  border-color: rgba(217, 198, 178, 0.5);
  background: rgba(217, 198, 178, 0.1);
}

.quick-replies button.is-active {
  color: var(--sand);
}

.coach-reply {
  margin-top: 8px;
  padding: 7px 9px;
  border-left: 2px solid var(--sand);
  border-radius: 0 7px 7px 0;
  color: rgba(244, 241, 233, 0.82);
  background: rgba(217, 198, 178, 0.1);
  font-size: 8.5px;
  line-height: 1.65;
  animation: body-in 0.3s var(--ease);
}

/* ---------- Privacy ---------- */

.section-privacy {
  padding-top: 34px;
}

.privacy-card {
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(241, 232, 220, 0.7), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(249, 250, 249, 0.5));
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.privacy-intro h2 {
  margin-top: 14px;
  font-size: clamp(25px, 6.8vw, 31px);
  line-height: 1.45;
}

.privacy-intro > p {
  max-width: 350px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.8;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin-top: 22px;
}

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

.privacy-icon {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 9px;
  color: var(--optimal);
  background: rgba(58, 98, 86, 0.07);
}

.privacy-icon svg {
  width: 16px;
  height: 16px;
}

.privacy-item b {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
}

.privacy-item p {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 8.5px;
  line-height: 1.7;
}

.privacy-note {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.7;
}

.text-link {
  display: inline;
  padding: 0;
  color: var(--optimal);
  font-size: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 2px;
}

/* ---------- Final CTA ---------- */

.section-final {
  padding: 46px 0 36px;
}

.final-card {
  position: relative;
  min-height: 388px;
  padding: 30px 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  color: var(--cream);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(217, 198, 178, 0.16), transparent 55%),
    #26332f;
  box-shadow: 0 34px 80px -38px rgba(22, 34, 29, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.final-contours {
  position: absolute;
  top: 0;
  right: -40px;
  bottom: 0;
  width: 560px;
  color: rgba(244, 241, 233, 0.11);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 80% 40%, #000 15%, transparent 78%);
  mask-image: radial-gradient(closest-side at 80% 40%, #000 15%, transparent 78%);
}

.final-contours svg {
  width: 100%;
  height: 100%;
}

.final-content {
  position: relative;
  z-index: 2;
}

.eyebrow-light {
  color: rgba(244, 241, 233, 0.48);
}

.eyebrow-light .eyebrow-line {
  background: rgba(244, 241, 233, 0.28);
}

.final-content h2 {
  margin-top: 14px;
  font-size: clamp(30px, 8.2vw, 38px);
  line-height: 1.36;
}

.final-content > p {
  max-width: 310px;
  margin-top: 13px;
  color: rgba(244, 241, 233, 0.66);
  font-size: 11.5px;
  line-height: 1.8;
}

.final-content .btn {
  width: 100%;
  margin-top: 22px;
}

.final-meta {
  margin-top: 12px;
  color: rgba(244, 241, 233, 0.4);
  font-size: 8px;
  line-height: 1.6;
}

.final-art {
  position: absolute;
  right: -54px;
  bottom: -42px;
  width: 230px;
  height: 230px;
  opacity: 0.62;
  pointer-events: none;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 100%;
  height: 100%;
}

.orbit-two {
  width: 73%;
  height: 73%;
  border-color: rgba(217, 198, 178, 0.3);
}

.orbit-three {
  width: 48%;
  height: 48%;
  border-color: rgba(244, 241, 233, 0.22);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(217, 198, 178, 0.38);
  border-radius: 50%;
  background: rgba(38, 51, 47, 0.42);
  transform: translate(-50%, -50%);
}

.orbit-core span {
  color: rgba(244, 241, 233, 0.46);
  font-family: var(--font-latin);
  font-size: 5.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.orbit-core b {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */

.section-faq {
  padding-top: 30px;
  padding-bottom: 36px;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 1px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  line-height: 1.55;
}

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

.faq-item summary i {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(89, 104, 115, 0.16);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 1px;
  background: var(--ink-3);
  transform: translate(-50%, -50%);
}

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

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

.faq-body {
  padding: 0 22px 14px 1px;
  animation: body-in 0.3s var(--ease);
}

.faq-body p {
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 28px 0 calc(38px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-brand .brand {
  gap: 8px;
}

.footer-brand .brand-mark {
  width: 27px;
}

.footer-brand .brand-word {
  font-size: 10px;
}

.footer-brand p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.footer-links button {
  padding: 0;
  color: var(--ink-2);
  font-size: 8.5px;
  line-height: 1.6;
}

.footer-links button:hover {
  color: var(--optimal);
}

.footer-disclaimer {
  max-width: 390px;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.7;
}

.footer-copy {
  margin-top: 12px;
  color: var(--ink-4);
  font-family: var(--font-latin);
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* ---------- Sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(89, 104, 115, 0.12);
  background: rgba(247, 248, 247, 0.86);
  box-shadow: 0 -14px 40px -30px rgba(41, 55, 63, 0.36);
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  pointer-events: none;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - (var(--pad) * 2)), var(--content));
  height: 62px;
  margin-inline: auto;
}

.sticky-copy span {
  display: block;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.4;
}

.sticky-copy b {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.4;
}

.sticky-inner .btn {
  flex: none;
  min-height: 39px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 10.5px;
}

.sticky-inner .btn svg {
  width: 14px;
  height: 14px;
}

body.modal-open .sticky-cta {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}

/* ---------- Lead archive sheet ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 33, 30, 0.36);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sheet {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  max-height: 92vh;
  max-height: 92dvh;
  padding: 16px 20px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f7f7f3;
  box-shadow: 0 -30px 80px -30px rgba(23, 34, 29, 0.45);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.modal.is-open .sheet {
  opacity: 1;
  transform: translateY(0);
}

.sheet-grab {
  width: 34px;
  height: 4px;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: rgba(89, 104, 115, 0.18);
}

.sheet-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(89, 104, 115, 0.1);
  border-radius: 50%;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.58);
  transition: background 0.2s ease, color 0.2s ease;
}

.sheet-close:hover {
  color: var(--ink);
  background: #fff;
}

.sheet-close svg {
  width: 16px;
  height: 16px;
}

.sheet-progress {
  display: flex;
  gap: 4px;
  width: 42px;
  margin-bottom: 17px;
}

.sheet-progress i {
  display: block;
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(89, 104, 115, 0.15);
  transition: background 0.3s ease;
}

.sheet-progress i.is-active {
  background: var(--optimal);
}

.sheet-step {
  animation: step-in 0.4s var(--ease);
}

.sheet-step[hidden] {
  display: none;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sheet-heading {
  padding-right: 26px;
}

.sheet-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 0.16em;
}

.sheet-heading h2 {
  margin-top: 8px;
  font-size: clamp(24px, 6.5vw, 29px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.sheet-heading p {
  max-width: 360px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.78;
}

.sheet-heading p b {
  color: var(--ink);
  font-weight: 500;
}

.sheet-back {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 0 10px -4px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background 0.2s ease;
}

.sheet-back:hover {
  background: rgba(89, 104, 115, 0.06);
}

.sheet-back svg {
  width: 17px;
  height: 17px;
}

.relation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 2px;
}

.relation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 116px;
  padding: 13px 12px;
  border: 1px solid rgba(89, 104, 115, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.54);
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.relation-card:hover {
  background: rgba(255, 255, 255, 0.78);
}

.relation-card.is-selected {
  border-color: rgba(58, 98, 86, 0.42);
  background: var(--optimal-soft);
  box-shadow: inset 0 0 0 1px rgba(58, 98, 86, 0.12);
}

.relation-icon {
  display: grid;
  width: 29px;
  height: 29px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 9px;
  color: var(--optimal);
  background: rgba(58, 98, 86, 0.07);
}

.relation-icon svg {
  width: 17px;
  height: 17px;
}

.relation-card b {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.relation-card small {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.5;
}

.relation-check {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(89, 104, 115, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.relation-card.is-selected .relation-check {
  border-color: var(--optimal);
  background: var(--optimal);
}

.relation-card.is-selected .relation-check::after {
  content: "";
  position: absolute;
  top: 3.2px;
  left: 3.1px;
  width: 7px;
  height: 4px;
  border-bottom: 1.3px solid #fff;
  border-left: 1.3px solid #fff;
  transform: rotate(-45deg);
}

.sheet-actions {
  margin-top: 16px;
}

.sheet-skip {
  display: block;
  margin: 11px auto 0;
  padding: 0;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 2px;
}

.sheet-skip:hover {
  color: var(--ink-2);
}

.mini-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 120px;
  margin: 14px 0 16px;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 15px;
  color: var(--cta);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 255, 255, 0.6), transparent 52%),
    linear-gradient(135deg, #f0e5d7, #d9c6b2 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 28px -22px rgba(72, 59, 44, 0.5);
}

.mini-cover::before,
.mini-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(38, 51, 47, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.mini-cover::before {
  top: -42px;
  right: -26px;
  width: 136px;
  height: 136px;
}

.mini-cover::after {
  top: -18px;
  right: -2px;
  width: 88px;
  height: 88px;
}

.cover-head,
.cover-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  opacity: 0.58;
}

.cover-name {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 16px 0 12px;
}

.cover-name b {
  max-width: 75%;
  overflow: hidden;
  font-size: 23px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-name em {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.66;
}

.cover-foot {
  margin-top: auto;
}

.field {
  display: block;
  margin-top: 12px;
}

.field-label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-2);
  font-size: 8px;
  line-height: 1.5;
}

.field input {
  width: 100%;
  height: 47px;
  padding: 0 12px;
  border: 1px solid rgba(89, 104, 115, 0.14);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder {
  color: var(--ink-4);
}

.field input:focus {
  border-color: rgba(58, 98, 86, 0.48);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58, 98, 86, 0.07);
}

.field.has-error input {
  border-color: rgba(160, 78, 93, 0.5);
}

.field-error {
  display: block;
  margin-top: 4px;
  color: var(--critical);
  font-size: 8px;
  font-style: normal;
  line-height: 1.5;
}

.phone-field {
  display: flex;
  align-items: center;
  height: 47px;
  border: 1px solid rgba(89, 104, 115, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.phone-field:focus-within {
  border-color: rgba(58, 98, 86, 0.48);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58, 98, 86, 0.07);
}

.field.has-error .phone-field {
  border-color: rgba(160, 78, 93, 0.5);
}

.phone-prefix {
  padding: 0 10px;
  border-right: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 10px;
  line-height: 1;
}

.phone-field input {
  flex: 1;
  height: 45px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-field input:focus {
  background: transparent;
  box-shadow: none;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
  color: var(--ink-2);
  font-size: 8.5px;
  line-height: 1.6;
  cursor: pointer;
}

.checkline input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 0;
  border: 1px solid rgba(89, 104, 115, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.checkline input:checked + .check-box {
  border-color: var(--optimal);
  background: var(--optimal);
}

.checkline input:checked + .check-box::after {
  content: "";
  position: absolute;
  top: 2.8px;
  left: 2.8px;
  width: 7px;
  height: 4px;
  border-bottom: 1.3px solid #fff;
  border-left: 1.3px solid #fff;
  transform: rotate(-45deg);
}

.checkline input:focus-visible + .check-box {
  outline: 2px solid rgba(58, 98, 86, 0.6);
  outline-offset: 2px;
}

.checkline em {
  color: var(--ink-3);
  font-style: normal;
}

.consent {
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 7.5px;
  line-height: 1.65;
}

.consent .text-link {
  font-size: inherit;
}

.form-error {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(160, 78, 93, 0.12);
  border-radius: 8px;
  color: var(--critical);
  background: var(--critical-soft);
  font-size: 8.5px;
  line-height: 1.6;
}

#submitLead {
  margin-top: 13px;
}

#submitLead.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

#submitLead.is-loading span {
  opacity: 0.5;
}

#submitLead.is-loading::after {
  content: "";
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(244, 241, 233, 0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  place-items: center;
  border: 1px solid rgba(58, 98, 86, 0.12);
  border-radius: 50%;
  color: var(--optimal);
  background: var(--optimal-soft);
  animation: success-pop 0.5s var(--ease);
}

.success-mark svg {
  width: 30px;
  height: 30px;
}

@keyframes success-pop {
  0% { opacity: 0; transform: scale(0.8); }
  70% { transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.success-summary div {
  padding: 0 10px;
  border-left: 1px solid var(--line);
}

.success-summary div:first-child {
  padding-left: 0;
  border-left: 0;
}

.success-summary span {
  display: block;
  color: var(--ink-3);
  font-size: 7px;
  line-height: 1.4;
}

.success-summary b {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.success-consult {
  margin: -6px 0 14px;
  padding: 8px 10px;
  border-left: 2px solid var(--optimal);
  color: var(--optimal);
  background: var(--optimal-soft);
  font-size: 8.5px;
  line-height: 1.65;
}

.open-help {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid rgba(89, 104, 115, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  animation: body-in 0.3s var(--ease);
}

.open-help > b {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.5;
}

.open-help > p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 8.3px;
  line-height: 1.7;
}

.dots {
  display: inline-grid;
  width: 18px;
  height: 16px;
  margin: 0 2px;
  place-items: center;
  border: 1px solid rgba(89, 104, 115, 0.14);
  border-radius: 4px;
  color: var(--ink-2);
  font-family: var(--font-latin);
  font-size: 8px;
  vertical-align: middle;
}

.open-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.open-help-actions a,
.open-help-actions button {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(89, 104, 115, 0.14);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.6);
  font-size: 7.5px;
  line-height: 1;
}

.open-help-actions a:hover,
.open-help-actions button:hover {
  border-color: rgba(58, 98, 86, 0.32);
  color: var(--optimal);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  left: 24px;
  z-index: 120;
  width: fit-content;
  max-width: min(calc(100% - 48px), 360px);
  margin-inline: auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(38, 51, 47, 0.94);
  box-shadow: 0 16px 36px -16px rgba(23, 34, 29, 0.5);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 370px) {
  :root {
    --pad: 17px;
  }
  .hero-title {
    font-size: 31px;
  }
  .hero-stage {
    height: 430px;
  }
  .report-window {
    padding-right: 13px;
    padding-left: 13px;
  }
  .float-plan {
    width: 158px;
  }
  .proof-item {
    padding: 0 7px;
  }
  .proof-item strong {
    font-size: 20px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .final-art {
    opacity: 0.42;
  }
}

@media (min-width: 760px) {
  :root {
    --content: 620px;
    --pad: 28px;
  }
  .desktop-only {
    display: block;
  }
  .section {
    padding: 74px 0;
  }
  .section-problem,
  .section-steps,
  .section-sample,
  .section-plan,
  .section-privacy,
  .section-final,
  .section-faq {
    padding-top: 46px;
  }
  .hero {
    padding-top: calc(126px + env(safe-area-inset-top));
  }
  .hero-title {
    font-size: 54px;
  }
  .hero-lede {
    max-width: 410px;
    font-size: 15.5px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .hero-actions .btn-primary {
    width: auto;
    min-width: 224px;
  }
  .hero-stage {
    max-width: 470px;
    margin-inline: 0;
  }
  .proof-item strong {
    font-size: 26px;
  }
  .compare-panel {
    padding: 20px 16px 12px;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .step-card {
    padding: 15px;
  }
  .step-visual {
    height: 168px;
    padding: 12px;
  }
  .step-num {
    font-size: 25px;
  }
  .inline-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
  }
  .inline-cta .btn {
    flex: none;
  }
  .sample-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .sample-footer .btn {
    width: auto;
  }
  .privacy-grid {
    gap: 20px 22px;
  }
  .final-card {
    display: flex;
    align-items: center;
    min-height: 390px;
    padding: 40px;
  }
  .final-content {
    max-width: 330px;
  }
  .final-content .btn {
    width: auto;
  }
  .final-art {
    position: relative;
    right: auto;
    bottom: auto;
    flex: none;
    width: 230px;
    height: 230px;
    margin-left: auto;
    opacity: 0.9;
  }
  .modal {
    align-items: center;
    padding: 24px;
  }
  .sheet {
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    padding: 24px 28px 26px;
    max-height: 88vh;
    max-height: 88dvh;
  }
  .sheet-grab {
    display: none;
  }
  .sheet-close {
    top: 18px;
    right: 18px;
  }
  .mini-cover {
    height: 126px;
  }
  .field input,
  .phone-field {
    height: 50px;
  }
  .phone-field input {
    height: 48px;
  }
}

@media (min-width: 1200px) {
  .side-note {
    display: block;
  }
}

@media (max-width: 1199px) {
  .side-note {
    display: none;
  }
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-copy > *,
  .hero-stage {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .sticky-cta,
  .modal,
  .toast,
  .scroll-progress,
  .side-note,
  .ambient-word {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .section {
    break-inside: avoid;
  }
}




