@font-face {
  font-family: "Instrument Sans";
  src: url(../fonts/InstrumentSans-VariableFont_wdth\,wght.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url(../fonts/BricolageGrotesque-VariableFont_opsz\,wdth\,wght.ttf);
  font-display: swap;
}

:root {
  --color-bg: #f3f0e7;
  --color-surface: #fffdf8;
  --color-surface-2: #e6e2d6;
  --color-text: #182018;
  --color-text-muted: #667066;
  --color-dark: #111912;
  --color-dark-2: #182419;
  --color-primary: #b7f36b;
  --color-primary-strong: #91d841;
  --color-accent: #8e82f4;
  --color-line: rgba(24, 32, 24, 0.14);
  --color-line-light: rgba(255, 255, 255, 0.14);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 104px;
  --text-display: clamp(3.15rem, 7vw, 6.8rem);
  --text-h1: clamp(2.5rem, 5vw, 4.25rem);
  --text-h2: clamp(2rem, 4vw, 3.2rem);
  --text-h3: clamp(1.2rem, 2vw, 1.55rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 54px;
  --shadow: 0 24px 70px rgba(29, 38, 29, 0.12);
  --container: 1240px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Instrument Sans", sans-serif;
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { background: var(--color-primary); color: var(--color-dark); }

.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: var(--space-8) 0; position: relative; }
.section-tight { padding: var(--space-7) 0; }
.section-dark { background: var(--color-dark); color: #f7f6f0; }
.section-surface { background: var(--color-surface); }
.section-accent { background: var(--color-primary); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand-name, .display { font-family: "Bricolage Grotesque", sans-serif; }
h1 { font-size: var(--text-h1); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: var(--text-h2); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: var(--text-h3); line-height: 1.15; letter-spacing: -0.02em; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--color-text-muted); }
.section-dark .muted { color: rgba(247, 246, 240, 0.68); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--space-3);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 13px 0 0 var(--color-primary); margin-right: 13px; }
.section-heading { max-width: 760px; margin-bottom: var(--space-6); }
.section-heading p { max-width: 650px; font-size: 1.05rem; color: var(--color-text-muted); }
.section-dark .section-heading p { color: rgba(247, 246, 240, 0.68); }

.site-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 231, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; overflow: hidden; background: var(--color-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; }
.header-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-nav a { font-size: 0.9rem; color: #394239; transition: color .25s ease; }
.header-nav a:hover { color: #000; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.ad-badge { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border: 1px solid var(--color-line); border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.55); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-dark); color: white; cursor: pointer; align-items: center; justify-content: center; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-dark); color: #fff; box-shadow: 0 10px 25px rgba(17,25,18,.15); }
.btn-primary:hover { background: #233225; }
.btn-lime { background: var(--color-primary); color: var(--color-dark); }
.btn-lime:hover { background: #c5fa81; }
.btn-outline { border-color: var(--color-line); background: rgba(255,255,255,.36); }
.btn-outline:hover { background: white; border-color: rgba(24,32,24,.3); }

.hero { overflow: hidden; padding: 56px 0 82px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 52px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: var(--text-display); max-width: 850px; margin-bottom: 26px; }
.hero-copy h1 .outline-word { -webkit-text-stroke: 1.4px var(--color-text); color: transparent; }
.hero-copy .lead { max-width: 670px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--color-text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--color-text-muted); font-size: .9rem; }
.hero-proof .proof-stack { display: flex; }
.hero-proof .proof-dot { width: 27px; height: 27px; border-radius: 50%; border: 3px solid var(--color-bg); background: var(--color-accent); margin-left: -8px; }
.hero-proof .proof-dot:first-child { margin-left: 0; background: var(--color-primary); }
.hero-proof .proof-dot:nth-child(2) { background: #ffc369; }

.route-board {
  position: relative;
  min-height: 570px;
  border-radius: var(--radius-xl);
  background: var(--color-dark);
  color: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.route-board::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,243,107,.28), transparent 65%);
  right: -110px;
  top: -120px;
}
.route-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.route-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 28px; }
.route-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.62); }
.route-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .76rem; }
.route-status::before { content: ""; width: 7px; height: 7px; background: var(--color-primary); border-radius: 50%; box-shadow: 0 0 0 5px rgba(183,243,107,.08); }
.route-canvas { position: absolute; inset: 90px 0 0; z-index: 2; }
.route-line { position: absolute; height: 2px; transform-origin: left center; background: linear-gradient(90deg, rgba(183,243,107,.8), rgba(142,130,244,.75)); }
.line-a { width: 180px; left: 86px; top: 104px; transform: rotate(20deg); }
.line-b { width: 145px; left: 238px; top: 165px; transform: rotate(-29deg); }
.line-c { width: 180px; left: 235px; top: 166px; transform: rotate(39deg); }
.line-d { width: 138px; left: 342px; top: 96px; transform: rotate(47deg); }
.route-node { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #202b21; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 8px rgba(255,255,255,.03); font-family: "Bricolage Grotesque"; font-weight: 700; }
.node-1 { left: 58px; top: 82px; background: var(--color-primary); color: var(--color-dark); }
.node-2 { left: 218px; top: 142px; }
.node-3 { left: 357px; top: 58px; }
.node-4 { left: 374px; top: 270px; background: var(--color-accent); }
.route-note { position: absolute; z-index: 3; max-width: 190px; padding: 15px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: .84rem; line-height: 1.45; }
.note-a { left: 48px; bottom: 55px; }
.note-b { right: 28px; bottom: 78px; }
.note-b strong { color: var(--color-primary); }

.context-strip { margin-top: -28px; position: relative; z-index: 4; }
.context-panel { display: grid; grid-template-columns: 1.25fr .75fr .75fr; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.context-main, .context-metric { padding: 28px 30px; }
.context-main { border-right: 1px solid var(--color-line); }
.context-main h3 { margin-bottom: 8px; }
.context-metric { border-right: 1px solid var(--color-line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.context-metric:last-child { border-right: 0; }
.metric-num { font-family: "Bricolage Grotesque"; font-size: 2.4rem; line-height: 1; letter-spacing: -.05em; }
.metric-label { color: var(--color-text-muted); font-size: .86rem; }

.problem-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 52px; align-items: start; }
.problem-sticky { position: sticky; top: calc(var(--header) + 30px); }
.problem-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-card { min-height: 230px; padding: 26px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.problem-card:nth-child(2) { background: var(--color-primary); }
.problem-card:nth-child(3) { grid-column: span 2; min-height: 190px; background: var(--color-dark); color: white; }
.problem-card .card-index { font-family: "Bricolage Grotesque"; font-size: .78rem; opacity: .55; margin-bottom: auto; }
.problem-card h3 { margin: 28px 0 10px; }
.problem-card p { color: var(--color-text-muted); }
.problem-card:nth-child(2) p { color: #354132; }
.problem-card:nth-child(3) p { color: rgba(255,255,255,.64); max-width: 680px; }

.analysis-shell { border-radius: var(--radius-xl); background: var(--color-dark); color: white; overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr; }
.analysis-copy { padding: clamp(34px, 6vw, 76px); position: relative; }
.analysis-copy::after { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(183,243,107,.22); border-radius: 50%; right: -80px; bottom: 24px; box-shadow: 0 0 0 34px rgba(183,243,107,.035), 0 0 0 68px rgba(183,243,107,.025); }
.analysis-copy h2 { max-width: 600px; }
.analysis-copy p { color: rgba(255,255,255,.68); }
.analysis-points { display: grid; gap: 12px; margin-top: 30px; }
.analysis-point { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.analysis-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(183,243,107,.12); color: var(--color-primary); }
.analysis-point strong { display: block; margin-bottom: 3px; }
.analysis-point span { color: rgba(255,255,255,.6); font-size: .9rem; }
.analysis-visual { background: #e9e5da; color: var(--color-text); padding: 36px; display: flex; align-items: center; }
.radar-card { width: 100%; padding: 28px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); box-shadow: 0 24px 60px rgba(17,25,18,.12); }
.radar-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.radar-head h3 { margin: 0; }
.radar-chip { font-size: .72rem; padding: 7px 10px; border-radius: 999px; background: #ece9ff; color: #5145ba; }
.radar-rows { display: grid; gap: 20px; }
.radar-row { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; font-size: .88rem; }
.bar { height: 10px; border-radius: 999px; background: #e4e1d7; overflow: hidden; }
.bar > span { display: block; width: 28%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-accent), var(--color-primary)); transform-origin: left; transition: width .5s ease; }
.radar-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--color-line); color: var(--color-text-muted); font-size: .86rem; }

.direction-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.direction-card { position: relative; overflow: hidden; border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--color-line); background: var(--color-surface); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.direction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.direction-card:nth-child(1) { grid-column: span 7; background: var(--color-primary); }
.direction-card:nth-child(2) { grid-column: span 5; }
.direction-card:nth-child(3) { grid-column: span 4; }
.direction-card:nth-child(4) { grid-column: span 4; background: var(--color-dark); color: white; }
.direction-card:nth-child(5) { grid-column: span 4; background: #ebe8ff; }
.direction-number { font-family: "Bricolage Grotesque"; font-size: .76rem; opacity: .5; }
.direction-card h3 { margin: auto 0 10px; max-width: 420px; }
.direction-card p { margin: 0; max-width: 520px; color: var(--color-text-muted); }
.direction-card:nth-child(4) p { color: rgba(255,255,255,.62); }
.direction-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.direction-tag { padding: 6px 9px; border-radius: 999px; border: 1px solid currentColor; font-size: .73rem; opacity: .72; }

.format-board { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.format-tabs { display: grid; gap: 10px; }
.format-tab { text-align: left; border: 1px solid var(--color-line); background: transparent; color: inherit; padding: 18px 20px; border-radius: var(--radius-sm); cursor: pointer; transition: all .25s ease; }
.format-tab strong { display: block; margin-bottom: 3px; }
.format-tab span { font-size: .86rem; color: var(--color-text-muted); }
.format-tab.is-active { background: var(--color-dark); color: white; border-color: var(--color-dark); transform: translateX(8px); }
.format-tab.is-active span { color: rgba(255,255,255,.62); }
.format-detail { min-height: 420px; padding: 40px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); position: sticky; top: calc(var(--header) + 26px); }
.format-detail .detail-kicker { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--color-primary); font-size: .74rem; margin-bottom: 26px; }
.format-detail h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); max-width: 520px; }
.format-detail p { color: var(--color-text-muted); max-width: 600px; }
.format-detail .detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.detail-cell { padding: 18px; border-radius: var(--radius-sm); background: #f0eee6; }
.detail-cell small { display: block; color: var(--color-text-muted); margin-bottom: 5px; }

.plan-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--color-line); background: var(--color-surface); }
.plan-card.featured { background: var(--color-primary); border-color: transparent; transform: translateY(-14px); box-shadow: var(--shadow); }
.plan-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--color-dark); color: white; font-size: .73rem; margin-bottom: 28px; }
.plan-card h3 { font-size: 2rem; }
.plan-card > p { color: var(--color-text-muted); }
.plan-card.featured > p { color: #3c4937; }
.plan-list { display: grid; gap: 11px; margin: 28px 0 0; padding: 0; list-style: none; }
.plan-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan-list i { color: #557f2d; margin-top: 3px; }
.plan-card:not(.featured) .plan-list i { color: var(--color-accent); }

.action-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.action-step { position: relative; padding: 24px; min-height: 190px; border-radius: var(--radius-md); background: rgba(255,255,255,.07); border: 1px solid var(--color-line-light); }
.action-step::after { content: ""; position: absolute; top: 38px; right: -13px; width: 13px; height: 2px; background: var(--color-primary); }
.action-step:last-child::after { display: none; }
.step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); font-family: "Bricolage Grotesque"; font-weight: 700; margin-bottom: 30px; }
.action-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.action-step p { font-size: .86rem; color: rgba(255,255,255,.62); }

.tools-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; }
.tool-cloud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-card { padding: 22px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-line); min-height: 155px; }
.tool-card:nth-child(3) { grid-column: span 2; background: #ece9ff; }
.tool-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--color-dark); color: var(--color-primary); margin-bottom: 26px; }
.tool-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tool-card p { color: var(--color-text-muted); font-size: .88rem; }

.lead-section { padding-bottom: 0; }
.lead-shell { display: grid; grid-template-columns: .82fr 1.18fr; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; background: var(--color-dark); color: white; }
.lead-copy { padding: clamp(34px, 6vw, 72px); position: relative; }
.lead-copy p { color: rgba(255,255,255,.66); }
.lead-copy .mini-note { margin-top: 30px; padding: 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid var(--color-line-light); font-size: .86rem; }
.lead-form-wrap { background: var(--color-surface); color: var(--color-text); padding: clamp(28px, 5vw, 58px); }
.form-progress { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 26px; }
.progress-segment { height: 5px; flex: 1; border-radius: 999px; background: var(--color-surface-2); }
.progress-segment.is-active { background: var(--color-accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--color-line); border-radius: 12px; background: #f7f5ee; color: var(--color-text); padding: 12px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-accent); background: white; box-shadow: 0 0 0 4px rgba(142,130,244,.11); }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .79rem; color: var(--color-text-muted); }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-accent); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-hint { color: var(--color-text-muted); font-size: .78rem; max-width: 320px; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; align-items: start; }
.faq-list { border-top: 1px solid var(--color-line); }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-question { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; padding: 18px 0; font-weight: 600; }
.faq-question .faq-plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--color-line); flex: 0 0 auto; transition: transform .25s ease, background .25s ease; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); background: var(--color-primary); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 46px 22px 0; color: var(--color-text-muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.site-footer { background: var(--color-dark); color: white; padding: 66px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 590px; color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-company { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; font-size: .86rem; }
.footer-company strong { display: block; color: rgba(255,255,255,.45); font-weight: 500; margin-bottom: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 22px 0; border-top: 1px solid var(--color-line-light); border-bottom: 1px solid var(--color-line-light); }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.72); transition: color .2s ease; }
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255,255,255,.42); font-size: .75rem; }

.legal-hero { padding: 72px 0 48px; background: var(--color-dark); color: white; overflow: hidden; position: relative; }
.legal-hero::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(183,243,107,.16); border-radius: 50%; right: -100px; top: -160px; box-shadow: 0 0 0 56px rgba(183,243,107,.028), 0 0 0 112px rgba(183,243,107,.018); }
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero h1 { max-width: 820px; margin-bottom: 16px; }
.legal-hero p { max-width: 680px; color: rgba(255,255,255,.62); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.legal-meta span { padding: 7px 10px; border-radius: 999px; border: 1px solid var(--color-line-light); font-size: .75rem; color: rgba(255,255,255,.72); }
.legal-content { padding: 72px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); justify-content: center; gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header) + 22px); display: grid; gap: 8px; }
.legal-nav a { padding: 9px 12px; border-radius: 10px; color: var(--color-text-muted); font-size: .83rem; transition: all .2s ease; }
.legal-nav a:hover { background: var(--color-surface); color: var(--color-text); }
.legal-copy section { scroll-margin-top: calc(var(--header) + 24px); padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--color-line); }
.legal-copy section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-copy h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 18px; }
.legal-copy h3 { margin-top: 24px; margin-bottom: 10px; }
.legal-copy p { color: #495349; }
.legal-data { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-line); }
.legal-data div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.legal-data strong { font-size: .85rem; color: var(--color-text-muted); }

.thanks-main { min-height: 65vh; }
.thanks-hero { padding: 80px 0 48px; }
.thanks-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.thanks-panel { padding: clamp(34px, 6vw, 70px); border-radius: var(--radius-lg); background: var(--color-dark); color: white; }
.thanks-panel h1 { max-width: 730px; }
.thanks-panel p { color: rgba(255,255,255,.64); max-width: 650px; }
.thanks-side { padding: 34px; border-radius: var(--radius-lg); background: var(--color-primary); display: flex; flex-direction: column; justify-content: space-between; }
.thanks-side .submitted-data { display: grid; gap: 12px; }
.data-row { padding-bottom: 12px; border-bottom: 1px solid rgba(24,32,24,.16); }
.data-row small { display: block; color: #53604d; margin-bottom: 2px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.next-card { padding: 26px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-line); }
.next-card span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-accent); color: white; font-family: "Bricolage Grotesque"; font-weight: 700; margin-bottom: 34px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

@media (max-width: 1024px) {
  :root { --space-8: 82px; }
  .header-nav { position: fixed; inset: var(--header) 16px auto 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 12px 10px; }
  .menu-toggle { display: inline-flex; }
  .header-tools .btn { display: none; }
  .hero-grid, .problem-grid, .analysis-shell, .format-board, .tools-wrap, .lead-shell, .faq-layout, .thanks-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .route-board { min-height: 500px; }
  .problem-sticky, .format-detail { position: static; }
  .problem-cards { grid-template-columns: 1fr 1fr; }
  .format-board { gap: 24px; }
  .format-tabs { grid-template-columns: repeat(3, 1fr); }
  .format-tab.is-active { transform: translateY(-4px); }
  .action-path { grid-template-columns: repeat(2, 1fr); }
  .action-step::after { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header: 70px; --space-8: 68px; --space-7: 52px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header { height: var(--header); }
  .ad-badge { display: none; }
  .hero { padding-top: 34px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .route-board { min-height: 480px; border-radius: 34px; }
  .line-a { width: 130px; left: 64px; }
  .line-b { width: 106px; left: 175px; }
  .line-c { width: 128px; left: 176px; }
  .line-d { width: 94px; left: 260px; }
  .node-1 { left: 36px; }
  .node-2 { left: 156px; }
  .node-3 { left: 265px; }
  .node-4 { left: 276px; }
  .note-b { display: none; }
  .context-panel { grid-template-columns: 1fr 1fr; }
  .context-main { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--color-line); }
  .context-metric:nth-child(2) { border-right: 1px solid var(--color-line); }
  .problem-cards { grid-template-columns: 1fr; }
  .problem-card:nth-child(3) { grid-column: auto; }
  .direction-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .direction-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .format-tabs { grid-template-columns: 1fr; }
  .format-detail { min-height: 360px; padding: 28px; }
  .plan-compare { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .action-path, .tool-cloud, .next-grid { grid-template-columns: 1fr; }
  .tool-card:nth-child(3) { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-company { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .legal-nav { display: flex; overflow-x: auto; padding-bottom: 6px; }
  .legal-nav a { min-width: max-content; }
  .legal-data div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 31px; height: 31px; }
  .hero-actions .btn { width: 100%; }
  .route-board { min-height: 440px; }
  .route-line, .node-3 { display: none; }
  .node-1 { left: 30px; top: 82px; }
  .node-2 { left: 150px; top: 150px; }
  .node-4 { left: 235px; top: 250px; }
  .note-a { left: 24px; right: 24px; max-width: none; }
  .context-panel { grid-template-columns: 1fr; }
  .context-metric { border-right: 0 !important; border-bottom: 1px solid var(--color-line); }
  .context-metric:last-child { border-bottom: 0; }
  .analysis-visual { padding: 20px; }
  .radar-card { padding: 20px; }
  .radar-row { grid-template-columns: 92px 1fr 34px; gap: 8px; font-size: .78rem; }
}
.plan-card { position: relative; overflow: hidden; }
.plan-card::after { content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--color-line); right: -30px; top: -30px; box-shadow: 0 0 0 18px rgba(142,130,244,.05); }
.plan-card.featured::after { border-color: rgba(24,32,24,.18); box-shadow: 0 0 0 18px rgba(24,32,24,.04), 0 0 0 36px rgba(24,32,24,.025); }
.faq-item.is-open { box-shadow: inset 3px 0 0 var(--color-primary-strong); padding-left: 18px; transition: padding .25s ease, box-shadow .25s ease; }
.faq-item { transition: padding .25s ease, box-shadow .25s ease; }
.footer-top { position: relative; }
.footer-top::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); right: 12%; top: -24px; box-shadow: 32px 18px 0 var(--color-accent), 64px -2px 0 rgba(255,255,255,.22); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Editorial image system */
.route-photo,
.problem-photo,
.analysis-photo,
.direction-photo,
.format-photo,
.steps-photo,
.tools-photo,
.plan-photo,
.lead-photo {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-2);
}
.route-photo img,
.problem-photo img,
.analysis-photo img,
.direction-photo img,
.format-photo img,
.steps-photo img,
.tools-photo img,
.plan-photo img,
.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.route-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .48;
}
.route-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,25,18,.08), rgba(17,25,18,.82) 86%), linear-gradient(90deg, rgba(17,25,18,.58), transparent 72%);
}
.problem-photo {
  margin-top: var(--space-5);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.analysis-visual {
  display: grid;
  grid-template-rows: minmax(190px, .72fr) auto;
  gap: var(--space-3);
  align-items: stretch;
}
.analysis-photo {
  min-height: 190px;
  border-radius: var(--radius-lg);
}
.direction-photo {
  grid-column: 1 / -1;
  min-height: 320px;
  aspect-ratio: 16 / 5;
  border-radius: var(--radius-lg);
  position: relative;
}
.direction-photo::after,
.plan-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,25,18,.78), transparent 68%);
}
.direction-photo figcaption,
.plan-photo figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 42px);
  max-width: 520px;
  color: white;
}
.direction-photo figcaption span,
.plan-photo figcaption span {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .68;
}
.direction-photo figcaption strong,
.plan-photo figcaption strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.1;
}
.format-photo {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.steps-photo {
  margin-top: var(--space-5);
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-lg);
  position: relative;
}
.steps-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17,25,18,.8));
}
.steps-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 22px;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
}
.tools-photo {
  margin-top: var(--space-5);
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
}
.plan-photo {
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  position: relative;
}
.lead-photo {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  margin-top: var(--space-5);
  border: 1px solid var(--color-line-light);
}
.lead-section {
  padding-bottom: var(--space-8);
}
.lead-shell {
  border-radius: var(--radius-xl);
}

@media (max-width: 768px) {
  .analysis-visual { grid-template-rows: auto auto; }
  .analysis-photo { aspect-ratio: 16 / 10; }
  .direction-photo,
  .steps-photo,
  .plan-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .direction-photo::after,
  .plan-photo::after { background: linear-gradient(180deg, transparent 26%, rgba(17,25,18,.84)); }
  .format-photo { aspect-ratio: 16 / 9; }
  .tools-photo { aspect-ratio: 16 / 10; }
  .lead-shell { border-radius: var(--radius-lg); }
}


/* Tools section layout refinement */
.tools-wrap {
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  column-gap: clamp(34px, 5vw, 70px);
  row-gap: var(--space-5);
  align-items: start;
}
.tools-copy {
  max-width: 500px;
}
.tools-copy h2 {
  max-width: 11.5ch;
}
.tools-copy .muted {
  max-width: 46ch;
}
.tools-photo {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 5;
  max-height: 330px;
  margin-top: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.tool-cloud {
  align-self: start;
}
@media (max-width: 1024px) {
  .tools-wrap { row-gap: var(--space-4); }
  .tools-copy { max-width: 720px; }
  .tools-copy h2 { max-width: 15ch; }
  .tools-photo { grid-column: auto; aspect-ratio: 16 / 7; max-height: none; }
}
@media (max-width: 768px) {
  .tools-copy h2 { max-width: none; }
  .tools-photo { aspect-ratio: 16 / 9; }
  body {
    word-break: break-word;
  }
}
