:root {
  color-scheme: light;
  --paper: #f6f7f9;
  --ink: #162239;
  --muted: #46556c;
  --blue: #124cba;
  --rule: #cdd4df;
  font: 100%/1.5 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { max-width: 1280px; margin: auto; padding-inline: clamp(18px, 5vw, 76px); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid #3777e0; outline-offset: 4px; }
::selection { color: white; background: var(--blue); }
.skip { position: absolute; top: -5rem; background: white; padding: 12px; }
.skip:focus { top: 0; z-index: 2; }
header, nav, .brand, .eyebrow, .preview-head, footer, figcaption { display: flex; align-items: center; }
header, .preview-head, footer, figcaption { justify-content: space-between; }
header { min-height: 76px; border-bottom: 1px solid var(--rule); }
.brand { gap: 9px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.035em; }
nav { gap: clamp(16px, 3vw, 42px); font-size: .92rem; }

.landing {
  position:relative;
  isolation:isolate;
}
.landing::before {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  inset:0 0 auto;
  height:370px;
  background-image:linear-gradient(#567aa01a 1px,transparent 1px),linear-gradient(90deg,#567aa01a 1px,transparent 1px),linear-gradient(115deg,#ddeaff,#e7edfc 50%,#deeff3);
  background-size:40px 40px,40px 40px,100% 100%;
  mask-image:linear-gradient(black,transparent);
}
.landing header { border:0; }
.hero { text-align:center; padding:clamp(42px,6vw,84px) 0 30px; }
.hero .intro { max-width:760px; margin:auto; }
.hero small { display:block; margin-top:9px; color:var(--muted); }
h1,h2,p,figure { margin:0; }
h1,h2 { letter-spacing:-.04em; text-wrap:balance; }
h1 { font-size:clamp(3.4rem,6.4vw,5.8rem); line-height:1; font-weight:660; }
h1 em { color:var(--blue); font:inherit; background:linear-gradient(110deg,#2449b0,#426aca 60%,#17688a); background-clip:text; color:transparent; }
p { color:var(--muted); font-size:clamp(1rem,1.35vw,1.13rem); line-height:1.58; }
.intro p { max-width:52ch; margin:19px auto 24px; }
.action { display:inline-flex; align-items:center; gap:25px; padding:13px 20px; border-radius:9px; background:var(--blue); color:white; font-weight:650; }
.tour { display:inline-block; margin:10px 0 10px 16px; color:var(--blue); }
.action:hover { background:#093d9d; text-decoration:none; }
.intro .action { background:#162239; border-radius:999px; box-shadow:0 5px 12px #18233b25; }
.intro .action:hover { background:#243e68; }
figcaption,.pane-labels,.variants span { font:500 .75rem/1.5 "IBM Plex Mono",ui-monospace,monospace; }
h2 { font-size:clamp(2rem,3.8vw,3.6rem); font-weight:620; line-height:1.06; }
#explorer,#features,#shortcuts { scroll-margin-top:22px; }
.section-head { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:24px; }
.section-head p { max-width:56ch; }
.section-head h2 + p { margin-top:12px; }
.controls { flex:none; display:flex; padding:4px; background:#e7ebf0; border-radius:10px; }
[hidden] { display:none; }
button { border:0; border-radius:7px; padding:8px 17px; color:var(--muted); background:transparent; font:inherit; cursor:pointer; }
button[aria-pressed="true"] { color:var(--ink); background:white; box-shadow:0 1px 4px #20314b29; }
.stage { max-width:980px; margin:auto; }
.stage figcaption { gap:8px; color:var(--muted); flex-wrap:wrap; }
.stage .frame { box-shadow:0 15px 34px -14px #1d407a70; }
.frame,.split-shot { overflow:hidden; border-radius:9px; background:#222326; box-shadow:0 14px 28px -9px #18334b66; }
.titlebar,.pane-labels { background:#252628; color:#e7eaed; border-bottom:1px solid #424346; }
.titlebar { display:flex; align-items:center; gap:38px; padding:8px 14px; font-size:.73rem; }
.titlebar i { width:8px; height:8px; border-radius:50%; background:#f66a60; box-shadow:13px 0 #f4bf4e,26px 0 #5bc46c; }
.frame a,.split-shot a,.frame img,.split-shot img { display:block; }
.frame img,.split-shot img { width:100%; height:auto; }
figcaption { color:#193952; margin-top:14px; }
#features article,.shortcuts { padding-block:clamp(40px,6vw,82px); border-bottom:1px solid var(--rule); }
.split-feature .section-head { align-items:center; }
.split-feature p { max-width:47ch; }
.split-shot { box-shadow:none; border:1px solid #373c44; }
.pane-labels { display:grid; grid-template-columns:1fr 1fr; padding:10px 16px; }
.preview-feature,.custom,.shortcuts { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(24px,6vw,94px); }
.inspector-art { background:#e8c8af; background:linear-gradient(140deg,#f5dfcd,#d8ab95); border-radius:16px; padding:25px; display:flex; justify-content:center; }
.inspector-art img { display:block; width:min(63%,238px); height:auto; border-radius:8px; box-shadow:0 12px 22px #59302242; }
.preview-feature p,.custom p,.shortcuts p+p { margin-top:17px; }
kbd { color:var(--ink); background:white; border:1px solid var(--rule); border-bottom-width:2px; border-radius:5px; padding:1px 5px; font-size:.86em; }
.variants { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:clamp(16px,3vw,40px) 12px; border-radius:16px; background:#e3eaf1; }
.variants div { text-align:center; }
.variants img { display:block; width:min(100%,98px); margin:auto auto 8px; }
footer { padding:24px 0; font-size:.83rem; }
@media(max-width:850px) {
  header { min-height:64px; }
  nav { gap:12px; font-size:.82rem; }
  .hero,.preview-feature,.custom,.shortcuts { grid-template-columns:1fr; gap:22px; }
  .hero { padding:40px 0; }
  h1 { font-size:clamp(2.5rem,11.4vw,4.8rem); }
  .section-head { align-items:start; flex-direction:column; gap:14px; margin-bottom:14px; }
  .split-feature .section-head { align-items:start; }
  .preview-feature .inspector-art { order:1; }
  .shortcuts h2 { max-width:15ch; }
  .stage { padding-bottom:10px; }
  .print span,figcaption,.pane-labels,.variants span { font-size:.68rem; }
}
@media(max-width:370px) {
  h1 { font-size:2.5rem; }
  nav { gap:8px; font-size:.75rem; }
  .brand { gap:3px; }
}
.publisher { max-width: 38rem; margin: 10vh auto; }
.publisher h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.publisher form, .publisher label { display: grid; gap: .5rem; }
.publisher form { gap: 1.4rem; margin-block: 2rem; }
.publisher input { width: 100%; padding: .65rem; font: inherit; }
.publisher button { justify-self: start; }
.publisher button:disabled { opacity: .65; cursor: wait; }

.releases article { border-bottom: 1px solid var(--rule); padding: 2rem 0; }
.releases article h2 { font-size: 1.65rem; }
.releases p { margin: .8rem 0 1.2rem; }
.releases .release-notes { white-space: pre-line; overflow-wrap: anywhere; }
.publisher textarea { font: inherit; padding: .65rem; resize: vertical; }

.publisher-shell {max-width:1120px}
.publisher-header {gap:16px;flex-wrap:wrap;padding-block:14px}
.publisher-header nav {display:flex;gap:4px;padding:4px;border:1px solid var(--rule);border-radius:12px;background:#e9edf3}
.publisher-header nav a {display:grid;place-items:center;min-height:40px;padding:0 16px;border-radius:8px;font-weight:600;color:var(--muted)}
.publisher-header nav a:hover {background:#d9e2f0;color:var(--ink);text-decoration:none}
.publisher-header nav a[aria-current="page"] {background:var(--blue);color:white}
@media(max-width:600px){
  .publisher-header {align-items:flex-start;flex-direction:column;gap:10px}
  .publisher-header nav {width:100%}
  .publisher-header nav a {flex:1;min-height:44px;padding:0 6px}
}
