/* learn.css — /learn/* pages (SEO plan U7). Tokens copied from Samrajya Design System/
   colors_and_type.css, the same values index.html uses. Inter + DM Mono only, self-hosted
   (Law 7, R42); #080808 + radial overlay (Law 1); no light mode (Law 9). Edited in place,
   so deploy-homepage.sh serves it with a short cache, not immutable. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 900;font-display:swap;src:url("/_site/fonts/inter-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 900;font-display:swap;src:url("/_site/fonts/inter-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url("/_site/fonts/dm-mono-400-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;src:url("/_site/fonts/dm-mono-400-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url("/_site/fonts/dm-mono-500-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;src:url("/_site/fonts/dm-mono-500-latin.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
  --bg:#080808; --surface:#0E0E14; --card:#13131C;
  --border:rgba(255,255,255,.05); --border-md:rgba(255,255,255,.08); --border-hi:rgba(255,255,255,.12);
  --accent-2:#047857; --accent-3:#10B981;
  --text:#F1F5F9; --muted:#94A3B8; --subtle:#475569;
}
@media (prefers-contrast:more){ :root{--muted:#CBD5E1;--subtle:#94A3B8} }

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;color:var(--text);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:1.0625rem;line-height:1.7;-webkit-font-smoothing:antialiased;
  background:radial-gradient(ellipse at 50% -10%,rgba(16,185,129,.06),transparent 60%) no-repeat,var(--bg)}
a{color:var(--accent-3);text-underline-offset:.2em}
a:hover{color:var(--text)}
:focus-visible{outline:2px solid var(--accent-3);outline-offset:3px}

.ln-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;max-width:46rem;margin:0 auto;padding:1rem 1.25rem;border-bottom:.5px solid var(--border-md)}
.ln-brand{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;color:var(--text);text-decoration:none;font-weight:900;font-size:.9375rem;letter-spacing:.14em;text-transform:uppercase}
.ln-beta{font-family:'DM Mono',monospace;font-weight:500;font-size:.625rem;letter-spacing:.14em;color:var(--muted);border:.5px solid var(--border-hi);border-radius:6px;padding:.125rem .5rem}
.ln-signin{display:inline-flex;align-items:center;min-height:2.75rem;font-family:'DM Mono',monospace;font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);text-decoration:none;white-space:nowrap}
.ln-signin:hover{color:var(--accent-3)}
.ln-bar-links{display:flex;align-items:center;gap:1.25rem}

main{max-width:46rem;margin:0 auto;padding:1.5rem 1.25rem 3rem}
.ln-crumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;margin:0;padding:0;list-style:none;font-family:'DM Mono',monospace;font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.ln-crumbs li+li::before{content:'/';margin-right:.5rem;color:var(--subtle)}
.ln-crumbs a{display:inline-flex;align-items:center;min-height:2.75rem;color:var(--muted);text-decoration:none}
.ln-crumbs a:hover{color:var(--accent-3)}
.ln-crumbs [aria-current]{display:inline-flex;align-items:center;min-height:2.75rem;color:var(--text)}

h1{margin:.75rem 0 .75rem;font-weight:900;font-size:clamp(2rem,6vw,3rem);line-height:1.08;letter-spacing:-.03em}
h2{margin:2.5rem 0 .75rem;font-weight:800;font-size:1.5rem;line-height:1.25;letter-spacing:-.015em}
h3{margin:1.75rem 0 .5rem;font-weight:700;font-size:1.125rem;line-height:1.35;letter-spacing:-.005em}
p,ul,ol{margin:0 0 1.1rem}
li{margin:.3rem 0}
strong{color:var(--text);font-weight:700}
.ln-body,.ln-faq p{color:var(--text)}
.ln-byline{margin:0 0 2rem;font-family:'DM Mono',monospace;font-size:.75rem;letter-spacing:.06em;color:var(--muted)}
.ln-byline a{color:var(--muted)}
.ln-byline a:hover{color:var(--accent-3)}
img{display:block;max-width:100%;height:auto;margin:1.5rem 0 .5rem;border-radius:14px;border:.5px solid var(--border-hi)}
figcaption{font-family:'DM Mono',monospace;font-size:.75rem;color:var(--muted);margin-bottom:1.5rem}
blockquote{margin:1.5rem 0;padding:1rem 1.25rem;border-left:2px solid var(--accent-2);background:var(--surface);border-radius:0 10px 10px 0;color:var(--text)}

.ln-cta{margin:3rem 0 2rem;padding:1.5rem 1.25rem;background:var(--card);border:.5px solid var(--border-hi);border-radius:16px}
.ln-cta p{margin:0 0 1rem;color:var(--muted)}
.ln-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:0 1.5rem;border-radius:10px;background:var(--accent-2);color:var(--text);font-weight:600;font-size:.875rem;letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
.ln-cta a:hover{color:var(--text);box-shadow:0 6px 34px rgba(4,120,87,.45)}
.ln-related ul{padding:0;list-style:none}
.ln-related a{display:inline-flex;align-items:center;min-height:2.75rem}

.ln-foot{max-width:46rem;margin:0 auto;padding:1.5rem 1.25rem 2.5rem;border-top:.5px solid var(--border-md);display:flex;flex-wrap:wrap;gap:0 1.25rem;font-size:.875rem}
.ln-foot a{display:inline-flex;align-items:center;min-height:2.75rem;color:var(--muted);text-decoration:none}
.ln-foot a:hover{color:var(--accent-3)}

@media (prefers-reduced-motion:reduce){ *,*::before,*::after{transition-duration:.001ms !important} }
.ln-list{padding:0;list-style:none}
.ln-list li{margin:0 0 1.25rem;padding:0 0 1.25rem;border-bottom:.5px solid var(--border-md)}
.ln-list a{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:700;font-size:1.125rem}
.ln-list p{margin:.25rem 0 0;color:var(--muted)}
/* PH launch #62 U2: the launch pill (markup from scripts/build-seo.mjs, only when
   content/launches.json has a url). Same card as the app's pill: theme colours, the
   platform's orange only in its logo. The footer gains room so the pill never sits
   on its links. */
.ln-launch{position:fixed;left:max(1rem,env(safe-area-inset-left));bottom:max(1rem,env(safe-area-inset-bottom));z-index:10;display:flex;align-items:center;gap:.75rem;max-width:calc(100vw - 2rem);min-height:2.75rem;box-sizing:border-box;padding:.5rem 1rem .5rem .5rem;background:var(--card);border:1px solid var(--border-hi);border-radius:1.5rem;color:var(--text);text-decoration:none;line-height:1.3}
.ln-launch[hidden]{display:none}
.ln-launch:hover{color:var(--text);border-color:var(--accent-3)}
.ln-launch img{flex:none;width:28px;height:28px;border-radius:50%}
.ln-launch-lines{display:flex;flex-direction:column;min-width:0}
.ln-launch-l1{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-launch-l2{font-size:.875rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-has-launch .ln-foot{padding-bottom:6rem}
