/* Mike Builds Digital: website styles. Control Room look (BRAND_GUIDELINES §3.1), light educational
   look C for teaching sections (§3.4). Fonts are local OFL files: Inter, Sora, JetBrains Mono, and
   Fraunces italic for one accent word only (§4). No external requests. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); }

:root {
  --base: #0D0D0D; --panel: #161616; --line: #262626; --line-2: #333333;
  --text: #EEF1F5; --muted: #8B94A3; --soft: #B8C0CC;
  --cobalt: #FF5A14; --cobalt-hover: #E84E0C; --cobalt-text: #FF7A3D;  /* direction A orange (variable names kept for compatibility) */
  --mint: #3DDC97; --amber: #F5A524; --alert: #FF5A63;
  --bone: #F5F2EC; --paper: #EAE5DC; --ink: #0D0D0D; --ink-muted: #4A4A4A; --signal: #FF5A14;
  --ok-ink: #047857; --warn-ink: #B45309;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --accent: "Fraunces", Georgia, serif;
  --wrap: 1200px; --gutter: 24px; --radius: 14px; --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: 112px;
}
@media (max-width: 720px) { :root { --gutter: 16px; --section: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.9vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
em.ac { font-family: var(--accent); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
strong { font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.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; }

/* Focus: always visible, never removed. */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--signal); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--base); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--base); }

/* Development banner */
.devbar { background: var(--amber); color: var(--base); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-align: center; padding: 7px var(--gutter); }
.devbar a { color: var(--base); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(14, 17, 22, 0.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(14, 17, 22, 0.82); backdrop-filter: blur(10px); } }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.brand svg { flex: none; }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: var(--radius-sm); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--cobalt); }
.nav a.btn-primary:hover { background: var(--cobalt-hover); }
.menu-btn { display: none; margin-left: auto; background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: 500 14px/1 var(--body); padding: 10px 12px; cursor: pointer; align-items: center; gap: 8px; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms var(--ease), opacity 150ms; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars i { top: 5px; } .menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] .bars i { opacity: 0; }
@media (max-width: 900px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--base); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 2px; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 14px 12px; font-size: 17px; }
  .js .nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav { flex-wrap: wrap; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color 150ms, border-color 150ms, transform 150ms var(--ease); }
.btn-primary { background: var(--cobalt); color: #0D0D0D; }
.btn-primary:hover { background: var(--cobalt-hover); color: #0D0D0D; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn .arrow { transition: transform 150ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--panel); color: var(--soft); border: 1px dashed var(--line-2); cursor: not-allowed; transform: none; }
.light .btn-ghost { color: var(--ink); border-color: #AEB6C4; }
.light .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.light .cta-note { color: var(--ink-muted); }

/* Labels, pills, tags */
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt-text); margin: 0 0 18px; display: block; }
.light .kicker { color: var(--signal); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); background: var(--panel); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--mint); border-color: rgba(61, 220, 151, 0.35); }
.pill.wait { color: var(--amber); border-color: rgba(245, 165, 36, 0.4); }
.pill.no { color: var(--alert); border-color: rgba(255, 90, 99, 0.4); }
.pill.plain::before { display: none; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(245, 165, 36, 0.14); color: var(--amber); border: 1px solid rgba(245, 165, 36, 0.4); vertical-align: middle; }
.light .tag { background: #FFF4E5; color: #8A3F06; border-color: #F0C58A; }
.owner { font-family: var(--mono); font-size: 0.88em; background: rgba(245, 165, 36, 0.12); color: var(--amber); padding: 1px 6px; border-radius: 4px; }
.light .owner { background: #FFF4E5; color: #8A3F06; }

/* Sections */
section { padding: var(--section) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p { color: var(--soft); font-size: 19px; }
.light { background: var(--bone); color: var(--ink); }
.light .sec-head p, .light p.lead { color: var(--ink-muted); }
.light a { color: var(--signal); }
.light a:hover { color: var(--ink); }
.panel-sec { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule-top { border-top: 1px solid var(--line); }
.lead { font-size: 19px; color: var(--soft); }
.muted { color: var(--muted); }
.light .muted { color: var(--ink-muted); }
.small { font-size: 14px; }

/* Hero */
.hero { padding: 88px 0 var(--section); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(238, 241, 245, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 241, 245, 0.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-visual { position: relative; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 56px; } }

/* Window frame around real screenshots */
.frame { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.frame-bar .dots { display: inline-flex; gap: 6px; }
.frame-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame-bar .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; background: #F5F7FA; }
.light .frame { background: #fff; border-color: #D5DBE5; box-shadow: 0 20px 50px -30px rgba(11, 16, 32, 0.35); }
.light .frame-bar { border-color: #E3E8F0; color: var(--ink-muted); }
.light .frame-bar .dots i { background: #D5DBE5; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.light figcaption { color: var(--ink-muted); }
.hero .frame img { max-height: 540px; object-fit: cover; object-position: top; }
.float-card { position: absolute; left: -32px; bottom: 76px; width: 230px; background: var(--base); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
.float-card .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 5px 0; color: var(--soft); }
.float-card .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 600px) { .float-card { position: static; width: auto; margin-top: 14px; } }

/* Slots for images that do not exist yet */
.slot { border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: repeating-linear-gradient(135deg, rgba(238, 241, 245, 0.025) 0 12px, transparent 12px 24px); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--soft); }
.slot code { font-family: var(--mono); font-size: 13px; color: var(--amber); display: block; margin-top: 8px; word-break: break-all; }
.light .slot { border-color: #AEB6C4; color: var(--ink-muted); background: repeating-linear-gradient(135deg, rgba(11, 16, 32, 0.03) 0 12px, transparent 12px 24px); }
.light .slot code { color: #8A3F06; }

/* Transformation */
.shift { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shift-row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.shift-row:first-child { border-top: 0; }
.shift-row > div { padding: 26px 28px; }
.shift-row .from { color: var(--soft); }
.shift-row .to { background: var(--panel); }
.shift-row .arr { display: grid; place-items: center; color: var(--cobalt-text); font-family: var(--mono); border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; }
.shift-row .lbl { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.shift-row .to .lbl { color: var(--mint); }
.shift-row p { margin: 0; font-size: 18px; }
.shift-head { display: grid; grid-template-columns: 1fr 56px 1fr; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; }
.shift-head span:first-child { padding-left: 28px; } .shift-head span:last-child { padding-left: 28px; }
@media (max-width: 720px) {
  .shift-row, .shift-head { grid-template-columns: 1fr; }
  .shift-head { display: none; }
  .shift-row .arr { border: 0; padding: 0 0 0 28px; justify-content: start; place-items: start; height: 0; overflow: visible; position: relative; top: -10px; }
  .shift-row .arr span { display: none; }
}

/* For / not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { border: 1px solid #D5DBE5; background: #fff; border-radius: var(--radius); padding: 32px; }
.fit-card h3 { margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid #E3E8F0; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-ink); -webkit-mask: var(--tick) center / 12px no-repeat; mask: var(--tick) center / 12px no-repeat; background-color: var(--ok-ink); }
.ticks { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks.ticks-ok li::before { background: var(--ok-ink); -webkit-mask: none; mask: none; }
.ticks.ticks-ok li::after { content: ""; position: absolute; left: 7px; top: 21px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.ticks.ticks-no li::before { background: #C3CAD6; -webkit-mask: none; mask: none; }
.ticks.ticks-no li::after { content: ""; position: absolute; left: 7px; top: 23px; width: 8px; height: 2px; background: #fff; }
.dark-ticks li { border-color: var(--line); }
.dark-ticks.ticks-ok li::before { background: var(--mint); }
.dark-ticks.ticks-ok li::after { border-color: var(--base); }
@media (max-width: 820px) { .fit { grid-template-columns: 1fr; } }

/* Two-column feature layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Day list for the Starter */
.days { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: d; }
.days li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #DCE2EC; }
.days li:first-child { border-top: 0; }
.days .d { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--cobalt-text); padding-top: 2px; }
.days li { border-color: var(--line); }
.light .days .d { color: var(--signal); }
.light .days li { border-color: #DCE2EC; }
.days b { font-weight: 600; }
.panel-sec .days li, .dark .days li { border-color: var(--line); }
.panel-sec .days .d { color: var(--cobalt-text); }

/* Product block */
.product { border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--panel), var(--base)); padding: 48px; display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 48px; }
.product h2 { margin-bottom: 14px; }
.product .title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.price-box { background: var(--base); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; }
.price { font-family: var(--display); font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin: 10px 0 20px; }
.price-box .btn { width: 100%; }
.price-box ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--soft); }
.price-box li { padding: 8px 0; border-top: 1px solid var(--line); }
.pending-msg { font-size: 14px; color: var(--soft); margin-top: 12px; min-height: 1.5em; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; padding: 28px; gap: 32px; } .price { font-size: 48px; } }

/* Modules */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.mod .letter { font-family: var(--mono); font-size: 13px; color: var(--cobalt-text); letter-spacing: 0.1em; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.mod h3 { margin-bottom: 8px; }
.mod p { color: var(--soft); font-size: 16px; }
.mod ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; }
.mod li { padding: 8px 0 8px 18px; border-top: 1px solid var(--line); position: relative; color: var(--text); }
.mod li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 2px; background: var(--cobalt); }
.shots { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.practice { margin-top: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 24px 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
@media (max-width: 1000px) { .mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .mods { grid-template-columns: 1fr; } .practice { grid-template-columns: 1fr; } }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid #D5DBE5; }
.case { padding: 28px 28px 28px 0; border-bottom: 1px solid #D5DBE5; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.case:nth-child(odd) { border-right: 1px solid #D5DBE5; }
.case:nth-child(even) { padding-left: 28px; }
.case .n { font-family: var(--mono); font-size: 13px; color: var(--signal); padding-top: 4px; }
.case h3 { font-size: 20px; margin-bottom: 6px; }
.case p { color: var(--ink-muted); margin: 0 0 8px; font-size: 16px; }
.case .uses { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-muted); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } .case, .case:nth-child(even) { padding: 24px 0; border-right: 0 !important; } }

/* Demo */
.demo { background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--base); overflow-x: auto; }
.tab { background: transparent; color: var(--soft); border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font: 600 15px/1.2 var(--body); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.tabpanel { padding: 32px; }
.tabpanel[hidden] { display: none; }
.demo-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } .tabpanel { padding: 20px 16px; } }
.demo-intro { color: var(--soft); font-size: 16px; margin-bottom: 20px; max-width: 680px; }
.demo-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chk { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--base); }
.chk > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; }
.chk > summary::-webkit-details-marker { display: none; }
.chk > summary .t { font-weight: 600; font-size: 16px; }
.chk > summary .t small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.chk[open] > summary { border-bottom: 1px solid var(--line); }
.chk .body { padding: 16px 18px 18px; }
.chk .rule { font-size: 14px; color: var(--soft); background: var(--panel); border-left: 3px solid var(--cobalt); padding: 10px 12px; border-radius: 0 8px 8px 0; margin-bottom: 14px; }
.chk .why { font-size: 14px; color: var(--soft); margin: 12px 0 0; }
.warns { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 8px; background: rgba(245, 165, 36, 0.08); border: 1px solid rgba(245, 165, 36, 0.3); font-size: 14px; color: var(--text); }
.warns li { margin: 2px 0; }
.warns li::marker { color: var(--amber); }
.req { font-family: var(--mono); font-size: 11px; color: var(--amber); letter-spacing: 0.08em; margin-left: 6px; }
.ev { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 0; border-top: 1px dashed var(--line); }
.ev:first-of-type { border-top: 0; padding-top: 0; }
.ev .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.ev.three { grid-template-columns: 1.4fr 1.4fr 0.7fr; }
.ev.three .n, .ev.three .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .ev.three { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 500; color: var(--soft); margin-bottom: 5px; }
.light label { color: var(--ink); }
input[type="text"], input[type="url"], input[type="email"], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; transition: border-color 150ms; }
input::placeholder, textarea::placeholder { color: #7D8695; }
input:hover, textarea:hover, select:hover { border-color: #4A5260; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--amber); outline-offset: 1px; }
textarea { min-height: 84px; resize: vertical; }
.tick-lbl { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--soft); cursor: pointer; }
.tick-lbl input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cobalt); flex: none; }
.result { position: sticky; top: 92px; background: var(--base); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.result .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.verdict { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 10px; transition: color 200ms; }
.verdict.go { color: var(--mint); } .verdict.wait { color: var(--amber); } .verdict.again { color: var(--alert); }
.verdict.pop { animation: pop 260ms var(--ease); }
@keyframes pop { from { transform: translateY(4px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.result .why { color: var(--soft); font-size: 15px; }
.dots5 { display: flex; gap: 6px; margin: 16px 0; }
.dots5 span { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; padding: 6px 0; border-radius: 6px; background: var(--panel); color: var(--muted); border: 1px solid var(--line); transition: background-color 200ms, color 200ms; }
.dots5 span.yes { background: rgba(61, 220, 151, 0.14); color: var(--mint); border-color: rgba(61, 220, 151, 0.4); }
.dots5 span.no { background: rgba(255, 90, 99, 0.12); color: var(--alert); border-color: rgba(255, 90, 99, 0.4); }
.result .fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.scan-out { display: grid; gap: 10px; }
.flag { border: 1px solid rgba(255, 90, 99, 0.35); border-radius: 10px; padding: 14px 16px; background: rgba(255, 90, 99, 0.06); }
.flag b { color: var(--alert); font-weight: 600; }
.flag q { display: inline; font-family: var(--mono); font-size: 13px; color: var(--text); background: var(--panel); padding: 1px 6px; border-radius: 4px; margin: 0 4px 4px 0; quotes: none; }
.flag .fx { font-size: 14px; color: var(--soft); margin: 8px 0 0; }
.parts { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.parts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.parts .m { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.parts .y { color: var(--mint); font-family: var(--mono); font-size: 12px; } .parts .n { color: var(--amber); font-family: var(--mono); font-size: 12px; }
.empty-msg { color: var(--muted); font-size: 15px; }

/* Founder and build log */
.log { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.log li { position: relative; padding: 0 0 26px 26px; }
.log li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px var(--base); }
.log time { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); display: block; margin-bottom: 4px; }
.log p { margin: 0; color: var(--soft); font-size: 16px; }
.log b { color: var(--text); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 2px solid var(--line-2); padding-top: 22px; }
.step.on { border-top-color: var(--cobalt); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--cobalt-text); letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.step p { color: var(--soft); font-size: 16px; }
.light .step { border-top-color: #C9D0DC; } .light .step.on { border-top-color: var(--signal); } .light .step .n { color: var(--signal); } .light .step p { color: var(--ink-muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--display); font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--soft); max-width: 760px; }
.light .faq, .light .faq details { border-color: #D5DBE5; }
.light .faq .a { color: var(--ink-muted); }
.light .faq summary::after { border-color: var(--ink-muted); }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.road .ver { background: #fff; border: 1px solid #D5DBE5; border-radius: var(--radius); padding: 28px; }
.road .ver.now { border-color: var(--signal); box-shadow: inset 0 3px 0 var(--signal); }
.road .vtag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; display: block; }
.road .now .vtag { color: var(--signal); }
.road ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-muted); font-size: 15px; }
.road li { margin: 6px 0; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; } }

/* Contact, social, email */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cbox h3 { margin-bottom: 10px; }
.cbox p { color: var(--soft); font-size: 16px; }
.social { list-style: none; margin: 0; padding: 0; }
.social li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.social li:first-child { border-top: 0; }
.social .soon { font-family: var(--mono); font-size: 12px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled input, fieldset:disabled .btn { opacity: 1; }
fieldset:disabled input { color: var(--muted); border-style: dashed; cursor: not-allowed; }
.form-row { display: flex; gap: 8px; margin-top: 10px; }
.form-row input { flex: 1; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.doc { padding: 72px 0 var(--section); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc h2 { font-size: 24px; margin-top: 44px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 20px; }
.draft { border: 1px solid rgba(245, 165, 36, 0.45); background: rgba(245, 165, 36, 0.08); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0 8px; color: var(--text); }
.draft b { color: var(--amber); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { padding: 5px 0; }
.foot-grid a { color: var(--soft); text-decoration: none; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; }
.foot-fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Mode switching: prelaunch content is the no-JS default. */
.only-launch { display: none !important; }
html.mode-launch .only-launch { display: revert !important; }
html.mode-launch .only-prelaunch { display: none !important; }

/* Gentle entrance for the hero only; disabled for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { animation: rise 520ms var(--ease) both; }
  .js .rise.d2 { animation-delay: 90ms; } .js .rise.d3 { animation-delay: 180ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .devbar, .site-head, .menu-btn, .demo-tools, .tabs { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- D-068 additions (28 Nov 2026): positioning, jobs grid, tool gallery, checkout path, support ---------- */

/* The six jobs (what AI helps you do) */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.job { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.job .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(61, 91, 255, 0.16); border: 1px solid rgba(61, 91, 255, 0.4); display: grid; place-items: center; color: var(--cobalt-text); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.job h3 { font-size: 18px; margin-bottom: 4px; }
.job p { margin: 0; color: var(--soft); font-size: 15px; }
.job .where { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .jobs { grid-template-columns: 1fr; } }

/* Hero: two-product strip under the CTAs */
.hero-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; max-width: 620px; }
.hp { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; background: rgba(23, 27, 33, 0.7); }
.hp .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.hp b { display: block; font-size: 15px; margin-bottom: 2px; }
.hp span.s { font-size: 13px; color: var(--soft); }
.hp .lbl.free { color: var(--mint); } .hp .lbl.paid { color: var(--amber); }
@media (max-width: 480px) { .hero-products { grid-template-columns: 1fr; } }

/* Tool gallery (real screenshots, one at a time) */
.gallery { background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.gallery .gtabs { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--base); overflow-x: auto; scrollbar-width: thin; }
.gallery .gtab { flex: none; background: transparent; color: var(--soft); border: 1px solid transparent; border-radius: 10px; padding: 9px 14px; font: 600 14px/1.2 var(--body); cursor: pointer; white-space: nowrap; }
.gallery .gtab:hover { color: var(--text); }
.gallery .gtab[aria-selected="true"] { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.gallery .gpane { display: grid; grid-template-columns: 0.38fr 0.62fr; gap: 28px; padding: 28px; align-items: start; }
.gallery .gpane[hidden] { display: none; }
.gallery .gpane h3 { margin-bottom: 8px; }
.gallery .gpane p { color: var(--soft); font-size: 15px; }
.gallery .gpane .mod-tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-text); margin-bottom: 10px; }
.gallery .gpane ul { margin: 10px 0 0; padding-left: 18px; color: var(--soft); font-size: 14px; }
.gallery .gpane li { margin: 4px 0; }
.gallery .frame img { max-height: 520px; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .gallery .gpane { grid-template-columns: 1fr; padding: 18px 16px; gap: 18px; } }

/* Checkout path (what happens on Gumroad) */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.path .pstep { border: 1px solid #D5DBE5; background: #fff; border-radius: var(--radius); padding: 22px; position: relative; }
.path .pstep .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--signal); display: block; margin-bottom: 10px; }
.path .pstep h3 { font-size: 18px; margin-bottom: 6px; }
.path .pstep p { color: var(--ink-muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .path { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } }

/* Support block */
.support { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.support .cbox ul { margin: 10px 0 0; padding-left: 18px; color: var(--soft); font-size: 15px; }
.support .cbox li { margin: 5px 0; }
@media (max-width: 820px) { .support { grid-template-columns: 1fr; } }

/* Proof strip: what we show instead of claims */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proof div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--panel); }
.proof b { display: block; font-size: 15px; margin-bottom: 4px; }
.proof span { font-size: 14px; color: var(--soft); }
@media (max-width: 960px) { .proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* Nav: product button */
.nav a.btn-ghost.btn-sm { padding: 7px 12px; }
