/* PasteHop site. A light Mac world: soft blue desktop, white windows, the dark bar and its amber key.
   No font, script or image comes from another server. */

:root {
  --font: -apple-system, system-ui, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, system-ui, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --ink: #141418;
  --ink-2: rgba(20, 20, 24, .68);
  --ink-3: rgba(20, 20, 24, .46);
  --line: rgba(20, 20, 24, .12);
  --paper: #FFFFFF;
  --mist: #F2F6FB;
  --sky: #C6DDFB;
  --blue: #0064E1;
  --graphite: #17171B;
  --amber: #FFC53D;
  --amber-skirt: #C28C0E;
  --sel: #B3D4FF;
  --wrap: 1160px;
  --gutter: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--sel); }
img, svg, video { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--blue); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
kbd { font: inherit; font-weight: 600; white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(0, 103, 244, .55); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--graphite); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.042em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 76px); }
h1 > span { display: block; }
@media (min-width: 901px) { h1 > span { white-space: nowrap; } }
/* The ⌘V key, set in the headline. Amber is this key and nothing else. */
.hkey { position: relative; display: inline-block; width: 1.74em; height: 1.02em; margin: 0 .05em 0 .03em; vertical-align: -.13em; border-radius: .27em; background: var(--amber-skirt); box-shadow: 0 0 0 .012em rgba(118, 74, 0, .7), 0 .03em .03em rgba(74, 46, 0, .28), 0 .14em .26em -.06em rgba(122, 78, 0, .5); }
.hkey > span { position: absolute; left: 0; top: 0; width: 100%; height: 88%; border-radius: .27em; display: flex; align-items: center; justify-content: center; background: var(--amber); box-shadow: inset 0 .02em 0 rgba(255, 255, 255, .55); color: #1C1B19; font-size: .6em; font-weight: 700; letter-spacing: .01em; line-height: 1; }
h2 { font-size: clamp(34px, 4.7vw, 66px); }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.fine { font-size: 14px; line-height: 1.4; color: var(--ink-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font: 600 17px/1 var(--font);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.975); }
.btn-dark { background: var(--graphite); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 8px 20px rgba(20, 30, 60, .22); }
.btn-dark:hover { background: #26262C; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 8px 20px rgba(0, 80, 200, .25); }
.btn-blue:hover { background: #0A6FF0; }
.btn-big { min-height: 60px; padding: 0 32px; font-size: 19px; border-radius: 16px; }
.todo-note { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Menu bar (the site's navigation) ---------- */
.menubar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 48px;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 .5px 0 rgba(20, 20, 24, .14);
}
.menubar-in { height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 700 16px/1 var(--font); letter-spacing: -.01em; text-decoration: none; }
.brand img { display: block; border-radius: 6px; }
.menubar-nav { display: flex; gap: 24px; margin-right: auto; }
.menubar-nav a { color: var(--ink); font: 500 14px/1 var(--font); text-decoration: none; opacity: .8; padding: 8px 0; }
.menubar-nav a:hover { opacity: 1; text-decoration: underline; }
.menubar-cta { margin-left: auto; padding: 8px 14px; border-radius: 9px; background: var(--graphite); color: #fff; font: 600 14px/1 var(--font); text-decoration: none; }
.menubar-nav + .menubar-cta { margin-left: 0; }
.menubar-cta:hover { background: #26262C; }
.menubar-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.menubar-progress i { display: block; height: 100%; width: 100%; background: rgba(20, 20, 24, .62); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  margin-top: -48px;
  padding: calc(48px + clamp(20px, 2.8vw, 40px)) 0 clamp(40px, 5vw, 72px);
  background: var(--sky) url(../assets/sky.svg) center / cover no-repeat;
}
.hero-side { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(12px, 1.4vw, 20px); }
.hero-side .lead { max-width: 31em; }
.hero .lead { color: rgba(20, 20, 24, .78); }
.hero-cta { flex: none; display: flex; align-items: center; gap: 18px; }
.hero-cta.is-phone { display: none; margin-top: 26px; }
.hero .fine { color: rgba(20, 20, 24, .72); }

.demo { margin-top: clamp(20px, 2.2vw, 30px); }
.demo-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "src form" "bar bar"; gap: 0 28px; }
.demo-stage .win-top { height: 36px; }
.demo-src { grid-area: src; }
.demo-form { grid-area: form; }
.demo-barrow { grid-area: bar; position: relative; z-index: 3; display: flex; justify-content: center; min-width: 0; margin-top: -15px; }
.demo-barrow .ph { zoom: 1.16; display: flex; justify-content: center; max-width: 100%; min-width: 0; }

.src-body { padding: 14px 26px 24px; }
.src-row { display: flex; flex-direction: column; align-items: flex-start; }
.src-row + .src-row { margin-top: 10px; }
.src-label, .form-label { font: 500 12.5px/1.3 var(--font); color: rgba(20, 20, 24, .64); }
.src {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 1px 0 0 -8px;
  padding: 3px 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--ink);
  font: 500 clamp(17px, 1.7vw, 21px)/1.3 var(--font);
  letter-spacing: -.01em;
  text-align: left;
  cursor: copy;
}
.src-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 3px; background: linear-gradient(var(--sel), var(--sel)) no-repeat 0 0 / 0% 100%; transition: background-size .22s ease-out; }
.src:hover .src-v, .src.is-sel .src-v { background-size: 100% 100%; }
.src[aria-pressed="true"] { cursor: default; }
.src-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #F7F4EC;
  box-shadow: 0 2px 0 #CDC6B3, 0 0 0 .5px rgba(0, 0, 0, .25), 0 3px 6px rgba(0, 0, 0, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 12px/1 var(--font);
  color: rgba(28, 27, 25, .88);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s, transform .25s var(--ease);
}
.src[aria-pressed="true"] .src-mark { opacity: 1; transform: none; }

.form-body { padding: 12px 26px 28px; }
.form-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.form-head b { flex: 1; font: 600 16px/1.2 var(--font); }
.form-cancel { font: 500 12.5px/1 var(--font); color: rgba(20, 20, 24, .6); padding: 7px 10px; }
.form-save { font: 600 12.5px/1 var(--font); color: #fff; background: #17171B; padding: 7px 13px; border-radius: 8px; }
.form-row + .form-row { margin-top: 6px; }
.form-label { display: block; margin-bottom: 4px; }
.field {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
  font: 500 clamp(15px, 1.45vw, 18px)/1 var(--font);
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  cursor: text;
  outline: none;
  transition: background-color .6s ease;
}
.field.is-focus { box-shadow: inset 0 0 0 1.5px #2F7BF6, 0 0 0 3.5px rgba(47, 123, 246, .28); }
.field:focus-visible { box-shadow: inset 0 0 0 1.5px #2F7BF6, 0 0 0 3.5px rgba(47, 123, 246, .45); }
.field.is-landed { background-color: #E3EEFF; transition: none; }
.field-v { overflow: hidden; text-overflow: clip; line-height: 1.3; }
.caret { flex: none; width: 1.5px; height: 21px; margin-left: 1px; background: var(--ink); opacity: 0; }
.field.is-focus .caret { opacity: 1; }

.demo-ctl { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.bigkey {
  position: relative;
  flex: none;
  width: 86px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: var(--amber-skirt);
  box-shadow: 0 0 0 .5px rgba(118, 74, 0, .7), 0 2px 2px rgba(74, 46, 0, .28), 0 10px 18px -4px rgba(122, 78, 0, .45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bigkey > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 51px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
  color: #1C1B19;
  font: 700 24px/1 var(--font);
  letter-spacing: .02em;
  transition: transform .07s ease-out;
}
.bigkey:active > span, .bigkey.is-down > span { transform: translateY(5px); }
.demo-hint { flex: 1; min-width: 0; font: 500 16px/1.35 var(--font); color: rgba(20, 20, 24, .82); }
.demo-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font); color: rgba(20, 20, 24, .82); cursor: pointer; white-space: nowrap; }
.demo-tab input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.demo-tab em { font-style: normal; font-weight: 600; font-size: 11.5px; padding: 3px 6px; border-radius: 5px; background: rgba(20, 20, 24, .1); margin-left: 2px; }
.tgl { position: relative; width: 38px; height: 22px; border-radius: 11px; background: rgba(20, 20, 24, .22); transition: background .2s; }
.tgl::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.demo-tab input:checked + .tgl { background: var(--blue); }
.demo-tab input:checked + .tgl::after { transform: translateX(16px); }
.demo-tab input:focus-visible + .tgl { outline: 3px solid rgba(0, 103, 244, .55); outline-offset: 3px; }
.demo-reset { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(20, 20, 24, .14); font: 600 14px/1 var(--font); cursor: pointer; }
.demo-reset:hover { background: #fff; }
.demo-note { margin-top: 14px; max-width: 62em; font-size: 13.5px; line-height: 1.45; color: rgba(20, 20, 24, .68); }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16), 0 8px 20px rgba(20, 50, 110, .28);
  color: var(--ink);
  font: 500 15px/1.3 var(--font);
  white-space: nowrap;
  will-change: transform, opacity;
}

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9.5vw, 132px) 0; }
.sec-mist { background: var(--mist); }
.sec-sky { background: var(--sky) url(../assets/sky.svg) center / cover no-repeat; }
.sec-head { max-width: 860px; margin-bottom: clamp(36px, 4.6vw, 60px); }
.sec-head .lead { margin-top: 20px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .75s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.deflist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
.deflist > div { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.deflist dt { font: 700 16.5px/1.3 var(--font); letter-spacing: -.01em; }
.deflist dd { margin-top: 3px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.sec-sky .deflist > div { border-top-color: rgba(20, 20, 24, .16); }
.sec-sky .deflist dd { color: rgba(20, 20, 24, .76); }

/* ---------- 2. Trips ---------- */
.trips-n { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 13px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.trips-n legend { float: left; padding: 0 12px 0 10px; font: 600 14px/36px var(--font); color: var(--ink-2); }
.trips-n label { position: relative; cursor: pointer; }
.trips-n input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.trips-n span { display: block; min-width: 46px; padding: 0 12px; border-radius: 9px; font: 600 15px/36px var(--font); text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.trips-n input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 2px 6px rgba(20, 40, 90, .14); }
.trips-n input:focus-visible + span { outline: 3px solid rgba(0, 103, 244, .55); outline-offset: 1px; }
.trips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border-top: 2px solid var(--ink); }
.trip { padding: 22px 40px 6px 0; }
.trip + .trip { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.trip figcaption { font: 700 17px/1.2 var(--font); letter-spacing: -.01em; }
.trip-svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 14px 0 6px; overflow: visible; }
.trip-svg .rail { stroke: rgba(20, 20, 24, .13); stroke-width: 2; stroke-linecap: round; }
.trip-svg text { font: 600 11.5px var(--font); fill: rgba(20, 20, 24, .62); }
.trip-svg .path { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trip-svg.is-drawn .path { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur, 1.4s) cubic-bezier(.45, 0, .2, 1); }
.trip-svg .dot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.trip-svg .dot.is-paste { fill: var(--ink); }
#trip-new .path { stroke: var(--blue); }
#trip-new .dot { stroke: var(--blue); }
#trip-new .dot.is-paste { fill: var(--blue); }
.trip-num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.trip-num b { font: 800 clamp(72px, 9vw, 128px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.trip-num span { font: 600 17px/1.25 var(--font); color: var(--ink-2); max-width: 11em; }
.trips-rule { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-2); }

/* ---------- 3. How it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 24px 0 26px; border-top: 1px solid var(--line); }
.step:first-child { border-top: 2px solid var(--ink); }
.step-n {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #F7F4EC;
  box-shadow: 0 3px 0 #CDC6B3, 0 0 0 .5px rgba(0, 0, 0, .25), 0 5px 10px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 17px/1 var(--font);
  color: rgba(28, 27, 25, .88);
}
.step h3 { font-size: 22px; }
.step p { margin-top: 6px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.step-bar { margin-top: 16px; max-width: 100%; }
.step-bar .bar { --w: 400px; }
.rec { position: sticky; top: 84px; }
.rec-frame { border-radius: 18px; overflow: hidden; background: #1B1B1D; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 30px 70px rgba(24, 56, 116, .26), 0 8px 20px rgba(24, 56, 116, .14); }
.rec video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.rec figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

.keys { margin-top: clamp(56px, 7vw, 96px); }
.keys h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.keys-list.ph { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; font: inherit; color: var(--ink); }
.keys-list li { padding-top: 20px; border-top: 1px solid var(--line); }
.key-plate { display: flex; align-items: center; justify-content: center; width: 112px; height: 76px; border-radius: 18px; background: linear-gradient(#1E1F22, #16171A); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .7), 0 10px 22px rgba(0, 0, 0, .22); }
.key-plate .key { zoom: 1.7; }
.keys-list p { margin-top: 14px; font: 400 16px/1.45 var(--font); color: var(--ink-2); }
.keys-list p b { color: var(--ink); font-weight: 700; }
.keys-foot { margin-top: 26px; font-size: 16px; color: var(--ink-2); }

/* ---------- 4. Film ---------- */
#film .sec-head { margin-bottom: 28px; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 70px rgba(24, 56, 116, .2), 0 8px 20px rgba(24, 56, 116, .1); }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-frame.is-empty { background: var(--sky) url(../assets/sky.svg) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(24, 56, 116, .16); display: flex; align-items: center; justify-content: center; text-align: center; }
.film-frame.is-empty p { font: 700 clamp(18px, 2.2vw, 26px)/1.25 var(--display); letter-spacing: -.02em; color: rgba(20, 20, 24, .72); }

/* ---------- 5. The pile ---------- */
.pile-fig { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pile-view { position: relative; min-height: 330px; }
.pile-backwin { position: absolute; left: 7%; right: 7%; top: 74px; height: 250px; }
.pile-backwin-body { padding: 78px 34px 0; display: grid; gap: 14px; }
.pile-backwin-body b { font: 600 16px/1 var(--font); }
.pile-backwin-body span { display: block; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.pile-scroll { position: relative; z-index: 2; display: flex; justify-content: center; padding: 26px 0 30px; }
.pile-ph { flex: none; }
.pile-ph .pile-mid, .pile-ph .pile-next { cursor: pointer; }
.pile-ph .pile-end.is-next { cursor: pointer; }
.pile-ph .pile-mid:focus-visible, .pile-ph .pile-next:focus-visible, .pile-ph button.lid-cmd:focus-visible { outline: 2px solid #6FB1FF; outline-offset: -3px; border-radius: 12px; }
.pile-notes li { padding: 15px 0 17px; border-top: 1px solid rgba(20, 20, 24, .16); }
.pile-notes li:first-child { border-top: 2px solid var(--ink); }
.pile-notes b { display: block; font: 700 17px/1.3 var(--font); letter-spacing: -.01em; }
.pile-notes span { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.45; color: rgba(20, 20, 24, .76); }
.pile-slide { display: none; margin-top: 4px; font-size: 14px; color: rgba(20, 20, 24, .72); }
.pile-try { margin-top: 26px; font-size: 16.5px; color: rgba(20, 20, 24, .8); }
.byhand, .alsopro { margin-top: clamp(48px, 6vw, 80px); }
.byhand h3, .alsopro h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }

/* ---------- 6. Pro ---------- */
.pro { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.pro-tabs { display: grid; gap: 2px; }
.pro-tabs button {
  display: block;
  width: 100%;
  padding: 13px 16px 14px;
  border: 0;
  border-radius: 13px;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.pro-tabs b { display: block; font: 700 17px/1.25 var(--font); letter-spacing: -.01em; color: var(--ink-2); }
.pro-tabs span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.pro-tabs button:hover { background: var(--mist); }
.pro-tabs button[aria-selected="true"] { background: var(--mist); box-shadow: inset 3px 0 0 var(--ink); }
.pro-tabs button[aria-selected="true"] b { color: var(--ink); }
.pro-stage { position: relative; aspect-ratio: 680 / 430; border-radius: 20px; overflow: hidden; background: var(--sky) url(../assets/sky.svg) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(24, 56, 116, .14); }
.pro-canvas { position: absolute; left: 0; top: 0; width: 680px; height: 430px; transform-origin: 0 0; }
.pro-foot { display: flex; align-items: flex-start; gap: 20px; margin-top: 18px; }
.pro-steps { flex: 1; min-width: 0; display: grid; gap: 5px; counter-reset: s; }
.pro-steps li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); counter-increment: s; transition: color .2s; }
.pro-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font: 700 11.5px/20px var(--font); text-align: center; color: var(--ink-2); }
.pro-steps li.is-now { color: var(--ink); font-weight: 600; }
.pro-steps li.is-now::before { background: var(--ink); color: #fff; box-shadow: none; }
.pro-replay { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1 var(--font); cursor: pointer; }
.pro-replay:hover { background: #E8EEF6; }
.pro-fact { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }

/* Pieces drawn on the Pro canvas (all positions in the canvas's own 680 x 430 points) */
.sc { position: absolute; }
.sc-win { left: 50px; top: 96px; width: 580px; height: 320px; }
.sc-win .win-top { height: 36px; }
.sc-pile { left: 20px; top: 16px; }
.sc-bar { left: 0; right: 0; top: 16px; display: flex; justify-content: center; z-index: 6; transition: opacity .2s; }
.sc-stack { left: 0; right: 0; top: 66px; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 5; transition: opacity .2s, transform .3s var(--ease); }
.sc-stack.is-off, .sc-bar.is-off, .sc-pile.is-off { opacity: 0; pointer-events: none; }
/* The menu that ··· opens, drawn as the Mac draws its menus. */
.sc-menu { z-index: 20; min-width: 196px; padding: 5px; border-radius: 9px; background: rgba(246, 246, 248, .97); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 14px 34px rgba(0, 0, 0, .26); font: 400 13px/22px var(--font); color: #1d1d1f; opacity: 0; transform: translateY(-4px); transition: opacity .12s, transform .16s var(--ease); pointer-events: none; }
.sc-menu.is-on { opacity: 1; transform: none; }
.sc-menu span { display: block; padding: 0 10px; border-radius: 5px; white-space: nowrap; }
.sc-menu span.is-on { background: var(--blue); color: #fff; }
.sc-menu i { display: block; height: 1px; margin: 5px 10px; background: rgba(0, 0, 0, .12); }
.sc-stack.is-off { transform: translateY(-14px); }
.sc-cursor { left: 0; top: 0; z-index: 30; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); transition: transform var(--cd, .6s) cubic-bezier(.4, 0, .2, 1), opacity .2s; transform-origin: 0 0; }
/* The press shrinks the arrow itself, around its tip. Scaling the whole cursor also scaled its place on the stage: it jumped at every click. */
.sc-cursor path { transform-box: fill-box; transform-origin: 0 0; transition: transform .08s; }
.sc-cursor.is-down path { transform: scale(.86); }
.sc-optkey { left: 0; top: 0; z-index: 31; opacity: 0; transition: transform var(--cd, .6s) cubic-bezier(.4, 0, .2, 1), opacity .2s; }
.sc-optkey.is-on { opacity: 1; }
.sc-label { font: 500 12.5px/1 var(--font); color: rgba(20, 20, 24, .6); }
.sc-h { font: 600 16px/1 var(--font); color: var(--ink); transition: opacity .25s; }
.sc-h.is-off { opacity: 0; }
.sc-field { height: 38px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); display: flex; align-items: center; padding: 0 12px; font: 500 15.5px/1 var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; transition: background-color .6s; }
.sc-field.is-focus { box-shadow: inset 0 0 0 1.5px #2F7BF6, 0 0 0 3.5px rgba(47, 123, 246, .28); }
.sc-field.is-landed { background-color: #E3EEFF; transition: none; }
.sc-field.is-plan span { text-decoration: underline dotted rgba(20, 20, 24, .7); text-underline-offset: 4px; color: rgba(20, 20, 24, .78); }
.sc-field .sc-caret { width: 1.5px; height: 19px; background: var(--ink); }
.sc-mark { z-index: 4; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .25s var(--ease); }
.sc-mark.is-on { opacity: 1; transform: none; }
.sc-line { font: 400 17px/1 var(--font); color: var(--ink); white-space: nowrap; }
.sc-line.is-landed { background: #E3EEFF; box-shadow: 0 0 0 4px #E3EEFF; border-radius: 2px; }
.sc-line, .sc-cellv { transition: background-color .7s, box-shadow .7s; }
.sc-grid { left: 50px; top: 166px; width: 580px; height: 250px; background:
    linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)) 36px 0 / 1px 100% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 135px, rgba(0, 0, 0, .1) 135px 136px) 36px 0 / 544px 100% no-repeat,
    repeating-linear-gradient(transparent 0 27px, rgba(0, 0, 0, .1) 27px 28px) 0 24px / 100% 100% no-repeat,
    linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)) 0 23px / 100% 1px no-repeat,
    linear-gradient(#F3F4F6, #F3F4F6) 0 0 / 100% 24px no-repeat,
    linear-gradient(#F3F4F6, #F3F4F6) 0 0 / 36px 100% no-repeat,
    #fff; }
.sc-colh, .sc-rowh { font: 500 11px/1 var(--font); color: rgba(20, 20, 24, .5); text-align: center; }
.sc-cellv { font: 400 13px/28px var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; height: 27px; width: 135px; }
.sc-cellv.is-head { font-weight: 600; }
.sc-cellv.is-landed { background: #E3EEFF; }
.sc-cellsel { box-shadow: inset 0 0 0 2px #2F7BF6; border-radius: 1px; width: 136px; height: 28px; }
.sc-toolbar { left: 50px; top: 132px; width: 580px; height: 34px; background: #FAFAFB; border-bottom: .5px solid rgba(0, 0, 0, .12); display: flex; align-items: center; padding: 0 12px; gap: 10px; font: 500 12px/1 var(--font); color: rgba(20, 20, 24, .6); }
.sc-toolbar i { font-style: normal; padding: 5px 9px; border-radius: 6px; background: rgba(0, 0, 0, .05); color: var(--ink); }
.sc-val { display: inline-block; padding: 2px 5px; margin: -2px -5px; border-radius: 5px; transition: box-shadow .15s, background .15s; }
.sc-val.is-on { box-shadow: 0 0 0 1.5px rgba(20, 20, 24, .7); background: rgba(255, 255, 255, .9); }

/* ---------- 7. Looks ---------- */
.looks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 28px; }
.look-back {
  position: relative;
  height: 168px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--sky) url(../assets/sky.svg) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(24, 56, 116, .14);
}
.look-back::before {
  content: "";
  position: absolute;
  left: 46%;
  right: -20px;
  top: 34px;
  bottom: -20px;
  border-radius: 12px;
  background:
    linear-gradient(#17171B, #17171B) 26px 34px / 46% 12px no-repeat,
    linear-gradient(#2F7BF6, #2F7BF6) 26px 62px / 30% 9px no-repeat,
    repeating-linear-gradient(#8B8F99 0 7px, transparent 7px 20px) 26px 88px / 70% 60px no-repeat,
    #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 14px 34px rgba(24, 56, 116, .22);
}
.look-back .ph { position: relative; max-width: 100%; min-width: 0; }
.look-back .bar { --w: 400px; }
.look figcaption { margin-top: 14px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.look figcaption b { display: block; font: 700 17px/1.3 var(--font); color: var(--ink); letter-spacing: -.01em; }

/* ---------- 8. Price ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.plan { padding: 30px 48px 8px 0; display: flex; flex-direction: column; align-items: flex-start; }
.plan + .plan { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.plan h3 { font: 700 17px/1 var(--font); letter-spacing: -.01em; color: var(--ink-2); }
.plan-price { margin-top: 14px; font: 800 clamp(56px, 7vw, 92px)/.95 var(--display); letter-spacing: -.05em; }
.plan-price span { font-size: .36em; letter-spacing: -.03em; font-weight: 700; }
.plan-terms { margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 26em; min-height: 3em; }
.plan-list { width: 100%; margin: 22px 0 28px; }
.plan-list li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.plan .fine { margin-top: 12px; min-height: 2.8em; }
.plan .btn { margin-top: auto; }
.plan-buy { width: 100%; margin-top: auto; }
.plan-soon { margin-bottom: 14px; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.plan-soon b { font-weight: 700; color: var(--ink); }
.notify { display: none; }
.js .notify { display: block; }
.notify-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: 26em; }
.notify input { flex: 1 1 164px; min-width: 0; height: 50px; padding: 0 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); font: 500 16px/1 var(--font); letter-spacing: -.005em; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.notify input::placeholder { color: var(--ink-3); }
.notify input:focus { box-shadow: inset 0 0 0 1.5px #2F7BF6, 0 0 0 3.5px rgba(47, 123, 246, .28); }
.notify .btn { flex: none; margin-top: 0; border: 0; cursor: pointer; }
.notify-msg { margin-top: 12px; min-height: 2.8em; max-width: 30em; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.notify-msg.is-error, .notify-msg.is-ok { color: var(--ink); font-weight: 600; }
.askprice { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.askprice h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.askprice-text p { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); max-width: 30em; }
.askprice-card { display: flex; justify-content: center; padding: clamp(24px, 4vw, 48px) 16px; border-radius: 20px; background: var(--sky) url(../assets/sky.svg) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(24, 56, 116, .14); }
.askprice-card .lidcard { zoom: 1.12; }

/* ---------- 9. What it will not do ---------- */
.nevers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); border-top: 2px solid var(--ink); }
.never { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.never h3 { font-size: clamp(20px, 2vw, 24px); }
.never > p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.says { margin-top: 16px; display: block; }
.says .bar { --w: auto; display: inline-flex; width: auto; max-width: 100%; height: auto; min-height: 44px; padding-top: 7px; padding-bottom: 7px; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .16), 0 0 0 .5px rgba(0, 0, 0, .7), 0 6px 14px rgba(0, 0, 0, .16); }
.says .bar-title, .says .bar-second { white-space: normal; }
.says .bar:not(.has-btn) { padding-right: 16px; }
.says .bar.no-lead { padding-left: 16px; }

/* ---------- 10. Download ---------- */
.dl { display: grid; gap: clamp(40px, 5vw, 64px); justify-items: center; }
.dl-main { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dl-icon { display: block; filter: drop-shadow(0 16px 28px rgba(20, 40, 90, .28)); }
.dl-main h2 { margin-top: 18px; }
.dl-main .lead { margin: 16px 0 26px; color: rgba(20, 20, 24, .78); }
.dl-main .fine { margin-top: 14px; color: rgba(20, 20, 24, .74); }
.firstopen { width: 100%; max-width: 900px; padding: clamp(24px, 3.4vw, 40px); border-radius: 20px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16), 0 26px 60px rgba(24, 56, 116, .2); }
.firstopen h3 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 800; letter-spacing: -.03em; }
.firstopen > p { margin-top: 10px; font-size: 16.5px; color: var(--ink-2); max-width: 44em; }
.firstopen-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 24px; }
.firstopen h4 { font: 700 16px/1.3 var(--font); padding-top: 14px; border-top: 2px solid var(--ink); }
.firstopen ol { margin-top: 10px; counter-reset: o; }
.firstopen li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; counter-increment: o; }
.firstopen li:first-child { border-top: 0; }
.firstopen li::before { content: counter(o); position: absolute; left: 0; top: 9px; width: 21px; height: 21px; border-radius: 6px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font: 700 12px/21px var(--font); text-align: center; color: var(--ink-2); }

/* ---------- 11. Questions ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; font: 700 19px/1.3 var(--font); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--ink); transition: transform .2s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 44px 22px 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }

/* ---------- 12. Contact ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 40px; }
.foot-contact h2 { font-size: clamp(26px, 3.2vw, 44px); }
.foot-mail { display: inline-block; margin-top: 14px; font: 700 clamp(20px, 2.6vw, 34px)/1.2 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.foot-meta { margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.foot-meta nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.foot-meta nav a { color: var(--ink-2); text-decoration: none; }
.foot-meta nav a:hover { color: var(--ink); text-decoration: underline; }

/* Short laptop screens: the bar must stay in the first view */
@media (min-width: 901px) and (max-height: 760px) {
  h1 { font-size: clamp(38px, 4.6vw, 62px); }
  .hero { padding-top: calc(48px + 22px); }
  .hero .lead { font-size: 18px; }
  .demo { margin-top: 20px; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .pile-fig { grid-template-columns: minmax(0, 1fr); }
  .pile-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .pile-notes li:nth-child(2) { border-top: 2px solid var(--ink); }
  .pro { grid-template-columns: minmax(0, 1fr); }
  .pro-view { max-width: 820px; }
  .pro-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; }
  .pro-tabs::-webkit-scrollbar { display: none; }
  .pro-tabs button { flex: none; width: auto; padding: 10px 14px; scroll-snap-align: start; background: var(--mist); }
  .pro-tabs button span { display: none; }
  .pro-tabs b { font-size: 15.5px; white-space: nowrap; }
  .pro-tabs button[aria-selected="true"] { background: var(--ink); box-shadow: none; }
  .pro-tabs button[aria-selected="true"] b { color: #fff; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .menubar-nav { display: none; }
  .menubar-nav + .menubar-cta { margin-left: auto; }
  .hero-side { flex-direction: column; align-items: flex-start; }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .rec { position: static; }
  .keys-list.ph { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .askprice { grid-template-columns: minmax(0, 1fr); }
  .nevers { grid-template-columns: minmax(0, 1fr); }
  .look-back .ph { zoom: .86; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: calc(48px + 16px); }
  .hero-side .hero-cta { display: none; }
  .hero-cta.is-phone { display: flex; }
  .hero-side { margin-top: 12px; }
  .hero .lead { font-size: 16px; line-height: 1.4; }
  .demo { margin-top: 14px; }
  .demo-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "bar" "form"; gap: 10px; }
  .demo-barrow { margin-top: 0; }
  .demo-stage .win-top { height: 32px; }
  .demo-barrow .ph { zoom: 1; width: 100%; }
  .win-dots i { width: 10px; height: 10px; }
  .src-body { padding: 8px 16px 10px; }
  .src-row + .src-row { margin-top: 2px; }
  .src { font-size: 17px; }
  .form-body { padding: 8px 16px 14px; }
  .form-head { margin-bottom: 2px; }
  .field { height: 38px; font-size: 15.5px; padding: 0 12px; }
  .form-row + .form-row { margin-top: 6px; }
  .demo-ctl { flex-wrap: wrap; gap: 12px 14px; margin-top: 16px; }
  .bigkey { width: 78px; height: 54px; }
  .bigkey > span { height: 47px; font-size: 22px; }
  .demo-hint { flex: 1 1 60%; font-size: 15px; }
  .demo-tab { margin-right: auto; }
  .trips-grid { grid-template-columns: minmax(0, 1fr); }
  .trip { padding: 20px 0 10px; }
  .trip + .trip { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trip-svg { max-width: 320px; }
  .step { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
  .step h3 { font-size: 20px; }
  .step-bar { zoom: .94; }
  .pile-notes { grid-template-columns: minmax(0, 1fr); }
  .pile-notes li:nth-child(2) { border-top: 1px solid rgba(20, 20, 24, .16); }
  .pile-view { margin: 0 calc(var(--gutter) * -1); }
  .pile-scroll { justify-content: flex-start; overflow-x: auto; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pile-scroll::-webkit-scrollbar { display: none; }
  .pile-ph { zoom: .8; }
  .pile-slide { display: block; }
  .pile-backwin { left: 16px; right: 16px; }
  .pro-foot { flex-direction: column; gap: 12px; }
  .looks { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .look-back { height: 132px; }
  .look-back .ph { zoom: .86; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 0 34px; }
  .plan + .plan { padding-left: 0; border-left: 0; border-top: 2px solid var(--ink); }
  .plan-terms { min-height: 0; }
  .askprice-card .lidcard { zoom: .76; }
  .firstopen-cols { grid-template-columns: minmax(0, 1fr); }
  .firstopen-cols > div + div { margin-top: 18px; }
  .faq summary { font-size: 17.5px; }
  .foot-meta nav { margin-left: 0; width: 100%; }
  .keys-list.ph { gap: 18px; }
  .key-plate { width: 96px; height: 66px; }
  .key-plate .key { zoom: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .trip-svg .path { stroke-dashoffset: 0; transition: none !important; }
  .sc-cursor { transition: none !important; }
  .src-v, .btn, .tgl, .tgl::after, .bigkey > span, .field, .sc-field, .sc-line, .sc-cellv, .sc-mark, .sc-stack { transition: none !important; }
}

/* On paper, nothing waits for a scroll. */
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }
