:root {
  color-scheme: light;
  --ink: #192535;
  --muted: #4e6177;
  --accent: #315bc6;
  --line: #d2dce7;
  --paper: #f8f9fc;
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, figure, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #2263e1; outline-offset: 4px; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.bar, nav, .platforms, .primary, .status-link, .beta-label { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 16px; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead .bar { min-height: 84px; }
.brand { display: inline-block; width: 152px; flex: none; }
nav { gap: 32px; }
nav a, footer a { text-decoration: none; font-weight: 600; font-size: .94rem; }
nav a:hover, footer a:hover { color: var(--accent); }
.status-link { border: 1px solid #c9d6e7; border-radius: 99px; padding: 9px 16px; gap: 9px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #345fc6; display: inline-block; flex: none; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 3; background: #fff; padding: 12px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.hero { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: clamp(32px, 4vw, 70px); padding-block: clamp(36px, 5.7vw, 84px); }
.platforms, .beta-label, .hero-art figcaption, .screen figcaption span:last-child, .tour-platform {
  font: 650 .74rem/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .07em; text-transform: uppercase;
}
.platforms { gap: 12px; color: var(--muted); }
.platforms > span { height: 2px; width: 30px; background: var(--accent); }
h1 { font-size: clamp(3.3rem, 6vw, 5.9rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 730; margin: 24px 0; }
h1 em { font-style: normal; color: var(--accent); }
.lead, .intro, .closing section > p:not(.signature, .beta-label) { color: var(--muted); line-height: 1.6; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.26rem); max-width: 36ch; }
.primary { display: inline-flex; gap: 24px; padding: 14px 21px; margin-top: 27px; border-radius: 9px; font-weight: 650; background: var(--accent); color: #fff; text-decoration: none; }
.primary:hover { background: #244699; }
.hero-art { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: 42px 12% 45px; background: #345ec8; color: white; }
.hero-art::before, .contours { position: absolute; inset: 0; z-index: -1; }
.hero-art::before { content: ""; background-image: linear-gradient(#ffffff12 1px, transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px); background-size: 34px 34px; }
.contours { inset: -38%; transform: rotate(-28deg); background: repeating-radial-gradient(ellipse at 80% 60%, transparent 0 18px, #a9caff3b 19px, transparent 20px 31px); }
.cross { width: 13px; height: 13px; position: absolute; background: linear-gradient(white,white) center/1px 100% no-repeat,linear-gradient(white,white) center/100% 1px no-repeat; opacity: .65; }
.cross-a { left: 20px; top: 20px; } .cross-b { right: 20px; bottom: 20px; }
.app-window { overflow: hidden; border: 1px solid #8499c0; border-radius: 13px; background: #15202f; box-shadow: 0 18px 35px #00113952; }
.window-bar { display: flex; align-items: center; gap: 16px; background: #253449; color: #e3eaf7; font-size: .72rem; font-weight: 600; padding: 7px 12px; border-bottom: 1px solid #43556c; }
.window-dots { height: 6px; width: 6px; border-radius: 50%; background: #93a3bb; box-shadow: 9px 0 #93a3bb,18px 0 #93a3bb; margin-right: 18px; }
.hero-art figcaption { position: absolute; bottom: 13px; left: 12%; font-size: .65rem; letter-spacing: .06em; }
.hero-art figcaption span { opacity: .7; margin-inline: 6px; }
.tour { border-block: 1px solid var(--line); background: white; padding-block: clamp(42px,5vw,76px); }
h2 { font-size: clamp(2rem,3.3vw,3.15rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 710; }
.intro { margin-top: 12px; font-size: 1.12rem; }
.tour-layout { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0,1.65fr); gap: clamp(24px,5vw,80px); margin-top: 30px; align-items: start; }
.tour-menu { display: grid; gap: 6px; }
.tour-header { display: none; }
.tour-menu a { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid transparent; border-radius: 12px; }
.tour-menu strong { font-size: 1.1rem; }
.tour-menu a span { color: var(--muted); font-weight: 400; font-size: .98rem; line-height: 1.45; }
.tour-menu a:hover { background: #f5f7fb; }
.tour-menu [aria-current] { color: var(--accent); background: #edf2ff; border-color: #c2d1f6; }
.screen { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #eaf0f7; scroll-margin-top: 12px; }
.screen + .screen { margin-top: 12px; }
.screens.is-ready {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eaf0f7;
}
.is-ready > .screen {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
}
.is-ready > .screen.is-active { opacity: 1; visibility: visible; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .tour-menu a { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
  .is-ready > .screen { transition: opacity 280ms ease-out, visibility 0s linear 280ms; }
  .is-ready > .screen.is-active { transition: opacity 420ms ease-in-out, visibility 0s; }
  .is-ready .screen-image { transform: translateX(-16px); transition: transform 460ms cubic-bezier(.22,.72,.18,1); }
  .is-ready .is-active ~ .screen .screen-image { transform: translateX(16px); }
  .is-ready .is-active .screen-image { transform: translateX(0); }
}
.screen figcaption { background: var(--paper); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 650; border-bottom: 1px solid var(--line); }
.screen figcaption span:last-child { color: var(--muted); }
.screen-image { height: clamp(32rem, 76vh, 46rem); padding: clamp(10px,1.6vw,22px); }
.screen-image a { display: flex; align-items: center; justify-content: center; height: 100%; }
.screen-image picture { display: contents; }
.screen-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; border-radius: 8px; }
.closing { padding-block: clamp(40px,6vw,86px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: clamp(30px,7vw,110px); }
.closing h2 { font-size: clamp(1.7rem,2.6vw,2.6rem); }
.closing section > p:not(.beta-label) { margin-top: 15px; }
.signature { font-size: .92rem; color: var(--muted); font-weight: 600; }
.signature span { padding-inline: 3px; }
.beta { background: #ebf0fb; border: 1px solid #cbd8f2; border-radius: 16px; padding: clamp(22px,3vw,36px); }
.beta-label { color: var(--accent); gap: 9px; margin-bottom: 14px; }
footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; }
footer .brand { width: 117px; }
@media (max-width: 820px) {
  .hero { gap: 24px; }
  .hero-art { padding: 32px 7% 38px; }
  .hero-art figcaption { left: 7%; }
  .tour-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
  .tour-layout:has(.screens.is-ready) .tour-menu { display: none; }
  .is-ready > .tour-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(6px, 1.8vw, 16px);
    padding: 14px clamp(6px, 1.6vw, 14px);
    background: #edf2ff;
    border-bottom: 1px solid #c2d1f6;
  }
  .tour-label { display: grid; justify-items: center; text-align: center; gap: 3px; }
  .tour-summaries { display: grid; }
  .tour-summary { grid-area: 1 / 1; display: grid; align-content: center; gap: 3px; visibility: hidden; }
  .tour-summary.is-active { visibility: visible; }
  .tour-title { color: var(--accent); font-size: 1.1rem; }
  .tour-arrow {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid #b5c7ed; border-radius: 50%; cursor: pointer;
    background: white; color: var(--accent);
  }
  .tour-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tour-arrow:hover { background: var(--paper); }
  .tour-arrow:focus-visible { outline: 3px solid #2263e1; outline-offset: 2px; }
  .tour-dots { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
  .tour-dots span { width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 50%; }
  .tour-dots .is-active { background: var(--accent); border-color: var(--accent); }
  .tour-platform { color: var(--muted); }
  .tour-description { font-size: .98rem; line-height: 1.45; color: var(--muted); }
  .is-ready > .screen { grid-area: 2 / 1; scroll-margin-top: 8rem; }
  .is-ready .screen figcaption { display: none; }
}
@media (max-width: 680px) {
  .masthead .bar { min-height: 66px; }
  nav { gap: 14px; } .brand { width: 116px; }
  .masthead nav a { font-size: .83rem; }
  .status-link { padding: 7px 9px; gap: 6px; }
  .hero, .closing, .tour-layout { grid-template-columns: 1fr; }
  .hero { gap: 30px; }
  .hero-art { padding: 28px 12% 36px; }
  .hero-art figcaption { left: 12%; }
  h1 { font-size: clamp(3.5rem,11vw,5rem); margin: 15px 0; }
  .lead { max-width: 47ch; }
  .primary { margin-top: 20px; }
  .screen-image { height: clamp(24rem, 68svh, 39rem); }
  .closing { gap: 30px; }
}
@media (max-width: 390px) {
  .masthead nav { gap: 10px; }
  .masthead nav a[href="#story"] { display: none; }
}
