:root {
  --ink: #121826;
  --muted: #5b6472;
  --soft: #eef2f7;
  --line: #d9e1ea;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --navy: #111827;
  --blue: #1d4ed8;
  --blue-dark: #173b9c;
  --green: #0f766e;
  --amber-bg: #fff8e6;
  --amber-line: #f4d27a;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(18, 24, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-2);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.18rem; }
ul { margin: 18px 0 0; padding-left: 22px; color: var(--muted); }
li { margin: 10px 0; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-muted { background: var(--soft); }
.section-dark { background: var(--navy); color: #f8fafc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(217, 225, 234, 0.92);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
}
.brand-text { font-size: 0.95rem; max-width: 360px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #334155; font-weight: 650; font-size: 0.92rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { background: var(--ink); color: white !important; padding: 10px 16px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  padding: 110px 0 94px;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.14), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 850; font-size: 0.74rem; margin-bottom: 14px; }
.eyebrow-light { color: #93c5fd; }
.hero-subtitle { margin-top: 24px; color: var(--muted); font-size: 1.22rem; max-width: 720px; }
.hero-actions { margin: 34px 0 16px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 850; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 16px 34px rgba(29, 78, 216, 0.22); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.hero-note, .fine-print, .small-note { color: #687386; font-size: 0.94rem; }

.workspace-panel { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.panel-header { display: flex; gap: 7px; margin-bottom: 20px; }
.panel-header span { width: 10px; height: 10px; border-radius: 999px; background: #cbd5e1; }
.workspace-panel h2 { font-size: 1.65rem; margin-bottom: 20px; }
.setup-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.setup-item span { width: 32px; height: 32px; border-radius: 50%; background: #eef4ff; color: var(--blue); display: grid; place-items: center; font-weight: 850; }
.setup-item p { color: var(--muted); }
.setup-item strong { color: var(--ink); }
.panel-footer { margin-top: 18px; padding: 18px; border-radius: 18px; background: #ecfdf5; color: #065f46; font-weight: 750; }

.notice-bar { background: var(--amber-bg); color: #5f4508; border-top: 1px solid var(--amber-line); border-bottom: 1px solid var(--amber-line); padding: 18px 0; font-size: 0.95rem; }

.split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.copy-stack { display: grid; gap: 18px; color: var(--muted); font-size: 1.06rem; }
.quiet-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; color: #374151; }
.quiet-card strong { color: var(--ink); }
.section-heading { max-width: 800px; margin-bottom: 42px; }
.section-heading p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .audience-card, .trust-cards article, .price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(18, 24, 38, 0.06);
}
.feature-card span { color: var(--green); font-weight: 900; display: inline-block; margin-bottom: 14px; }
.feature-card p, .trust-cards p, .price-card p { margin-top: 12px; color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.timeline article { position: relative; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.timeline article span { color: var(--blue); font-weight: 850; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.timeline article h3 { margin-top: 8px; }
.timeline article p { margin-top: 10px; color: var(--muted); }

.included-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 62px; align-items: start; }
.included-grid p { color: #cbd5e1; margin-top: 18px; font-size: 1.05rem; }
.included-list { display: grid; gap: 14px; }
.included-list div { display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 18px; padding: 18px; border: 1px solid rgba(148, 163, 184, 0.32); border-radius: 18px; background: rgba(255,255,255,0.05); }
.included-list strong { color: white; }
.included-list span { color: #cbd5e1; }

.two-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card h2 { margin-bottom: 4px; }
.avoid-card { background: #fff7ed; border-color: #fed7aa; }
.avoid-card .eyebrow, .avoid-card h2 { color: #9a3412; }

.trust-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 54px; align-items: start; }
.trust-grid > div > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.trust-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.pricing-grid { display: grid; grid-template-columns: 1fr 390px; gap: 48px; align-items: center; }
.pricing-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.price-card { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-label { color: var(--green); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; font-size: 0.76rem; margin-bottom: 12px; }
.price-card .btn { width: 100%; margin-top: 22px; }
.text-link { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 800; }
.fine-print { margin-top: 16px !important; }

.faq-list { display: grid; gap: 14px; max-width: 900px; }
details { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
summary { cursor: pointer; font-weight: 850; }
details p { margin-top: 12px; color: var(--muted); }

.site-footer { background: #070b14; color: #e2e8f0; padding: 52px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 42px; }
.footer-brand { margin-bottom: 14px; }
.site-footer p { color: #94a3b8; font-size: 0.94rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: 10px; letter-spacing: 0; }

.success-page { min-height: 100vh; background: var(--surface-2); }
.success-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px; }
.success-card { max-width: 680px; background: white; border: 1px solid var(--line); border-radius: 30px; padding: 42px; box-shadow: var(--shadow); }
.success-card h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.success-card > p:not(.eyebrow) { color: var(--muted); margin: 18px 0; font-size: 1.06rem; }
.success-card .btn { margin-top: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; max-height: 0; opacity: 0; pointer-events: none; transition: all .22s ease; }
  .nav-links.open { max-height: 460px; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 15px 18px; border-bottom: 1px solid var(--line); }
  .nav-cta { border-radius: 0; background: var(--blue); }
  .hero-grid, .split-grid, .included-grid, .two-card-grid, .trust-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .feature-grid, .timeline, .trust-cards { grid-template-columns: 1fr; }
  .included-list div { grid-template-columns: 1fr; gap: 6px; }
  .workspace-panel, .success-card { padding: 24px; border-radius: 24px; }
  .brand-text { max-width: 220px; }
}


.checkout-status {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 750;
}
.checkout-status.is-live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.payment-flow {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.payment-flow div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.payment-flow strong { color: var(--ink); }
.payment-flow span { color: var(--muted); }
.price-line {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}
.checkout-modal[hidden] { display: none; }
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 20, 0.62);
}
.checkout-modal-card {
  position: relative;
  width: min(640px, 100%);
  background: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.checkout-modal-card p {
  margin-top: 14px;
  color: var(--muted);
}
.checkout-modal-card ol {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}
.checkout-modal-card li { margin: 9px 0; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-open { overflow: hidden; }
code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: #eef2f7;
  color: #1f2937;
  font-size: 0.9em;
}


.hero-visual { display: grid; gap: 22px; align-items: start; }
.course-cover {
  width: 100%;
  display: block;
  border-radius: 30px;
  border: 1px solid rgba(217, 225, 234, 0.95);
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.18);
  background: #0b1220;
}
.compact-panel { padding: 24px; }
.compact-panel .setup-item { padding: 12px 0; }
.compact-panel .panel-footer { margin-top: 12px; }
@media (max-width: 900px) {
  .hero-visual { order: -1; }
  .course-cover { border-radius: 22px; }
}
