/* MAGE ID marketing site, the drafting table. The home page (/index.html) uses this sheet.
   Paper, ink, hairlines. Green marks what is happening now, teal what is done. */
:root {
  --paper: #F3F3F0; --sheet: #FBFBF9; --concrete: #ECEDE9;
  --ink: #161B1E; --ink2: #333C41; --mute: #58626A; --hair: #D2D5CF; --hair2: #B4BAB4;
  --green: #2F6B3A; --green-d: #24552D; --green-t: #E4EDE5; --teal: #12806E; --warm: #A84A14;
  --gut: clamp(20px, 4vw, 56px);
  --disp: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --e: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow, .num, dt, .tier, .sheet-id, .views button, .g-name, .g-axis, .illus, .panel-tag, .book-head, .src, th, .legend, .device-cap b, figcaption b, .pin span, .g-today span, td[data-l]::before {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow { font-size: 13px; color: var(--green); }
h1, h2 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: .92; }
h1 { font-size: clamp(54px, 6.1vw, 92px); }
h1 span { display: block; }
h1 .g { color: var(--green); }
h2 { font-size: clamp(40px, 4.4vw, 64px); }
h3 { font-family: var(--disp); font-weight: 600; font-size: 24px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.42; color: var(--ink2); max-width: 30em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 3px; font: 600 17px/1 var(--disp); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .15s var(--e), color .15s var(--e); }
.btn:hover { background: var(--green-d); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tier { display: inline-block; font-size: 11px; line-height: 1; padding: 4px 7px 3px; border: 1px solid var(--hair2); color: var(--ink2); border-radius: 2px; white-space: nowrap; }
.tier.pro { border-color: var(--green); color: var(--green); background: var(--green-t); }
.tier.biz { border-color: var(--ink); color: #fff; background: var(--ink); }

/* ---------- top bar ---------- */
.top { position: absolute; left: 0; right: 0; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--gut); border-bottom: 1px solid var(--hair); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 23px/1 var(--disp); letter-spacing: .06em; }
.brand img { width: 26px; height: auto; }
.navlinks { margin-left: auto; display: flex; gap: 26px; }
.navlinks a { font: 500 15px/1 var(--body); text-decoration: none; color: var(--ink2); padding: 8px 0; border-bottom: 1px solid transparent; }
.navlinks a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- phone frame: thin and exact ---------- */
.phone { --w: 280px; width: var(--w); padding: calc(var(--w) * .026); background: #15191B; border-radius: calc(var(--w) * .145); box-shadow: 0 0 0 1px #000, 0 30px 50px -30px rgba(22, 27, 30, .45), 0 8px 18px -10px rgba(22, 27, 30, .18); }
.phone-screen { position: relative; aspect-ratio: 393 / 852; border-radius: calc(var(--w) * .12); overflow: hidden; background: var(--concrete); }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#phoneScreen img, .shot.seq img { opacity: 0; transition: opacity .32s var(--e); }
#phoneScreen img.on, .shot.seq img.on { opacity: 1; z-index: 2; }
#phoneScreen img.was, .shot.seq img.was { opacity: 1; z-index: 1; }
figcaption, .device-cap { font-size: 14px; line-height: 1.4; color: var(--mute); margin-top: 14px; }
figcaption b, .device-cap b { display: block; color: var(--ink); font-size: 15px; letter-spacing: .08em; margin-bottom: 2px; }
.device-cap .tier { margin-left: 8px; vertical-align: 1px; }

/* ---------- the job ---------- */
.job { position: relative; }
.hero { padding: 112px var(--gut) 36px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero .lead { margin-top: 26px; }
.hero .cta-row { margin-top: 30px; }
.hero-fine { margin-top: 16px; font-size: 14.5px; color: var(--mute); }
.jobstrip { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.jobstrip div { padding: 10px 0 9px; border-bottom: 1px solid var(--hair); }
.jobstrip .wide { grid-column: 1 / -1; }
dt { font-size: 11px; color: var(--mute); }
.jobstrip dd, .titleblock dd { font: 600 22px/1.15 var(--disp); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hero-shot { margin-top: 36px; display: flex; flex-direction: column; align-items: center; }
.hero-shot .phone { --w: min(64vw, 300px); }

.scene-wrap { position: sticky; top: 0; z-index: 6; background: var(--paper); border-bottom: 1px solid var(--hair); }
.scene { padding: 8px var(--gut) 8px; }
.sheet { background: var(--sheet); border: 1px solid var(--ink); display: flex; flex-direction: column; min-height: 0; }
.sheet-head { display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--hair2); min-height: 36px; }
.sheet-id { display: flex; align-items: center; font-size: 12px; color: var(--ink); min-width: 0; }
.sheet-id b { white-space: nowrap; align-self: stretch; display: flex; align-items: center; padding: 0 10px; border-right: 1px solid var(--hair2); font-weight: 700; }
.sheet-id span { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.views { display: flex; }
.views button { font-size: 11px; padding: 0 10px; border-left: 1px solid var(--hair2); color: var(--mute); transition: background .15s, color .15s; }
.views button:hover { color: var(--ink); }
.views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sheet-body { position: relative; height: clamp(200px, 34vh, 330px); overflow: hidden; }
.sheet-body canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.live .sheet-body canvas { display: block; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.drawn .poster { opacity: 0; visibility: hidden; }
.titleblock { display: none; }
.illus { font-size: 10.5px; color: var(--mute); margin-top: 6px; letter-spacing: .1em; }

.pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; display: flex; align-items: center; pointer-events: auto; opacity: 0; visibility: hidden; transition: opacity .2s var(--e), visibility .2s; margin: -12px 0 0 -12px; }
.pin.on { opacity: 1; visibility: visible; }
.pin i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font: 700 13px/24px var(--disp); text-align: center; font-style: normal; box-shadow: 0 0 0 2px var(--sheet); transition: background .15s; }
.pin span { display: none; }
.pin:hover i, .pin[aria-expanded="true"] i { background: var(--ink); }
.pin::after { content: ""; position: absolute; left: -10px; top: -10px; width: 44px; height: 44px; }

.legend { position: absolute; left: 10px; top: 8px; font-size: 10.5px; color: var(--ink2); opacity: 0; transition: opacity .25s; display: flex; gap: 12px; }
.legend.on { opacity: 1; }
.sec .legend { flex-direction: row; gap: 12px; }
.legend li { display: flex; align-items: center; gap: 5px; }
.legend i { width: 16px; height: 2px; background: #2A6FB0; }
.legend .hot { background: #B8402A; } .legend .elec { background: #A87B0C; }

.panel { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: #fff; border: 1px solid var(--ink); padding: 16px 18px 14px; box-shadow: 0 18px 40px -18px rgba(22, 27, 30, .4); }
.panel[hidden] { display: none; }
.panel-x { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; display: grid; place-items: center; }
.panel-x svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.6; fill: none; }
.panel-tag { font-size: 11px; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.panel h3 { margin-top: 8px; font-size: 22px; padding-right: 30px; }
.panel-sub { margin-top: 6px; font-size: 14.5px; line-height: 1.42; color: var(--ink2); }
.panel ul { margin-top: 10px; border-top: 1px solid var(--ink); }
.panel li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 14px; line-height: 1.3; }
.panel li small { grid-column: 1; font-size: 12.5px; color: var(--mute); }
.panel li b { grid-column: 2; grid-row: 1; font: 600 16px/1.2 var(--disp); letter-spacing: .03em; font-variant-numeric: tabular-nums; text-align: right; }
.panel li b.ok { color: var(--teal); } .panel li b.warn { color: var(--warm); }
.panel-note { margin-top: 9px; font-size: 12.5px; line-height: 1.4; color: var(--mute); }

/* small screens: the names of the numbered marks, listed under the drawing */
.keys { display: flex; gap: 14px; height: 32px; margin-top: 4px; overflow: hidden; }
.key { display: none; align-items: center; gap: 6px; min-width: 0; font: 600 11.5px/1 var(--disp); text-transform: uppercase; letter-spacing: .07em; color: var(--ink); }
.key.on { display: flex; }
.key i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font: 700 12px/20px var(--disp); text-align: center; font-style: normal; }
.key span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--hair2); padding: 3px 0 2px; }
.key.open i { background: var(--ink); }
.key.open span { border-color: var(--ink); }

/* the schedule bar chart. Small screens: five segments. Wide screens: a real chart. */
.gantt { position: relative; display: flex; gap: 4px; margin-top: 8px; }
.g-axis, .g-today, .g-head { display: none; }
.g-row { flex: 1; min-width: 0; text-align: left; padding: 4px 0 2px; }
.g-name { display: block; font-size: 11px; letter-spacing: .06em; color: var(--mute); white-space: nowrap; }
.g-name b { display: none; }
.g-track { display: block; position: relative; height: 5px; margin-top: 4px; }
.g-bar { position: absolute; left: 0 !important; width: 100% !important; top: 0; bottom: 0; border: 1px solid var(--ink); background: var(--sheet); }
.g-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--k, 0) * 100%); background: var(--green); }
.g-row.done .g-fill { background: var(--teal); }
.g-row.on .g-name { color: var(--ink); }

.device { display: none; }
.steps { padding: 0 var(--gut); }
.step { padding: 44px 0 52px; border-bottom: 1px solid var(--hair); scroll-margin-top: 50vh; }
.num { font-size: 13px; color: var(--mute); }
.num b { color: var(--green); font-weight: 700; margin-right: 6px; }
.step h2 { margin-top: 10px; }
.say { margin-top: 14px; font-size: 18px; line-height: 1.42; color: var(--ink2); max-width: 26em; }
.tools { margin-top: 20px; border-top: 1px solid var(--ink); max-width: 30em; }
.tools li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0 9px; border-bottom: 1px solid var(--hair); font: 500 16.5px/1.25 var(--body); }
.still { display: none; }
.shot { margin-top: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot .phone { --w: min(66vw, 310px); }

/* without the live drawing: still pictures of it, stage by stage */
html:not(.live) .scene-wrap { display: none; }
html:not(.live) .still { display: block; margin-top: 26px; border: 1px solid var(--ink); background: var(--sheet); }

/* ---------- lower page ---------- */
.band { max-width: 1360px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gut); }
.band + .band { border-top: 1px solid var(--hair); }
.band .eyebrow { margin-bottom: 16px; }

.prices { display: grid; gap: 36px; }
.how { margin-top: 26px; border-top: 1px solid var(--ink); counter-reset: h; }
.how li { counter-increment: h; display: grid; grid-template-columns: 34px 1fr; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.how li::before { content: "0" counter(h); font: 700 15px/1.5 var(--disp); color: var(--green); letter-spacing: .06em; }
.how b { grid-column: 2; font: 600 19px/1.2 var(--disp); text-transform: uppercase; letter-spacing: .04em; }
.how span { grid-column: 2; font-size: 15.5px; color: var(--ink2); margin-top: 3px; }
.fine, .plans-note, .end-fine, .book-note { font-size: 14px; color: var(--mute); }
.fine { margin-top: 16px; }
.book { background: var(--sheet); border: 1px solid var(--ink); align-self: start; }
.book-head { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ink); font-size: 12px; }
.book-count b { font-weight: 700; color: var(--green); }
.book-rows li { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 11px 14px; border-bottom: 1px solid var(--hair); font-size: 15.5px; line-height: 1.3; }
.book-rows li b { font: 600 17px/1.25 var(--disp); letter-spacing: .02em; font-variant-numeric: tabular-nums; text-align: right; grid-column: 2; grid-row: 1; }
.src { grid-column: 1; font-size: 10.5px; font-style: normal; color: var(--mute); transition: color .3s; }
.src.set { color: var(--ink); } .src.job { color: var(--teal); }
.book-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 14px; }
.prices-shot { display: flex; flex-direction: column; align-items: center; text-align: center; }
.prices-shot .phone { --w: min(56vw, 250px); }

/* the hero's three documents, and the brain cards (home page) */
.hero-docs { margin-top: 26px; }
.hero-docs li { padding: 8px 0 7px; font-size: 15.5px; }
.hero-fine a { white-space: nowrap; }

.brain-lead { margin-top: 16px; font-size: 18px; line-height: 1.42; color: var(--ink2); max-width: 30em; }
.brain-cards { margin-top: 36px; display: grid; gap: 14px; }
.brain-cards > noscript { display: block; }
.brain-plain { max-width: none; }
.brain-detail, .brain-key { background: var(--sheet); border: 1px solid var(--ink); min-width: 0; }
.brain-detail { display: grid; grid-template-columns: 1fr; }
.bd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; padding: 8px 14px 7px; border-bottom: 1px solid var(--ink); font: 600 12px/1.2 var(--disp); text-transform: uppercase; letter-spacing: .12em; }
.bd-head b { font-weight: 700; color: var(--green); margin-right: 8px; }
.bd-text { display: flex; flex-direction: column; min-width: 0; }
.bd-text h3 { padding: 16px 14px 0; }
.bd-lede { flex: 1; padding: 8px 14px 16px; font-size: 15.5px; line-height: 1.42; color: var(--ink2); }
.bd-lede em { font-style: normal; font-weight: 600; color: var(--ink); }
.bd-text details { border-top: 1px solid var(--hair); }
.bd-text summary { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 14px; cursor: pointer; list-style: none; font: 600 12px/1 var(--disp); text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.bd-text summary::-webkit-details-marker { display: none; }
.bd-text summary::after { content: "+"; font: 600 18px/1 var(--disp); color: var(--ink); }
.bd-text details[open] summary::after { content: "\2212"; }
.bd-bullets li { padding: 10px 14px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 1.42; color: var(--ink2); }
.bd-bullets b { color: var(--ink); font-weight: 600; }
.bd-bullets .tier { margin-left: 4px; vertical-align: 1px; }
.bd-shot { margin: 0; padding: 18px 14px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.bd-shot .phone { --w: min(48vw, 184px); }
.bd-shot figcaption { margin-top: 12px; max-width: 24em; font-size: 12.5px; }
.brain-key .tools { margin: 0 14px; border-top: 0; max-width: none; }
.brain-key .tools span { font: 600 17px/1.25 var(--disp); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.brain-key .fine { margin: 0; padding: 12px 14px 14px; }

.proof { background: #151A1C; color: #F1F2EE; }
.proof-in { max-width: 1360px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gut); }
.proof .eyebrow { color: #8FC49A; margin-bottom: 16px; }
.facts { margin-top: 40px; display: grid; border-top: 1px solid rgba(255, 255, 255, .5); }
.facts li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: start; padding: 20px 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.facts b { font: 600 22px/1.12 var(--disp); text-transform: uppercase; letter-spacing: .03em; }
.facts span:not(.tier) { grid-column: 1 / -1; font-size: 15.5px; line-height: 1.42; color: #C3C9C5; max-width: 30em; }
.facts .tier { grid-column: 2; grid-row: 1; border-color: rgba(255, 255, 255, .4); color: #E6E9E5; background: transparent; }
.facts .tier.pro { border-color: #8FC49A; color: #A9D6B2; }

.pricing-lead { margin-top: 16px; font-size: 18px; color: var(--ink2); max-width: 34em; }
.rates { width: 100%; margin-top: 40px; border-collapse: collapse; }
.rates thead { display: none; }
.rates tr { display: block; border: 1px solid var(--ink); background: var(--sheet); margin-bottom: 14px; padding: 4px 16px 12px; }
.rates th[scope="row"] { display: block; text-align: left; font: 700 30px/1 var(--disp); letter-spacing: .03em; padding: 14px 0 10px; border-bottom: 1px solid var(--ink); }
.rates td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 7px; border-bottom: 1px solid var(--hair); font: 600 18px/1.25 var(--disp); letter-spacing: .02em; font-variant-numeric: tabular-nums; text-align: right; }
td[data-l]::before { content: attr(data-l); font-size: 11.5px; color: var(--mute); text-align: left; padding-top: 3px; }
.rates td.adds { display: block; border: 0; text-align: left; font: 400 15px/1.42 var(--body); color: var(--ink2); padding-top: 10px; }
.rates td.price { font-size: 26px; }
.rates tr.pro th[scope="row"] { color: var(--green); }
.plans-note { margin-top: 6px; }
.straight { margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 12px; }
.straight p { font-size: 16px; color: var(--ink2); max-width: 44em; }
.straight-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.straight-links a, .foot a { text-underline-offset: 3px; }
.straight-links a, .foot nav a { display: inline-block; padding: 10px 0; }
.straight-links a { font: 600 16px/1.2 var(--disp); text-transform: uppercase; letter-spacing: .08em; color: var(--green); }

.testing-copy p:last-child { margin-top: 16px; font-size: 17px; color: var(--ink2); max-width: 30em; }
.testing-shots { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.testing-shots figure { display: flex; flex-direction: column; }
.testing-shots .phone { --w: min(40vw, 215px); }
.testing-shots figcaption { max-width: 22em; }
.flag { display: inline-block; align-self: flex-start; font: 600 11px/1 var(--disp); text-transform: uppercase; letter-spacing: .12em; padding: 5px 8px 4px; border: 1px dashed var(--ink); margin-bottom: 12px; }
.tabs { display: flex; gap: 0; margin-top: 12px; border: 1px solid var(--hair2); align-self: flex-start; }
.tabs button { font: 600 11px/1 var(--disp); letter-spacing: .1em; text-transform: uppercase; padding: 7px 9px 6px; color: var(--mute); border-right: 1px solid var(--hair2); }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.end { border-top: 1px solid var(--ink); background: var(--concrete); }
.end { display: grid; gap: 40px; padding: clamp(64px, 9vw, 120px) var(--gut); }
.end-say { margin-top: 18px; font-size: 19px; color: var(--ink2); }
.end .cta-row { margin-top: 26px; }
.end-fine { margin-top: 14px; }
.end-art { display: flex; gap: 18px; justify-content: center; }
.end-art .phone { --w: min(40vw, 240px); }

.foot { border-top: 1px solid var(--ink); padding: 26px var(--gut) 40px; font-size: 14px; color: var(--ink2); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.trust-strip { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.aia-notice { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--mute); max-width: 76em; }

/* ---------- small screens ---------- */
@media (max-width: 1099px) {
  .navlinks { display: none; }
  .top .btn { margin-left: auto; }
  .views button { padding: 0 8px; }
  .views .x { display: none; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .sheet-body { height: clamp(260px, 40vh, 420px); }
  .jobstrip { grid-template-columns: repeat(4, 1fr); }
  .testing-shots { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices-copy { grid-column: 1 / -1; }
  .brain-cards { grid-template-columns: 1fr 1fr; }
  .brain-cards > noscript { grid-column: 1 / -1; }
}

/* ---------- wide screens: words on the left, the drawing and the app pinned beside them ---------- */
@media (min-width: 1100px) {
  .live .job { display: grid; grid-template-columns: minmax(350px, 29.5%) minmax(0, 1fr); }
  .live .hero { grid-column: 1; grid-row: 1; min-height: 100vh; padding: 96px 0 40px var(--gut); display: flex; flex-direction: column; justify-content: center; }
  .live .jobstrip, .live .hero-shot { display: none; }
  .live .steps { grid-column: 1; grid-row: 2; padding: 0 0 0 var(--gut); }
  .live .step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; border: 0; }
  .live .shot { display: none; }
  .live .scene-wrap { grid-column: 2; grid-row: 1 / span 2; position: static; border: 0; background: none; }
  .live .scene { position: sticky; top: 0; height: 100vh; min-height: 620px; padding: 88px var(--gut) 18px 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto auto; column-gap: 40px; }
  .live .sheet { grid-column: 1; grid-row: 1; }
  .sheet-head { min-height: 34px; }
  .sheet-id { font-size: 13px; }
  .views button { font-size: 12px; padding: 0 13px; }
  .live .sheet-body { flex: 1; height: auto; min-height: 0; }
  .titleblock { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; border-top: 1px solid var(--ink); }
  .titleblock div { padding: 9px 10px 9px; border-left: 1px solid var(--hair2); position: relative; min-width: 0; }
  .titleblock div:first-child { border-left: 0; }
  .titleblock dt { white-space: nowrap; letter-spacing: .08em; font-size: 10.5px; }
  .titleblock dd { font-size: clamp(15px, 1.28vw, 19px); white-space: nowrap; margin-top: 2px; }
  .titleblock .tb-job dd { font-size: clamp(14px, 1.1vw, 16.5px); white-space: normal; line-height: 1.1; }
  .titleblock div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--e); }
  .titleblock div.now::after { transform: scaleX(1); }
  .titleblock div.now dd { color: var(--green); }

  .pin span { display: block; margin-left: 7px; padding: 4px 7px 3px; font-size: 11px; line-height: 1; white-space: nowrap; background: var(--sheet); border: 1px solid var(--ink); color: var(--ink); }
  .pin.flip { flex-direction: row-reverse; }
  .pin.flip span { margin: 0 7px 0 0; }
  .pin:hover span, .pin[aria-expanded="true"] span { background: var(--ink); color: #fff; }
  .legend { left: 14px; top: 12px; font-size: 11.5px; flex-direction: column; gap: 5px; }
  .panel { position: absolute; left: auto; right: 12px; bottom: 12px; width: min(340px, calc(100% - 24px)); }

  .keys { display: none; }
  .live .gantt { grid-column: 1; grid-row: 2; display: block; margin-top: 14px; --gn: 104px; padding-bottom: 2px; }
  .g-axis { display: block; position: relative; height: 20px; margin-left: var(--gn); font-size: 10.5px; color: var(--mute); border-bottom: 1px solid var(--ink); }
  .g-axis span { position: absolute; top: 2px; white-space: nowrap; }
  .g-axis span:nth-child(2) { left: 26%; } .g-axis span:nth-child(3) { right: 0; }
  .g-row { display: flex; align-items: center; width: 100%; padding: 0; height: 21px; border-bottom: 1px solid var(--hair); }
  .g-name { flex: none; width: var(--gn); font-size: 12.5px; letter-spacing: .08em; }
  .g-name b { display: inline-block; width: 24px; font-weight: 600; color: var(--hair2); }
  .g-row.on .g-name b, .g-row.done .g-name b { color: var(--green); }
  .g-track { flex: 1; height: 100%; margin: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 14 - 1px), var(--hair) calc(100% / 14 - 1px), var(--hair) calc(100% / 14)); }
  .g-bar { left: var(--a) !important; width: var(--w) !important; top: 5px; bottom: 5px; transition: border-color .2s; }
  .g-row:hover .g-bar { background: var(--green-t); }
  .g-today { display: block; position: absolute; top: 20px; bottom: 0; left: calc(var(--gn) + (100% - var(--gn)) * var(--f, .58)); border-left: 1px dashed var(--green); pointer-events: none; }
  .g-today span { position: absolute; left: 5px; top: -18px; font-size: 10.5px; color: var(--green); white-space: nowrap; font-style: normal; background: var(--paper); padding: 0 3px; }
  .g-head { display: block; position: absolute; top: 20px; bottom: 0; left: calc(var(--gn) + (100% - var(--gn)) * var(--h, 0)); width: 0; border-left: 1.5px solid var(--ink); pointer-events: none; }
  .g-head::before { content: ""; position: absolute; left: -5.5px; top: -1px; border: 5px solid transparent; border-top: 7px solid var(--ink); border-bottom: 0; }
  .live .gantt { cursor: ew-resize; touch-action: none; }
  .live .illus { grid-column: 1; grid-row: 3; margin-top: 8px; }

  .live .device { display: block; grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .device .phone { --w: clamp(250px, calc((100vh - 88px - 18px - 78px) * .4613), 318px); }
  .device-cap { min-height: 60px; width: 0; min-width: 100%; }

  html:not(.live) .step { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 0 48px; padding: 64px 0; align-items: center; }
  html:not(.live) .step > :not(figure) { grid-column: 1; }
  html:not(.live) .still { grid-column: 2; grid-row: 1 / span 5; margin: 0; }
  html:not(.live) .shot { grid-column: 3; grid-row: 1 / span 5; margin: 0; }
  html:not(.live) .shot .phone { --w: 250px; }
  html:not(.live) .hero { display: grid; grid-template-columns: 1.1fr auto; gap: 0 64px; padding-top: 120px; }
  html:not(.live) .hero > :not(figure) { grid-column: 1; }
  html:not(.live) .hero-shot { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
  html:not(.live) .jobstrip { grid-template-columns: repeat(4, 1fr); }

  .prices { grid-template-columns: 4fr 5fr 3fr; gap: 56px; align-items: start; }
  .facts { grid-template-columns: repeat(3, 1fr); column-gap: 56px; }
  .pricing-head { display: grid; grid-template-columns: 4fr 8fr; gap: 0 56px; align-items: end; }
  .pricing-head .eyebrow { grid-column: 1 / -1; }
  .pricing-lead { margin: 0 0 6px; }
  .rates { border-top: 1px solid var(--ink); }
  .rates thead { display: table-header-group; }
  .rates tr { display: table-row; border: 0; background: none; }
  .rates th, .rates td { display: table-cell; padding: 18px 14px 16px; border-bottom: 1px solid var(--hair); vertical-align: baseline; text-align: left; }
  .rates thead th { font-size: 11.5px; color: var(--mute); padding: 10px 14px 9px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
  .rates th[scope="row"] { display: table-cell; font-size: 30px; padding-left: 0; border-bottom: 1px solid var(--hair); }
  .rates .n { text-align: right; }
  .rates thead th:last-child { padding-left: 28px; }
  .facts li { align-content: start; }
  .rates td { font-size: 20px; }
  .rates td.price { font-size: 34px; font-weight: 700; }
  td[data-l]::before { content: none; }
  .rates td.adds { display: table-cell; width: 31%; padding: 18px 0 16px 28px; border-bottom: 1px solid var(--hair); }
  .rates tr.pro td, .rates tr.pro th { background: linear-gradient(var(--green-t), var(--green-t)); }
  .rates tr.pro th[scope="row"] { padding-left: 14px; box-shadow: inset 3px 0 0 var(--green); }
  .rates tbody th[scope="row"] { padding-left: 14px; }
  .straight { grid-template-columns: 4fr 8fr; gap: 12px 56px; }
  .straight h3 { grid-row: 1 / span 2; }

  .brain { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
  .brain-cards { margin: 0; grid-template-columns: 1fr 1fr; gap: 16px; }
  .brain-detail { grid-template-columns: 1fr auto; }
  .bd-shot { border-top: 0; border-left: 1px solid var(--hair); padding: 16px 14px; }
  .bd-shot .phone { --w: 150px; }
  .bd-shot figcaption { max-width: 150px; }
  .brain-cards > noscript { grid-column: 1 / -1; }
  .testing { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
  .testing-shots { margin: 0; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .testing-shots .phone { --w: min(100%, 220px); }
  .end { grid-template-columns: 5fr 7fr; align-items: center; padding-left: max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))); }
  .end-art { gap: 36px; justify-content: flex-end; }
  .end-art figure:last-child { margin-top: 56px; }
}
@media (min-width: 1100px) and (max-height: 760px) {
  .live .scene { padding-top: 76px; }
  .live .step h2 { font-size: 48px; }
}

/* a phone on its side: too short to pin the drawing, so it scrolls with the page */
@media (max-height: 480px) and (max-width: 1099px) {
  .scene-wrap { position: static; }
}

/* screenshots of one stage or one section */
.snap { scroll-behavior: auto; }
.snap * { transition: none !important; }
.full .top { position: static; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print { .scene-wrap { position: static; } }
