/* ==========================================================================
   LockedIn Flow — conversion pages (download, contact, thanks, 404)
   Loads after shell.css and site.css. Page layout and one-off figures only.
   Breakpoints: 640 / 960 / 1280.
   ========================================================================== */

/* page heroes sit above their hairline grid */
.page-hero > .wrap { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Hero: copy left, product figure right
   -------------------------------------------------------------------------- */
.cv-hero { padding-bottom: clamp(56px, 7vw, 112px); }
.cv-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 10fr);
  gap: clamp(40px, 5vw, 88px); align-items: center;
}
.cv-hero h1 { max-width: none; font-size: clamp(40px, 4.6vw, 66px); }
.cv-nw { white-space: nowrap; }
.cv-hero h1 .two-tone { max-width: none; }
.cv-hero .lede { max-width: 46ch; }
.cv-hero .specline { margin-top: 32px; }
.cv-hero__glow {
  position: absolute; right: -6%; top: 18%; width: min(900px, 80vw); height: 560px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 50% at 62% 55%, rgba(82, 107, 255, .16), rgba(156, 59, 255, .06) 45%, transparent 72%);
  filter: blur(40px);
}

/* --------------------------------------------------------------------------
   Fig. 01 — the menu-bar panel (MenuBarView, ready, before any dictation)
   1em = 10 pt of a 380 pt crop; the panel itself is 332 pt wide.
   -------------------------------------------------------------------------- */
.cv-shot { position: relative; margin: 0; isolation: isolate; }
.cv-shot::before {
  content: ""; position: absolute; left: 50%; bottom: -8%; width: 96%; height: 58%; transform: translateX(-46%);
  background: var(--spill); filter: blur(34px); opacity: .62; z-index: -1; pointer-events: none;
}
.cv-shot figcaption { text-align: right; }

.mbx { font-size: calc(100cqw / 38); width: 100%; color: rgba(255, 255, 255, .96); }

/* the strip of menu bar above the panel */
.mbx__bar {
  height: 2.6em; display: flex; align-items: center; justify-content: flex-end; gap: 1.4em; padding: 0 1.4em;
  border-radius: .9em; background: rgba(27, 31, 38, .55);
  box-shadow: inset 0 0 0 .07em rgba(255, 255, 255, .06), inset 0 .07em 0 rgba(255, 255, 255, .06);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0, #000 46%);
  font-size: 1em; font-weight: 500;
}
.mbx__item { height: 2em; padding: 0 .75em; border-radius: .55em; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.mbx__item svg { width: 1.45em; height: 1.45em; color: #fff; }
.mbx__clock { font-size: 1.3em; color: rgba(255, 255, 255, .9); letter-spacing: -0.005em; white-space: nowrap; }

.mbx__panel {
  width: 33.2em; margin: .6em .4em 0 auto; padding: 1.3em; display: grid; gap: 1.2em;
  border-radius: 1.3em; background: #08090C;
  box-shadow: 0 0 0 .08em rgba(255, 255, 255, .12), 0 0 0 .14em rgba(0, 0, 0, .6), 0 3em 6em -2em rgba(0, 0, 0, .85), 0 1em 2.4em -1em rgba(0, 0, 0, .6);
  transform-origin: 82% 0;
  animation: cv-drop .5s var(--ease) .15s both;
}
@keyframes cv-drop { from { opacity: 0; transform: translateY(-.8em) scale(.985); } to { opacity: 1; transform: none; } }

.mbx__card { border-radius: 1.4em; background: rgba(20, 23, 29, .8); box-shadow: inset 0 0 0 .07em rgba(135, 158, 184, .22); padding: 1.2em; display: grid; gap: .8em; }
.mbx__card--hd { border-radius: 1.6em; background: rgba(27, 31, 38, .94); box-shadow: inset 0 0 0 .1em rgba(135, 158, 184, .38); padding: 1.3em; gap: 1.1em; }

.mbx__id { display: flex; align-items: center; gap: 1em; }
.mbx__icon { width: 3.4em; height: 3.4em; border-radius: .9em; flex: none; }
.mbx__name { font-family: var(--font-mono); font-size: 1.05em; font-weight: 600; letter-spacing: .13em; line-height: 1.2; white-space: nowrap; }
.mbx__name span { color: #B2BAC4; margin-left: .3em; }
.mbx__tag { font-size: 1.05em; color: #7D8794; margin-top: .3em; white-space: nowrap; }
.mbx__mit { margin-left: auto; display: flex; align-items: center; gap: .5em; font-size: 1em; font-weight: 600; color: #B2BAC4; }
.mbx__mit::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: #4FE8B0; }

.mbx__btn {
  height: 3.8em; padding: 0 1.3em; display: flex; align-items: center; gap: .8em;
  border-radius: 1.1em; background: #252C35; box-shadow: inset 0 0 0 .08em rgba(135, 158, 184, .38);
  font-size: 1.2em; font-weight: 700; color: #fff;
}
.mbx__btn svg { width: 1.15em; height: 1.15em; flex: none; }
.mbx__chip { margin-left: auto; padding: .25em .5em; border-radius: .42em; background: rgba(255, 255, 255, .12); font-size: .84em; font-weight: 600; }

.mbx__util { display: flex; justify-content: flex-end; min-height: 2.4em; align-items: center; font-size: 1.05em; font-weight: 500; color: #879EB8; }
.mbx__util span, .mbx__ft span { display: inline-flex; align-items: center; gap: .4em; }
.mbx__util svg, .mbx__ft svg { width: 1.1em; height: 1.1em; }

.mbx__sys { display: flex; align-items: center; justify-content: space-between; font-size: 1.05em; font-weight: 600; color: #7D8794; }
.mbx__sys .sigmark { --mark-w: 2.86em; height: 1.33em; }
.mbx__row { display: flex; align-items: center; gap: .8em; min-height: 1.4em; }
.mbx__row dt { width: 5.2em; font-size: 1em; font-weight: 500; color: #7D8794; flex: none; }
.mbx__row dd { display: flex; align-items: center; gap: .8em; font-size: 1.05em; color: #B2BAC4; margin: 0; }
.mbx__row dd::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #4FE8B0; flex: none; }

.mbx__ft { display: flex; align-items: center; gap: 1.2em; padding: 0 .3em; min-height: 2.4em; font-size: 1.05em; font-weight: 500; color: #B2BAC4; }
.mbx__ft span:last-child { margin-left: auto; }

/* --------------------------------------------------------------------------
   Request section: what happens next (left) + the form (right)
   -------------------------------------------------------------------------- */
.cv-request {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "intro form" "steps form"; column-gap: clamp(40px, 6vw, 96px); align-items: start;
}
.cv-request__intro { grid-area: intro; }
.cv-request__steps { grid-area: steps; }
.cv-request .cv-formcard { grid-area: form; position: sticky; top: 96px; }
.cv-request__intro h2 { max-width: 12ch; }
.cv-request__intro .lede { margin-top: 22px; }

.cv-request__steps { margin-top: clamp(40px, 4.4vw, 56px); }
.cv-request__lab { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--t3); }
.cv-request__lab::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: var(--line); }
.cv-next { display: grid; }
.cv-next li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; padding-bottom: 30px; }
.cv-next li:last-child { padding-bottom: 0; }
.cv-next li::before { content: ""; position: absolute; left: 19.5px; top: 48px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-strong), var(--line-faint)); }
.cv-next li:last-child::before { display: none; }
.cv-next__n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--t1);
}
.cv-next__n .sigmark { --mark-w: 18px; }
.cv-next li:last-child .cv-next__n { box-shadow: inset 0 0 0 1px rgba(135, 158, 184, .55), 0 0 22px rgba(82, 107, 255, .3); }
.cv-next__k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 2px 0 6px; }
.cv-next h3, .cv-next h4 { font-size: 17px; letter-spacing: -0.014em; }
.cv-next p { margin-top: 4px; font-size: 15px; color: var(--t2); line-height: 1.55; max-width: 44ch; }

/* form card */
.cv-formcard {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 29, .92), rgba(14, 16, 20, .82));
  box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .07), 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4);
}
.cv-formcard::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(135, 158, 184, .55), transparent); pointer-events: none; }
.cv-formcard__h {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line); background: rgba(8, 9, 12, .35);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--t3);
}
.cv-formcard__h b { color: var(--t1); font-weight: 500; }
.cv-formcard__h > span { display: inline-flex; align-items: center; gap: 10px; }
.cv-formcard__h .sigmark { --mark-w: 22px; }
.cv-formcard .form { padding: clamp(22px, 2.8vw, 36px); gap: 20px; }

/* parts of a form site.css does not cover */
.form .field { align-content: start; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.form legend { padding: 0; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--t1); letter-spacing: -0.005em; }
.form .optional { color: var(--t3); font-weight: 500; }
.form fieldset .hint { font-size: 13px; color: var(--t3); }
.cv-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cv-checks .check {
  height: 46px; padding: 0 14px; border-radius: 10px; gap: 11px;
  border: 1px solid var(--line-strong); background: rgba(14, 16, 20, .8); color: var(--t1); font-size: 14.5px; font-weight: 500;
  transition: border-color var(--dur-1) ease, background var(--dur-1) ease;
}
.cv-checks .check:hover { border-color: rgba(135, 158, 184, .6); }
.cv-checks .check:has(input:checked) { border-color: rgba(255, 255, 255, .7); background: rgba(27, 31, 38, .95); }
.cv-checks .check:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; border-color: rgba(255, 255, 255, .7); }
.cv-checks input:focus-visible { outline: none; } /* the ring is drawn on the whole option above */
.cv-guard { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; background: rgba(8, 9, 12, .45); box-shadow: inset 0 0 0 1px var(--line-faint); font-size: 13.5px; color: var(--t2); line-height: 1.5; }
.cv-guard svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--steel); }
.cv-guard b { color: var(--t1); font-weight: 600; }

/* --------------------------------------------------------------------------
   Requirements: spec strip + datasheet
   -------------------------------------------------------------------------- */
.cv-specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line);
}
.cv-spec { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); background: linear-gradient(180deg, #0D0F13, #0A0B0E); }
.cv-spec__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.cv-spec__v { font-size: clamp(28px, 2.7vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; color: var(--t1); margin-top: 18px; }
.cv-spec__s { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--t3); line-height: 1.45; }
.cv-spec__i { position: absolute; top: clamp(22px, 2.4vw, 30px); right: clamp(22px, 2.4vw, 30px); width: 18px; height: 18px; color: var(--t3); }
.cv-reqs__sheet { margin-top: clamp(20px, 2.4vw, 28px); }
.cv-reqs__sheet .r { grid-template-columns: 170px 1fr; }
.cv-band { margin-top: clamp(56px, 7vw, 96px); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.cv-hero2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.page-hero .cv-hero2 .lede { margin-top: 0; padding-bottom: .5em; }
.cv-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cv-aside { display: grid; gap: 20px; }
.cv-aside .sheet .r { grid-template-columns: 1fr; gap: 4px; }
.cv-routes { display: grid; gap: 10px; }
.cv-route {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px;
  border-radius: var(--r); background: rgba(14, 16, 20, .6); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-1) ease, background var(--dur-1) ease;
}
.cv-route:hover { box-shadow: inset 0 0 0 1px rgba(135, 158, 184, .6); background: rgba(20, 23, 29, .8); }
.cv-route small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 3px; }
.cv-route b { color: var(--t1); font-weight: 600; font-size: 15px; }
.cv-route .arr { color: var(--t2); transition: transform var(--dur-1) var(--ease); }
.cv-route:hover .arr { transform: translateX(3px); color: var(--t1); }

/* --------------------------------------------------------------------------
   Thanks and not-found: centred notice pages
   -------------------------------------------------------------------------- */
.cv-notice { padding-top: clamp(64px, 9vw, 136px); padding-bottom: clamp(56px, 7vw, 104px); }
.cv-notice .wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.cv-notice h1 { max-width: 13ch; }
.cv-notice .lede { text-wrap: balance; }
.cv-notice::after {
  content: ""; position: absolute; left: 50%; top: 4%; width: min(900px, 96vw); height: 520px; transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 45% at 50% 35%, rgba(82, 107, 255, .14), rgba(156, 59, 255, .05) 45%, transparent 70%);
  filter: blur(14px);
}
.cv-okdisc {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 34px;
  background: radial-gradient(circle at 50% 30%, rgba(79, 232, 176, .16), rgba(79, 232, 176, .05));
  box-shadow: inset 0 0 0 1px rgba(79, 232, 176, .38), 0 0 0 10px rgba(79, 232, 176, .04), 0 0 60px rgba(79, 232, 176, .12);
}
.cv-okdisc svg { width: 34px; height: 34px; color: var(--success); }
.cv-okdisc path { stroke-dasharray: 26; stroke-dashoffset: 0; animation: cv-tick .55s var(--ease) .25s both; }
@keyframes cv-tick { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }

.cv-next--row { margin-top: clamp(48px, 6vw, 80px); width: 100%; max-width: 880px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; text-align: left; }
.cv-next--row li { grid-template-columns: 1fr; row-gap: 14px; padding: 0 24px 0 0; }
.cv-next--row li::before { left: 52px; right: 12px; top: 19.5px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--line-faint)); }

.cv-more { margin-top: clamp(56px, 7vw, 96px); width: 100%; }
.cv-more > .mono { margin-bottom: 18px; }
.cv-more .card .card__k { font-size: 10.5px; color: var(--steel); margin-bottom: 16px; }
.cv-more .grid { text-align: left; }
.cv-more .card { display: block; transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease); }
.cv-more .card:hover { border-color: rgba(135, 158, 184, .55); transform: translateY(-2px); }
.cv-more .card h3 { font-size: 18px; }
.cv-more .card .arr { display: inline-block; margin-left: 6px; color: var(--t2); transition: transform var(--dur-1) var(--ease); }
.cv-more .card:hover .arr { transform: translateX(3px); color: var(--t1); }

/* not found: an input-level readout with no signal */
.cv-readout {
  width: min(460px, 100%); margin-bottom: 40px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 16, 20, .85), rgba(8, 9, 12, .5)); box-shadow: inset 0 0 0 1px var(--line), var(--sh-card);
}
.cv-readout .sheet__h { border-bottom-color: var(--line-faint); }
.cv-readout .sheet__h .no { color: var(--warning); }
.cv-readout__body { position: relative; padding: 30px 26px 26px; display: grid; gap: 16px; }
.cv-readout__body .ruler { opacity: .8; }
.cv-flat { font-size: clamp(15px, 3.6vw, 18px); }
.cv-flat .meter { height: 3.4em; gap: .3em; filter: none; }
.cv-flat .meter i { height: .26em; opacity: calc(.18 + .4 * var(--i) / 24); }
.cv-flat::after {
  content: ""; position: absolute; left: 26px; right: 26px; top: calc(30px + 1.7em); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135, 158, 184, .35) 30%, rgba(135, 158, 184, .35) 70%, transparent);
}
.cv-quick { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .cv-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cv-hero__grid, .cv-contact, .cv-hero2 { grid-template-columns: 1fr; }
  .page-hero .cv-hero2 .lede { padding-bottom: 0; }
  .cv-request .cv-formcard { position: relative; top: auto; }
  .cv-request { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "intro" "form" "steps"; row-gap: 36px; }
  .cv-request__steps { margin-top: 20px; }
  .cv-shot { max-width: 460px; width: 100%; }
  .cv-request__intro h2 { max-width: 16ch; }
  .cv-reqs__sheet .r { grid-template-columns: 118px 1fr; }
  .cv-next--row { grid-template-columns: 1fr; max-width: 420px; }
  .cv-next--row li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding: 0 0 26px; }
  .cv-next--row li::before { left: 19.5px; right: auto; top: 48px; bottom: 8px; width: 1px; height: auto; background: linear-gradient(var(--line-strong), var(--line-faint)); }
}
@media (max-width: 640px) {
  .cv-hero .specline { margin-top: 26px; }
  .cv-notice .ctas { width: 100%; }
  .cv-readout__body { padding: 22px 20px 20px; }
  .cv-flat .meter { height: 2.6em; }
  .cv-flat::after { left: 20px; right: 20px; top: calc(22px + 1.3em); }
  .cv-shot figcaption { text-align: left; }
  .cv-checks { grid-template-columns: 1fr; }
  .cv-specs { grid-template-columns: 1fr 1fr; }
  .cv-spec { padding: 20px 18px; }
  .cv-spec__i { display: none; }
  .cv-spec__v { font-size: 24px; margin-top: 12px; }
  .cv-spec__s { font-size: 13px; }
  .cv-reqs__sheet .r { grid-template-columns: 1fr; }
  .cv-formcard__h { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mbx__panel, .cv-okdisc path { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .cv-more .card:hover { transform: none; }
}
