* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--brand-text); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.shell { max-width: 1160px; margin: auto; border-inline: 1px solid var(--line); }
header { min-height: 88px; display: flex; align-items: center; gap: 22px; padding: 20px 48px; border-bottom: 1px solid var(--line); }
header img { display: block; object-fit: contain; }
.path, nav, .mono, .meta, .detail, .button, .text-link, .filename, .window-bar, .personal-note a { font-family: var(--font-mono); }
.path { color: var(--fg-muted); font-size: 13px; }
nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
nav a { padding-block: 10px; text-decoration: none; }
.hero { padding: 80px 48px 72px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
.meta { color: var(--fg-muted); font-size: 12px; margin-bottom: 24px; }
.meta span { color: var(--brand); }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.3; }
.cursor { animation: none; }
.lead { margin-top: 26px; color: var(--fg-strong); font-size: 21px; line-height: 1.5; }
.intro { margin-top: 20px; max-width: 49ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 17px; font-size: 13px; text-decoration: none; color: var(--fg); transition: background-color 150ms var(--ease-out-expo); }
.button:hover { border-color: var(--brand); }
.primary { background: var(--brand-solid); color: var(--on-brand); border-color: transparent; }
.primary:hover { background: var(--brand-solid-hover); color: var(--on-brand); border-color: transparent; }
.text-link { font-size: 12px; }
.detail { color: var(--fg-muted); font-size: 11px; margin-top: 16px; }
.code-window { min-width: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-1); }
.window-bar { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-strong); padding: 12px 20px; font-size: 12px; color: var(--fg-muted); }
pre { margin: 0; padding: 28px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.9; color: var(--fg-strong); }
pre code { font-size: inherit; }
.tag { color: var(--brand-text); }.comment { color: var(--fg-muted); }.highlight { color: var(--fg); }
.rendered { border-top: 1px solid var(--line-strong); padding: 24px 22px; }
.rendered p { font: 600 clamp(1.5rem, 2.5vw, 2rem)/1.4 var(--font-mono); color: var(--fg); margin: 12px 0 8px; }.rendered p span { color: var(--brand); }.rendered small { font-size: 13px; color: var(--fg-body); }
.section { padding: 60px 48px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-head { margin-bottom: 32px; }.section-head .meta, .example .meta { margin-bottom: 16px; }
.file-row { display: grid; grid-template-columns: 150px 205px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }.file-row:last-child { border-bottom: 1px solid var(--line); }
.filename { font-size: 14px; color: var(--fg); }.file-row strong { font-size: 15px; font-weight: 500; color: var(--fg-strong); }.file-row p { font-size: 14px; }
.start { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
ol { margin: 0; padding-left: 24px; }li { padding-left: 12px; margin-bottom: 24px; }li:last-child { margin: 0; }li::marker { font: 14px var(--font-mono); color: var(--brand-text); }li strong { color: var(--fg-strong); font-weight: 500; }li p { margin-top: 5px; }
.example { display: grid; grid-template-columns: 1.3fr 1fr; gap: 55px; align-items: center; }
.personal-note { padding: 28px; border: 1px solid var(--brand-line); border-radius: 8px; background: var(--brand-tint); }.personal-note .mono { font-size: 12px; color: var(--brand-text); }.personal-note p { margin: 18px 0 24px; color: var(--fg-strong); }.personal-note a { font-size: 12px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 48px; border-top: 1px solid var(--line); }footer p { font-size: 12px; }footer .mono { font-size: 10px; color: var(--fg-muted); }
.skip { position: absolute; top: 10px; left: 10px; transform: translateY(-180%); background: var(--bg); padding: 12px; }.skip:focus { transform: none; }
@media (prefers-reduced-motion: no-preference) { .hero { animation: appear 600ms var(--ease-out-expo); } @keyframes appear { from { opacity: 0.6; transform: translateY(12px); } to { opacity: 1; transform: none; } } }
@media (max-width: 900px) { header, .section, footer { padding-inline: 28px; }.hero { padding: 55px 28px; gap: 28px; grid-template-columns: 1fr; }.code-window { max-width: 600px; }.file-row { grid-template-columns: 130px 1fr; }.file-row p { grid-column: 2; }.start, .example { gap: 32px; } }
@media (max-width: 600px) { header { padding: 18px 20px; gap: 12px; min-height: 72px; }header img { width: 82px; }nav { gap: 16px; font-size: 12px; }.path { font-size: 11px; }.hero { padding: 44px 20px; }.section { padding: 40px 20px; }.meta { font-size: 11px; }h1 { font-size: clamp(2rem, 8vw, 2.8rem); }.lead { font-size: 19px; }.start, .example { grid-template-columns: 1fr; }.file-row { grid-template-columns: 1fr; gap: 6px; }.file-row p { grid-column: auto; }.file-row strong { margin-top: 4px; }footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }.personal-note { padding: 22px; } }
@media (max-width: 360px) { .path { display: none; } }
