@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #f6f0e5;
  --paper-soft: #fffaf1;
  --ink: #202124;
  --charcoal: #171b22;
  --muted: #5f6570;
  --line: rgba(32, 33, 36, .16);
  --blue: #146eb4;
  --rust: #b9511a;
  --pine: #1f6f5b;
  --amber: #ff9900;
  --danger: #b42318;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; line-height: 1.55; text-rendering: optimizeLegibility; }
::selection { color: white; background: var(--blue); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #8e9499; border: 3px solid var(--paper); border-radius: 12px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
svg { display: block; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.07; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 15px; color: white; background: var(--charcoal); transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { padding: 84px max(22px, calc((100vw - var(--max)) / 2)); }
.site-status { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 7px 18px; background: var(--charcoal); color: #e9eef2; font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.site-status a { color: #ffc46f; font-weight: 800; text-decoration-thickness: 1px; }
.status-pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #ffaf45; box-shadow: 0 0 0 4px rgba(255,175,69,.16); }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 12px max(22px, calc((100vw - var(--max)) / 2)); background: rgba(246,240,229,.96); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; text-decoration: none; font-size: .95rem; font-weight: 800; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: var(--paper-soft); background: var(--charcoal); border: 1px solid rgba(255,153,0,.48); border-radius: 10px; }
.brand-mark svg { width: 29px; height: 29px; fill: currentColor; }
.brand-mark img { display: block; width: 42px; height: 42px; object-fit: cover; border-radius: 9px; }
.brand-name { display: grid; }
.brand-name span { font-size: .78rem; font-weight: 700; }
.site-header nav { display: flex; align-items: center; gap: 2px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 10px; border-radius: 8px; color: #444b54; font-size: .83rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a:focus-visible { background: #e8e4dd; color: var(--ink); }
.site-header nav a.nav-action { margin-left: 8px; padding: 0 16px; color: white; background: var(--charcoal); }
.site-header nav a.nav-action:hover { background: var(--blue); }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); grid-template-rows: auto auto; column-gap: clamp(32px, 4vw, 64px); row-gap: 20px; align-items: center; padding-top: 42px; padding-bottom: 52px; }
.hero-intro { grid-column: 1; grid-row: 1; align-self: end; }
.hero-support { grid-column: 1; grid-row: 2; align-self: start; }
.eyebrow { color: var(--rust); font-size: .79rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 14px 0 18px; font-size: clamp(3.25rem, 4.9vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; }
.hero-intro h1 { margin-bottom: 16px; }
.question-mark { color: var(--rust); }
.hero-deck { max-width: 580px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 720; line-height: 1.3; }
.hero-description { max-width: 55ch; color: #4c5158; font-size: .98rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 820; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #0f5d98; }
.button-outline { border-color: #a6a9a7; background: var(--paper-soft); }
.button-outline:hover { background: #e9e6df; }
.hero-reassurance { display: flex; align-items: center; gap: 11px; margin-top: 15px; color: #525c63; font-size: .82rem; font-weight: 700; }
.reassurance-rule { display: block; width: 26px; height: 2px; flex: 0 0 auto; background: var(--rust); }
.lesson-preview { grid-column: 2; grid-row: 1 / 3; align-self: center; overflow: hidden; min-width: 0; background: var(--charcoal); color: white; border-radius: 18px; box-shadow: 0 28px 65px rgba(23,27,34,.22); }
.preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; color: #d3e0e7; background: #252d38; font-size: .69rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.preview-topline > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.preview-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #ffae49; }
.preview-topline > span:last-child { color: #ffc479; }
.preview-heading { display: flex; align-items: center; gap: 18px; padding: 20px 26px 0; }
.preview-symbol { display: block; width: 58px; height: 58px; flex: 0 0 auto; overflow: hidden; border-radius: 8px; }
.preview-symbol img { display: block; width: 100%; height: 100%; }
.preview-heading p { color: #c4d0d8; font-size: .74rem; }
.preview-heading h2 { margin-top: 4px; font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.05; }
.preview-heading h2 span { color: #ffae49; }
.preview-intro { max-width: 42ch; margin: 13px 26px 17px; color: #c9d4db; font-size: .84rem; }
.preview-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 26px; padding: 4px; background: #282f39; border-radius: 9px; }
.preview-tabs button { min-height: 40px; padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: #cbd5da; font-size: .75rem; font-weight: 800; }
.preview-tabs button[aria-selected="true"] { background: #f5efe2; color: #19202a; box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.preview-tabs button:hover:not([aria-selected="true"]) { background: #3b4550; color: white; }
.preview-panel { min-height: 205px; margin: 0 26px; padding: 21px 0 20px; }
.preview-panel[hidden] { display: none; }
.preview-panel-label { color: #ffbd69; font-family: Consolas, monospace; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.preview-panel h3 { margin: 9px 0 8px; font-size: 1.36rem; }
.preview-panel > p:not(.preview-prompt) { max-width: 48ch; color: #d5dfe4; font-size: .81rem; line-height: 1.6; }
.preview-prompt { margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); color: #cbd7de; font-size: .76rem; }
.preview-prompt strong { display: block; margin-bottom: 3px; color: white; font-size: .72rem; }
.preview-footer { display: flex; align-items: center; justify-content: center; gap: 17px; min-height: 45px; background: var(--blue); font-size: .67rem; font-weight: 800; letter-spacing: .09em; }
.preview-connector { width: 23px; height: 1px; background: rgba(255,255,255,.7); position: relative; }
.preview-connector::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-top: 1px solid white; border-right: 1px solid white; transform: rotate(45deg); }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 max(22px, calc((100vw - var(--max)) / 2)); background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-bar div { display: flex; align-items: baseline; gap: 12px; min-height: 92px; padding: 22px; border-right: 1px solid var(--line); }
.stats-bar div:first-child { padding-left: 0; }
.stats-bar div:last-child { border-right: 0; }
.stats-bar strong { font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-bar span { color: #50565b; font-size: .84rem; font-weight: 750; }
.beginner { display: grid; grid-template-columns: .4fr 1fr; gap: 60px; align-items: center; background: #1d2734; color: white; }
.beginner-question { min-height: 330px; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; background: #182330; }
.beginner-question[open] { border-color: #ffbe69; }
.beginner-question summary { display: flex; min-height: 330px; padding: 22px 25px 26px; flex-direction: column; align-items: flex-start; cursor: pointer; list-style: none; }
.beginner-question summary::-webkit-details-marker { display: none; }
.beginner-question summary:hover .question-action { color: white; }
.question-topline { color: #b9cbd9; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.question-glyph { align-self: center; margin: auto 0 4px; color: #ffc26a; font-size: 8.5rem; font-weight: 800; line-height: 1; }
.question-title { max-width: 16ch; margin: auto 0 15px; color: white; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.question-action { display: flex; width: 100%; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.25); color: #ffbe69; font-size: .8rem; font-weight: 800; }
.question-plus { color: inherit; font-size: 1.4rem; line-height: 1; transition: transform 180ms ease; }
.when-open { display: none; }
.beginner-question[open] .when-closed { display: none; }
.beginner-question[open] .when-open { display: inline; }
.beginner-question[open] .question-plus { transform: rotate(45deg); }
.beginner-question[open] summary { min-height: 0; padding-bottom: 15px; }
.beginner-question[open] .question-glyph { align-self: flex-start; margin: 19px 0 0; font-size: 4rem; }
.beginner-question[open] .question-title { margin: 8px 0 18px; }
.beginner-answer { padding: 0 25px 25px; animation: answer-reveal 240ms ease-out both; }
.beginner-answer > p:first-child { color: white; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.answer-parts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 17px; }
.answer-parts span { padding: 5px 7px; border: 1px solid rgba(255,255,255,.26); border-radius: 4px; color: #dce7ef; font-size: .68rem; font-weight: 750; }
.beginner-answer .answer-note { margin-top: 16px; color: #ffbe69; font-size: .78rem; }
@keyframes answer-reveal { from { opacity: .65; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.beginner h2, .section-heading h2, .rhythm h2, .portfolio h2, .about h2, .join-section h2 { font-size: clamp(2.5rem, 4.6vw, 4.8rem); font-weight: 800; letter-spacing: -.025em; }
.beginner h2 em, .portfolio h2 em { color: #ffbe69; font-style: normal; }
.beginner-copy > p { max-width: 680px; margin: 24px 0; color: #d5dce1; font-size: 1.08rem; }
.beginner-copy strong { color: white; }
.text-link { color: #ffc26a; font-weight: 800; text-decoration-thickness: 1px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .7fr); gap: 60px; align-items: end; margin-bottom: 46px; }
.section-heading h2 { max-width: 730px; }
.section-heading > p { color: var(--muted); font-size: 1.03rem; }
.learning-loop { background: var(--paper-soft); }
.loop-track { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.loop-track li { display: grid; grid-template-columns: 90px minmax(180px, .45fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: 92px; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: background 180ms ease; }
.loop-track li:hover { background: #f4efe5; }
.loop-track li > span { color: var(--rust); font-family: Consolas, monospace; font-size: .81rem; font-weight: 800; }
.loop-track h3 { margin: 0; font-size: 1.47rem; }
.loop-track p { max-width: 60ch; color: var(--muted); font-size: .93rem; }
.loop-caption { margin-top: 20px; color: var(--rust); font-size: .9rem; font-weight: 800; text-align: right; }
.rhythm { background: #e9eee9; }
.rhythm-intro { max-width: 760px; }
.rhythm h2 { margin-top: 0; }
.rhythm-intro > p:last-child { margin: 22px 0 0; max-width: 670px; font-size: 1.08rem; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 46px; }
.week-strip div { display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; padding: 16px 12px; background: rgba(255,255,255,.65); }
.week-strip strong { font-size: 1.12rem; }
.week-strip span { color: #5b6266; font-size: .75rem; font-weight: 700; }
.week-strip .lesson-day { background: var(--blue); color: white; }
.week-strip .lesson-day span { color: white; }
.rhythm-note { margin-top: 16px; color: #535e60; font-size: .84rem; }
.curriculum { background: var(--paper); }
.curriculum-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 28px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #4d5358; font-size: .8rem; font-weight: 800; }
.curriculum-stage { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); gap: 38px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.stage-heading { position: sticky; top: 102px; align-self: start; }
.stage-heading span { color: var(--rust); font-family: Consolas, monospace; font-size: .8rem; font-weight: 800; }
.stage-heading h3 { margin-top: 12px; font-size: 2rem; }
.stage-heading p { margin-top: 10px; color: var(--muted); font-size: .86rem; }
.module-list details { margin-bottom: 7px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 10px; }
.module-list summary { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto 16px; gap: 15px; align-items: center; min-height: 73px; padding: 15px 20px; cursor: pointer; list-style: none; }
.module-list summary::-webkit-details-marker { display: none; }
.module-list summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; font-weight: 400; }
.module-list details[open] summary::after { content: "−"; }
.module-number { color: var(--rust); font-family: Consolas, monospace; font-size: .8rem; font-weight: 800; }
.module-title { font-size: 1.08rem; font-weight: 800; }
.module-count { color: #555b61; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.module-list ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; margin: 0 20px 20px 115px; padding-left: 21px; color: #4e555b; font-size: .87rem; }
.module-list li { padding-left: 4px; }
.student-rewards { background: #e3ecef; }
.student-content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); margin-top: 36px; border-top: 1px solid var(--line); }
.student-content > div { padding-top: 26px; }
.student-content h3 { margin-bottom: 16px; font-size: 1.35rem; }
.student-content ul, .student-content ol { display: grid; gap: 14px; margin: 0; padding-left: 23px; }
.student-content li { padding-left: 4px; color: #38464e; }
.student-content li::marker { color: var(--blue); font-weight: 800; }
.student-content strong { color: var(--ink); }
.student-benefits > p { margin-top: 19px; color: #46545c; font-size: .9rem; }
.student-steps { border-left: 1px solid var(--line); padding-left: clamp(30px, 5vw, 70px); }
.student-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.student-note { max-width: 76ch; margin-top: 19px; color: #46545c; font-size: .82rem; }
.student-note a { color: #0e588f; font-weight: 800; }
.projects { background: #e7e5df; }
.project-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-list article { min-height: 190px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-list span { color: var(--rust); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 44px; }
.project-top img { display: block; width: 44px; height: 44px; flex: 0 0 auto; }
.project-icon-pair { display: flex; gap: 5px; }
.project-list h3 { margin: 17px 0 9px; font-size: 1.55rem; }
.project-list p { color: var(--muted); }
.templates { background: var(--paper-soft); }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.template-preview { padding: 29px; background: #eee9dd; border-radius: 14px; }
.template-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--rust); font-size: .79rem; font-weight: 800; text-transform: uppercase; }
.template-preview h3 { margin: 26px 0 20px; font-size: clamp(1.6rem, 2.7vw, 2.5rem); }
.template-preview h3 em { color: var(--rust); font-style: normal; }
.template-preview dl { margin: 0; }
.template-preview dl div { display: grid; grid-template-columns: 43% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.template-preview dt { font-weight: 800; }
.template-preview dd { margin: 0; color: #555e62; }
.template-preview > p { margin-top: 24px; font-size: .83rem; font-weight: 700; }
.copy-template { min-height: 42px; margin-top: 24px; padding: 9px 14px; border: 1px solid var(--ink); border-radius: 8px; color: var(--ink); background: transparent; font-size: .78rem; font-weight: 800; }
.copy-template:hover { color: white; background: var(--ink); }
.template-preview-dark { color: white; background: var(--charcoal); }
.template-preview-dark .template-top { border-color: rgba(255,255,255,.18); color: #ffc478; }
.template-preview-dark ol { display: grid; gap: 9px; padding-left: 20px; color: #e0e6e9; font-size: .91rem; }
.template-preview-dark > p { color: #c6d1d9; }
.template-preview-dark .copy-template { border-color: #bdcdd6; color: white; }
.template-preview-dark .copy-template:hover { border-color: var(--paper-soft); background: var(--paper-soft); color: var(--ink); }
.template-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.template-footer strong { margin-right: 8px; font-size: .86rem; }
.template-footer span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; color: #4f565b; font-size: .8rem; }
.portfolio { display: grid; grid-template-columns: 1fr .65fr; gap: 65px; align-items: center; color: white; background: #1d2734; }
.portfolio h2 { margin: 0 0 22px; }
.portfolio p:last-child { max-width: 650px; color: #d6dee5; font-size: 1.08rem; }
.portfolio-artifact { display: grid; gap: 0; border: 1px solid rgba(255,255,255,.27); }
.portfolio-artifact span { padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.27); font-family: Consolas, monospace; font-size: .8rem; }
.portfolio-artifact span:last-child { border: 0; color: #ffc478; }
.architecture { background: var(--paper); }
.architecture-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.architecture-card { min-width: 0; min-height: 220px; padding: 26px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 10px; }
.architecture-step { color: var(--rust); font-family: Consolas, monospace; font-size: .8rem; font-weight: 800; }
.service-flow { display: flex; align-items: flex-start; gap: 5px; margin: 20px 0 16px; }
.service-node { display: flex; min-width: 0; flex: 1 1 0; flex-direction: column; align-items: center; gap: 7px; color: var(--ink); font-size: .77rem; font-weight: 800; line-height: 1.25; text-align: center; }
.service-node img { display: block; width: 44px; height: 44px; flex: 0 0 auto; }
.flow-arrow { flex: 0 0 auto; margin-top: 10px; color: var(--blue); font-size: 1.1rem; }
.architecture-card p { color: var(--muted); font-size: .9rem; }
.about { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 70px; align-items: center; background: #dce7e1; }
.about-portrait { position: relative; width: 100%; max-width: 280px; margin: 0; overflow: hidden; border-radius: 14px; background: var(--charcoal); box-shadow: 12px 12px 0 #b3ccc0; }
.about-portrait img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 36%; }
.about-portrait figcaption { padding: 11px 14px; color: #f4f0e8; background: var(--charcoal); font: 800 .65rem Consolas, monospace; letter-spacing: .07em; }
.about h2 { margin: 0 0 20px; }
.about p { max-width: 690px; margin-top: 14px; font-size: 1.04rem; }
.about .about-credentials { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; color: #34584f; font-size: .83rem; font-weight: 800; }
.about-credentials span:first-child { flex-basis: 100%; color: var(--ink); font-size: 1rem; }
.about-credentials span:not(:first-child) { padding-bottom: 4px; border-bottom: 1px solid #7e9b90; }
.about-note { color: #3f5b52; font-weight: 750; }
.builder-identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 13px 0; border-top: 1px solid #a7bdb4; border-bottom: 1px solid #a7bdb4; }
.builder-identity span { color: #3f5b52; font-size: .82rem; font-weight: 800; }
.builder-identity strong { color: var(--ink); font-size: 1.28rem; }
.creator-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.creator-socials a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 11px; border: 1px solid #9db5a9; border-radius: 8px; color: #173f35; background: rgba(255,255,255,.43); font-size: .84rem; font-weight: 800; text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.creator-socials a:hover { border-color: #4f7869; background: #f4faf6; transform: translateY(-2px); }
.creator-socials svg { display: block; width: 21px; height: 21px; flex: 0 0 auto; }
.creator-socials a:nth-last-child(2) svg { width: 28px; }
.builder-invite { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding-bottom: 4px; border-bottom: 2px solid var(--blue); color: #0e588f; font-weight: 800; text-decoration: none; }
.builder-invite:hover { color: #083b66; }
.field-group small a { color: #0e588f; font-weight: 800; }
.join-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, 440px); gap: 80px; align-items: start; color: white; background: var(--charcoal); }
.join-copy h2 { margin: 0 0 22px; }
.join-copy > p { max-width: 600px; color: #cbd4dd; font-size: 1.1rem; }
.join-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.join-points span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; color: #e8eff3; font-size: .8rem; }
.signup-panel { padding: 30px; border-radius: 16px; color: var(--ink); background: var(--paper-soft); box-shadow: 0 22px 54px rgba(0,0,0,.22); }
.signup-panel h3 { margin-bottom: 25px; font-size: 1.7rem; }
.field-group { margin-bottom: 18px; }
.field-group label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 800; }
.field-group input { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid #9ba0a2; border-radius: 8px; color: var(--ink); background: white; }
.field-group input::placeholder { color: #65717a; }
.field-group input:disabled { color: #6d7278; background: #eeece7; cursor: not-allowed; }
.field-group input[aria-invalid="true"] { border-color: var(--danger); }
.field-group small { display: block; margin-top: 7px; color: #5b6267; font-size: .78rem; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin: 20px 0; font-size: .85rem; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.consent-row a { color: #0e588f; font-weight: 800; }
.signup-panel button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 51px; padding: 0 16px; border: 0; border-radius: 8px; color: white; background: var(--blue); font-weight: 800; }
.signup-panel button:hover { background: #0f5d98; }
.signup-panel button:disabled { opacity: .65; cursor: not-allowed; }
.privacy-note { margin-top: 14px; color: #58616b; font-size: .78rem; }
.form-status { min-height: 22px; margin-top: 13px; font-size: .89rem; font-weight: 760; }
.form-status.success { color: #146044; }
.form-status.error { color: #9e241c; }
.faq { background: var(--paper-soft); }
.faq .section-heading { margin-bottom: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 69px; padding: 18px 4px; cursor: pointer; list-style: none; font-size: 1.13rem; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--blue); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 75ch; padding: 0 0 23px 4px; color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 45px max(22px, calc((100vw - var(--max)) / 2)); color: white; background: #111820; }
.site-footer strong { font-size: 1.25rem; }
.site-footer p { margin-top: 7px; color: #b9c5ce; }
.site-footer > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; }
.site-footer a { color: #f5cf95; font-size: .85rem; font-weight: 760; }
.site-footer small { grid-column: 1 / -1; color: #b9c5ce; }
@media (max-width: 1100px) {
  .site-header nav a { padding: 0 7px; font-size: .77rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(370px, .95fr); column-gap: 32px; }
}
@media (max-width: 900px) {
  .site-header { min-height: 70px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 45px; height: 43px; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-soft); }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 20px; background: var(--paper-soft); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(23,27,34,.1); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { min-height: 44px; padding: 0 12px; font-size: .92rem; }
  .site-header nav a.nav-action { margin: 10px 0 0; justify-content: center; }
  .hero, .beginner, .portfolio, .about, .join-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; row-gap: 24px; }
  .hero-intro, .hero-support { grid-column: 1; grid-row: auto; max-width: 680px; }
  .lesson-preview { grid-column: 1; grid-row: auto; max-width: 620px; width: 100%; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading > p { max-width: 720px; }
  .beginner-question { width: min(100%, 350px); }
  .student-content { grid-template-columns: 1fr; gap: 24px; }
  .student-steps { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .about { gap: 35px; }
  .join-section { gap: 38px; }
  .signup-panel { max-width: 580px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 75px; }
  .site-status { justify-content: space-between; gap: 8px; font-size: .72rem; line-height: 1.35; }
  .site-status a { white-space: nowrap; }
  .section-shell { padding: 60px 18px; }
  .site-header { padding: 10px 18px; }
  .brand-name { max-width: 160px; }
  .hero { gap: 16px; padding-top: 28px; padding-bottom: 42px; }
  .hero-intro h1 { margin: 14px 0 18px; font-size: clamp(3rem, 10vw, 4.8rem); }
  .lesson-preview { margin-top: 10px; }
  .hero-deck { font-size: 1.28rem; }
  .hero-description { font-size: .95rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button-outline { min-height: 42px; border: 0; background: transparent; }
  .preview-topline { padding: 13px 18px; }
  .preview-heading { padding: 22px 19px 0; }
  .preview-intro { margin: 15px 19px 20px; }
  .preview-tabs { margin: 0 19px; }
  .preview-panel { min-height: 220px; margin: 0 19px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 0 18px; }
  .stats-bar div { flex-direction: column; gap: 5px; min-height: 104px; padding: 18px 10px; border-bottom: 1px solid var(--line); }
  .stats-bar div:nth-child(2) { border-right: 0; }
  .stats-bar div:nth-child(n+3) { border-bottom: 0; }
  .stats-bar strong { font-size: 1.9rem; }
  .beginner-question { width: 100%; min-height: 0; }
  .beginner-question summary { min-height: 260px; }
  .question-glyph { font-size: 6rem; }
  .beginner h2, .section-heading h2, .rhythm h2, .portfolio h2, .about h2, .join-section h2 { font-size: clamp(2.3rem, 9.3vw, 3.6rem); }
  .project-list, .template-grid, .architecture-flow { grid-template-columns: 1fr; }
  .service-flow { gap: 0; }
  .service-node { font-size: .72rem; }
  .service-node img { width: 36px; height: 36px; }
  .flow-arrow { margin-top: 7px; font-size: .88rem; }
  .loop-track li { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; min-height: 110px; padding: 18px 2px; }
  .loop-track h3 { font-size: 1.25rem; }
  .loop-track p { grid-column: 2; }
  .week-strip { grid-template-columns: repeat(2, 1fr); }
  .week-strip div { min-height: 92px; }
  .week-strip .lesson-day { min-height: 112px; }
  .curriculum-stage { grid-template-columns: 1fr; gap: 18px; }
  .stage-heading { position: static; }
  .module-list summary { grid-template-columns: 36px minmax(0,1fr) 16px; gap: 8px; padding: 13px; }
  .module-count { grid-column: 2; grid-row: 2; }
  .module-list summary::after { grid-column: 3; grid-row: 1 / 3; }
  .module-list ol { grid-template-columns: 1fr; margin-left: 37px; }
  .curriculum-summary { display: grid; }
  .student-actions .button { width: 100%; }
  .template-preview { padding: 22px; }
  .template-preview dl div { grid-template-columns: 1fr; gap: 2px; }
  .about-portrait { max-width: 220px; }
  .about-portrait img { height: 260px; }
  .signup-panel { padding: 22px; }
  .site-footer { grid-template-columns: 1fr; padding: 38px 18px; }
  .site-footer small { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
