@import url("tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #285fab; outline-offset: 4px; }
button { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(29px,3.2vw,50px); line-height: 1.18; letter-spacing: -.045em; }
h3 { font-size: clamp(19px,1.65vw,25px); line-height: 1.35; letter-spacing: -.025em; }
.wrap { width: min(1440px, 100%); margin: auto; padding-inline: clamp(20px,5vw,80px); }
.skip { position: absolute; transform: translateY(-180%); background: white; padding: 8px; z-index: 3; }
.skip:focus { transform: none; }
.mast { display: flex; min-height: 87px; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 95px; }
.mast nav, .footnav, .linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px,2vw,30px); }
.mast nav a, .footnav a { font-size: 15px; text-decoration: none; }
.mast nav a:hover, .footnav a:hover, .mast [aria-current=page] { text-decoration: underline; }
.page-end { margin-top: clamp(48px,6vw,90px); background: var(--ink); color: white; padding: 37px 0; }
.page-end .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.page-end img { width: 92px; }
.page-end .footnav { margin-left: auto; }
.page-end .tagline { color: #dce5ed; font-size: 15px; }
.action, .light-action, .file-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 100px; padding: 8px 21px; font-size: 15px; font-weight: 650; text-decoration: none; }
.action { color: white; background: var(--ink); }
.light-action { color: var(--ink); background: var(--citron); }
.file-link { border: 1px solid var(--line); background: transparent; }
.action:hover, .light-action:hover, .file-link:hover { box-shadow: 0 0 0 2px var(--slate); }
.meta { color: #425a72; font-size: 14px; font-weight: 600; }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; border-block: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px,5vw,83px) clamp(20px,4vw,60px) clamp(32px,5vw,83px) 0; }
.hero h1 { font-size: clamp(66px,7.6vw,125px); font-weight: 650; line-height: .89; letter-spacing: -.079em; margin: .24em 0 .22em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-weight: 420; font-style: normal; color: #455f7d; }
.hero .intro { max-width: 32em; margin-bottom: 24px; }
.hero-art { background: #b3c9dd; overflow: hidden; display: grid; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.block { margin-top: clamp(50px,6vw,94px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head p { max-width: 32em; color: #42566b; }
.cardgrid { display: grid; gap: clamp(16px,2.1vw,32px); grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { text-decoration: none; display: block; }
.card img { aspect-ratio: 64/37; width: 100%; border-radius: 14px; transition: transform .18s; }
.card:hover img { transform: translateY(-3px); }
.card .meta { margin-top: 16px; }
.card h3 { margin: 5px 0 6px; }
.card:hover h3 { text-decoration: underline; }
.card p { color: #33495e; font-size: 16px; }
.editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.editorial p { max-width: 44em; }
.editorial p+p { margin-top: 10px; }
.page-lead { border-top: 1px solid var(--line); padding: clamp(36px,5vw,72px) 0 27px; }
.page-lead h1 { font-size: clamp(44px,6vw,86px); letter-spacing: -.055em; line-height: 1.08; margin: 7px 0 14px; }
.page-lead p { max-width: 48em; }
.note-cover { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(22px,4vw,66px); border-block: 1px solid var(--line); padding-block: 38px; }
.note-cover h1 { font-size: clamp(40px,4.8vw,76px); line-height: 1.12; letter-spacing: -.05em; margin: 15px 0; }
.note-cover img { border-radius: 18px; }
.crumb { display: inline-block; margin-bottom: 15px; font-size: 14px; }
.read-layout { display: grid; grid-template-columns: minmax(170px,.65fr) minmax(0,2fr); gap: 8%; max-width: 1120px; margin: 42px auto; }
.side { align-self: start; padding: 18px 20px; background: #e6edf3; border-radius: 15px; font-size: 15px; }
.side b { display: block; margin: 12px 0 3px; }
.side b:first-child { margin-top: 0; }
.read-layout h2 { font-size: clamp(24px,2.3vw,34px); margin: 30px 0 12px; }
.read-layout h2:first-child { margin-top: 0; }
.read-layout p+p { margin-top: 9px; }
.steps { padding-left: 1.45em; }
.steps li { padding-left: 3px; margin-bottom: 14px; }
.steps li::marker { font-weight: 700; color: #45617c; }
.prompt { background: #ecedbc; border-radius: 14px; padding: 18px 23px; }
.source { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 15px; color: #3e546b; }
.brand-cover { background: var(--ink); color: white; display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 20px; overflow: hidden; }
.brand-cover .copy { padding: clamp(28px,4.4vw,70px); align-self: center; }
.brand-cover h1 { font-size: clamp(46px,6vw,94px); letter-spacing: -.075em; line-height: .99; margin-bottom: 18px; }
.brand-cover .copy p { color: #d8e2eb; margin-bottom: 18px; }
.brand-cover .specimen { background: #bfcedc; display: grid; place-items: center; min-height: 200px; }
.brand-cover .specimen img { width: 73%; }
.guide-section { padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--line); }
.guide-section h2 { font-size: clamp(28px,3vw,42px); margin-bottom: 13px; }
.guide-section>p { max-width: 48em; }
.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 22px 0; }
.sample { padding: 24px; background: white; border-radius: 17px; }
.sample h3 { margin-bottom: 9px; }
.sample p { max-width: 40em; }
.sample .board { display: grid; place-items: center; min-height: 150px; background: #e7edf3; border-radius: 12px; margin-bottom: 13px; }
.board img { width: min(60%,275px); }
.sample small, .caption { font-size: 14px; color: #496075; }
.demos { background: #e7edf3; padding: 24px; border-radius: 18px; margin: 20px 0; }
.demos[data-theme=dark] { background: var(--ink); color: white; }
.demos[data-theme=mono] { background: white; }
.demobar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px; align-items: center; }
.seg { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #8fa2b5; border-radius: 40px; }
.seg button { font-size: 14px; padding: 5px 13px; border-radius: 30px; border: 0; background: transparent; cursor: pointer; }
.seg button[aria-pressed=true] { background: #23384e; color: white; }.demos[data-theme=dark] .seg button[aria-pressed=true] { background: white; color: var(--ink); }
.demorow { display: flex; flex-wrap: wrap; gap: 36px; align-items: end; justify-content: center; padding: 28px 0; }
.demorow figure { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; }
.chips { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin: 20px 0 8px; }
.chip { cursor: pointer; border: 1px solid var(--line); border-radius: 14px; padding: 9px; background: white; text-align: left; }
.chip i { display: block; height: 58px; border-radius: 7px; }
.chip b, .chip code { display: block; line-height: 1.5; }
.chip b { margin-top: 6px; }
.chip code { font-size: 13px; }
.type-example { font-weight: 590; font-size: clamp(38px,4.4vw,66px); letter-spacing: -.06em; line-height: .98; margin: 14px 0 20px; }
.application { display: grid; grid-template-columns: minmax(180px,.72fr) 1.28fr; gap: clamp(24px,4vw,60px); margin-top: 20px; align-items: center; }
.application>img { max-height: 400px; border: 1px solid var(--line); border-radius: 12px; }
.application h3+p, .application p+.linkrow { margin-top: 9px; }
.application p+h3 { margin: 22px 0 0; }
.downloads { padding: 22px; background: #e5edf4; border-radius: 16px; margin-top: 18px; }
@media (max-width:800px) {
 .hero { grid-template-columns: 1fr 1fr; }
 .mast { min-height: 72px; }.hero h1 { font-size: clamp(58px,8vw,78px); }
 .cardgrid { gap: 14px; }.section-head { align-items: start; flex-direction: column; gap: 9px; }
 .chips { grid-template-columns: repeat(3,1fr); }.note-cover { grid-template-columns: 1fr .8fr; }
}
@media (max-width:620px) {
 body { font-size: 16px; }.mast { min-height: 68px; }.brand img { width: 74px; }.mast nav { gap: 13px; }.mast nav a{font-size:14px}
 .hero,.editorial,.note-cover,.read-layout,.two,.brand-cover,.application { grid-template-columns: 1fr; }
 .hero-copy { padding: 26px 0; }.hero h1 { font-size: clamp(62px,14.5vw,84px); margin: 14px 0; }
 .hero h1 span:first-child,.hero h1 em { display: inline; }.hero h1 em:before { content:" "; }
 .hero-art img { height: auto; aspect-ratio: 1.65; object-fit: cover; }
 .cardgrid { grid-template-columns: 1fr; gap: 27px; }.card img { max-height: 270px; object-fit: cover; }
 .editorial { gap: 12px; }.read-layout { gap: 27px; }.side { display:grid;grid-template-columns:auto 1fr;gap:4px 15px; }.side b{margin:0}
 .page-end .footnav { width:100%; margin:0; }.page-end .tagline { font-size:14px; }
 .note-cover { padding: 25px 0; gap: 18px; }.note-cover img { width:100%;max-height:225px;object-fit:cover }
 .brand-cover .specimen { min-height: 145px; }.brand-cover .specimen img{width:46%}
 .demorow { gap:18px; }.demorow figure:first-child img{max-width:145px}.demos{padding:16px}
 .guide-section { margin-top: 31px; }.application>img{width:min(100%,300px)}
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
.print-only,.printed-variants { display: none; }
.article-actions { margin-top: 22px; }
button.file-link { cursor:pointer; }
.worksheet hr { border:0; border-bottom:1px solid var(--line); }
.card img,.note-cover img,.brand img,.page-end img { height:auto; }
.brand-cover .specimen { background: #DFE8EF; }
@media (max-width:620px) {
 .hero h1 span:first-child,.hero h1 em { display:block; }
 .hero h1 em:before { content:none; }
}
.touchpoints figcaption h3 { margin:12px 0 5px; }
.avatar-scene { display:flex; align-items:center; gap:15px; min-height:160px; background:#e6edf4; border-radius:12px; padding:20px; }
.avatar-scene img { flex:none; width:56px; height:56px; border-radius:50%; }
.avatar-scene p { font-size:14px; color:#405973; }
.share-example { height:auto; border:1px solid var(--line); border-radius:10px; }
