:root {
    --bg: #070707;
    --bg-deep: #030303;
    --surface: rgba(22, 20, 21, 0.86);
    --surface-strong: #151214;
    --line: rgba(255, 255, 255, 0.11);
    --line-hot: rgba(255, 103, 31, 0.34);
    --text: #f8f6f4;
    --muted: #aaa3a0;
    --red: #e31937;
    --red-deep: #8f001f;
    --orange: #ff6b00;
    --amber: #ffad1f;
    --green: #6ee7a8;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(900px 620px at 88% -10%, rgba(227, 25, 55, 0.22), transparent 66%),
        radial-gradient(780px 520px at -8% 26%, rgba(255, 107, 0, 0.12), transparent 68%),
        linear-gradient(180deg, var(--bg-deep), var(--bg) 48%, #0b0909);
    font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}
a { color: inherit; }
button, input { font: inherit; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; position: relative; z-index: 1; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(7, 7, 7, .72);
    backdrop-filter: blur(18px) saturate(135%);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 820; letter-spacing: -.03em; }
.brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--red) 8%, var(--orange) 72%, var(--amber));
    box-shadow: 0 10px 30px rgba(227, 25, 55, .28), inset 0 1px rgba(255,255,255,.35);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: rgba(10, 7, 7, .88); transform: rotate(-28deg); }
.brand-mark::before { width: 9px; height: 48px; left: 7px; top: -7px; }
.brand-mark::after { width: 8px; height: 42px; right: 6px; top: 1px; }
.brand small { display: block; color: #d9d3d0; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: var(--text); background: rgba(255,255,255,.075); outline: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: rgba(255,255,255,.05); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero { padding: clamp(72px, 10vw, 128px) 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: clamp(44px, 7vw, 92px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: #ffd6c2; font-size: 13px; font-weight: 760; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 9px; background: linear-gradient(90deg, var(--red), var(--orange)); box-shadow: 0 0 18px rgba(255,107,0,.55); }
.hero h1, .docs-hero h1 { margin: 0; font-weight: 880; letter-spacing: -.065em; line-height: 1.04; text-wrap: balance; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); }
.gradient-text { color: transparent; background: linear-gradient(112deg, #fff 0 8%, #ffcab3 24%, #ff7038 54%, #e31937 92%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 630px; margin: 26px 0 0; color: #b9b1ae; font-size: clamp(17px, 1.7vw, 20px); letter-spacing: -.018em; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: rgba(255,255,255,.045); text-decoration: none; font-size: 15px; font-weight: 760; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: rgba(255,255,255,.24); outline: none; }
.button.primary { color: #170704; border-color: transparent; background: linear-gradient(116deg, #ff3d31, var(--orange) 66%, var(--amber)); box-shadow: 0 18px 45px rgba(227,25,55,.28); }
.button.primary:hover { box-shadow: 0 22px 58px rgba(255,107,0,.34); }
.hero-note { margin: 18px 0 0; color: #89827f; font-size: 13px; }

.visual-stage { position: relative; min-height: 520px; perspective: 1000px; isolation: isolate; transform-style: preserve-3d; }
.visual-stage::before { content: ""; position: absolute; inset: 8% 2% 4% 3%; border-radius: 50%; background: radial-gradient(circle, rgba(227,25,55,.3), rgba(255,107,0,.08) 48%, transparent 70%); filter: blur(32px); }
.ribbon { position: absolute; z-index: -1; width: 76%; height: 116px; border-radius: 999px 26px 999px 32px; background: linear-gradient(110deg, rgba(110,0,22,.15), var(--red) 35%, #ff361f 58%, var(--orange)); box-shadow: inset 0 2px rgba(255,255,255,.26), 0 24px 60px rgba(160,0,25,.3); transform-origin: center; }
.ribbon.one { top: 55px; right: -3%; transform: rotate(-16deg) skewX(-12deg); opacity: .92; }
.ribbon.two { top: 220px; left: -3%; width: 88%; transform: rotate(12deg) skewX(14deg); opacity: .58; filter: saturate(1.2); }
.ribbon.three { bottom: 18px; right: 4%; width: 62%; height: 78px; transform: rotate(-9deg); opacity: .36; }
.tool-stack { position: absolute; inset: 82px 26px 30px 44px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .16s ease-out; transform-style: preserve-3d; }
.float-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: linear-gradient(160deg, rgba(34,31,32,.96), rgba(12,11,12,.94)); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.float-card.main { inset: 36px 40px 20px 4px; padding: 24px; transform: translateZ(25px); }
.float-card.side { width: 190px; right: -10px; top: 0; padding: 18px; transform: translateZ(72px); }
.float-card.bottom { width: 220px; left: -28px; bottom: -16px; padding: 18px; transform: translateZ(58px); }
.mini-head { display: flex; align-items: center; justify-content: space-between; color: #9b9491; font-size: 11px; font-weight: 700; }
.mini-head b { color: #ff8a4b; }
.mini-title { margin: 28px 0 20px; font-size: 25px; line-height: 1.18; letter-spacing: -.04em; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mini-row span { height: 62px; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: #c6bfbc; background: rgba(255,255,255,.035); font-size: 11px; }
.mini-row span::after { content: ""; display: block; width: 66%; height: 5px; margin-top: 13px; border-radius: 9px; background: linear-gradient(90deg, var(--red), var(--orange)); opacity: .78; }
.float-card.side strong, .float-card.bottom strong { display: block; margin-top: 8px; font-size: 22px; }
.float-card.side small, .float-card.bottom small { color: #9a9390; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,107,0,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,107,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); } }

.section { padding: 78px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-kicker { display: block; margin-bottom: 9px; color: #ff8150; font-size: 12px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.12; letter-spacing: -.05em; }
.section-copy { max-width: 520px; margin: 0; color: var(--muted); }
.feature-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line-hot); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(227,25,55,.12), rgba(255,107,0,.045) 42%, rgba(255,255,255,.045)); box-shadow: var(--shadow); }
.feature-shell::after { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; top: -190px; border-radius: 50%; border: 68px solid rgba(227,25,55,.12); }
.feature-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.05em; }
.feature-copy p { margin: 20px 0 0; color: #b8b0ad; }
.feature-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.feature-points span { padding: 11px 13px; border-radius: 13px; border: 1px solid rgba(255,255,255,.1); color: #d8d1ce; background: rgba(0,0,0,.2); font-size: 13px; }
.practice-preview { position: relative; z-index: 1; overflow: hidden; min-height: 350px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #100e0f; box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.preview-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #171415; }
.preview-bar i { width: 7px; height: 7px; border-radius: 50%; background: #5a5352; }
.preview-body { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 308px; }
.preview-paper { padding: 28px 22px; border-right: 1px solid var(--line); }
.preview-paper strong { font-size: 12px; }
.preview-lines { display: grid; gap: 9px; margin-top: 34px; }
.preview-lines i { height: 7px; border-radius: 8px; background: #2c2829; }
.preview-lines i:nth-child(2) { width: 82%; } .preview-lines i:nth-child(3) { width: 68%; }
.preview-tools { padding: 20px; background: linear-gradient(160deg, rgba(227,25,55,.08), transparent 52%); }
.preview-timer { display: flex; justify-content: space-between; align-items: end; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.preview-timer small { display: block; color: #8e8784; font-size: 9px; }
.preview-timer strong { font-size: 22px; color: #ff7040; }
.preview-pad { height: 100px; margin-top: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; color: #9f9794; font-size: 10px; background: rgba(255,255,255,.035); }
.preview-calc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.preview-calc i { height: 26px; border-radius: 7px; background: #292526; }
.preview-calc i:nth-child(4n) { background: linear-gradient(135deg, var(--red-deep), var(--orange)); }

.tool-controls { display:grid; justify-items:end; gap:10px; }
.tool-search { width:min(100%,300px); min-height:44px; display:flex; align-items:center; gap:10px; padding:0 13px 0 15px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.04); transition:border-color .2s,background .2s; }
.tool-search:focus-within { border-color:rgba(255,107,0,.48); background:rgba(255,107,0,.055); }
.tool-search input { width:100%; min-width:0; border:0; outline:0; color:var(--text); background:transparent; }
.tool-search input::placeholder { color:#746d6a; }
.tool-search b { color:#ff8350; font-size:19px; }
.tool-filter { display: flex; flex-wrap: wrap; justify-content:flex-end; gap: 8px; }
.tool-status { margin:-12px 0 20px; color:#8f8885; font-size:13px; }
.filter-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.035); cursor: pointer; transition: .2s; }
.filter-button:hover, .filter-button:focus-visible, .filter-button[aria-pressed="true"] { color: #1b0803; border-color: transparent; background: linear-gradient(112deg, #ff4538, var(--orange)); outline: none; }
.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card { position: relative; min-height: 210px; display: flex; flex-direction: column; padding: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; color: var(--text); background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); text-decoration: none; transition: transform .24s, border-color .24s, background .24s; }
.tool-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -64px; bottom: -70px; border: 22px solid rgba(255,107,0,.07); border-radius: 50%; transition: transform .3s, border-color .3s; }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-5px); border-color: rgba(255,107,0,.45); background: linear-gradient(150deg, rgba(227,25,55,.11), rgba(255,107,0,.045)); outline: none; }
.tool-card:hover::after { transform: scale(1.35); border-color: rgba(255,107,0,.14); }
.tool-code { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-hot); border-radius: 14px; color: #ffd0bc; background: rgba(227,25,55,.12); font-size: 12px; font-weight: 820; letter-spacing: -.02em; }
.tool-card h3 { margin: 24px 0 7px; font-size: 18px; letter-spacing: -.035em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 13px; }
.tool-card .arrow { margin-top: auto; color: #ff7542; font-size: 18px; }
.tool-card[hidden] { display: none; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); }
.principle b { display: block; margin-bottom: 8px; font-size: 16px; }
.principle p { margin: 0; color: var(--muted); font-size: 13px; }

.docs-main { padding: 64px 0 100px; }
.docs-hero { position: relative; overflow: hidden; padding: clamp(34px, 6vw, 68px); border: 1px solid var(--line-hot); border-radius: var(--radius-xl); background: linear-gradient(140deg, rgba(227,25,55,.14), rgba(255,107,0,.05) 45%, rgba(255,255,255,.035)); box-shadow: var(--shadow); }
.docs-hero::after { content: ""; position: absolute; width: 420px; height: 180px; right: -130px; bottom: -110px; border-radius: 50%; background: linear-gradient(90deg, var(--red), var(--orange)); filter: blur(60px); opacity: .18; }
.docs-hero h1 { max-width: 760px; font-size: clamp(36px, 6vw, 64px); }
.docs-lead { max-width: 760px; margin: 22px 0 0; color: #b8b0ad; font-size: 17px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; color: #8f8885; font-size: 13px; }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ff7542; }
.content-section { padding-top: 52px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.content-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); }
.info-card.accent { border-color: var(--line-hot); background: linear-gradient(145deg, rgba(227,25,55,.1), rgba(255,107,0,.035)); }
.info-card h2, .info-card h3 { margin: 0 0 10px; letter-spacing: -.035em; }
.info-card p { margin: 0; color: var(--muted); }
.info-card ul { margin: 14px 0 0; padding-left: 19px; color: var(--muted); }
.step-list { display: grid; gap: 12px; counter-reset: steps; }
.step { position: relative; padding: 24px 24px 24px 78px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 23px; top: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: #1a0703; background: linear-gradient(135deg, #ff3c32, var(--orange)); font-weight: 850; }
.step h2 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.faq-item summary { padding: 20px 52px 20px 21px; cursor: pointer; list-style: none; font-weight: 760; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 15px; color: #ff7440; font-size: 25px; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 21px 21px; color: var(--muted); }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line-hot); border-radius: var(--radius-lg); background: rgba(227,25,55,.08); }
.reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reading-card { display: flex; flex-direction: column; min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.022)); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.reading-card:hover, .reading-card:focus-visible { transform: translateY(-4px); border-color: var(--line-hot); background: linear-gradient(150deg, rgba(227,25,55,.1), rgba(255,107,0,.035)); outline: none; }
.reading-card .section-kicker { margin-bottom: 18px; }
.reading-card h3 { margin: 0; font-size: 22px; line-height: 1.28; letter-spacing: -.04em; }
.reading-card p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.reading-card strong { margin-top: auto; padding-top: 22px; color: #ff8150; font-size: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; align-items: start; }
.article-body { min-width: 0; }
.article-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.article-section:first-child { padding-top: 0; }
.article-section:last-child { border-bottom: 0; }
.article-section h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -.045em; }
.article-section h3 { margin: 28px 0 10px; font-size: 19px; letter-spacing: -.03em; }
.article-section p { margin: 12px 0 0; color: #c2bbb8; }
.article-section ul, .article-section ol { margin: 16px 0 0; padding-left: 22px; color: #c2bbb8; }
.article-section li + li { margin-top: 8px; }
.article-aside { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); }
.article-aside strong { display: block; margin-bottom: 14px; }
.article-aside a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.065); color: var(--muted); text-decoration: none; font-size: 14px; }
.article-aside a:last-child { border-bottom: 0; }
.article-aside a:hover, .article-aside a:focus-visible { color: var(--text); outline: none; }
.example-box { margin-top: 22px; padding: 22px; border: 1px solid var(--line-hot); border-radius: 18px; background: linear-gradient(145deg, rgba(227,25,55,.09), rgba(255,107,0,.025)); }
.example-box strong { color: #ffd2c0; }
.example-box p:first-of-type { margin-top: 8px; }
.check-table { width: 100%; margin-top: 20px; border-collapse: collapse; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.check-table th, .check-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.check-table th { color: #ffd2c0; background: rgba(227,25,55,.08); font-size: 13px; }
.check-table td { color: #bbb4b1; font-size: 14px; }
.check-table tr:last-child td { border-bottom: 0; }
.inline-note { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; color: #c9c2bf; background: rgba(255,107,0,.055); }

.site-footer { padding: 36px 0 46px; border-top: 1px solid var(--line); color: #8f8885; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #aaa3a0; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.75,.2,1), transform .7s cubic-bezier(.2,.75,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .hero-grid, .feature-shell { grid-template-columns: 1fr; }
    .visual-stage { min-height: 470px; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .content-grid.three { grid-template-columns: 1fr 1fr; }
    .reading-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}

@media (max-width: 760px) {
    .shell { width: min(calc(100% - 28px), var(--max)); }
    .header-inner { min-height: 66px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); display: none; align-items: stretch; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(14,12,13,.97); box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 14px; }
    .hero { padding: 58px 0 64px; }
    .hero h1 { font-size: clamp(40px, 12vw, 57px); }
    .hero-copy { font-size: 17px; }
    .visual-stage { min-height: 410px; margin-top: 10px; }
    .tool-stack { inset: 64px 10px 18px 22px; }
    .float-card.main { inset: 30px 18px 24px 0; }
    .float-card.side { width: 150px; right: -4px; }
    .float-card.bottom { width: 172px; left: -12px; }
    .mini-row span:nth-child(3) { display: none; }
    .mini-row { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 58px 0; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .tool-controls { width:100%; justify-items:start; }
    .tool-filter { justify-content:flex-start; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-card { min-height: 190px; }
    .principles, .content-grid, .content-grid.three, .reading-grid { grid-template-columns: 1fr; }
    .feature-points { grid-template-columns: 1fr; }
    .practice-preview { min-height: 310px; }
    .preview-body { min-height: 268px; }
    .preview-paper { padding: 22px 16px; }
    .preview-tools { padding: 14px; }
    .docs-main { padding-top: 28px; }
    .docs-hero { padding: 30px 24px; border-radius: 26px; }
    .article-section { padding: 28px 0; }
    .check-table { display: block; overflow-x: auto; white-space: nowrap; }
    .contact-box, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
    .brand small { display: none; }
    .hero-actions .button, .actions .button { width: 100%; }
    .visual-stage { min-height: 365px; }
    .ribbon { height: 84px; }
    .float-card.main { padding: 18px; }
    .mini-title { font-size: 20px; }
    .tools-grid { grid-template-columns: 1fr; }
    .tool-card { min-height: 172px; }
    .preview-paper { display: none; }
    .preview-body { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
