/* Freedom Lab Ventures — landing page
   Palette: ink navy / signal yellow / paper white / cobalt */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0e1b3d;
  --ink-2: #16264f;
  --paper: #fbfaf5;
  --white: #ffffff;
  --yellow: #ffd43b;
  --yellow-deep: #edb900;
  --cobalt: #2b4fd8;
  --line: rgba(14, 27, 61, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --muted: #4b5878;
  --muted-light: #aab4d0;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.header-spacer { flex: 1; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}
.lang-switch a, .lang-switch span {
  padding: 7px 13px;
  text-decoration: none;
  color: var(--muted-light);
}
.lang-switch .active {
  background: var(--yellow);
  color: var(--ink);
}
.lang-switch a:hover { color: var(--white); }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--yellow-deep);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--yellow-deep); }
.btn-yellow:active { transform: translateY(0); box-shadow: 0 1px 0 var(--yellow-deep); }
.btn-ghost {
  color: var(--white);
  border: 1px solid var(--line-light);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 14px; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}
.hero :where(a, button):focus-visible,
.apply :where(a, button, input, textarea):focus-visible {
  outline-color: var(--yellow);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 90px;
  overflow: hidden;
}
/* blueprint grid: the lab bench this page is named after */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 40%, transparent 100%);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow::before { content: "// "; opacity: 0.6; }

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

/* signature: yellow marker sweep behind the key phrase */
.mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: var(--ink);
}
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -2% 4% -2%;
  background: var(--yellow);
  border-radius: 4px;
  transform: skew(-4deg) rotate(-0.6deg);
  transform-origin: left center;
  animation: sweep 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards;
}
@keyframes sweep {
  from { transform: skew(-4deg) rotate(-0.6deg) scaleX(0); }
  to { transform: skew(-4deg) rotate(-0.6deg) scaleX(1); }
}

.hero .lede {
  font-size: 19px;
  color: var(--muted-light);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero .cta-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 14px;
}

/* stats row (hero proof) */
.stats-row, .hero .container.stats-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
}
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14.5px; color: var(--muted-light); max-width: 26ch; }
.mentor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mentor-stats .stat-num { color: var(--cobalt); font-size: 30px; }
.mentor-stats .stat-label { color: var(--muted); }
@media (max-width: 900px) {
  .stats-row, .hero .container.stats-row { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; padding-top: 28px; }
}

/* photo placeholder card */
.photo-slot {
  aspect-ratio: 4 / 5;
  border: 2px dashed var(--line-light);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}
.photo-slot .tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.photo-slot--light { border-color: var(--line); background: var(--white); }
.photo-slot--light .tag { color: var(--muted); }
.photo-slot img, .photo-slot--filled { border: none; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- sections ---------- */

section { padding: 84px 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { color: var(--cobalt); }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 14px; color: var(--muted); }

/* focus trio */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 15.5px; }
.card .chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 6px;
  padding: 4px 9px;
  margin-bottom: 16px;
}

/* illustrations */
.card-illu { margin: 2px 0 18px; }
.card-illu img { width: 100%; height: 128px; object-fit: contain; }
.steps-top {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.steps-top .section-head { margin-bottom: 0; }
.steps-illu img { width: 100%; max-width: 470px; display: block; margin-left: auto; }
@media (max-width: 900px) {
  .steps-top { grid-template-columns: 1fr; gap: 24px; }
  .steps-illu img { margin: 0 auto; max-width: 400px; }
}

/* steps */
.steps { border-top: 1px solid var(--line); }
.step-list { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step-no {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--cobalt);
  padding-top: 5px;
}
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 6px;
}
.step p { color: var(--muted); max-width: 60ch; }

/* offers */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.offer-card .chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 6px;
  padding: 4px 9px;
  margin-bottom: 16px;
}
.offer-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
}
.offer-card > p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.offer-card ul { list-style: none; display: grid; gap: 9px; margin-bottom: 26px; }
.offer-card ul li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--muted);
}
.offer-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--cobalt);
}
.offer-card .btn { margin-top: auto; }
.offer-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}
.offer-card--dark {
  background: var(--ink);
  border: 2px solid var(--yellow);
  color: var(--white);
}
.offer-card--dark > p, .offer-card--dark ul li, .offer-card--dark .offer-note { color: var(--muted-light); }
.offer-card--dark ul li::before { color: var(--yellow); }
.offer-card--dark .chip { background: var(--yellow); color: var(--ink); }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
}

/* about */
.about .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.about h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.about p { color: var(--muted); margin-bottom: 14px; max-width: 58ch; }
.about .signature {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  margin-top: 8px;
}

/* testimonial placeholder */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 34px 38px;
}
.quote blockquote {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 14px;
}
.quote figcaption {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.placeholder-note {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 14px;
}

/* ---------- apply ---------- */

.apply {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(110% 100% at 80% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(110% 100% at 80% 0%, #000 30%, transparent 100%);
}
.apply .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
}
.apply h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 16px;
}
.apply .section-note { color: var(--muted-light); max-width: 44ch; margin-bottom: 22px; }
.apply ul { list-style: none; display: grid; gap: 10px; }
.apply ul li {
  padding-left: 26px;
  position: relative;
  color: var(--muted-light);
  font-size: 15.5px;
}
.apply ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-family: var(--mono);
}

.form-card {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px;
}

/* quiz */
.quiz-progress[hidden] { display: none; }
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.quiz-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  white-space: nowrap;
}
.quiz-bar {
  flex: 1;
  height: 4px;
  background: var(--line-light);
  border-radius: 99px;
  overflow: hidden;
}
.quiz-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--yellow);
  border-radius: 99px;
  transition: width 0.3s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: stepin 0.25s ease; }
@keyframes stepin {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quiz-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  text-align: left;
  background: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--body);
  font-size: 15.5px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.quiz-opt:hover { border-color: var(--yellow); }
.quiz-opt.selected { border-color: var(--yellow); background: rgba(255, 212, 59, 0.1); }
.quiz-back {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  padding: 0;
  margin-top: 20px;
}
.quiz-back:hover { color: var(--white); }
.quiz-back[hidden] { display: none; }
.check-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.quiz-sub { color: var(--muted-light); margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
}
.field input:focus, .field textarea:focus {
  border-color: var(--yellow);
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg {
  display: none;
  margin-top: 16px;
  border-radius: 9px;
  padding: 13px 16px;
  font-size: 15px;
}
.form-msg.ok { display: block; background: rgba(255, 212, 59, 0.12); border: 1px solid var(--yellow); color: var(--white); }
.form-msg.err { display: block; background: rgba(216, 74, 74, 0.14); border: 1px solid #d84a4a; color: var(--white); }
.form-consent { font-size: 13px; color: var(--muted-light); margin-top: 14px; }
.form-consent a { color: var(--white); }

/* ---------- course sales page ---------- */

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 42px;
  color: var(--white);
}
.price-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.module-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  display: block;
  margin-bottom: 10px;
}
.module-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  margin-bottom: 12px;
}
.module-card ul { list-style: none; display: grid; gap: 8px; }
.module-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--muted);
}
.module-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  color: var(--cobalt);
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.include-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.include-item .eyebrow { margin-bottom: 8px; font-size: 11px; }
.include-item p { font-size: 15px; color: var(--muted); }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.fit-card h3 { font-family: var(--display); font-size: 20px; margin-bottom: 14px; }
.fit-card ul { list-style: none; display: grid; gap: 10px; }
.fit-card ul li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.fit-card--yes li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--cobalt); }
.fit-card--no li::before { content: "✕"; position: absolute; left: 0; font-weight: 700; color: #b3543f; }

.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: var(--cobalt);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; font-size: 15.5px; }

.checkout { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.checkout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(110% 100% at 20% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(110% 100% at 20% 0%, #000 30%, transparent 100%);
}
.checkout .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}
.checkout :where(a, button, input, select):focus-visible { outline-color: var(--yellow); }
.order-summary {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px;
}
.order-summary h3 { font-family: var(--display); font-size: 21px; margin-bottom: 6px; }
.order-summary .order-sub { color: var(--muted-light); font-size: 14.5px; margin-bottom: 18px; }
.order-summary ul { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.order-summary ul li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted-light); }
.order-summary ul li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}
.order-total .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.order-total .amount { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--white); }
.field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
}
.pay-options { display: grid; gap: 10px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#card-fields[hidden] { display: none; }
#order-form[hidden] { display: none; }
#buy-panel[hidden] { display: none; }
#buy-panel { text-align: center; padding: 40px 34px; }
.buy-badge { margin: 0 auto 16px; display: block; }
.buy-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  margin-bottom: 16px;
}
.buy-points { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.buy-points li { font-size: 15px; color: var(--muted-light); }
.buy-points li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }
.btn-buy { width: 100%; font-size: 17px; padding: 16px 24px; }
.card-illu--module { margin-bottom: 14px; }
.card-illu--module img { height: 96px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 9px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 15.5px;
}
.pay-option:has(input:checked) { border-color: var(--yellow); background: rgba(255, 212, 59, 0.08); }
.pay-option input { accent-color: var(--yellow); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted-light); margin-bottom: 18px; }
.consent-row input { margin-top: 3px; accent-color: var(--yellow); }
.consent-row a { color: var(--white); }

@media (max-width: 900px) {
  .module-grid, .fit-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr 1fr; }
  .checkout .container { grid-template-columns: 1fr; gap: 40px; }
  .price { font-size: 34px; }
}

/* mid-page CTA band (sales page) */
.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  flex: 1;
  min-width: 240px;
}
.cta-band .cta-band-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
  width: 100%;
}
.offer-price {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-light);
  margin-bottom: 18px;
}
.offer-card:not(.offer-card--dark) .offer-price { color: var(--muted); }

/* ---------- checkout page ---------- */

.checkout-page { background: var(--paper); }
.co-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.co-header .container { display: flex; align-items: center; gap: 16px; }
.co-header .brand { color: var(--ink); }
.co-secure {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.co-secure svg { flex: none; }

.co-main { padding: 48px 0 72px; }
.co-main .container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: start;
}

.co-summary .co-product {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.co-summary .co-thumb {
  width: 88px;
  height: 66px;
  flex: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 6px;
}
.co-summary .co-thumb img { width: 100%; height: 100%; object-fit: contain; }
.co-summary h1 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.co-summary .co-type { font-size: 14px; color: var(--muted); margin-top: 3px; }
.co-lines { border-top: 1px solid var(--line); }
.co-line {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.co-line.total { color: var(--ink); font-weight: 600; font-size: 16px; }
.co-perks { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.co-perks li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.co-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--cobalt); font-weight: 700; }
.co-back { display: inline-block; margin-top: 22px; font-size: 14px; color: var(--muted); text-decoration: none; }
.co-back:hover { color: var(--ink); }

.co-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 6px 24px rgba(14, 27, 61, 0.06);
}
.btn-paypal {
  width: 100%;
  background: #ffc439;
  border: none;
  border-radius: 9px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  font-family: Verdana, Arial, sans-serif;
  cursor: pointer;
}
.btn-paypal .pp1 { color: #003087; }
.btn-paypal .pp2 { color: #009cde; }
.co-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--muted);
}
.co-divider::before, .co-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-card .field label { color: var(--muted); }
.co-card .field input, .co-card .field select {
  background: var(--white);
  border: 1px solid #cfccbf;
  color: var(--ink);
}
.co-card .field input:focus, .co-card .field select:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px rgba(43, 79, 216, 0.12); }
.co-card-number { position: relative; }
.co-card-number .co-brands {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
}
.co-card-number .co-brands img { height: 20px; width: auto; display: block; }
.co-card-number input { padding-right: 88px; }
.btn-pay {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: 15px;
  font-size: 16.5px;
  font-weight: 600;
  font-family: var(--body);
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-pay:hover { background: #1c2c5c; }
.btn-pay:disabled { opacity: 0.7; cursor: default; }
.co-card .form-msg.err { background: #fdecea; border: 1px solid #d84a4a; color: #8c2f2f; }
.co-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.co-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.co-logos img { height: 26px; width: auto; }
.co-logos .co-stripe { height: 20px; margin-left: 10px; }

.co-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
}
.co-footer .container { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.co-footer a { color: var(--muted); text-decoration: none; }
.co-footer a:hover { color: var(--ink); }

.co-blocked {
  text-align: center;
  padding: 26px 8px;
}
.co-blocked h2 { font-family: var(--display); font-size: 22px; margin-bottom: 10px; }
.co-blocked p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .co-main .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  border-top: 1px solid var(--line-light);
  padding: 34px 0;
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}
.site-footer .foot-brand {
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
}
.site-footer nav { display: flex; gap: 22px; margin-left: auto; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- legal pages ---------- */

.legal-page { background: var(--paper); }
.legal-header {
  background: var(--ink);
  padding: 56px 0 50px;
  color: var(--white);
}
.legal-header h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); }
.legal-body { padding: 56px 0 90px; }
.legal-body .container { max-width: 760px; }
.legal-body h2 { font-family: var(--display); font-size: 26px; margin: 40px 0 12px; }
.legal-body h3 { font-family: var(--display); font-size: 19px; margin: 26px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; }
.legal-body a { color: var(--cobalt); word-break: break-word; }
.legal-body strong { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: 52px 0 64px; }
  .hero .container, .about .container, .apply .container { grid-template-columns: 1fr; gap: 40px; }
  .hero .photo-slot { max-width: 320px; }
  .trio { grid-template-columns: 1fr; }
  .about .photo-slot { max-width: 320px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .site-footer nav { margin-left: 0; }
  .header-cta { display: none; }
}
