:root {
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --surface-strong: #fff4e5;
  --text: #2f302c;
  --muted: #747064;
  --line: #e6dac9;
  --green: #3f7f75;
  --green-soft: #dcece8;
  --orange: #d58a62;
  --orange-soft: #f6dfd1;
  --accent: #2f6570;
  --amber: #f2d79b;
  --shadow: 0 18px 44px rgba(65, 50, 29, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, #fff9f0 0, var(--bg) 42%, #eadfce 100%);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 12%, rgba(63, 127, 117, .12), transparent 24%),
    radial-gradient(circle at 18% 34%, rgba(213, 138, 98, .12), transparent 25%);
  z-index: -1;
}
a { color: var(--accent); }
img, video { max-width: 100%; }
p { line-height: 1.58; }
button, input, textarea, select { font: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 30;
}
.skip-link:focus { left: 12px; }

.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  background: rgba(255, 250, 243, .78);
  border: 1px solid rgba(230, 218, 201, .88);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 12px;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(65, 50, 29, .08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--accent));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(47, 101, 112, .22);
}
.brand strong { display: block; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: #5b574c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a:focus { background: var(--green-soft); color: var(--accent); }

.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0;
}
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 34px;
  padding-top: 58px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 10px;
}
h1, h2, h3 { letter-spacing: -.035em; }
h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .93;
  margin: 0;
}
h2 {
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.02;
  margin: 0 0 16px;
}
h3 { font-size: 21px; line-height: 1.14; margin: 0 0 8px; }
.hero-claim {
  font-size: clamp(22px, 4vw, 38px);
  color: var(--accent);
  font-weight: 900;
  margin: 12px 0 18px;
  letter-spacing: -.04em;
}
.lead {
  color: #4d4b43;
  font-size: clamp(18px, 2vw, 22px);
  max-width: 740px;
  margin: 0 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover, .button:focus { transform: translateY(-1px); }
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 14px 28px rgba(63, 127, 117, .22);
}
.button.secondary {
  color: var(--accent);
  background: var(--surface);
  border-color: var(--line);
}
.button.ghost { color: var(--muted); background: transparent; border-color: transparent; }
.button.large { font-size: 18px; padding: 17px 22px; min-width: 240px; }
.button.full { width: 100%; margin-top: auto; }
.trust-note, .small-note, .ki-note {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}
.hero-card, .card, .mini-card, .accent-section, .private-test, .contact-section {
  background: rgba(255, 250, 243, .88);
  border: 1px solid rgba(221, 205, 183, .92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 26px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  background: linear-gradient(145deg, rgba(232, 242, 239, .94), rgba(255, 246, 232, .94));
}
.status-pill, .material-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: var(--accent);
  background: #e8f1ef;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}
.check-list { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; }
.check-list li, .status-list li { position: relative; padding-left: 28px; }
.check-list li::before, .status-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
}
.compact li { color: #4f564f; }
.two-column {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.card { padding: 24px; }
.soft-card { background: rgba(255, 255, 255, .52); box-shadow: none; }
.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}
.section-intro p { color: #565247; font-size: 18px; }
.narrow { max-width: 780px; }
.insight-grid, .feature-grid, .material-grid { display: grid; gap: 16px; }
.insight-grid { grid-template-columns: 1fr; }
.mini-card { padding: 20px; }
.mini-card span {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  margin-bottom: 8px;
}
.accent-section {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 36px;
  background: linear-gradient(135deg, #e9f3ef, #fff4e6);
}
.question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.question-grid div {
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(221, 205, 183, .85);
  border-radius: 18px;
  padding: 18px;
  color: #4c4d45;
  font-weight: 850;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.feature-card { min-height: 230px; display: flex; flex-direction: column; }
.feature-card p, .material-card p { color: var(--muted); margin-bottom: 0; }
.icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
}
.material-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.material-card { display: flex; flex-direction: column; gap: 14px; }
.material-head h3 { margin-bottom: 0; }
.material-type { margin-bottom: 8px; }
.video-card video {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #efe4d6;
  aspect-ratio: 16/9;
}
.small-note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.ki-note { text-align: center; }
.private-test {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, #fff8ed, #e7f2ef);
}
.status-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.status-list strong { display: block; margin-bottom: 4px; }
.status-list span { display: block; color: var(--muted); }
.founder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.founder-grid div {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.founder-grid strong, .founder-grid span { display: block; }
.founder-grid span { color: var(--muted); margin-top: 4px; }
.contact-section {
  text-align: center;
  padding: 52px 28px;
  margin-bottom: 56px;
  background: linear-gradient(135deg, #e7f2ef, #fff4e6);
}
.contact-section p { max-width: 640px; margin: 0 auto 20px; color: #565247; }
.contact-mail { margin: 16px 0 0 !important; font-weight: 900; }
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 4px 0 0; }
.site-footer nav { display: flex; gap: 14px; }
.site-footer a { font-weight: 850; text-decoration: none; }

.legal-page .section-shell { max-width: 920px; }
.legal-box {
  background: rgba(255, 250, 243, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 24px 0;
}
.legal-box h2 { font-size: 30px; }
.legal-box h3 { margin-top: 26px; }
.placeholder-warning {
  background: #fff4e5;
  border: 1px solid #eccb9b;
  color: #6e4a1d;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 750;
}

@media (max-width: 900px) {
  .site-header { border-radius: 26px; align-items: flex-start; }
  .nav-links { display: none; }
  .hero, .two-column, .split-section, .private-test { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 0; }
  .question-grid, .feature-grid, .material-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .section-shell { width: min(100% - 24px, var(--max)); padding: 46px 0; }
  .site-header { width: min(100% - 24px, var(--max)); top: 8px; }
  .brand small { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .accent-section, .private-test, .contact-section { padding: 24px; }
  .founder-grid { grid-template-columns: 1fr; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover, .button:focus { transform: none; }
}
