/* The public page at the bare address: Direction 1 (D450; coder-701), from the site prototype
 * wgit-platform-pm branding/brand_redesign/directions/d1/site.html, with the app's own
 * screenshots in its device frames and tour window. Self-hosted fonts, no outside request. */

@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/playfair-display-latin-700-normal.woff2) format('woff2')}

:root {
  --nv: #0A1428;
  --nv2: #0F1D3A;
  --bl: #2563EB;
  --bl6: #1D4ED8;
  --bll: #6EA8FE;
  --ink: #0F172A;
  --ink2: #475569;
  --ink3: #5B6A80;
  --line: #E3E8F0;
  --bg: #F5F7FB;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
svg.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Focus: a 3 px ring, blue on light grounds and light blue on navy. */
:focus-visible { outline: 3px solid var(--bl); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible, .stage :focus-visible, .data :focus-visible { outline-color: var(--bll); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 650; font-size: 15px; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn.pri { background: var(--bl); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn.pri:hover { background: var(--bl6); }
.btn.ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---- hero ---- */
.hero {
  background: radial-gradient(1200px 600px at 75% 30%, #13295A 0%, rgba(19, 41, 90, 0) 60%), var(--nv);
  color: #fff; padding-bottom: 140px; overflow: hidden;
}
.hdr { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.3px; }
.logo svg { width: 30px; height: 30px; color: var(--bll); stroke-width: 1.7; }
.hnav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 550; color: #CBD5E6; }
.hnav a:hover { color: #fff; }
.hsp { flex: 1; }
.hgrid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 36px; align-items: center; padding-top: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #DCE4F2;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #F5B544; box-shadow: 0 0 0 4px rgba(245, 181, 68, .18); }
h1.t {
  font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -1.4px; font-weight: 800;
  margin: 22px 0;
}
h1.t em { font-style: normal; color: var(--bll); }
.lede { font-size: 19px; line-height: 1.6; color: #C5D0E2; max-width: 540px; margin: 0 0 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.caps {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 10px; margin: 46px 0 0; max-width: 620px;
}
.cap { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 12.5px; font-weight: 600; color: #B9C5D9; line-height: 1.3; }
.cap .nw { white-space: nowrap; }
.cap .ic {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04); display: flex; align-items: center; justify-content: center; color: #E3EAF6;
}

/* The device: a laptop on wide screens, a phone at 640 px and below; one picture inside. */
.device { position: relative; perspective: 1800px; margin: 0; }
.laptop { transform: rotateY(-15deg) rotateX(5deg); transform-origin: left center; width: 112%; }
.screen {
  background: #0B1220; border-radius: 16px 16px 6px 6px; padding: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.base { height: 16px; margin: 0 -6%; background: linear-gradient(#CDD5E2, #8E9AB0); border-radius: 0 0 18px 18px; }
.shot { overflow: hidden; border-radius: 8px; background: #fff; aspect-ratio: 1440 / 900; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* ---- the tour ---- */
.tour { background: var(--bg); margin-top: -80px; border-radius: 40px 40px 0 0; position: relative; padding: 64px 0 40px; }
.thead { display: flex; gap: 28px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
h2.s { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.5px; line-height: 1.08; margin: 0; }
.thead p { margin: 8px 0 0; color: var(--ink2); font-size: 17px; }
.tabsel { display: flex; gap: 14px; flex-wrap: wrap; }
.tabc {
  display: flex; gap: 14px; align-items: center; text-align: left;
  padding: 16px 20px 16px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; min-width: 300px; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tabc:hover { border-color: #B8CCF5; }
.tabc .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #EEF2F8; color: var(--ink2); flex: none; }
.tabc b { display: block; font-size: 15.5px; }
.tabc small { display: block; color: var(--ink3); font-size: 13px; margin-top: 2px; }
.tabc[aria-pressed="true"] { border-color: var(--bl); box-shadow: 0 10px 30px rgba(37, 99, 235, .14); }
.tabc[aria-pressed="true"] .ic { background: #EAF1FF; color: var(--bl); }

/* The stage (coder-835, LANDING_PAGE.md §6): every live step's screen in one coverflow row,
   the current one flat in the middle, the previous and the next turned in either side, the
   rest out of sight behind; under it the step's words, a progress bar per step and Pause. */
.stage {
  margin-top: 30px; background: linear-gradient(160deg, #0F1D3A, #0A1428 70%);
  border-radius: 24px; padding: 34px 28px 24px; box-shadow: 0 30px 80px rgba(10, 20, 40, .25);
  overflow: hidden; overflow: clip;
}
.cover { position: relative; padding-bottom: 34px; touch-action: pan-y; }
/* A soft floor shadow under the row. */
.cover::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 2px; height: 46px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); pointer-events: none;
}
.screens { display: grid; grid-template-columns: minmax(0, 1fr); perspective: 1800px; --side: 60%; }
.slide {
  grid-area: 1 / 1; justify-self: center; position: relative; z-index: 1; display: block;
  width: min(62%, 760px); padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: #fff; color: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none;
  transition: transform 1s cubic-bezier(.45, 0, .2, 1), opacity .6s ease;
}
.slide[data-at="now"] {
  transform: translateX(0) translateZ(0) rotateY(0deg); opacity: 1; z-index: 3; pointer-events: auto; cursor: zoom-in;
}
.slide[data-at="prev"] { transform: translateX(calc(-1 * var(--side))) translateZ(-250px) rotateY(50deg); }
.slide[data-at="next"] { transform: translateX(var(--side)) translateZ(-250px) rotateY(-50deg); }
.slide[data-at="prev"], .slide[data-at="next"] { opacity: 1; z-index: 2; pointer-events: auto; }
.slide[data-at="before"] { transform: translateX(calc(-1 * var(--side))) translateZ(-620px) rotateY(50deg); }
.slide[data-at="after"] { transform: translateX(var(--side)) translateZ(-620px) rotateY(-50deg); }
.slide:focus-visible { border-radius: 14px; }
.slide .pic { display: block; aspect-ratio: 1440 / 900; background: #F5F7FB; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: top left; }
.slide .dim { position: absolute; inset: 0; background: #050B18; opacity: .5; pointer-events: none; transition: opacity .6s ease; }
.slide[data-at="now"] .dim { opacity: 0; }
.wbar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: #F1F4F9; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink3);
}
.wbar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE7; }
.wbar span { margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; }

.under { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 4px 6px 0; color: #fff; }
.said { min-width: 0; }
.said .k { font-size: 13px; font-weight: 700; color: var(--bll); letter-spacing: .3px; }
.said h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.2; letter-spacing: -.3px; font-weight: 750; }
.said p { margin: 4px 0 0; color: #A9B6CC; font-size: 14.5px; line-height: 1.5; }
.ctl { display: flex; align-items: center; gap: 12px; flex: none; }
.bars { display: flex; gap: 2px; }
.bar { display: flex; align-items: center; width: 40px; height: 32px; padding: 0 3px; border: 0; background: none; }
.bar i { display: block; width: 100%; height: 4px; border-radius: 99px; background: #4A6290; overflow: hidden; }
.bar b { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--bll); }
.bar.done b, .bar.full b { width: 100%; }
/* The current step's bar fills over its time (tour.js sets --step to it). */
.bar.run b { animation: fill var(--step, 5s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.play {
  height: 38px; min-width: 64px; padding: 0 14px; border-radius: 9px; border: 1px solid #5C77A8;
  background: transparent; color: #DCE4F2; font-size: 13px; font-weight: 600;
}
.play:hover { background: rgba(255, 255, 255, .06); }

/* A closer look: the current screen full screen, its image at full resolution. */
.look {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 10, 22, .95); color: #fff; overflow: auto; overscroll-behavior: contain;
}
.look::backdrop { background: rgba(5, 10, 22, .6); }
.look :focus-visible { outline-color: var(--bll); }
.lookbar {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 12px 8px 24px; background: rgba(5, 10, 22, .95); font-size: 15px; font-weight: 650;
}
.lookbar button {
  flex: none; height: 44px; min-width: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #5C77A8;
  background: transparent; color: #fff; font-size: 14px; font-weight: 650;
}
.lookimg { padding: 0 24px 24px; }
.lookimg img { display: block; width: 100%; max-width: 1440px; height: auto; margin: 0 auto; border-radius: 8px; }

/* Watch it work (coder-1167; PUBLIC_DEMOS_DESIGN.md v1.2 §2): a small screen over a strip of the
   demos' dusk horizon, playing a cut-down demo (watch.js), the whole of it one link to /demos/. */
.watch { position: relative; display: block; width: min(62%, 760px); margin: 34px auto 0; border-radius: 18px; color: #fff; }
.wscr {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; perspective: 900px;
  background:
    radial-gradient(circle at 30% 40%, #FFF6E2 0, rgba(255, 220, 160, .9) .7%, rgba(245, 181, 68, .35) 2.4%, rgba(245, 181, 68, 0) 7%),
    radial-gradient(ellipse 34% 7% at 30% 40%, rgba(255, 206, 140, .6), rgba(245, 181, 68, 0) 72%),
    radial-gradient(ellipse 80% 20% at 30% 40%, rgba(110, 168, 254, .45), rgba(110, 168, 254, 0) 70%),
    linear-gradient(to bottom, #02050E 0, #050E26 12%, #0A1C47 26%, #183A80 36.8%, #3A66BE 39.8%, #17357A 40%, #0B1D45 50%, #06102A 72%, #030713 100%);
  box-shadow: 0 30px 70px rgba(10, 20, 40, .3), 0 0 0 1px rgba(15, 29, 58, .12);
}
.wscr::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(40% - 1px); height: 2px;
  background: radial-gradient(ellipse 70% 100% at 30% 50%, rgba(255, 244, 224, 1), rgba(170, 204, 255, .4) 55%, rgba(160, 196, 255, 0));
}
.wscr::after {
  content: ""; position: absolute; left: 0; right: 0; top: 41%; bottom: 0; opacity: .55;
  background: radial-gradient(1px 1px at 22% 12%, #A0C6FF, transparent), radial-gradient(1.5px 1px at 36% 30%, #FFD696, transparent),
    radial-gradient(1px 1px at 61% 18%, #A0C6FF, transparent), radial-gradient(2px 1px at 28% 52%, #A0C6FF, transparent),
    radial-gradient(1.5px 1px at 80% 40%, #A0C6FF, transparent), radial-gradient(2px 1px at 12% 70%, #A0C6FF, transparent),
    radial-gradient(1px 1px at 47% 66%, #FFD696, transparent), radial-gradient(2px 1px at 70% 80%, #A0C6FF, transparent);
}
.wpg {
  position: absolute; left: 0; top: 0; z-index: 1; display: block; width: 23.6%; aspect-ratio: 390 / 864; border-radius: 9px;
  overflow: hidden; background: #fff; opacity: 0; transform-origin: 50% 50%; backface-visibility: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(110, 168, 254, .18);
}
.wbar2 { display: block; height: 2.3%; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.wshot { position: relative; display: block; aspect-ratio: 390 / 844; overflow: hidden; }
.wimg { position: absolute; inset: 0; display: block; background: #F5F7FB no-repeat 0 0 / 100% 100%; }
.wov { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; }
.wdot {
  position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; opacity: 0;
  background: rgba(255, 255, 255, .5); border: 2.5px solid rgba(37, 99, 235, .9); box-shadow: 0 4px 14px rgba(15, 23, 42, .35);
}
.wring { position: absolute; width: 46px; height: 46px; border: 3px solid var(--bl); border-radius: 50%; opacity: 0; }
.wtyped { position: absolute; font-family: var(--sans); color: var(--ink); background: #fff; white-space: pre-wrap; overflow-wrap: break-word; }
.wcard {
  position: absolute; left: 0; top: 84%; z-index: 2; display: block; width: 32%; padding: 1.4% 2%; border-radius: 10px; background: #fff;
  color: var(--ink); opacity: 0; box-shadow: 0 0 0 2px var(--bl), 0 10px 30px rgba(110, 168, 254, .5); transform-origin: 50% 100%;
}
.wcard small { display: block; font-size: 11px; font-weight: 750; color: var(--bl); }
.wcard b { display: block; font-size: 13.5px; }
.wcard span { display: block; font-size: 11.5px; color: var(--ink3); }
.wlabel {
  position: absolute; left: 50%; bottom: 7%; z-index: 3; display: inline-flex; align-items: center; height: 46px; padding: 0 24px;
  border-radius: 999px; background: var(--bl); color: #fff; font-weight: 700; font-size: 15.5px; white-space: nowrap;
  transform: translateX(-50%); box-shadow: 0 10px 30px rgba(37, 99, 235, .45), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.watch:hover .wlabel, .watch:focus-visible .wlabel {
  transform: translate(-50%, -4px); background: #3B82F6; box-shadow: 0 16px 40px rgba(59, 130, 246, .6), 0 0 0 1px rgba(255, 255, 255, .4) inset;
}
.watch:focus-visible { outline-offset: 5px; border-radius: 18px; }

/* Without script: every live step as a numbered figure. */
.tour-static { margin-top: 30px; display: grid; gap: 40px; }
.tour-static h3 { font-size: 22px; margin: 0 0 14px; }
.tour-static ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.tour-static figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tour-static figcaption { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tour-static figcaption .k { font-size: 12.5px; font-weight: 700; color: var(--bl6); }
.tour-static figcaption b { font-size: 16px; }
.tour-static figcaption span { color: var(--ink2); font-size: 14.5px; line-height: 1.55; }

/* ---- what it does ---- */
.bento { padding: 70px 0 30px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.bc { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 390px; overflow: hidden; }
.bc .ti { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); }
.bc h3 { font-family: var(--serif); font-size: 27px; line-height: 1.12; margin: 0; letter-spacing: -.3px; }
.bc p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.tb { background: #EAF1FE; } .tb .ti { color: var(--bl); }
.tg { background: #E6F5EC; } .tg .ti { color: #15803D; }
.ta { background: #FFF1E2; } .ta .ti { color: #C2410C; }
.mini { margin-top: auto; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); font-size: 13px; }
.bub { padding: 9px 12px; border-radius: 12px; max-width: 88%; line-height: 1.45; margin: 0; }
.bub.me { margin-left: auto; background: var(--bl); color: #fff; border-bottom-right-radius: 4px; }
.bub.ai { background: #F1F5FB; border-bottom-left-radius: 4px; margin-top: 8px; }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin-bottom: 0; }
.node { display: flex; gap: 9px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.node .d { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.node .d svg { width: 16px; height: 16px; }
.node b { display: block; font-size: 12.5px; }
.node small { font-size: 11.5px; color: var(--ink3); }
.prog { display: flex; flex-direction: column; gap: 12px; }
.prog div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 12.5px; font-weight: 600; }
.prog i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #EEF1F6; overflow: hidden; }
.prog i b { display: block; height: 100%; background: var(--bl); border-radius: 99px; }
.row2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 18px; }
.wide { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.wide h3 { font-family: var(--serif); font-size: 25px; margin: 0 0 8px; }
.wide p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.55; }

/* ---- your data ---- */
.data { background: var(--nv); color: #fff; border-radius: 28px; margin: 40px auto 0; padding: 54px 48px; width: min(1184px, calc(100% - 56px)); }
.data h2 { color: #fff; }
.lede2 { color: #C5D0E2; font-size: 17px; line-height: 1.6; max-width: 640px; margin: 14px 0 30px; }
.pii { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.pii li { background: #132447; border: 1px solid #23396A; border-radius: 14px; padding: 16px; font-size: 14px; line-height: 1.45; }
.pii small { display: block; color: var(--bll); font-weight: 700; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.pii code { font-family: inherit; background: #2A3B63; color: #F5C46B; padding: 1px 6px; border-radius: 5px; font-weight: 700; }

/* ---- close and footer ---- */
.foot { padding: 60px 0 50px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.cta h2.s { font-size: 36px; }
.fine { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: var(--ink3); }
.fine .by { display: flex; align-items: center; gap: 10px; }
.fine .by img { width: 22px; height: 22px; }

/* ---- narrower screens ---- */
@media (max-width: 1200px) {
  .laptop { width: 100%; }
}
@media (max-width: 980px) {
  .tabsel { width: 100%; }
  .tabc { flex: 1 1 0; min-width: 0; }
  .hgrid { grid-template-columns: 1fr; }
  .laptop { width: 100%; transform: none; }
  .slide { width: 70%; }
  .under { gap: 18px; }
  .bgrid, .row2 { grid-template-columns: 1fr; }
  .bc { min-height: 0; }
  .pii { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hnav { display: none; }
  /* coder-744: the header's longer button ("See if we are a good fit for each other") wraps to two
     lines beside the logo rather than running off a phone's screen. */
  .hdr { gap: 14px; }
  .logo { flex: none; }
  .hdr .btn.sm { white-space: normal; height: auto; min-height: 44px; max-width: 200px; padding: 6px 12px; line-height: 1.25; }
  .hgrid { padding-top: 28px; }
  .lede { font-size: 17px; }
  .caps { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  /* The laptop becomes a phone: the same picture, its 390-wide screenshot. */
  .laptop { width: 290px; margin: 8px auto 0; }
  .screen { border-radius: 40px; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
  .base { display: none; }
  .shot { border-radius: 30px; aspect-ratio: 390 / 844; }
  .tour { border-radius: 26px 26px 0 0; padding-top: 44px; }
  .tabc { flex-basis: 100%; }
  /* The stage edge to edge, the current screen its whole width; the side screens wait off
     the stage at rest and are seen only as they turn in and out (coder-835). */
  .stage { margin: 24px -18px 0; border-radius: 0; padding: 4px 4px 16px; }
  .cover { padding-bottom: 20px; }
  .cover::after { left: 10%; right: 10%; height: 30px; }
  .screens { --side: 112%; }
  .slide { width: 100%; border-radius: 10px; }
  .slide:focus-visible { border-radius: 10px; }
  .slide .pic { aspect-ratio: 390 / 844; }
  .wbar span { display: none; }
  .under { flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 8px 0; }
  .said h3 { font-size: 20px; }
  .said p { font-size: 14px; }
  .ctl { gap: 4px; }
  .bars { flex: 1 1 auto; gap: 0; min-width: 0; }
  .bar { flex: 1 1 0; width: auto; min-width: 0; height: 44px; }
  .play { width: 52px; min-width: 0; height: 44px; padding: 0; }
  .lookbar { padding-left: 14px; }
  .lookimg { padding: 0; }
  .lookimg img { border-radius: 0; }
  .wide { padding: 24px; }
  /* Watch it work spans the section's width, like the tours (coder-1167). */
  .watch { width: auto; margin: 24px -18px 0; border-radius: 0; }
  .wscr { aspect-ratio: 4 / 5; border-radius: 0; }
  .wpg { width: 47%; }
  .wcard { width: 62%; }
  .watch:focus-visible { outline-offset: -3px; border-radius: 0; }
  .data { border-radius: 0; padding: 40px 22px; width: 100%; }
  .pii { grid-template-columns: 1fr; }
  .cta h2.s { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* No turn and no filling bar: a step changes at once, its bar shown full (coder-835). */
  .bar.run b { width: 100%; }
}
