/* address.html — "Address in. Record out."
   Page-local styles. Loaded after site.css and broker.css (meta "css: address").
   Behaviour lives in /assets/address/address.js: it draws the fan-out wires,
   and (through broker.js's InsureReveal) arms [data-fx] / [data-anim] /
   [data-stages] with .arm just before they scroll in, then adds .on and plays
   the stage-rail "proposed → confirmed" flip. Every "before" state is gated on
   .arm, so without JS, under prefers-reduced-motion, in print or in a full-page
   capture each diagram shows its final state. */

.center-star { text-align: center; max-width: 820px; margin-inline: auto; }
.ad-hero .wrap, #fanout .wrap { position: relative; }

/* ------------------------------------------------------------------ hero */
.ad-hero { flex-direction: column; align-items: stretch; padding: 92px 0 56px; }
.ad-hero .bg { opacity: .32; background-position: center 30%; }
.ad-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.ad-hero h1.display { font-size: clamp(3rem, 7vw, 6.2rem); }
.ad-hero h1.display > span { display: block; }
.ad-hero h1 .c { text-shadow: 0 0 40px #29c7ff55; }
.ad-hero .lede { max-width: 600px; }
.ad-hero-fig { position: relative; display: grid; justify-items: center; gap: 18px; padding: 8px 0; }
.ad-hero-fig .shot .phone { width: 252px; transform: rotate(-3deg); box-shadow: 0 40px 90px #000c, 0 0 0 1px #ffffff22, 0 0 80px #29c7ff22; }
.ad-hero-fig .shot a.phone:hover { transform: rotate(-3deg) translateY(-4px); }
.ad-hero-cap { max-width: 330px; font-size: 13px; }
.ad-float { list-style: none; margin: 0; padding: 0; }
.ad-float li { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 36px #0009; font: 600 12.5px/1.2 Inter, sans-serif; color: #fff; white-space: nowrap; animation: ad-bob 6s ease-in-out infinite; }
.ad-float .f1 { top: 9%; left: 2%; }
.ad-float .f2 { top: 31%; right: 0; animation-delay: -1.5s; }
.ad-float .f3 { top: 53%; left: 0; animation-delay: -3s; }
.ad-float .f4 { top: 70%; right: 2%; animation-delay: -4.5s; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-sizing: border-box; }
.dot.p { border: 2px dashed var(--cyan); }
.dot.d { background: var(--ok); box-shadow: 0 0 0 3px #34d39933; }
@keyframes ad-bob { 50% { transform: translateY(-7px); } }

.ad-strip { list-style: none; margin: 56px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid #ffffff22; }
.ad-strip li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--cyan); }
.ad-strip b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; color: #fff; }
.ad-strip span { font-size: 13.5px; line-height: 1.4; color: var(--ice); }

@media (max-width: 1000px) {
  .ad-hero { padding: 64px 0 48px; }
  .ad-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ad-hero-fig { max-width: 460px; width: 100%; margin-inline: auto; }
  .ad-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 640px) {
  .ad-hero-fig { grid-template-columns: 1fr; }
  .ad-hero-fig .shot .phone { width: 206px; }
  .ad-float { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
  .ad-float li { position: static; animation: none; font-size: 12px; padding: 7px 10px 7px 8px; }
  .ad-strip { margin-top: 40px; gap: 16px 14px; }
  .ad-strip b { font-size: 1.3rem; }
  .ad-strip span { font-size: 12.5px; }
}

/* ------------------------------------------------- the fan-out (.fx) */
/* Columns: address | tracks + findings | record. The wires are one SVG that
   address.js lays over .fx-grid and re-measures on resize. */
.fx { margin-top: 44px; padding: 52px 28px 24px; }
.fx-grid { position: relative; display: grid; grid-template-columns: 206px minmax(0, 1fr) 224px; column-gap: 58px; align-items: stretch; }
.fx-c { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fx-h { margin: 0 0 14px; font: 700 10.5px/1.3 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.fx-c1 .fx-addr, .fx-c5 .fx-rec { margin-block: auto; }
.fx-mh { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); column-gap: 30px; }

/* the address card */
.fx-addr { position: relative; z-index: 2; background: #fff; color: var(--paper-ink); border-radius: 14px; padding: 14px; box-shadow: 0 0 0 5px #29c7ff2e, 0 24px 54px #000a; }
.fx-addr-in { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.fx-addr-in .pin { width: 24px; height: 24px; flex: none; color: var(--electric); margin-top: 2px; }
.fx-addr-in small { display: block; font: 700 9.5px/1.2 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-muted); margin-bottom: 3px; }
.fx-map { display: block; width: 100%; height: auto; margin: 12px 0 10px; border-radius: 8px; }
.fx-map text { font-family: Inter, system-ui, sans-serif; }
.fx-ping { transform-box: fill-box; transform-origin: center; animation: fx-ping 2.4s ease-out infinite; }
@keyframes fx-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.fx-geo { margin: 0 0 8px; font-size: 12.5px; line-height: 1.4; color: var(--paper-muted); }
.fx-geo b { color: var(--paper-ink); }
.fx-addr .cite { white-space: normal; line-height: 1.25; color: var(--blue); background: #0b3bb810; border-color: #0b3bb840; }

/* rows: a track, then its finding */
.fx-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fx-row { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); column-gap: 30px; align-items: center; }
.fx-sep { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font: 700 9.5px/1.2 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fx-sep:first-child { margin-top: 0; }
.fx-sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #ffffff22, transparent); }
.fx-track { position: relative; z-index: 2; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; align-items: center; min-height: 52px; background: #050f2bf0; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.fx-track b { font-size: 13.5px; line-height: 1.25; color: #fff; font-weight: 600; }
.fx-track small { grid-column: 2; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.fx-l { grid-row: span 2; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; box-sizing: border-box; flex: none; font: 400 15px/1 var(--display); background: var(--cyan); color: var(--ink); }
.fx-l.w { background: transparent; color: var(--cyan); border: 1.5px dashed var(--cyan); }
.fx-l.p { background: #fff; color: var(--blue); font: 800 17px/1 Inter, sans-serif; }
.fx-find { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; background: linear-gradient(90deg, #0b2a72, #0a2160); border: 1px solid #29c7ff3d; border-radius: 10px; padding: 7px 9px 7px 12px; }
.fx-find p { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ice); min-width: 0; }
.fx-find.nc { background: #050f2b; border-style: dashed; border-color: #9db4dd66; }
.fx-find.nc p { color: var(--muted); font-size: 12px; }
.fx-find.prop { border-style: dashed; border-color: #29c7ff99; }
.fx-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.sig { display: inline-flex; align-items: center; gap: 5px; font: 700 9px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #ffd27a; border: 1px solid #ffd27a66; border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.sig::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px #ffd27a33; }
.paper .sig { color: #92400e; border-color: #f0b54a; background: #fffbeb; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 700 9.5px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px dashed #29c7ff99; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.st-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed currentColor; }

/* the record card */
.fx-rec { position: relative; z-index: 2; border-radius: 14px; padding: 16px 16px 14px; background: radial-gradient(260px 160px at 90% 0%, #29c7ff55, transparent 70%), linear-gradient(150deg, var(--blue), var(--electric)); box-shadow: 0 0 0 5px #1f6bff33, 0 26px 60px #000b; }
.fx-rec-k { margin: 0; font: 700 9.5px/1.2 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #bff0ff; }
.fx-rec-t { display: block; margin-top: 4px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; color: #fff; }
.fx-rec-a { display: block; margin-top: 4px; font-size: 11.5px; color: #e3f0ff; }
.fx-rec-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; }
.fx-rec-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; background: #050f2b55; font-size: 12.5px; line-height: 1.25; color: #fff; }
.fx-rec-list em { font: 700 9px/1 Inter, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; white-space: nowrap; }
.fx-rec-list em.p { color: #bff0ff; border: 1px dashed #bff0ffaa; }
.fx-rec-list em.d { background: var(--ok); color: var(--ink); }
.fx-rec-n { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.fx-rec .cite { color: #fff; background: #ffffff1c; border-color: #ffffff55; }
.fx-rec .cite.nc { color: #e3f0ff; background: transparent; border-color: #e3f0ffaa; }
.fx-rec-f { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: #e3f0ff; }

/* wires (SVG written by address.js) */
.fx-wires { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.fx-wires path { fill: none; vector-effect: non-scaling-stroke; }
.fx-wires .w { stroke: #29c7ff; stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.45, 0, .2, 1) var(--d, 0s); }
.fx.arm:not(.on) .fx-wires .w { stroke-dashoffset: var(--len); }
.fx-wires .w.nc { stroke: #9db4dd; stroke-opacity: .45; }
.fx.on .fx-wires .w { stroke-dashoffset: 0; }
.fx-wires .fl { stroke: #9cecff; stroke-width: 1.5; stroke-dasharray: 2 10; opacity: 0; transition: opacity .8s ease; animation: fx-flow 1.5s linear infinite; }
.fx.on.drawn .fx-wires .fl { opacity: .65; }
.fx-wires .fl.nc { stroke: #9db4dd; stroke-dasharray: 1 9; }
.fx-wires .pulse { fill: #d6f7ff; }
.fx-wires .halo { fill: #29c7ff; opacity: .28; }
@keyframes fx-flow { to { stroke-dashoffset: -12; } }
.fx.drawn .fx-wires .w { transition: none; }

/* scroll-in states (only while armed; otherwise everything shows) */
.fx-track, .fx-find, .fx-rec { transition: opacity .45s ease, transform .45s ease, border-color .6s ease; }
.fx-track { transition-delay: calc(.12s + var(--i, 0) * .055s); }
.fx-find { transition-delay: calc(.8s + var(--i, 0) * .055s); }
.fx-rec { transition-delay: 1.75s; }
.fx.arm:not(.on) .fx-track { opacity: .2; }
.fx.arm:not(.on) .fx-find { opacity: 0; transform: translateX(-10px); }
.fx.arm:not(.on) .fx-rec { opacity: .25; transform: scale(.97); }
.fx.drawn .fx-track, .fx.drawn .fx-find, .fx.drawn .fx-rec { transition-delay: 0s; }

.fx-legend { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid #ffffff1a; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--muted); }
.fx-legend li { display: inline-flex; align-items: center; gap: 8px; }
.fx-legend .fx-l { width: 22px; height: 22px; font-size: 13px; }

/* tablet: address on top, rows with a bus on each side, record below */
@media (max-width: 1000px) {
  .fx { padding: 52px 22px 22px; }
  .fx-grid { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .fx-c1 .fx-addr { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 180px; column-gap: 16px; align-items: center; }
  .fx-c1 .fx-addr .fx-map { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .fx-c1 .fx-addr .cite { justify-self: start; }
  .fx-mid { padding: 0 30px; }
  .fx-c5 .fx-h { padding-left: 30px; }
  .fx-c5 .fx-rec { margin: 0; }
  .fx-rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* phone: one column; each finding sits under its track */
@media (max-width: 640px) {
  .fx { padding: 48px 12px 16px; margin-top: 32px; }
  .fx-c1 .fx-addr { display: block; }
  .fx-c1 .fx-addr .fx-map { margin: 10px 0; }
  .fx-mid { padding: 0 0 0 26px; }
  .fx-c5 .fx-h { padding-left: 26px; }
  .fx-mh { grid-template-columns: 1fr; }
  .fx-mh .fx-h + .fx-h { display: none; }
  .fx-row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .fx-find { margin-left: 22px; }
  .fx-rows { gap: 10px; }
  .fx-rec-list { grid-template-columns: 1fr; }
  .fx-legend { gap: 8px 16px; font-size: 12px; }
}

/* --------------------------------------------- the building's shape (.ad-elev) */
.ad-shape-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: end; }
.ad-shape-head .dg-k { margin-bottom: 12px; }
.ad-data { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ad-data li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.ad-data svg { width: 24px; height: 24px; flex: none; color: var(--cyan); }
.ad-data b { font-weight: 600; }
.ad-shape-head .ticks { margin-top: 20px; }

.ad-elev { margin-top: 44px; padding: 46px 28px 28px; }
.ad-elev-in { display: grid; grid-template-columns: minmax(0, 320px) 30px minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; }
.ad-elev-fig .dg-k, .ad-elev-steps .dg-k { margin-bottom: 14px; }
.ad-arrow { align-self: center; justify-self: center; position: relative; width: 22px; height: 2px; background: linear-gradient(90deg, #29c7ff33, var(--cyan)); }
.ad-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--cyan); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ad-bldg { display: block; width: 100%; max-width: 320px; height: auto; overflow: visible; }
.ad-bldg text { font: 500 12px Inter, system-ui, sans-serif; fill: var(--ice); }
.ad-bldg text.mu { fill: var(--muted); font-size: 11px; }
.ad-bldg text.am { fill: var(--amber); font-weight: 700; }
.ad-bldg .gnd { stroke: #29c7ff77; stroke-width: 1.5; }
.ad-bldg .fl rect { fill: #0b2a72; stroke: #29c7ff3d; stroke-width: 1; }
.ad-bldg .fl rect.w { fill: url(#ad-win); fill-opacity: .32; stroke: none; }
.ad-bldg .fl:nth-child(4n) rect.w { fill-opacity: .5; }
.ad-bldg .base { fill: #ffc24b0f; stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ad-bldg .q { font: 400 22px var(--display); fill: var(--amber); }
.ad-bldg .dl { fill: none; stroke: var(--cyan); stroke-width: 1.3; }
.ad-bldg .fl { transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * .05s); }
.ad-bldg .dim, .ad-bldg .lbl, .ad-bldg .base, .ad-bldg .q { transition: opacity .6s ease 1.15s; }
.ad-elev.arm:not(.on) .ad-bldg .fl { opacity: 0; transform: translateY(8px) scaleY(.6); }
.ad-elev.arm:not(.on) .ad-bldg .dim, .ad-elev.arm:not(.on) .ad-bldg .lbl, .ad-elev.arm:not(.on) .ad-bldg .base, .ad-elev.arm:not(.on) .ad-bldg .q { opacity: 0; }
.ad-elev.on .ad-bldg .q { animation: ad-blink 1.2s ease 1.8s 2; }
@keyframes ad-blink { 50% { opacity: .25; } }

.ad-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: ld; }
.ad-ladder li { counter-increment: ld; position: relative; display: grid; gap: 3px; padding: 10px 12px 10px 44px; border-radius: 10px; border: 1px solid var(--line); background: #050f2b99; font-size: 12.5px; line-height: 1.4; color: var(--muted); transition: opacity .5s ease, border-color .5s ease, box-shadow .5s ease; }
.ad-ladder li::before { content: counter(ld); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px/1 Inter, sans-serif; color: var(--muted); border: 1.5px solid var(--line); box-sizing: border-box; }
.ad-ladder b { color: var(--ice); font-size: 13.5px; font-weight: 600; }
.ad-ladder .cite { justify-self: start; margin-top: 3px; }
.ad-ladder li.used { border-color: var(--cyan); background: linear-gradient(90deg, #29c7ff1f, #0a2160); color: var(--ice); box-shadow: 0 0 0 3px #29c7ff14; transition-delay: 1.3s; }
.ad-ladder li.used b { color: #fff; }
.ad-ladder li.used::before { content: ""; border: 0; background: var(--cyan) var(--check) center/13px no-repeat; }
.ad-ladder li:not(.used) { opacity: .8; }
.ad-elev.arm:not(.on) .ad-ladder li.used { border-color: var(--line); box-shadow: none; }

.ad-form { padding: 16px 18px; border-radius: 14px; background: #fff; color: var(--paper-ink); box-shadow: 0 24px 50px #0009; border-top: 5px solid var(--electric); }
.ad-form .dg-k { color: var(--blue); margin-bottom: 6px; }
.ad-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.ad-form-row b { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--blue); }
.ad-form-row b.sm { color: #8a98b8; }
.ad-form-row .cite { color: var(--blue); background: #0b3bb810; border-color: #0b3bb840; }
.ad-form-row .st-chip { color: var(--blue); border-color: var(--electric); background: #e8f0ff; }
.ad-form-row.q b { color: #b45309; }
.ad-form-row.q em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: #92400e; background: #fffbeb; border: 1px dashed #f0b54a; border-radius: 6px; padding: 6px 9px; }
.ad-form-f { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--paper-muted); }
.ad-form { transition: opacity .5s ease 1.6s, transform .5s ease 1.6s; }
.ad-elev.arm:not(.on) .ad-form { opacity: 0; transform: translateX(-10px); }

@media (max-width: 1000px) {
  .ad-shape-head { grid-template-columns: 1fr; gap: 30px; }
  .ad-elev-in { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 28px; }
  .ad-arrow { display: none; }
  .ad-form { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ad-data { grid-template-columns: 1fr; }
  .ad-elev { padding: 46px 14px 16px; margin-top: 32px; }
  .ad-elev-in { grid-template-columns: 1fr; }
  .ad-bldg { margin-inline: auto; }
  .ad-form { padding: 14px; }
}

/* ---------------------------------------------------- cited (paper band) */
.ad-cited { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: start; }
.ad-anat { margin: 0; display: grid; gap: 22px; }
.ad-fcard { position: relative; background: #fff; border-radius: 16px; border-top: 5px solid var(--electric); padding: 46px 56px 18px 22px; box-shadow: 0 30px 70px #0b3bb826, 0 2px 0 #d8e3f7; }
.ad-fcard p { position: relative; margin: 0; }
.ad-ft { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid var(--hairline); font: 700 11px/1.35 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); }
.ad-ft .fx-l { grid-row: auto; }
.ad-ff { padding: 14px 0; font-size: 1.25rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--paper-ink); }
.ad-fs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 12px; }
.ad-url { font-size: 13px; color: var(--electric); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #1f6bff66; }
.ad-fst { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0 0; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--paper-muted); }
.paper .st-chip { color: var(--blue); border-color: var(--electric); background: #e8f0ff; }
.mk { position: absolute; right: -40px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 11.5px/1 Inter, sans-serif; font-style: normal; color: #fff; background: var(--electric); box-shadow: 0 0 0 4px #1f6bff22; }
.ad-ft .mk { top: calc(50% - 6px); }
.ad-mk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; counter-reset: mk; }
.ad-mk-list li { counter-increment: mk; position: relative; padding-left: 36px; font-size: 14px; line-height: 1.45; color: var(--paper-muted); }
.ad-mk-list li::before { content: counter(mk); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 11.5px/1 Inter, sans-serif; color: #fff; background: var(--electric); }
.ad-mk-list b { display: block; color: var(--paper-ink); font-size: 15px; }

.ad-vs { display: grid; gap: 12px; }
.vs { border-radius: 14px; padding: 18px 20px; }
.vs p { margin: 0; }
.vs-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 11px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.vs-q { margin-top: 10px !important; font-size: 1.05rem; line-height: 1.5; }
.vs-why { margin-top: 8px !important; font-size: 13.5px; }
.vs.never { background: #fff5f5; border: 1px solid #f5c2c0; }
.vs.never .vs-k { color: #b42318; }
.vs.never .vs-q { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: .01em; color: #7a1d14; }
.vs.never s { text-decoration-thickness: 3px; text-decoration-color: #d92d20; }
.vs.never .vs-why { color: #7a2e26; }
.vs.says { background: var(--ink); color: #fff; box-shadow: 0 24px 50px #0b3bb840; }
.vs.says .vs-k { color: var(--cyan); }
.vs.says .vs-q { color: var(--ice); }
.vs.web { background: #fff; border: 1px solid #d8e3f7; }
.vs.web .vs-k { color: #92400e; }
.vs.web .vs-q { font-size: 14.5px; color: var(--paper-muted); }
.vs-x, .vs-ok, .vs-sig { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; }
.vs-x { background: #d92d20; }
.vs-x::before { content: "×"; color: #fff; font: 800 14px/1 Inter, sans-serif; margin-top: -1px; }
.vs-ok { background: var(--cyan) var(--check) center/12px no-repeat; }
.vs-sig { border: 2px solid #f0b54a; box-sizing: border-box; }
.vs-sig::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f0b54a; }

@media (max-width: 1000px) { .ad-cited { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ad-fcard { padding: 42px 44px 16px 16px; }
  .mk { right: -34px; }
  .ad-ff { font-size: 1.1rem; }
  .ad-mk-list { grid-template-columns: 1fr; }
  .vs { padding: 16px; }
}

/* -------------------------------------------------- the stage rail (deep) */
.ad-rail-wrap { position: relative; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, #0a2160, #071a4a 70%); box-shadow: 0 30px 70px #0007; }
.ad-rail-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ad-rail-top .dg-k { margin: 0; }
.ad-rail .st { display: flex; flex-direction: column; padding-bottom: 12px; background: #050f2bcc; transition: opacity .5s ease, transform .5s ease, border-color .4s ease, box-shadow .4s ease; }
.ad-rail .st > span:not(.st-by) { flex: 1; }
.ad-rail .st-by { display: block; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); font: 600 12px/1.4 Inter, sans-serif; color: var(--cyan); }
.ad-rail .st-by.n { color: var(--amber); }
.ad-rail .st-by.d { color: var(--ok); }
.ad-rail .st-bar { display: none; }
/* animation states (set by address.js only) */
.st.running::before { content: counter(st); border: 2px dotted var(--ok); color: var(--ok); background: var(--ink); }
.st.running em { color: var(--ok); border: 1px dashed #34d39999; }
.st.running { border-color: #34d39955; }
.st.running .st-bar { display: block; height: 3px; margin-top: 10px; border-radius: 2px; background: #ffffff14; overflow: hidden; position: relative; }
.st.running .st-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ok), #a7f3d0); transform-origin: left; transform: scaleX(0); }
.ad-rail.go .st.running .st-bar::after { transition: transform 2.2s cubic-bezier(.4, 0, .2, 1) .5s; transform: scaleX(1); }
.st.flip { animation: ad-flip .6s cubic-bezier(.2, .8, .2, 1); }
.st.flip::before { animation: ad-ring 1s ease-out; }
@keyframes ad-flip { 40% { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 0 6px #29c7ff33, 0 18px 40px #0008; } }
@keyframes ad-ring { 0% { box-shadow: 0 0 0 0 #29c7ffaa; } 100% { box-shadow: 0 0 0 14px #29c7ff00; } }
.ad-rail.pre .st { opacity: 0; transform: translateY(12px); }
.ad-rail .st { transition-delay: calc(var(--k, 0) * .12s); }
.ad-rail.go .st { opacity: 1; transform: none; }

.ad-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ln { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ln b { font-family: var(--display); font-weight: 400; font-size: 3.4rem; line-height: .85; flex: none; }
.ln p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ln strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 3px; }
.ln.d b { color: var(--ok); } .ln.d { border-top: 3px solid var(--ok); }
.ln.p b { color: var(--cyan); } .ln.p { border-top: 3px solid var(--cyan); }
.ln.n b { color: var(--amber); } .ln.n { border-top: 3px solid var(--amber); }
@media (max-width: 1000px) { .ad-lanes { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ad-rail .st > em { align-self: flex-start; } .ad-rail .st-by { margin-top: 8px; padding-top: 7px; } }
@media (max-width: 640px) { .ad-rail-wrap { padding: 12px; } .ad-rail-top { flex-wrap: wrap; } }

/* ------------------------------------------- people approve (statement band) */
.ad-approve { background: radial-gradient(900px 420px at 50% 0%, #0b3bb866, transparent 70%), var(--ink); overflow: hidden; }
.ad-mega { text-align: center; font-size: clamp(3rem, 8.4vw, 7.4rem); }
.ad-mega > span { display: block; }
.ad-mega .c { text-shadow: 0 0 50px #29c7ff55; }
.ad-flow { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr); align-items: stretch; margin-top: 48px; }
.af { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: opacity .5s ease, transform .5s ease, border-color .5s ease; }
.af small { font: 700 10.5px/1 Inter, sans-serif; letter-spacing: .16em; color: var(--cyan); }
.af b { font-size: 1.12rem; color: #fff; margin-top: 6px; }
.af > span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.af-bins { display: flex !important; gap: 6px; margin: 4px 0 2px; }
.af-bins i { font: 700 9.5px/1 Inter, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border-radius: 999px; border: 1px dashed #9db4dd88; color: var(--ice); }
.af.ai { border-style: dashed; border-color: #9db4dd77; background: #0a216099; }
.af.door { background: linear-gradient(150deg, var(--blue), var(--electric)); border-color: transparent; box-shadow: 0 0 0 5px #1f6bff2e, 0 24px 50px #0009; }
.af.door small { color: #bff0ff; } .af.door > span { color: #e3f0ff; }
.af.rec { border-color: var(--ok); }
.af.rec small { color: var(--ok); }
.af-ar { position: relative; align-self: center; height: 2px; margin: 0 6px; background: linear-gradient(90deg, #29c7ff33, var(--cyan)); }
.af-ar::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--cyan); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ad-flow > :nth-child(1) { --k: 0; } .ad-flow > :nth-child(2) { --k: 1; } .ad-flow > :nth-child(3) { --k: 2; } .ad-flow > :nth-child(4) { --k: 3; }
.ad-flow > :nth-child(5) { --k: 4; } .ad-flow > :nth-child(6) { --k: 5; } .ad-flow > :nth-child(7) { --k: 6; }
.ad-flow > * { transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--k) * .16s); }
.ad-flow.arm:not(.on) > * { opacity: 0; transform: translateX(-10px); }
.ad-rules { margin-top: 18px; }
.ad-rules .card h3 { font-size: 1.05rem; }
.ad-rules .card p { font-size: 14.5px; }
@media (max-width: 1000px) {
  .ad-flow { grid-template-columns: minmax(0, 1fr); }
  .af-ar { width: 2px; height: 22px; justify-self: center; margin: 4px 0; background: linear-gradient(#29c7ff33, var(--cyan)); }
  .af-ar::after { right: -5px; top: auto; bottom: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--cyan); border-bottom: 0; }
  .ad-flow.arm:not(.on) > * { transform: translateY(8px); }
}

/* ------------------------------------------------------ real app shots */
.ad-trio { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; position: relative; }
.ad-trio > li { display: grid; justify-items: center; gap: 14px; position: relative; }
.ad-trio > li.up { margin-top: -26px; }
.ad-trio .shot .phone { width: 250px; }
.ad-trio .shot:hover .phone { transform: translateY(-4px); }
.ad-trio .shot figcaption { max-width: 280px; font-size: 13px; }
.ad-n { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 12px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ad-n span { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; color: var(--ink); background: var(--cyan); padding: 3px 8px 2px; border-radius: 6px; }
@media (max-width: 1000px) {
  .ad-trio { grid-template-columns: 1fr; gap: 40px; }
  .ad-trio > li.up { margin-top: 0; }
}
@media (max-width: 640px) { .ad-trio .shot .phone { width: 220px; } }

/* --------------------------------------------------- day one (paper band) */
.ad-quote { margin: 30px 0 0; padding: 24px 28px; border-left: 4px solid var(--electric); background: #fff; border-radius: 0 14px 14px 0; box-shadow: 0 10px 30px #0b3bb812; max-width: 980px; }
.ad-quote p { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--paper-ink); font-weight: 500; letter-spacing: -.01em; }
.ad-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; }
.ad-quote cite a { color: var(--paper-muted); text-underline-offset: 3px; }
.ad-quote cite a:hover { color: var(--electric); }
.ad-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 30px; align-items: start; }
.ad-now, .ad-next { background: #fff; border: 1px solid #d8e3f7; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px #0b3bb812; }
.ad-now .dg-k, .ad-next .dg-k { color: var(--blue); }
.ad-now .ticks { margin-top: 8px; }
.ad-next { display: grid; gap: 10px; align-content: start; }
.nx { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid #d8e3f7; background: var(--paper); text-decoration: none; color: var(--paper-muted); font-size: 14px; line-height: 1.45; transition: border-color .2s, transform .2s; }
.nx:hover { border-color: var(--electric); transform: translateX(3px); }
.nx-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nx-k b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1; letter-spacing: .01em; color: var(--paper-ink); }
.nx-k b:last-child { color: var(--electric); }
.nx-k i { font-style: normal; font-weight: 800; color: #f0b54a; }
@media (max-width: 1000px) { .ad-two { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ad-quote { padding: 18px 18px; } .ad-now, .ad-next { padding: 18px 16px; } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ad-float li, .fx-ping, .fx-wires .fl { animation: none; }
  .fx-wires .w, .fx-track, .fx-find, .fx-rec, .ad-bldg .fl, .ad-bldg .dim, .ad-bldg .lbl, .ad-bldg .base, .ad-bldg .q,
  .ad-ladder li, .ad-rail .st, .ad-flow > *, .nx, .af, .ad-form { transition: none !important; }
  .ad-elev.on .ad-bldg .q, .st.flip, .st.flip::before { animation: none; }
}
@media print { .fx-wires, .ad-float { display: none; } .js .fx .fx-track, .js .fx .fx-find, .js .fx .fx-rec { opacity: 1 !important; transform: none !important; } }
