:root{--ink:#20313d;--muted:#526370;--paper:#fcfcfa;--line:#dce4e7;--purple:#176578;--deep:#15596b;--accent:#d8f0ed;--soft:#edf6f5;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #176578;outline-offset:5px}
.skip-link{position:absolute;top:-100px;left:15px;z-index:5;background:white;padding:12px}
.skip-link:focus{top:12px}
.preview-banner{background:#edf3f3;text-align:center;padding:8px 18px;font-size:10px;font-weight:750;letter-spacing:1.1px;color:#425d67}
.preview-banner span{margin-left:14px;font-weight:450;letter-spacing:0;font-size:12px}
.site-header,.section,.principles,.about-strip,.site-footer,.editorial-note{max-width:1180px;margin-inline:auto}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:27px 24px}
.brand{display:flex;align-items:center;gap:12px;line-height:1.2;font-size:19px;font-weight:750;letter-spacing:-.7px}
.brand-mark{background:var(--deep);color:white;width:44px;height:44px;border-radius:12px;font-size:35px;text-align:center;line-height:40px;font-family:Georgia,serif}
.brand-mark span{color:var(--accent)}
.brand-sub{display:block;font-size:8px;letter-spacing:1.7px;margin-top:5px;color:var(--muted)}
.site-header nav{display:flex;gap:27px;font-size:13px;font-weight:550}
.site-header nav a:hover,.text-link:hover{color:var(--purple)}
.header-cta{font-size:12px;font-weight:650;border:1px solid var(--line);border-radius:8px;padding:11px 15px}
.header-cta span{margin-left:10px}
.hero{max-width:1320px;margin:6px auto 0;background:var(--soft);color:var(--ink);border:1px solid #dcebe8;border-radius:24px;padding:72px clamp(28px,6vw,95px);display:grid;grid-template-columns:1.2fr 1fr;gap:55px;align-items:center;overflow:hidden}
.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;margin:0 0 16px;color:var(--purple)}
.hero .eyebrow{color:var(--purple);font-size:9px;letter-spacing:1.4px}
.status-dot{display:inline-block;width:6px;height:6px;background:#24765d;border-radius:50%;margin-right:7px;vertical-align:1px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(36px,3.8vw,54px);line-height:1.13;letter-spacing:-2.3px;font-weight:650;margin-bottom:24px}
h1 em{font-family:Georgia,serif;font-weight:400;color:var(--purple)}
.hero-description{font-size:15px;color:var(--muted);max-width:470px;line-height:1.8;margin-bottom:28px}
.hero-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 18px;font-size:12px;font-weight:700;border-radius:9px;line-height:1.4;transition:background .15s,transform .15s}
.button:hover{transform:translateY(-2px)}
.button-light{background:var(--deep);color:#fff}
.hero-secondary{font-size:12px;color:var(--purple)}
.hero-note{font-size:11px;color:var(--muted);margin:18px 0 0}
.code-card{background:#fff;border:1px solid #cbdedb;border-radius:14px;box-shadow:0 20px 60px #214e4910;transform:rotate(1deg)}
.code-title{padding:16px 14px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted)}
.window-dots{display:flex;gap:4px}.window-dots i{width:7px;height:7px;border-radius:50%;background:#b49e98}.window-dots i:nth-child(2){background:#c2b387}.window-dots i:nth-child(3){background:#8da99e}
.swift-label{margin-left:auto;font-size:8px;letter-spacing:1px}
pre{padding:22px;margin:0;overflow:auto;font-size:12px;line-height:1.9;color:var(--ink);tab-size:4}
code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.comment{color:#5d6c76}.keyword{color:#80446d}.type{color:#305f91}.function{color:#176578}.string{color:#346b35}
.code-output{padding:13px 22px;background:#f2f7f6;color:#345763;font:11px/1.5 ui-monospace,monospace}
.code-output>span:first-child{color:#526370;margin-right:10px}.cursor{display:inline-block;width:6px;height:12px;background:#176578;margin-left:10px;vertical-align:-2px}
.code-caption{padding:12px 22px;color:var(--muted);font-size:9px}
.principles{display:flex;justify-content:space-between;gap:20px;padding:26px 24px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.principles strong{color:var(--purple);font-size:10px;margin-right:10px}
.section{padding:66px 24px 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.section-heading .eyebrow{margin-bottom:9px}
h2{font-size:30px;font-weight:650;line-height:1.2;letter-spacing:-1px;margin-bottom:0}
.section-heading>p{max-width:260px;color:var(--muted);font-size:13px;margin:0}
.starting-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.start-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:border-color .15s,transform .15s}
.start-card:hover{border-color:#608e97;transform:translateY(-3px)}
.card-icon{display:inline-flex;align-items:center;justify-content:center;align-self:start;min-width:40px;height:40px;border-radius:11px;background:var(--soft);color:var(--purple);font:18px ui-monospace,monospace;margin-bottom:21px}
h3{font-size:18px;line-height:1.4;letter-spacing:-.4px;margin-bottom:10px}
.start-card p{font-size:13px;color:var(--muted);margin-bottom:25px}
.text-link{font-size:12px;font-weight:700;margin-top:auto;color:var(--purple)}
.pill{display:inline-block;font-size:10px;line-height:1.5;color:var(--purple);background:var(--soft);padding:6px 11px;border-radius:20px;white-space:nowrap}
.section-intro{max-width:730px;color:var(--muted);font-size:13px;margin-bottom:26px}
.paths-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.path-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;scroll-margin-top:24px}
.path-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.path-number{font:italic 35px Georgia,serif;color:#527987}
.path-card h3{font-size:23px}.path-card>p{font-size:13px;color:var(--muted);max-width:400px}
.path-card .path-meta{font-size:10px;margin-top:22px;margin-bottom:7px;text-transform:uppercase;letter-spacing:.8px}
.reading-list{list-style:none;padding:0;counter-reset:reading;margin:0 0 25px}
.reading-list li{counter-increment:reading;border-bottom:1px solid var(--line);display:flex;align-items:baseline;gap:12px}
.reading-list li::before{content:counter(reading,decimal-leading-zero);font:10px ui-monospace,monospace;color:var(--muted)}
.reading-list a{flex:1;display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:13px 0}
.reading-list a:hover{color:var(--purple)}
.button-outline{border:1px solid #9aafb5;background:transparent;color:var(--purple)}
.button-outline:hover{background:var(--soft)}
.search-form label{font-size:12px;font-weight:650;display:block;margin-bottom:8px}
.search-input{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #7d969f;border-radius:10px;padding:5px 6px 5px 16px}
.search-input>span{font-size:24px;color:var(--muted)}
.search-input input::placeholder{color:var(--muted);opacity:1}
.search-input input{width:100%;min-width:0;border:0;background:transparent;padding:10px 0;color:var(--ink);font-size:14px}
.search-input button{padding:10px 20px;background:var(--deep);color:#fff;border:0;border-radius:7px;font-size:12px;cursor:pointer}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}
.filters button{border:1px solid #7d969f;border-radius:20px;padding:7px 14px;background:transparent;color:var(--muted);font-size:11px;cursor:pointer}
.filters button[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:white}
.result-count{font-size:11px;color:var(--muted);margin-bottom:17px;min-height:19px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.article-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;display:flex;flex-direction:column;min-height:200px}
.article-card:hover{border-color:#608e97}
.article-topic{font-size:9px;color:var(--purple);letter-spacing:.9px;text-transform:uppercase;font-weight:700;margin-bottom:14px}
.article-card h3{font-size:16px}
.article-card p{font-size:12px;color:var(--muted);margin-bottom:18px}
.article-card .article-footer{display:flex;justify-content:space-between;align-items:center;color:var(--purple);font-size:11px;font-weight:650;margin-top:auto}
.article-footer small{font-size:9px;color:var(--muted);font-weight:450}
.library-note{font-size:11px;color:var(--muted);margin-top:22px}
.empty-state{padding:30px;border:1px dashed #7d969f;border-radius:12px;color:var(--muted)}
.about-strip{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:44px;margin-top:65px;background:var(--soft);border-radius:var(--radius)}
.about-strip h2{margin-bottom:14px}.about-strip p:last-child{max-width:650px;font-size:14px;color:var(--muted);margin-bottom:0}
.about-strip .button{flex-shrink:0}
.editorial-note{margin-top:30px;padding:24px;color:var(--muted);border-top:1px solid var(--line)}
.editorial-note h2{font-size:16px;letter-spacing:0;margin-bottom:12px}
.editorial-note p{font-size:12px;margin-bottom:10px}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 24px 40px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.brand-text{font-weight:750;font-size:14px;color:var(--ink)}
[hidden]{display:none!important}
@media(min-width:1500px){.hero{margin-top:12px}}
@media(max-width:1000px){.hero{margin-inline:16px;gap:25px;padding:45px 32px}.header-cta{display:none}.starting-points{gap:12px}.start-card{padding:21px}.article-grid{grid-template-columns:repeat(2,1fr)}.about-strip{margin-inline:24px}}
@media(max-width:700px){.preview-banner{font-size:9px}.preview-banner span{display:block;margin:4px 0 0;font-size:10px}.site-header{flex-wrap:wrap;gap:20px;padding:20px}.site-header nav{gap:20px;font-size:12px;width:100%;justify-content:space-between}.hero{grid-template-columns:1fr;padding:35px 24px;gap:30px;border-radius:18px}.hero .eyebrow{font-size:8px}h1{font-size:39px;letter-spacing:-1.6px}.hero-description{font-size:14px}.hero-actions{gap:18px}.code-card{transform:none}.code-title{font-size:8px;gap:10px}.principles{font-size:10px;padding:22px 20px;gap:14px}.principles strong{display:block;margin-bottom:4px}.section{padding:45px 20px 0}.section-heading{align-items:start;flex-direction:column;gap:13px}h2{font-size:27px}.section-heading>p{max-width:none}.starting-points,.paths-grid{grid-template-columns:1fr}.start-card{padding:24px}.card-icon{margin-bottom:14px}.path-card{padding:24px}.article-grid{grid-template-columns:1fr}.article-card{min-height:175px}.filters{gap:7px}.filters button{font-size:10px;padding:7px 11px}.about-strip{margin:45px 20px 0;padding:27px;align-items:start;flex-direction:column}.site-footer{flex-wrap:wrap;padding:25px 20px}.editorial-note{padding:24px 20px}.site-footer>span{order:3;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
