:root {
    --accent:#0891b2;
    --ink:#164e63;
    --paper:#f0fdff;
    --line:color-mix(in srgb,var(--ink) 15%,white)
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font:16px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif
}
.wrap {
    width:min(1160px,calc(100% - 36px));
    margin:auto
}
.top {
    background:#fff;
    border-bottom:5px solid var(--accent)
}
.bar {
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:center;
    padding:18px 0
}
.brand {
    display:flex;
    gap:12px;
    align-items:center;
    color:var(--ink);
    text-decoration:none
}
.mark {
    background:var(--accent);
    color:#fff;
    padding:10px 12px;
    font-weight:800;
    font-size:12px;
    letter-spacing:.08em
}
.brand b {
    font-size:18px
}
.brand small {
    display:block;
    color:#64748b;
    font-size:12px
}
nav {
    display:flex;
    gap:6px;
    flex-wrap:wrap
}
nav a,.foot a {
    color:var(--ink);
    text-decoration:none;
    padding:7px 10px
}
nav a:hover,nav a[aria-current=page] {
    color:var(--accent);
    background:var(--paper)
}
.hero {
    padding:72px 0 52px;
    background:linear-gradient(135deg,var(--paper),#fff)
}
.hero-grid {
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:42px;
    align-items:end
}
.eyebrow {
    color:var(--accent);
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase
}
.hero h1,.head h1 {
    font-size:clamp(34px,5vw,62px);
    line-height:1.08;
    margin:12px 0 18px;
    max-width:820px
}
.hero p,.head p {
    font-size:19px;
    color:#475569;
    max-width:780px
}
.signal {
    background:#fff;
    border-left:6px solid var(--accent);
    padding:24px
}
.section {
    padding:48px 0
}
.section h2 {
    font-size:30px;
    line-height:1.2
}
.lead {
    color:#64748b;
    max-width:780px
}
.grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:26px
}
.card {
    background:#fff;
    border:1px solid var(--line);
    padding:22px;
    min-height:180px;
    box-shadow:0 12px 24px #1725540d
}
.card h3 {
    line-height:1.3
}
.card a,.article a {
    color:var(--accent);
    font-weight:700
}
.head {
    padding:54px 0 30px;
    border-bottom:1px solid var(--line)
}
.head h1 {
    font-size:clamp(30px,4vw,48px)
}
.reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 260px;
    gap:32px;
    padding:38px 0
}
.article {
    background:#fff;
    border:1px solid var(--line);
    padding:clamp(22px,4vw,52px)
}
.article h2 {
    margin-top:34px;
    line-height:1.25
}
.side {
    height:max-content;
    position:sticky;
    top:20px;
    background:#fff;
    border-top:6px solid var(--accent);
    padding:20px
}
.side a {
    display:block;
    color:var(--ink);
    padding:8px 0;
    border-bottom:1px solid var(--line);
    text-decoration:none
}
.pager {
    display:flex;
    justify-content:space-between;
    gap:14px;
    border-top:1px solid var(--line);
    margin-top:34px;
    padding-top:20px
}
.foot {
    background:var(--ink);
    color:#e2e8f0;
    padding:42px 0 18px;
    margin-top:54px
}
.foot a {
    display:block;
    color:#e2e8f0;
    padding:3px 0
}
.foot p {
    color:#cbd5e1
}
.footgrid {
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:28px
}
.bottom {
    border-top:1px solid #ffffff33;
    margin-top:28px;
    padding-top:13px;
    font-size:13px;
    color:#cbd5e1
}
.byline {
    font-size:14px!important;
    color:#64748b!important
}
.provenance {
    margin-top:24px;
    padding-top:16px;
    border-top:1px solid var(--line);
    font-size:14px
}
.provenance p {
    font-size:14px!important
}
.layout-editorial .hero h1,.layout-editorial .head h1 {
    font-family:Georgia,serif
}
.layout-dashboard .card {
    border-radius:14px
}
.layout-magazine .section:nth-child(even) {
    background:#fff
}
.layout-office .article {
    border-top:8px solid var(--accent)
}
.layout-ribbon .hero {
    border-right:12px solid var(--accent)
}
@media(max-width:800px) {
    .bar,.hero-grid,.reading {
    display:block
}
.bar nav {
    margin-top:14px
}
.grid,.footgrid {
    grid-template-columns:1fr
}
.side {
    position:static;
    margin-top:20px
}
.hero {
    padding:46px 0 30px
}
.pager {
    display:grid
}

}
.layout-rail {
    background:#f0fdfa
}
.layout-rail .top {
    position:sticky;
    top:0;
    z-index:5
}
.layout-rail .bar {
    max-width:1020px
}
.layout-rail .hero {
    padding-left:8vw;
    border-left:18px solid var(--accent)
}
.layout-rail .grid {
    grid-template-columns:repeat(2,1fr)
}
.layout-rail .card {
    border-left:5px solid var(--accent);
    box-shadow:none
}
.template-qa .bar {
    padding-bottom:12px
}
.qa-nav {
    padding:0 0 14px;
    display:flex;
    gap:8px
}
.ask-label {
    font-size:13px;
    color:#64748b
}
.qa-hero {
    padding:72px 0;
    background:#ecfeff;
    border-bottom:1px solid #a5f3fc
}
.qa-hero h1 {
    font-size:clamp(38px,6vw,70px);
    max-width:760px
}
.fake-search {
    display:flex;
    gap:8px;
    max-width:680px;
    margin-top:26px
}
.fake-search label {
    position:absolute;
    left:-9999px
}
.fake-search input {
    flex:1;
    padding:14px;
    border:1px solid #67e8f9;
    font-size:16px
}
.fake-search button {
    padding:14px 20px;
    border:0;
    background:#0e7490;
    color:#fff;
    font-weight:800
}
.qa-list {
    padding:44px 0
}
.qa-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}
.qa-grid .card {
    min-height:160px
}
.qa-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) 220px;
    gap:28px;
    padding:40px 0
}
.qa-related {
    border-left:3px solid var(--accent);
    padding:20px;
    height:max-content
}
.qa-related a {
    display:block;
    padding:9px 0
}
.template-intro {
    padding:14px 18px;
    border-left:4px solid var(--accent);
    background:color-mix(in srgb,var(--accent) 7%,white)
}
.atlas-article-cover {
    padding:70px 0;
    background:#dceeff
}
.atlas-article-cover h1 {
    font-size:clamp(38px,6vw,72px);
    max-width:900px
}
.atlas-article-layout {
    display:grid;
    grid-template-columns:160px minmax(0,1fr) 220px;
    gap:30px;
    padding:42px 0
}
.atlas-outline,.atlas-facts {
    height:max-content;
    border-top:4px solid #1476b8;
    padding-top:14px
}
.atlas-outline a,.atlas-facts a {
    display:block;
    padding:8px 0
}
.atlas-prose {
    background:#fff;
    padding:36px 52px;
    border:1px solid #dbeafe
}
.console-article-head {
    padding:54px 0 34px;
    background:#111c31;
    color:#dbeafe
}
.console-article-head h1 {
    font-size:50px;
    max-width:850px
}
.console-article-layout {
    display:grid;
    grid-template-columns:1fr 190px;
    gap:20px;
    padding:36px 0;
    background:#0b1220
}
.console-prose {
    background:#111c31;
    border:1px solid #243b5a;
    padding:36px;
    color:#dbeafe
}
.console-prose h2 {
    color:#93c5fd
}
.console-log {
    color:#94a3b8;
    padding:16px;
    border:1px solid #243b5a;
    height:max-content
}
.console-log a,.console-log span {
    display:block;
    padding:8px 0;
    color:#60a5fa
}
.magazine-article-head {
    padding:78px 0 50px;
    background:#f0dfc2
}
.magazine-article-head h1 {
    font-family:Georgia,serif;
    font-size:clamp(40px,6vw,80px);
    max-width:900px
}
.magazine-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 230px;
    gap:42px;
    padding:48px 0
}
.magazine-prose {
    font-family:Georgia,serif;
    font-size:18px;
    line-height:1.9
}
.magazine-prose h2 {
    font-size:32px
}
.magazine-aside {
    border-top:4px solid #9a3412;
    padding-top:14px;
    height:max-content
}
.magazine-aside a {
    display:block;
    color:#9a3412;
    padding:8px 0
}
.starter-article-head {
    padding:58px 0 30px;
    background:#ffd66b
}
.starter-article-head h1 {
    font-size:clamp(36px,5vw,64px);
    max-width:860px
}
.starter-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 210px;
    gap:30px;
    padding:42px 0
}
.starter-prose {
    background:#fff;
    padding:34px;
    border:2px solid #1c1917
}
.starter-next {
    height:max-content;
    border:2px solid #1c1917;
    padding:18px
}
.starter-next a {
    display:block;
    padding:9px 0
}
.field-article-head {
    padding:62px 0 34px;
    background:repeating-linear-gradient(0deg,#edf0e6 0,#edf0e6 1px,#fbfbf7 1px,#fbfbf7 32px)
}
.field-article-head h1 {
    font-family:Georgia,serif;
    font-size:54px;
    max-width:900px
}
.field-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    gap:30px;
    padding:40px 0
}
.field-prose {
    padding:12px 34px 34px;
    border-left:3px solid #166534;
    border-right:1px dashed #9ca3af
}
.field-margin {
    font:13px ui-monospace,monospace;
    border-top:2px solid #166534;
    padding-top:14px
}
.chapter-head {
    padding:62px 0 36px;
    background:#1c1917;
    color:#fef3c7
}
.chapter-head h1 {
    font-family:Georgia,serif;
    font-size:58px;
    max-width:850px
}
.textbook-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    gap:34px;
    padding:44px 0
}
.textbook-prose {
    font-size:17px;
    line-height:1.95
}
.textbook-margin {
    border-left:1px solid #d6d3d1;
    padding-left:18px;
    height:max-content
}
.textbook-margin a {
    display:block;
    padding:8px 0
}
.term-head {
    padding:58px 0 30px;
    background:#e2e8f0
}
.term-head h1 {
    font-size:52px;
    max-width:850px
}
.dictionary-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 230px;
    gap:26px;
    padding:40px 0
}
.dictionary-prose {
    background:#fff;
    padding:30px;
    border-top:4px solid #475569
}
.term-facts {
    padding:18px;
    background:#e2e8f0;
    height:max-content
}
.term-facts p {
    font-size:14px
}
.lesson-head {
    padding:58px 0 35px;
    background:#312e81;
    color:#eef2ff
}
.lesson-head h1 {
    font-size:54px;
    max-width:880px
}
.lesson-meter {
    height:8px;
    background:#4c1d95;
    max-width:620px;
    margin-top:26px
}
.lesson-meter span {
    display:block;
    height:100%;
    background:#a5b4fc
}
.course-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    gap:28px;
    padding:42px 0
}
.course-prose {
    background:#fff;
    padding:34px;
    box-shadow:0 4px 16px #312e8114
}
.lesson-next {
    background:#eef2ff;
    padding:18px;
    height:max-content
}
.lesson-next p {
    font-size:36px;
    font-weight:800;
    color:#4338ca
}
.library-article-head {
    padding:54px 0 30px;
    background:#dcfce7
}
.library-article-head h1 {
    font-family:Georgia,serif;
    font-size:54px;
    max-width:900px
}
.library-reading {
    display:grid;
    grid-template-columns:minmax(0,1fr) 200px;
    gap:24px;
    padding:40px 0
}
.library-prose {
    background:#fff;
    padding:32px;
    box-shadow:0 2px 8px #14532d12
}
.library-aside {
    border-bottom:7px solid #bbf7d0;
    padding:18px;
    background:#fff;
    height:max-content
}
.library-aside a {
    display:block;
    padding:8px 0
}
.wiki-article-layout {
    display:grid;
    grid-template-columns:170px minmax(0,1fr) 210px;
    gap:26px;
    padding:42px 0
}
.wiki-article-nav {
    border-right:1px solid #cbd5e1;
    padding-right:15px;
    height:max-content
}
.wiki-article-nav a {
    display:block;
    padding:9px 0
}
.wiki-prose {
    max-width:900px
}
.wiki-prose h1 {
    font-family:Georgia,serif;
    font-size:48px;
    margin:0 0 14px
}
.wiki-article-facts {
    background:#f1f5f9;
    border:1px solid #cbd5e1;
    padding:16px;
    height:max-content
}
.wiki-article-facts span {
    display:block;
    border-bottom:1px solid #e2e8f0;
    padding:7px 0;
    font-size:13px
}
.qa-question {
    padding:56px 0;
    background:#ecfeff
}
.qa-question h1 {
    font-size:48px;
    max-width:900px
}
.qa-layout .article {
    border-top:5px solid #0e7490
}
.mobile-reading .article {
    border-radius:24px
}
.mobile-reading h2 {
    color:#047857
}
@media(max-width:800px) {
    .atlas-hero-grid,.route-steps,.atlas-list,.console-body .wrap,.console-cards,.magazine-feature .wrap,.magazine-index,.path-list,.starter-topics,.notebook-grid,.chapter-index .wrap,.dictionary-body .wrap,.dictionary-entries,.course-body .wrap,.lesson-list,.shelf-grid,.wiki-layout,.wiki-article-layout,.atlas-article-layout,.console-article-layout,.magazine-reading,.starter-reading,.field-reading,.textbook-reading,.dictionary-reading,.course-reading,.library-reading {
    display:block
}
.atlas-map,.console-rail,.magazine-aside,.starter-next,.field-margin,.textbook-margin,.term-facts,.lesson-next,.library-aside,.wiki-article-nav,.wiki-article-facts {
    margin-top:24px
}
.atlas-list .card,.console-cards .card,.starter-topics .card,.dictionary-entries .card,.lesson-list .card,.shelf-grid .card {
    margin:12px 0
}
.atlas-prose,.console-prose,.starter-prose,.course-prose,.library-prose {
    padding:24px
}
.wiki-infobox {
    float:none;
    width:auto;
    margin:20px 0
}
.fake-search {
    display:block
}
.fake-search input,.fake-search button {
    width:100%;
    margin-top:8px
}

}
.atlas-directory,.download-directory,.console-directory,.magazine-directory,.starter-directory,.field-directory,.textbook-directory,.dictionary-directory,.course-directory,.library-directory,.wiki-directory,.mobile-directory,.qa-directory {
    padding:52px 0;
    min-height:520px
}
.atlas-directory h1,.download-directory h1,.console-directory h1,.magazine-directory h1,.starter-directory h1,.field-directory h1,.textbook-directory h1,.dictionary-directory h1,.course-directory h1,.library-directory h1,.wiki-directory h1,.mobile-directory h1,.qa-directory h1 {
    font-size:clamp(34px,5vw,62px)
}
.atlas-directory-list,.download-directory-grid,.magazine-directory-grid,.field-directory-notes,.chapter-cards,.lesson-list,.shelf-grid,.wiki-links,.mobile-grid,.qa-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:28px
}
.download-directory .wrap {
    display:grid;
    grid-template-columns:180px 1fr;
    gap:28px
}
.download-directory aside {
    border-right:1px solid var(--line);
    padding-right:18px
}
.download-directory aside a {
    display:block;
    padding:8px 0
}
.console-directory {
    background:#0b1220;
    color:#dbeafe
}
.console-directory h1 small {
    font:12px ui-monospace,monospace;
    color:#60a5fa
}
.console-table {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1px;
    background:#243b5a;
    margin-top:28px
}
.console-table .card {
    background:#111c31;
    border:0;
    color:#dbeafe
}
.magazine-directory {
    background:#fbf7ef;
    font-family:Georgia,serif
}
.magazine-directory-grid .card {
    background:transparent;
    border:0;
    border-bottom:1px solid #c4a77d;
    box-shadow:none
}
.starter-directory {
    background:#fffaf0
}
.starter-directory ol {
    padding:0;
    list-style:none
}
.starter-directory li {
    margin:12px 0
}
.field-directory {
    background:repeating-linear-gradient(0deg,#edf0e6 0,#edf0e6 1px,#fbfbf7 1px,#fbfbf7 32px)
}
.field-directory-notes .card {
    background:transparent;
    border:0;
    border-top:1px dashed #9ca3af;
    box-shadow:none
}
.textbook-directory {
    background:#fbf7ed
}
.chapter-cards .card {
    background:#fff;
    border-left:5px solid #1c1917;
    box-shadow:none
}
.dictionary-directory {
    background:#e2e8f0
}
.course-directory {
    background:#eef2ff
}
.library-directory {
    background:#f5f5f4
}
.wiki-directory {
    background:#fff
}
.mobile-directory {
    background:#f3fff9
}
.qa-directory {
    background:#ecfeff
}
.qa-directory .card {
    border-top:3px solid #0e7490
}
@media(max-width:800px) {
    .atlas-directory-list,.download-directory-grid,.magazine-directory-grid,.field-directory-notes,.chapter-cards,.lesson-list,.shelf-grid,.wiki-links,.mobile-grid,.qa-grid {
    display:block
}
.atlas-directory-list .card,.download-directory-grid .card,.magazine-directory-grid .card,.field-directory-notes .card,.chapter-cards .card,.lesson-list .card,.shelf-grid .card,.wiki-links .card,.mobile-grid .card,.qa-grid .card {
    margin:12px 0
}
.download-directory .wrap {
    display:block
}
.download-directory aside {
    border:0;
    padding:0;
    margin-bottom:24px
}

}
