/* Valmy public site: landing, login, learning library, lesson articles. Works without JavaScript. */

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.grey { color: var(--muted-2); }
.pixel-word { display: inline-block; margin-top: 6px; font-family: var(--pixel); font-weight: 900; font-size: 1.55em; line-height: 0.95; letter-spacing: -0.01em; color: var(--accent); }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(12,13,15,.86); backdrop-filter: blur(12px); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-nav { display: flex; gap: 24px; font-size: 14px; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-head .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* section button: a link to another part of the site (Learn), as tall and bold as the waitlist button */
.btn-section { position: relative; gap: 8px; padding: 0 14px 0 12px; background: var(--surface-2); border-color: var(--border-3); color: var(--text); }
.btn-section:hover { background: var(--surface-3); color: #FFFFFF; }
.btn-section svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.btn-section[aria-current] { background: var(--surface-4); }
.site-head .btn-section[aria-current]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -18px; height: 2px; background: var(--accent); }
.mnav { display: none; }
.mnav > summary { list-style: none; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 68px); height: calc(100dvh - 68px); z-index: 40; overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); padding: 8px clamp(20px, 4vw, 48px) 24px; display: flex; flex-direction: column; }
.mnav-panel a { padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--text-2); font-size: 17px; }
.mnav-panel .btn { margin-top: 18px; height: 48px; }
/* tablets and phones: 44 px targets, the menu icon optically aligned with the gutter */
@media (max-width: 960px) {
  .site-head .actions { gap: 8px; }
  .site-head .actions > .btn { height: 44px; }
  .site-head .btn-section[aria-current]::after { bottom: -14px; }
  .mnav > summary.icon-btn { width: 44px; height: 44px; margin-right: -12px; }
  .mnav > summary.icon-btn:hover { background: transparent; border-color: transparent; }
  .mnav[open] > summary.icon-btn { color: var(--text); }
}
/* narrow phones: shorter waitlist label, then Learn as a word, then as an icon */
@media (max-width: 419px) {
  .site-head .hide-sm { display: none; }
}
@media (max-width: 374px) {
  .btn-section { padding: 0 14px; }
  .btn-section svg { display: none; }
}
@media (max-width: 349px) {
  .site-head .actions { gap: 6px; }
  .site-head .actions > .btn-light { padding: 0 10px; }
  .btn-section { width: 44px; padding: 0; }
  .btn-section svg { display: block; }
  .btn-section .lbl { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}

/* sections */
.sec { border-top: 1px solid var(--line); }
.sec-alt { background: var(--bg-alt); }
.sec > .wrap { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
.sec-intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 620px; }
.h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero .dotgrid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(237,238,240,0.11) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 55% 70% at 76% 42%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 55% 70% at 76% 42%, #000 15%, transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(96px, 8vw, 120px); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.h1 { margin: 0; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.hero-sub { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.wl-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 560px; }
.wl-input { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; background: #111317; border: 1px solid var(--border-2); border-radius: 8px; font-family: var(--mono); }
.wl-input:focus-within { border-color: var(--accent); }
.wl-input span { color: var(--accent); font-size: 18px; line-height: 1; }
.wl-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 15px; }
.wl-form .btn { height: 56px; padding: 0 16px 0 22px; font-size: 15px; gap: 14px; }
.fine { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--muted-3); }
.fine a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }

/* what-is spec sheet */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.spec dl { margin: 0; border-top: 1px solid var(--line-2); }
.spec dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-3); }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 8vw, 112px); }
.feature.flip > .f-copy { order: 2; }
.f-copy { display: flex; flex-direction: column; gap: 20px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text-3); }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; background: var(--accent); border-radius: 1px; }
.panel { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); }
.panel-head .t { color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }

/* safety grid */
.safety { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.safety > div { background: var(--bg); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.safety .ic-box { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--border); color: var(--accent); }
.safety .ic-box svg { width: 19px; height: 19px; }

/* real screenshots */
.hero .wrap.hero-stack { grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); padding-bottom: clamp(72px, 8vw, 112px); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px clamp(40px, 5vw, 72px); align-items: end; }
.hero-split .hero-copy { gap: 22px; }
.hero-split .h1 { font-size: clamp(40px, 5vw, 72px); }
.shot { margin: 0; overflow: hidden; background: #0C0D0F; }
.shot img { display: block; width: 100%; height: auto; }
.shot-desktop { border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.95); }
.shot-phone { border: 1px solid #343941; border-radius: 30px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.9); }
.shot-panel { border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); max-width: 560px; }
.showcase { position: relative; margin: 0; padding: 0 clamp(48px, 9vw, 128px) clamp(56px, 7vw, 96px) 0; }
.showcase .shot-phone { position: absolute; right: 0; bottom: 0; width: clamp(140px, 23%, 280px); }
.shot-solo { width: min(300px, 78%); justify-self: center; }
.h2-sm { font-size: clamp(28px, 2.8vw, 40px); }
.f-copy .ticks a { color: var(--text); text-decoration: underline; text-decoration-color: #4A505A; text-underline-offset: 3px; }
.safety-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cta-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(237,238,240,0.09) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 10%, transparent 70%); }

/* cta + footer */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta .wl-form { justify-content: center; }
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.foot-links a { color: var(--text-3); }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted-3); }
.foot-bottom p { margin: 0; max-width: 620px; }

/* ---------- login ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { position: relative; overflow: hidden; border-right: 1px solid var(--line); background: var(--bg-alt); display: flex; flex-direction: column; padding: 28px clamp(24px, 4vw, 56px); }
.auth-side .dotgrid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(237,238,240,0.10) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%); }
.auth-side > * { position: relative; }
.auth-quote { margin: auto 0; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 64px); }
.auth-main .top { display: flex; justify-content: flex-end; }
.auth-form { width: 100%; max-width: 380px; margin: auto; display: flex; flex-direction: column; gap: 18px; padding: 32px 0; }
.auth-form h1 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; }
.auth-form .input { height: 48px; }
.auth-form .btn { height: 48px; width: 100%; font-size: 15px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.auth-row a { color: var(--text-3); text-decoration: underline; text-decoration-color: #3A3F48; text-underline-offset: 3px; }
.notice { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.notice b { color: var(--text-2); font-weight: 500; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { height: 54px; text-align: center; font-family: var(--mono); font-size: 20px; padding: 0; }


.wl-mark-lg { display: grid; grid-template-columns: repeat(5, 12px); gap: 3px; margin-bottom: 8px; }
.wl-mark-lg i { width: 12px; height: 12px; background: #1F2328; border-radius: 1px; }
.wl-mark-lg i.on { background: var(--accent); }
.status-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.status-list li { display: flex; align-items: center; gap: 10px; }
.show-auth-sm { display: none; }
.auth-main .top { align-items: center; justify-content: space-between; }
.auth-main .top .btn { margin-left: auto; }
@media (max-width: 960px) { .show-auth-sm { display: inline-flex; } }

/* ---------- learning library ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--muted-3); }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #3A3F48; }
.empty-q { margin: 24px 0 0; color: var(--muted); }
.lib-hero .wrap { align-items: flex-start; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.lib-search { display: flex; gap: 10px; width: 100%; max-width: 640px; }
.lib-search .input { flex: 1; }
.lib-search .input { height: 52px; font-size: 16px; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.path-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); }
.path-card:hover { border-color: #4A505A; color: var(--text); }
.path-card b { font-size: 16px; font-weight: 600; }
.path-card span { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }
.path-card .steps-n { font-family: var(--mono); font-size: 11.5px; color: var(--muted-3); }
.track { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 44px 0; border-top: 1px solid var(--line-2); }
.track:first-of-type { border-top: 0; }
.track-head { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 92px; align-self: start; }
.track-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.025em; font-weight: 600; }
.track-head p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.track-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-2); }
.track-list li a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-2); color: var(--text-2); }
.track-list li a:hover { color: #FFFFFF; }
.track-list li a:hover .t { text-decoration: underline; text-decoration-color: #4A505A; text-underline-offset: 4px; }
.track-list .id { font-family: var(--mono); font-size: 11.5px; color: var(--muted-3); }
.track-list .t { font-size: 16px; line-height: 1.45; }
.track-list .lv { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted-3); white-space: nowrap; }

/* ---------- lesson article ---------- */
.art-head .wrap { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 36px; display: flex; flex-direction: column; gap: 22px; }
.art-head h1 { margin: 0; max-width: 900px; font-size: clamp(34px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.038em; font-weight: 600; text-wrap: balance; }
.art-sum { margin: 0; max-width: 760px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted-3); }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) 260px; gap: clamp(28px, 3vw, 44px); padding-top: 40px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.toc .label { display: block; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--muted-2); }
.toc li a:hover { color: var(--text); border-left-color: #4A505A; }
.toc li.sub a { padding-left: 26px; font-size: 13px; color: var(--muted-3); }
.prose { min-width: 0; font-size: 17px; line-height: 1.72; color: var(--text-3); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 52px 0 18px; font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; color: var(--text); scroll-margin-top: 92px; }
.prose h3 { margin: 36px 0 14px; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; color: var(--text); scroll-margin-top: 92px; }
.prose h2 .anchor, .prose h3 .anchor { margin-left: 8px; font-family: var(--mono); font-size: .7em; color: #3A3F48; opacity: 0; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus { opacity: 1; color: var(--muted-3); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--muted-3); }
.prose code { font-family: var(--mono); font-size: .86em; padding: 1px 6px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); }
.prose pre { overflow-x: auto; }
.prose :not(pre) > code { overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14.5px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); color: var(--text-2); font-variant-numeric: tabular-nums; }
.prose figure { margin: 8px 0 28px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #1a1a19; }
.prose figure img { margin: 0 auto; width: 100%; max-width: 480px; height: auto; }
.prose figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted-2); }
.prose .note { margin: 0 0 22px; padding: 14px 16px; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface); font-size: 15px; line-height: 1.65; color: var(--text-3); }
.prose .note b.k { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.prose .note.guide { border-left-color: var(--border-3); }
.prose .note.guide b.k { color: var(--muted-2); }
.prose details.answer { margin: 0 0 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.prose details.answer > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 500; color: var(--text); }
.prose details.answer > summary::-webkit-details-marker { display: none; }
.prose details.answer > summary .plus { color: var(--accent); font-family: var(--mono); font-size: 18px; transition: transform .15s; }
.prose details.answer[open] > summary .plus { transform: rotate(45deg); }
.prose details.answer > div { padding: 0 18px 4px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.prose .fine-print { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.prose .fine-print li { margin: 8px 0; }
.aside-col { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.try-card { padding: 18px; border: 1px solid var(--accent-line); border-radius: 12px; background: linear-gradient(0deg, rgba(200,245,96,.035), rgba(200,245,96,.035)), var(--surface); display: flex; flex-direction: column; gap: 12px; }
.try-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.rel-card { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.rel-card ul { list-style: none; margin: 10px 0 0; padding: 0; }
.rel-card li a { display: block; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.rel-card li:first-child a { border-top: 0; }
.rel-card li a:hover { color: #FFFFFF; }
.rel-card .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); display: block; }
.art-foot { border-top: 1px solid var(--line); }
.art-foot .wrap { padding-top: 40px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface); }
.pn:hover { border-color: #4A505A; color: var(--text); }
.pn .label { color: var(--muted-3); }
.pn b { font-size: 16px; font-weight: 500; line-height: 1.4; }
.pn.next { text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .art-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .prose { max-width: 720px; }
  .aside-col { position: static; grid-column: 2; }
}
@media (max-width: 960px) {
  .site-nav, .site-head .actions .hide-md { display: none; }
  .mnav { display: block; }
  .site-head .wrap { gap: 12px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 104px; }
  .spec, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > .f-copy { order: 0; }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .safety, .safety-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .shot-panel { max-width: none; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .track { grid-template-columns: minmax(0, 1fr); padding: 32px 0; }
  .track-head { position: static; }
  .art-grid { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); }
  .aside-col { grid-column: 1; }
}
@media (max-width: 620px) {
  .spec dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 24px; margin-top: 40px; }
  .prose figure { padding: 10px; margin-left: -4px; margin-right: -4px; }
  .art-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .pn.next { text-align: left; }
  .wl-form .btn { width: 100%; justify-content: center; }
  .showcase { padding: 0 0 28% 0; }
  .showcase .shot-phone { right: 8px; width: 34%; border-radius: 18px; }
  .hero .wrap { padding-bottom: 64px; }
}
