@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/DMSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --background: #f8faf7;
  --surface: #ffffff;
  --ink: #183d32;
  --text: #233c34;
  --muted: #65756d;
  --subtle: #65756d;
  --line: #e4ebe3;
  --primary: #16855b;
  --primary-dark: #116444;
  --mint: #ddf4d9;
  --mint-ink: #225b38;
  --sky: #eaf0ff;
  --sky-ink: #4365a7;
  --gold: #f9d875;
  --gold-ink: #775610;
  --negative: #ba4a43;
  --negative-bg: #fff0ed;
  --soft: #f1f5ef;
  --shadow: 0 24px 60px rgba(24, 61, 50, 0.12);
  --soft-shadow: 0 12px 32px rgba(24, 61, 50, 0.08);
  --page: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--surface);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
}

h3 {
  font-size: 1.18rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: var(--page);
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.page-header {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

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

.site-nav .nav-contact {
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}

.site-nav .nav-contact:hover {
  border-color: var(--primary);
  background: var(--mint);
  color: var(--primary-dark);
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: 730px;
  margin: 12px auto 28px;
  padding: clamp(52px, 7vw, 94px) clamp(24px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(22, 133, 91, 0.1);
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 88% 2%,
      rgba(234, 240, 255, 0.95) 0 19%,
      transparent 42%
    ),
    radial-gradient(
      circle at 6% 100%,
      rgba(221, 244, 217, 0.95) 0 14%,
      transparent 38%
    ),
    var(--surface);
  box-shadow: 0 36px 80px rgba(24, 61, 50, 0.08);
}

.hero::after {
  position: absolute;
  right: -60px;
  bottom: 78px;
  width: 260px;
  height: 260px;
  border: 2px dashed rgba(22, 133, 91, 0.18);
  border-radius: 50%;
  content: "";
}

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

.kicker {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker span {
  display: inline-block;
  margin-right: 6px;
  color: var(--gold-ink);
}

.hero h1 {
  max-width: 730px;
  margin-bottom: 26px;
  font-size: clamp(3.45rem, 6.8vw, 6.8rem);
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(22, 133, 91, 0.22);
  color: var(--surface);
}

.button-primary:hover {
  background: var(--primary-dark);
  color: var(--surface);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--primary);
  background: var(--mint);
  color: var(--primary-dark);
}

.availability {
  display: flex;
  margin: 20px 0 0;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.availability span {
  color: var(--primary);
}

.device-stage {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: 328px;
  padding: 10px;
  border: 5px solid var(--ink);
  border-radius: 48px;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-speaker {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 50%;
  width: 86px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: var(--ink);
}

.phone-screen {
  min-height: 572px;
  padding: 35px 17px 11px;
  overflow: hidden;
  border-radius: 35px;
  background: var(--background);
}

.app-topline,
.app-brand-mini,
.chart-labels,
.range-row,
.section-row,
.holding-row,
.app-tabs,
.mini-title,
.allocation-row,
.stock-heading,
.sheet-actions,
.lesson-stack {
  display: flex;
  align-items: center;
}

.app-topline,
.chart-labels,
.section-row,
.mini-title,
.sheet-actions {
  justify-content: space-between;
}

.app-brand-mini {
  gap: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-brand-mini img {
  border-radius: 9px;
}

.practice-chip,
.mini-title b {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.balance-block {
  padding: 24px 1px 13px;
}

.balance-block span,
.mini-balance span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.balance-block strong {
  display: block;
  margin: 2px 0;
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 1.1;
}

.balance-block small {
  color: var(--muted);
  font-size: 0.63rem;
}

.balance-block b,
.positive {
  color: var(--primary);
}

.negative {
  color: var(--negative);
}

.chart-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}

.chart-labels {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 600;
}

.chart-labels strong {
  color: var(--primary);
}

.hero-chart {
  width: 100%;
  height: 105px;
  margin: 5px 0;
}

.chart-fill {
  fill: var(--mint);
  opacity: 0.72;
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-width: 4;
}

.chart-dot {
  fill: var(--primary);
  stroke: var(--surface);
  stroke-width: 3;
}

.range-row {
  justify-content: space-around;
  color: var(--subtle);
  font-size: 0.58rem;
  font-weight: 700;
}

.range-row span {
  padding: 3px 8px;
}

.range-row .range-active {
  border-radius: 99px;
  background: var(--mint);
  color: var(--primary-dark);
}

.holding-list {
  padding: 16px 1px 5px;
}

.section-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.61rem;
}

.section-row strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.holding-row {
  min-height: 55px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.asset-letter {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
}

.asset-blue {
  background: var(--sky);
  color: var(--sky-ink);
}

.asset-gold {
  background: var(--gold);
  color: var(--gold-ink);
}

.holding-name,
.holding-value {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.holding-name {
  flex: 1;
}

.holding-value {
  align-items: flex-end;
}

.holding-name strong,
.holding-value strong {
  color: var(--ink);
  font-size: 0.7rem;
}

.holding-name small,
.holding-value small {
  color: var(--muted);
  font-size: 0.56rem;
}

.holding-value small.positive,
.holding-value small.negative {
  color: inherit;
}

.app-tabs {
  height: 43px;
  margin: 4px -8px -1px;
  justify-content: space-around;
  border-radius: 15px;
  background: var(--surface);
  color: var(--subtle);
  font-size: 0.51rem;
  font-weight: 600;
}

.app-tabs .tab-active {
  color: var(--primary);
}

.lesson-card,
.decision-card {
  position: absolute;
  z-index: 4;
  display: flex;
  border: 1px solid rgba(24, 61, 50, 0.08);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.lesson-card {
  top: 90px;
  left: -10px;
  width: 200px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  transform: rotate(-5deg);
}

.lesson-card > span:last-child,
.decision-card {
  flex-direction: column;
}

.lesson-card strong,
.decision-card strong {
  color: var(--ink);
  font-size: 0.76rem;
}

.lesson-card span:last-child {
  color: var(--muted);
  font-size: 0.6rem;
}

.lesson-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary-dark);
  font-weight: 700;
}

.decision-card {
  right: -10px;
  bottom: 110px;
  width: 174px;
  padding: 15px 18px;
  transform: rotate(4deg);
}

.decision-card span,
.decision-card small {
  color: var(--muted);
  font-size: 0.58rem;
}

.decision-card strong {
  margin: 3px 0;
  color: var(--primary);
  font-size: 1.18rem;
}

.trust-strip {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding: 40px 4px 64px;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  display: flex;
  min-height: 76px;
  padding: 0 24px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-strip div:first-child {
  padding-left: 0;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.intro-section,
.feature-story,
.steps-section,
.family-section,
.safety-section,
.closing-section,
.site-footer,
.page-hero,
.legal-layout,
.support-guide,
.support-layout {
  width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.intro-section {
  display: grid;
  padding: clamp(100px, 13vw, 180px) 0 70px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.section-heading h2,
.safety-intro h2,
.closing-section h2,
.family-copy h2 {
  margin-bottom: 0;
}

.section-lede {
  max-width: 550px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-story {
  display: grid;
  min-height: 560px;
  padding: 72px 0;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.feature-trade {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-trade .feature-copy {
  order: 2;
}

.feature-number {
  display: block;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.feature-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.07rem;
}

.check-list {
  padding: 14px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 32px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary-dark);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 700;
}

.feature-canvas {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: clamp(28px, 5vw, 60px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 36px;
}

.portfolio-canvas {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.78) 0 8%,
      transparent 9%
    ),
    var(--mint);
}

.research-canvas {
  flex-direction: column;
  background: var(--sky);
}

.learn-canvas {
  background: var(--gold);
}

.mini-window,
.stock-sheet {
  width: min(100%, 470px);
  padding: 25px;
  border: 1px solid rgba(24, 61, 50, 0.08);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.mini-title {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-balance {
  margin: 38px 0 25px;
}

.mini-balance strong {
  display: block;
  color: var(--ink);
  font-size: 2.35rem;
}

.allocation-row {
  gap: clamp(28px, 6vw, 60px);
}

.donut {
  width: 145px;
  height: 145px;
  flex: 0 0 145px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0 44%,
    #7097e8 44% 77%,
    var(--gold) 77%
  );
  box-shadow: inset 0 0 0 38px var(--surface);
}

.legend {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.legend span {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
}

.legend b {
  color: var(--ink);
}

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

.dot.green {
  background: var(--primary);
}

.dot.blue {
  background: #7097e8;
}

.dot.gold {
  background: var(--gold);
}

.search-pill {
  width: min(100%, 440px);
  margin: 0 0 14px -36px;
  padding: 15px 20px;
  border: 1px solid rgba(24, 61, 50, 0.08);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-size: 0.82rem;
}

.search-pill span {
  margin-right: 8px;
  color: var(--primary);
  font-size: 1.1rem;
}

.stock-sheet {
  transform: translateX(25px);
}

.stock-heading {
  gap: 12px;
}

.stock-heading > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.stock-heading strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.stock-heading small {
  color: var(--muted);
  font-size: 0.66rem;
}

.stock-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.research-note {
  margin: 28px 0 22px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--background);
}

.research-note span {
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.research-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.sheet-actions {
  gap: 10px;
}

.sheet-actions b,
.sheet-actions span {
  display: flex;
  min-height: 40px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.74rem;
}

.sheet-actions b {
  background: var(--primary);
  color: var(--surface);
}

.sheet-actions span {
  background: var(--mint);
  color: var(--primary-dark);
}

.lesson-stack {
  position: absolute;
  width: min(82%, 470px);
  min-height: 96px;
  padding: 17px;
  gap: 14px;
  border: 1px solid rgba(24, 61, 50, 0.08);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.lesson-stack > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.lesson-stack small {
  color: var(--muted);
  font-size: 0.63rem;
}

.lesson-stack strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.lesson-stack > b {
  color: var(--primary-dark);
  font-size: 0.66rem;
}

.lesson-art {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.4rem;
  font-weight: 700;
}

.sky-art {
  background: var(--sky);
  color: var(--sky-ink);
}

.gold-art {
  background: var(--gold);
  color: var(--gold-ink);
}

.mint-art {
  background: var(--mint);
  color: var(--mint-ink);
}

.lesson-one {
  top: 63px;
  transform: rotate(-2deg);
}

.lesson-two {
  z-index: 2;
  top: 168px;
  transform: translateX(22px) rotate(1.2deg);
}

.lesson-three {
  top: 273px;
  transform: translateX(-12px) rotate(-1deg);
}

.steps-section {
  padding: clamp(90px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.compact-heading {
  max-width: 780px;
}

.steps-list {
  display: grid;
  margin: 70px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps-list li {
  display: grid;
  min-height: 200px;
  padding: 0 42px;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.steps-list li:first-child {
  padding-left: 0;
}

.steps-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.steps-list li > span,
.support-steps li > span {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}

.steps-list h3 {
  margin: 7px 0 14px;
}

.steps-list p {
  color: var(--muted);
  font-size: 0.92rem;
}

.family-section {
  display: grid;
  padding: clamp(72px, 10vw, 130px) clamp(28px, 7vw, 90px);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(45px, 9vw, 120px);
  border-radius: 40px;
  background: var(--ink);
}

.family-copy h2,
.family-copy p,
.family-copy .kicker,
.family-copy .text-link {
  color: var(--surface);
}

.family-copy p:not(.kicker) {
  margin: 26px 0;
  color: #d6e7dc;
  font-size: 1.05rem;
}

.family-copy .text-link {
  text-decoration-color: var(--gold);
}

.family-art {
  position: relative;
  min-height: 390px;
}

.conversation-card {
  position: absolute;
  width: min(92%, 380px);
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
}

.conversation-card span {
  display: block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.conversation-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.35;
}

.question-card {
  top: 25px;
  left: 0;
  background: var(--gold);
  color: var(--gold-ink);
  transform: rotate(-3deg);
}

.answer-card {
  right: 0;
  bottom: 22px;
  z-index: 2;
  background: var(--surface);
  color: var(--ink);
  transform: rotate(2deg);
}

.answer-card i {
  display: block;
  width: 90%;
  height: 4px;
  margin-top: 15px;
  border-radius: 5px;
  background: var(--line);
}

.answer-card i:last-child {
  width: 64%;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
}

.safety-section {
  display: grid;
  padding: clamp(110px, 14vw, 180px) 0;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(55px, 9vw, 120px);
}

.safety-intro > p:not(.kicker) {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.promise-grid article {
  min-height: 230px;
  padding: 30px;
  background: var(--surface);
}

.promise-grid article > span {
  display: flex;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
}

.promise-grid h3 {
  margin-bottom: 12px;
}

.promise-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.closing-section {
  padding: clamp(72px, 10vw, 120px) clamp(28px, 9vw, 120px);
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 0 100%,
      rgba(249, 216, 117, 0.52),
      transparent 34%
    ),
    radial-gradient(
      circle at 100% 0,
      rgba(234, 240, 255, 0.95),
      transparent 38%
    ),
    var(--surface);
  text-align: center;
}

.closing-section img {
  margin: 0 auto 26px;
  border-radius: 21px;
}

.closing-section h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.closing-section > p:not(.kicker) {
  max-width: 620px;
  margin: 28px auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.site-footer {
  display: grid;
  padding: 62px 0 42px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 50px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  border-radius: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  grid-row: 1 / span 2;
  grid-column: 2;
  align-items: center;
  gap: 26px;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  font-size: 0.86rem;
  text-decoration: none;
}

.site-footer small {
  color: var(--subtle);
  font-size: 0.72rem;
}

/* Privacy and support */
.legal-main {
  padding-bottom: 110px;
}

.page-hero {
  display: grid;
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: end;
  gap: clamp(60px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 890px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6.5vw, 6.2rem);
}

.page-hero .hero-lede {
  margin-bottom: 16px;
}

.policy-date {
  margin-bottom: 0;
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-callout {
  padding: 28px;
  border-radius: 26px;
  background: var(--mint);
  color: var(--mint-ink);
}

.support-callout {
  background: var(--sky);
  color: var(--sky-ink);
}

.callout-mark {
  display: flex;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.25rem;
  font-weight: 700;
}

.page-callout strong {
  display: block;
  margin-bottom: 10px;
  color: inherit;
  font-size: 1.15rem;
}

.page-callout p {
  margin-bottom: 0;
  color: inherit;
  font-size: 0.89rem;
}

.page-callout .text-link {
  margin-top: 12px;
  color: inherit;
  overflow-wrap: anywhere;
}

.legal-layout,
.support-layout {
  display: grid;
  padding-top: 86px;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(60px, 12vw, 150px);
}

.legal-index {
  position: sticky;
  top: 32px;
  display: flex;
  height: max-content;
  padding: 24px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.legal-index strong {
  margin: 2px 0 14px;
  color: var(--ink);
  font-size: 0.82rem;
}

.legal-index a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-index a:hover {
  color: var(--primary);
}

.legal-prose section,
.faq-list section {
  scroll-margin-top: 34px;
}

.legal-prose section {
  margin-bottom: 68px;
}

.legal-prose h2,
.faq-list h2,
.support-intro h2 {
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
}

.legal-prose p,
.faq-list p,
.support-intro > p:not(.kicker) {
  color: var(--muted);
  font-size: 1rem;
}

.legal-prose p + p,
.faq-list p + p {
  margin-top: 20px;
}

.contact-panel {
  padding: 38px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.contact-panel h2 {
  margin-bottom: 16px;
}

.contact-panel .button {
  margin-top: 10px;
}

.support-guide {
  display: grid;
  padding: clamp(75px, 9vw, 120px) 0;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(50px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
}

.support-intro > p:not(.kicker) {
  margin-bottom: 0;
}

.support-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  list-style: none;
}

.support-steps li {
  display: flex;
  min-height: 190px;
  padding: 24px;
  flex-direction: column;
  background: var(--surface);
}

.support-steps li > span {
  width: 36px;
  height: 36px;
  margin-bottom: auto;
  font-size: 0.78rem;
}

.support-steps strong {
  margin-top: 26px;
  color: var(--ink);
}

.support-steps small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.support-layout {
  grid-template-columns: 250px minmax(0, 820px);
}

.faq-list section {
  display: grid;
  padding: 0 0 56px;
  grid-template-columns: 54px 1fr;
  gap: 24px;
}

.faq-list section + section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.faq-list .faq-number {
  margin: 6px 0 0;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.faq-list .button {
  margin-top: 10px;
}

.error-page {
  min-height: 100vh;
}

.error-main {
  display: flex;
  width: min(760px, calc(100% - 48px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 80px 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-art {
  display: flex;
  margin-bottom: 34px;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.error-art img {
  border-radius: 30px;
}

.error-main h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.error-main > p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  :root {
    --page: min(100% - 40px, 920px);
  }

  .site-header {
    min-height: 82px;
  }

  .site-nav {
    gap: 17px;
  }

  .site-header:not(.page-header) .site-nav a:nth-child(2),
  .site-header:not(.page-header) .site-nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 670px;
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7.2vw, 5.3rem);
  }

  .device-stage {
    min-height: 570px;
    transform: scale(0.9);
  }

  .lesson-card {
    left: 4px;
  }

  .decision-card {
    right: 4px;
  }

  .intro-section,
  .feature-story,
  .feature-trade,
  .family-section,
  .safety-section,
  .page-hero,
  .support-guide {
    gap: 56px;
  }

  .feature-story,
  .feature-trade {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .steps-list li {
    padding: 0 24px;
    grid-template-columns: 38px 1fr;
  }

  .steps-list li > span {
    width: 36px;
    height: 36px;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .legal-layout,
  .support-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 54px;
  }

  .support-guide {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .support-steps li {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 20px;
  }

  .site-header {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 1.08rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-header .site-nav a {
    display: none;
  }

  .site-header .site-nav .nav-contact,
  .page-header .site-nav a[aria-current="page"] {
    display: inline-flex;
  }

  .site-header .site-nav .nav-contact {
    min-height: 42px;
    padding: 0 15px;
  }

  .hero {
    min-height: auto;
    margin-top: 5px;
    padding: 55px 20px 42px;
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 29px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .availability {
    align-items: flex-start;
  }

  .device-stage {
    min-height: 565px;
    margin: 0 -22px;
    transform: scale(0.88);
  }

  .lesson-card {
    left: 1px;
  }

  .decision-card {
    right: 0;
  }

  .trust-strip {
    padding: 32px 0 58px;
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div {
    min-height: 92px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(3),
  .trust-strip div:nth-child(4) {
    border-bottom: 0;
  }

  .trust-strip div:first-child {
    padding-left: 18px;
  }

  .intro-section,
  .feature-story,
  .feature-trade,
  .family-section,
  .safety-section,
  .page-hero,
  .support-guide {
    grid-template-columns: 1fr;
  }

  .intro-section {
    padding: 95px 0 50px;
    gap: 30px;
  }

  .feature-story,
  .feature-trade {
    padding: 66px 0;
    gap: 35px;
  }

  .feature-trade .feature-copy {
    order: 0;
  }

  .feature-canvas {
    min-height: 385px;
    padding: 25px;
    border-radius: 28px;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .mini-window,
  .stock-sheet {
    padding: 19px;
  }

  .allocation-row {
    gap: 23px;
  }

  .donut {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
    box-shadow: inset 0 0 0 29px var(--surface);
  }

  .search-pill {
    margin-left: -8px;
  }

  .stock-sheet {
    transform: translateX(7px);
  }

  .lesson-stack {
    width: 88%;
  }

  .steps-section {
    padding: 90px 0;
  }

  .steps-list {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .steps-list li {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps-list li:last-child {
    border-bottom: 0;
  }

  .family-section {
    padding: 62px 25px;
    gap: 36px;
    border-radius: 29px;
  }

  .family-art {
    min-height: 340px;
  }

  .safety-section {
    padding: 100px 0;
  }

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

  .promise-grid article {
    min-height: auto;
  }

  .closing-section {
    padding: 64px 22px;
    border-radius: 29px;
  }

  .site-footer {
    padding: 46px 0 34px;
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    grid-row: auto;
    grid-column: auto;
    flex-wrap: wrap;
    gap: 18px;
  }

  .page-hero {
    padding: 70px 0 65px;
    gap: 35px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .legal-layout,
  .support-layout {
    padding-top: 60px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-index {
    position: static;
    display: grid;
    padding: 18px;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 12px;
  }

  .legal-index strong {
    grid-column: 1 / -1;
  }

  .legal-index a {
    min-height: 44px;
  }

  .legal-prose section {
    margin-bottom: 54px;
  }

  .contact-panel {
    padding: 28px 22px;
  }

  .support-guide {
    padding: 75px 0;
  }

  .support-steps {
    grid-template-columns: 1fr;
  }

  .support-steps li {
    min-height: 150px;
  }

  .faq-list section {
    padding-bottom: 44px;
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .faq-list section + section {
    padding-top: 44px;
  }

  .error-main {
    width: calc(100% - 32px);
  }

  .error-art {
    gap: 9px;
  }

  .error-art img {
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.85rem;
  }

  .device-stage {
    margin-right: -42px;
    margin-left: -42px;
    transform: scale(0.78);
  }

  .trust-strip strong {
    font-size: 1.35rem;
  }

  .allocation-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-canvas {
    padding: 18px;
  }

  .stock-heading .stock-price {
    display: none;
  }

  .lesson-stack {
    width: 94%;
  }

  .legal-index {
    grid-template-columns: 1fr;
  }

  .legal-index strong {
    grid-column: auto;
  }

  .faq-list section {
    grid-template-columns: 1fr;
  }
}

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