/* Micro Course Launch Kit — pre-launch site styles. No external fonts or scripts. */
:root {
  --paper: #fbf8f3;
  --paper-2: #f3eee5;
  --card: #ffffff;
  --ink: #15171f;
  --ink-2: #2b2f3a;
  --muted: #565b67;
  --line: #e3dccf;
  --accent: #b93d0b;
  --accent-ink: #ffffff;
  --accent-soft: #fbe8d8;
  --deep: #111827;
  --deep-2: #1c2536;
  --deep-ink: #f4f1ea;
  --deep-muted: #b9bfcc;
  --teal: #0b6b62;
  --teal-soft: #dcefeb;
  --amber-soft: #fdf1d6;
  --amber-ink: #7a4b00;
  --danger: #a4161a;
  --danger-soft: #fde4e4;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 8px 28px rgba(20, 20, 30, .07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.deep :focus-visible { outline-color: #ffb68a; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.05rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(251, 248, 243, .94); position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-size: 1rem; line-height: 1.1; }
.btn.header-cta { display: none; }
@media (min-width: 640px) { .btn.header-cta { display: inline-flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { background: #9c3209; border-color: #9c3209; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: #8f2f08; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .94rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Badges */
.eyebrow { display: inline-block; font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.deep .eyebrow { color: #ffb68a; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge-planned { background: var(--amber-soft); color: var(--amber-ink); }
.badge-prelaunch { background: var(--teal-soft); color: var(--teal); }
.badge-pending { background: #ece9f7; color: #46377f; }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.deep { background: var(--deep); color: var(--deep-ink); }
.deep .section-head p, .deep .muted { color: var(--deep-muted); }
.deep a { color: #ffb68a; }
.deep .signup a { color: var(--accent); }
.deep .signup :focus-visible { outline-color: var(--accent); }
.tint { background: var(--paper-2); }
.muted { color: var(--muted); }
.lead { font-size: 1.16rem; color: var(--ink-2); }

/* Hero */
.hero { padding: 44px 0 56px; }
@media (min-width: 900px) { .hero { padding: 80px 0 96px; } }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; } }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 22px 0 6px; }
.price { font: 600 1.15rem/1.3 var(--sans); }
.price strong { font-family: var(--serif); font-size: 2rem; letter-spacing: -.02em; }
.availability { color: var(--muted); margin-bottom: 22px; }

/* Signup form */
.signup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); color: var(--ink); max-width: 560px; }
@media (min-width: 480px) { .signup { padding: 24px; } }
.signup .field-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) { .signup .field-row { flex-direction: row; } .signup .field-row input { flex: 1; } }
.signup label.email-label { display: block; font-weight: 600; margin-bottom: 6px; }
.signup input[type=email] { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #b9b2a5; border-radius: 10px; font: 400 1rem/1.3 var(--sans); background: #fff; color: var(--ink); }
.signup input[type=email]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.signup input[aria-invalid=true] { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.form-note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { background: var(--danger-soft); color: var(--danger); border: 1px solid #f3b7b7; }
.form-status.is-ok { background: var(--teal-soft); color: var(--teal); border: 1px solid #a9d6cf; }
.form-status ul { margin: 6px 0 0; }

/* Hero art */
.hero-art { position: relative; }
.stack { display: grid; gap: 14px; }
.stack-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.stack-card:nth-child(2) { margin-left: 18px; }
.stack-card:nth-child(3) { margin-left: 36px; }
@media (max-width: 420px) { .stack-card:nth-child(2) { margin-left: 8px; } .stack-card:nth-child(3) { margin-left: 16px; } }
.stack-card .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 1.1rem/1 var(--serif); background: var(--accent-soft); color: var(--accent); }
.stack-card:nth-child(2) .num { background: var(--teal-soft); color: var(--teal); }
.stack-card:nth-child(3) .num { background: #e7e9f6; color: #333d8a; }
.stack-card .t { color: var(--ink); font-size: 1.08rem; margin: 2px 0 4px; font-family: var(--sans); font-weight: 700; }
.stack-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.art-caption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* Grids and cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-3x { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .grid-3x { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.deep .card { background: var(--deep-2); border-color: #2d3a52; color: var(--deep-ink); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.deep .icon { background: rgba(255, 182, 138, .14); color: #ffb68a; }

/* Pain list */
.pain { display: grid; gap: 14px; }
@media (min-width: 720px) { .pain { grid-template-columns: repeat(2, 1fr); } }
.pain li { list-style: none; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0; }
.pain { padding: 0; margin: 0; }

/* Stage track */
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: stage; }
@media (min-width: 720px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stages li { counter-increment: stage; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; margin: 0; position: relative; }
.stages li::before { content: counter(stage, decimal-leading-zero); font: 700 .8rem/1 var(--sans); letter-spacing: .12em; color: var(--accent); display: block; margin-bottom: 10px; }
.stages h3 { font-family: var(--sans); font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; }
.stages p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b6b62' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.deep .checks li::before { background-color: rgba(156, 226, 214, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239ce2d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dashes { list-style: none; padding: 0; margin: 0; }
.dashes li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.dashes li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }

/* Notice */
.notice { border-radius: var(--radius); padding: 18px 20px; background: var(--amber-soft); color: #4d3200; border: 1px solid #f0d79c; font-size: .97rem; }
.notice strong { color: #3d2800; }
.deep .notice { background: rgba(253, 241, 214, .08); color: var(--deep-ink); border-color: rgba(240, 215, 156, .35); }
.deep .notice strong { color: #ffe2a8; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .97rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Use-case split */
.split { display: grid; gap: 18px; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }
.usecase { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: var(--card); }
.usecase.free { border-top: 5px solid var(--teal); }
.usecase.paid { border-top: 5px solid var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

/* Final CTA */
.final { text-align: left; }
.final-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Footer */
.site-footer { background: #0c111c; color: #c9ced8; padding: 48px 0 36px; font-size: .95rem; }
.site-footer a { color: #f4f1ea; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa3b5; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .brand { color: #f4f1ea; margin-bottom: 12px; }
.fine { border-top: 1px solid #222b3d; margin-top: 32px; padding-top: 20px; color: #9aa3b5; font-size: .86rem; }

/* Prose pages */
.page-head { padding: 48px 0 8px; }
.prose { padding: 16px 0 72px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; font-family: var(--sans); font-weight: 700; }
.prose .meta { color: var(--muted); font-size: .95rem; }
.center-page { min-height: 60vh; display: grid; align-content: center; padding: 64px 0; }
