/* ── flow8 page components (homepage design language) ─────────────
   For pages rebuilt in the new design. Such a page sets
   <body class="v2">, loads this file after style.css and theme.css,
   and uses the classes below. One typeface, five sizes, ink, paper
   and one red.
   ────────────────────────────────────────────────────────────── */

body.v2 main {
  --ink: #111322; --ink-2: #555a74; --paper: #ffffff; --bg: #f5f6fb;
  --line: rgba(17,19,34,.13); --ok: #1f8a3b;
  --t-display: clamp(40px, 6.3vw, 92px);
  --t-h2: clamp(32px, 4.7vw, 62px);
  --t-lead: clamp(19px, 1.7vw, 23px);
  --t-body: 17px;
  --t-small: 14px;
  background: var(--bg); color: var(--ink);
}
body.v2 main p { font-size: var(--t-body); line-height: 1.55; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.display { font-size: var(--t-display); font-weight: 800; letter-spacing: -.045em; line-height: .96; text-wrap: balance; }
.display em, .h2 em, .stmt h3 em { font-style: normal; color: var(--red); }
.h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
body.v2 main .lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); font-weight: 500; text-wrap: pretty; }
body.v2 main .small { font-size: var(--t-small); color: var(--ink-2); }
.band { padding: clamp(72px, 10vw, 140px) 0; }
.band.paper { background: var(--paper); }
.tlink { color: var(--ink); font-weight: 700; font-size: var(--t-body); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tlink:hover { color: var(--red-btn); }
body.v2 main .btn-p { font-size: var(--t-body); padding: 18px 30px; border-radius: 100px; color: #fff; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* a private detail covered by an ink bar */
.rx { position: relative; white-space: nowrap; }
.rx i { position: absolute; inset: .06em -.1em .02em; background: var(--ink); border-radius: .16em; color: #fff; font-style: normal; font-size: .5em; font-weight: 700; display: flex; align-items: center; justify-content: center; clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.7,0,.2,1); }
.covered .rx i { clip-path: inset(0 0 0 0); }

/* page hero */
.ph { padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.ph .kicker { display: flex; align-items: flex-start; gap: 14px; font-size: var(--t-body); font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.ph .kicker::before { content: ''; flex: none; width: 40px; height: 3px; margin-top: .68em; border-radius: 2px; background: var(--red); }
.ph .lead { max-width: 720px; margin-top: clamp(22px, 2.6vw, 36px); }
.ph-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }

/* large statements with one line each */
.stmts { border-top: 2px solid var(--ink); margin-top: clamp(32px, 5vw, 64px); }
.stmt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 64px); align-items: baseline; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); }
.stmt h3 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }

/* pick one on the left, read it on the right */
.pick-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 5vw, 64px); }
.pick-tabs { display: grid; gap: 2px; }
.pick-tabs button { font-family: var(--font); text-align: left; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.025em; color: #b3b6c7; background: none; border: none; border-left: 4px solid transparent; padding: 8px 0 8px 18px; cursor: pointer; transition: color .25s, border-color .25s; }
.pick-tabs button:hover { color: var(--ink-2); }
.pick-tabs button[aria-selected="true"] { color: var(--ink); border-left-color: var(--red); }
.pick-panels { display: grid; }
.pick-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; pointer-events: none; min-width: 0; }
.pick-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(32px, 5vw, 64px); border-top: 2px solid var(--ink); }
.step { padding: 26px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step h3 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 12px; }
.step h3 b { color: var(--red); font-weight: 800; }

/* red band and dark closing */
.redband { background: var(--red-btn); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.redband .display { font-size: clamp(38px, 6.4vw, 92px); }
body.v2 main .redband p { font-size: var(--t-lead); font-weight: 500; margin-top: 22px; max-width: 620px; color: rgba(255,255,255,.88); }
.closing { background: #111322; color: #fff; padding: clamp(80px, 12vw, 170px) 0; }
body.v2 main .closing .lead { color: rgba(255,255,255,.66); margin: 26px 0 34px; max-width: 560px; }
body.v2 main .closing .small { color: rgba(255,255,255,.55); margin-top: 30px; }
.closing .small a { color: #fff; }

/* questions that open on demand */
.more { margin-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--ink); }
.more-item { border-bottom: 1px solid var(--line); }
.more-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; color: var(--ink); font-family: var(--font); font-size: var(--t-lead); font-weight: 800; letter-spacing: -.015em; text-align: left; padding: 24px 0; cursor: pointer; }
.more-btn i { flex-shrink: 0; width: 30px; height: 30px; position: relative; }
.more-btn i::before, .more-btn i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2.5px; background: var(--ink); transform: translate(-50%,-50%); }
.more-btn i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s; }
.more-btn[aria-expanded="true"] i::after { transform: translate(-50%,-50%) rotate(0deg); }
.more-btn[aria-expanded="true"] i::before { background: var(--red); }
.more-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.more-body > div { overflow: hidden; min-height: 0; }
.more-btn[aria-expanded="true"] + .more-body { grid-template-rows: 1fr; }
.more-in { padding: 0 0 32px; max-width: 980px; }
.more-in p + p { margin-top: 12px; }

@media (max-width: 900px) {
  .stmt, .pick-grid { grid-template-columns: 1fr; }
  .stmt { gap: 8px; }
  .pick-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .pick-tabs button { font-size: 20px; border-left: none; border-bottom: 3px solid transparent; padding: 4px 0; }
  .pick-tabs button[aria-selected="true"] { border-bottom-color: var(--red); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: none; }
  .step + .step { border-top: 1px solid var(--line); }
  .ph-actions .btn-p { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .pick-panel, .more-body, .rx i { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── added for the rebuilt feature pages ── */

/* a line of quiet proof under the hero */
.proofline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proofline ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proofline li { padding: 22px 24px 24px 0; font-size: var(--t-small); color: var(--ink-2); line-height: 1.4; }
.proofline li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proofline strong { display: block; font-size: var(--t-body); color: var(--ink); font-weight: 800; }
.proofline a { display: block; color: inherit; text-decoration: none; }
.proofline a strong { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.proofline a:hover strong { color: var(--red-btn); }

/* the answer inside a pick panel: one big line, then a few plain facts */
body.v2 main .pa-q { font-size: var(--t-lead); color: var(--red-btn); font-weight: 700; margin-bottom: 14px; }
body.v2 main .pa { font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; margin-bottom: 24px; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); line-height: 1.45; color: var(--ink); }

/* a sheet of paper with a message on it, and the switch above it */
.hero-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(22px, 2.6vw, 36px); }
.hero-split .lead { margin-top: 0; }
.demo-switch { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 4px; margin-bottom: 16px; max-width: 100%; }
.demo-switch button { white-space: nowrap; font-family: var(--font); font-size: var(--t-small); font-weight: 700; color: var(--ink-2); background: transparent; border: none; border-radius: 100px; padding: 9px 16px; cursor: pointer; transition: background .3s, color .3s; }
.demo-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo-switch > span { color: #b3b6c7; font-weight: 700; line-height: 1; }
.sheet { background: var(--paper); border-radius: 6px; padding: clamp(24px, 3.4vw, 46px) clamp(22px, 3.4vw, 48px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -30px rgba(17,19,34,.28); transform: rotate(-1.2deg); transform-origin: bottom left; }
body.v2 main .sheet-from { font-size: var(--t-small); color: var(--ink-2); margin-bottom: 18px; }
body.v2 main .sheet-msg { font-size: clamp(21px, 2.35vw, 33px); font-weight: 600; letter-spacing: -.02em; line-height: 1.38; }
.sheet .rx:nth-of-type(2) i { transition-delay: .12s; } .sheet .rx:nth-of-type(3) i { transition-delay: .24s; }
.sheet-note { margin-top: 16px; font-weight: 700; display: grid; }
.sheet-note span { grid-area: 1 / 1; transition: opacity .4s; }
.sheet-note .n-b { opacity: 0; color: var(--red-btn); }
.covered .sheet-note .n-a { opacity: 0; } .covered .sheet-note .n-b { opacity: 1; }

/* a process drawn as a strip of steps; .hum marks where a person decides */
.strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.strip span { font-size: var(--t-small); font-weight: 800; padding: 10px 16px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.band.paper .strip span { background: var(--bg); }
.strip span.hum, .band.paper .strip span.hum { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.strip span.rec, .band.paper .strip span.rec { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.chips span { font-size: var(--t-small); font-weight: 700; border: 1.5px solid rgba(17,19,34,.2); border-radius: 100px; padding: 6px 14px; }
.codecard { background: #111322; color: #e7e9f5; border-radius: 10px; padding: 20px 22px; margin: 0 0 26px; overflow-x: auto; }
.codecard pre { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.65; }
.codecard pre b { color: #ff8b98; font-weight: 700; }

@media (max-width: 900px) {
  .proofline ul { grid-template-columns: 1fr 1fr; }
  .proofline li { padding: 18px 16px 18px 0; }
  .proofline li + li { padding-left: 0; border-left: none; }
  .proofline li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proofline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-split { grid-template-columns: 1fr; }
  .pick-panels { min-height: 0; }
}
@media (max-width: 540px) {
  .demo-switch { gap: 3px; }
  .demo-switch button { padding: 8px 8px; font-size: 12.5px; }
}

/* ── added for pages rendered from their existing strings ── */
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(28px, 4vw, 56px); }
/* the ISO certificate, shown as the paper it is, next to its details */
.cert-img { display: block; justify-self: center; width: 100%; max-width: 340px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(17,19,34,.28); transition: transform .3s; }
.cert-img:hover { transform: translateY(-4px); }
.cert-img img { display: block; width: 100%; height: auto; border-radius: 4px; }
#certificate .facts { margin-top: 26px; }
.pick-tabs.dense button { font-size: clamp(17px, 1.55vw, 22px); padding: 6px 0 6px 16px; letter-spacing: -.015em; }
a.stmt { color: inherit; text-decoration: none; transition: background .2s; }
a.stmt:hover h3 { color: var(--red-btn); }
.stmt .tag { display: block; font-size: var(--t-small); font-weight: 700; color: var(--red-btn); margin-bottom: 8px; letter-spacing: 0; }
.cat { margin-top: clamp(40px, 6vw, 80px); }
.cat > .kicker { font-size: var(--t-lead); font-weight: 800; color: var(--ink); margin: 0; }
.cat .stmts { margin-top: 16px; }
.chips.big span { font-size: var(--t-body); padding: 9px 18px; }
body.v2 main .lead code, .pa code, .facts code { font-family: inherit; font-weight: 700; background: rgba(17,19,34,.07); border-radius: 4px; padding: 0 5px; }
@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
  .pick-tabs.dense button { font-size: 16px; padding: 3px 0; }
}

/* long compound words (German) must not push the page sideways */
.display, .h2, .stmt h3, .step h3, body.v2 main .pa, .pick-tabs button, .more-btn { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 540px) { .display { font-size: clamp(34px, 10vw, 44px); } }

/* ── added for the AWS partner page ── */
.skip { position: fixed; top: 12px; left: 16px; z-index: 300; padding: 10px 16px; background: #fff; color: #111322; border-radius: 6px; font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* a route drawn as stacked stations; .out is the one outside your environment */
.route { display: grid; gap: 0; }
.route > div { background: var(--paper); border-radius: 6px; padding: 16px 20px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(17,19,34,.3); }
.route > div + div { margin-top: 26px; position: relative; }
.route > div + div::before { content: ''; position: absolute; left: 34px; top: -26px; height: 26px; border-left: 2px dotted rgba(17,19,34,.3); }
.route strong { display: block; font-size: var(--t-lead); font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.route span { display: block; font-size: var(--t-body); color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.route small { display: block; font-size: var(--t-small); font-weight: 700; color: var(--red-btn); margin-bottom: 4px; }
.route > div.out { background: var(--ink); color: #fff; box-shadow: none; }
.route > div.out span { color: rgba(255,255,255,.72); }
.route > div.out small { color: #ff8b98; }
.route-cap { margin-top: 16px; font-size: var(--t-small); color: var(--ink-2); font-weight: 600; }

/* an example screen */
.ex { background: #111322; color: #fff; border-radius: 12px; padding: clamp(18px, 2.4vw, 30px); margin: 26px 0 10px; }
.ex-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--t-small); font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.ex-label { font-size: var(--t-small); font-weight: 700; color: rgba(255,255,255,.55); margin: 16px 0 4px; }
.ex-label:first-of-type { margin-top: 0; }
body.v2 main .ex p.ex-q { font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
body.v2 main .ex p.ex-a { font-size: var(--t-body); line-height: 1.5; color: rgba(255,255,255,.88); }
.ex code { font-family: inherit; font-weight: 800; background: rgba(255,255,255,.14); border-radius: 4px; padding: 1px 7px; color: #fff; }
.ex .chips { margin: 18px 0 0; }
.ex .chips span { border-color: rgba(255,255,255,.3); }

/* three zones side by side; the middle one lies outside your environment */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 56px); }
.zone { background: var(--bg); border-radius: 8px; padding: 22px; }
.band.paper .zone { background: var(--bg); }
.zone > small { display: block; font-size: var(--t-small); font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.zone h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 6px; }
.zone h3 + p + h3 { margin-top: 22px; }
.zone.out { background: var(--ink); color: #fff; }
.zone.out > small { color: #ff8b98; }
body.v2 main .zone.out p { color: rgba(255,255,255,.78); }
.rail { margin-top: 14px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 8px; font-size: var(--t-small); font-weight: 700; line-height: 1.7; }
.rail b { color: var(--red); }
.rail > strong { display: block; color: var(--ink-2); font-weight: 700; margin-bottom: 2px; }
.more-in h4 { font-size: var(--t-body); font-weight: 800; margin: 18px 0 2px; }
.more-in h4 small { font-weight: 700; color: var(--ink-2); margin-left: 8px; }
.doclinks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; align-items: baseline; }
.closing .badge { display: inline-block; margin-top: 34px; opacity: .9; }
/* Powered by AWS next to the AWS Partner tier badge, which is shown as issued (no opacity, recolouring or effects) */
.closing .partner-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 34px; }
.closing .partner-marks .badge { margin-top: 0; }
.closing .apn-badge { display: block; width: 96px; height: 96px; }
.closing .kicker { font-size: var(--t-body); font-weight: 700; color: #ff8b98; margin-bottom: 18px; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } }

/* ── partner-page graphics ── */
.ico { width: 30px; height: 30px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* hero diagram: your environment on the left, AWS on the right, data moving between */
.dia { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(90px, .55fr) minmax(0, 1fr); align-items: stretch; }
.dia-local { border: 2px solid var(--ink); border-radius: 14px; padding: 30px 14px 14px; position: relative; display: grid; gap: 10px; background: var(--paper); }
.dia-tag { position: absolute; top: -13px; left: 16px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 100px; padding: 4px 12px; white-space: nowrap; }
.dia-node { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--bg); }
.dia-node strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.dia-node span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.dia-node.hl { background: #fff; border: 2px solid var(--red); }
.dia-node.hl img { width: 62px; height: auto; flex-shrink: 0; }
.dia-lanes { display: grid; align-content: center; gap: 34px; padding: 0 4px; }
.lane { position: relative; height: 2px; background: var(--ink); }
.lane span { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.lane.back span { bottom: auto; top: 9px; color: var(--ink-2); }
.lane::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--ink); border-right: 0; }
.lane.back::after { right: auto; left: -1px; border-left: 0; border-right: 5px solid var(--ink); }
.lane i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: lane-go 2.6s linear infinite; }
.lane.back i { background: #ff9900; animation-name: lane-back; animation-delay: 1.3s; }
@keyframes lane-go { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes lane-back { 0% { left: calc(100% - 10px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.dia-aws { background: #232f3e; color: #fff; border-radius: 14px; padding: 22px 18px; display: grid; align-content: center; justify-items: start; gap: 6px; position: relative; }
.dia-aws img { width: 132px; height: auto; margin-bottom: 12px; }
.dia-aws strong { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.dia-aws span { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.4; }
.dia-aws .ico { color: #ff9900; width: 34px; height: 34px; }

/* architecture: numbered steps, arrows between zones, AWS in its own colours */
.zones { position: relative; }
.zone h3 { display: flex; align-items: center; gap: 10px; }
.zone h3 b { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }
.zone.aws { background: #232f3e; color: #fff; position: relative; }
.zone.aws > small { color: #ff9900; }
.zone.aws h3 b { background: #ff9900; color: #232f3e; }
body.v2 main .zone.aws p { color: rgba(255,255,255,.8); }
.zone.aws img { width: 124px; height: auto; margin: 0 0 16px; display: block; }
.zones { gap: 40px; }
.zone + .zone::before { content: '→'; position: absolute; left: -36px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 50%; background: var(--red-btn); color: #fff; font-size: 18px; font-weight: 800; line-height: 32px; text-align: center; z-index: 2; }
.zone { position: relative; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.svc div { background: #232f3e; color: #fff; border-left: 4px solid #ff9900; border-radius: 6px; padding: 12px 14px; font-size: var(--t-small); font-weight: 800; line-height: 1.25; }
.svc div small { display: block; font-weight: 600; color: rgba(255,255,255,.7); margin-top: 2px; }

/* a timeline of numbered steps */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 64px); position: relative; }
.tl::before { content: ''; position: absolute; left: 22px; right: 12%; top: 22px; height: 2px; background: var(--ink); }
.tl > div { padding-right: 24px; position: relative; }
.tl b { width: 46px; height: 46px; border-radius: 50%; background: var(--red-btn); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 18px; }
.tl h3 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 8px; }
.pick-tabs button .ico { vertical-align: -6px; margin-right: 10px; width: 28px; height: 28px; }
.stmt h3 .ico { display: block; margin-bottom: 12px; color: var(--red-btn); width: 34px; height: 34px; }

@media (max-width: 900px) {
  .dia { grid-template-columns: 1fr; }
  .dia-lanes { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; height: 84px; align-content: stretch; }
  .lane { width: 2px; height: 100%; justify-self: end; margin-right: 16px; }
  .lane.back { justify-self: start; margin: 0 0 0 16px; }
  .lane span { left: auto; right: 14px; bottom: auto; top: 50%; transform: translateY(-50%); width: 122px; text-align: right; }
  .lane.back span { top: 50%; right: auto; left: 14px; text-align: left; }
  .lane::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
  .lane.back::after { left: -4px; bottom: auto; top: -1px; border: 5px solid transparent; border-bottom-color: var(--ink); border-top: 0; }
  .lane i { left: -4px; top: 0; animation-name: lane-down; }
  .lane.back i { animation-name: lane-up; }
  @keyframes lane-down { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  @keyframes lane-up { 0% { top: calc(100% - 10px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 0; opacity: 0; } }
  .zones { gap: 40px; }
  .zone + .zone::before { content: '↓'; left: 50%; top: -36px; margin: 0 0 0 -16px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .tl { grid-template-columns: 1fr; gap: 26px; }
  .tl::before { left: 22px; right: auto; top: 22px; bottom: 60px; width: 2px; height: auto; }
  .tl > div { padding: 0 0 0 66px; }
  .tl b { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .lane i { animation: none; left: 50%; } }
