/* Lead-gen layer: visual metrics with a reason, one-team diagram, services grid, start cards, mobile CTA. Loaded last. */

/* Content first: no intro curtain, no custom cursor */
.intro, .cursor, .cursor-dot { display: none !important; }
html main { animation-delay: 0s !important; }

/* Stat with a reason */
.stat .why { font-size: .8rem; color: var(--muted); line-height: 1.4; padding-top: 8px; margin-top: 4px; border-top: 1px dashed var(--line); }
.stat > span:not(.why) { color: var(--ink); font-weight: 600; }

/* Metric = number + picture + why */
.mxs { display: grid; gap: 18px; }
.mx { display: grid; gap: 7px; }
.mx-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mx-top b { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mx-top span { font-size: .92rem; font-weight: 600; }
.mx-viz { display: grid; grid-template-columns: 52px 1fr; gap: 4px 8px; align-items: center; font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mx-viz.one { grid-template-columns: 1fr; background: var(--surface-2); border-radius: 8px; }
.mx-viz i { display: block; height: 8px; border-radius: 8px; width: calc(var(--v) * 1%); min-width: 4px; background: linear-gradient(90deg, var(--amber-fill), var(--green-fill)); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.mx-viz i.was { width: 100%; background: color-mix(in srgb, var(--muted) 38%, transparent); }
.mx.pre .mx-viz i:not(.was) { width: 0; min-width: 0; }
.mx-why { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.stack-vis { align-content: start; }
.stack-vis .mx-top b { color: #82e645; font-size: 2rem; }
.stack-vis .mx-top span { color: #fff; font-family: var(--f-body); }
.stack-vis .mx-why { color: #9fb3a5; font-family: var(--f-body); }
.stack-vis .mx-viz { color: #9fb3a5; }
.stack-vis .mx-viz.one { background: #1d2a23; }
.stack-vis .mx-viz i.was { background: #33443a; }

/* Before / fix lines */
.bf { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bf li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; font-size: .95rem; align-items: baseline; }
.bf li > span { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.bf li.f > span { color: var(--green); }
/* Sticky stacking hid the bottom of tall cards on phones */
@media (max-width: 820px) { .stack-item { position: static; transform: none !important; filter: none !important; } .stack-vis { order: 0; } }

/* One team vs hand-off diagram */
.gap { display: grid; gap: 12px; margin-bottom: 30px; }
.gap-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.gap-row > span { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.gap-line { display: flex; align-items: center; min-width: 0; }
.gap-node { flex: none; font-family: var(--f-mono); font-size: .76rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.gap-seg { flex: 1; height: 3px; background: color-mix(in srgb, var(--muted) 40%, transparent); min-width: 10px; }
.gap-break { flex: 1.4; min-width: 70px; text-align: center; font-family: var(--f-mono); font-size: .7rem; color: #c0392b; border-top: 3px dashed #c0392b; padding-top: 6px; margin-top: 22px; white-space: nowrap; }
:root[data-theme="dark"] .gap-break { color: #ff8a7a; border-top-color: #ff8a7a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gap-break { color: #ff8a7a; border-top-color: #ff8a7a; } }
.gap-row.us .gap-seg { background: linear-gradient(90deg, var(--amber-fill), var(--green-fill)); }
.gap-row.us .gap-node { border-color: var(--green); color: var(--green); font-weight: 600; }
@media (max-width: 640px) { .gap-row { grid-template-columns: 1fr; gap: 6px; } .gap-node { font-size: .64rem; padding: 5px 7px; } .gap-break { min-width: 50px; font-size: .6rem; } }
.pipe .gate { justify-self: start; font-family: var(--f-mono); font-size: .7rem; padding: 4px 9px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--amber) 60%, var(--line)); color: var(--amber); }

/* Services grid */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svcs > * { min-width: 0; }
.sv { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.sv:hover { border-color: var(--green); transform: translateY(-3px); }
.sv svg { width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv svg .a { stroke: var(--amber-fill); }
.sv h3 { font-size: 1.08rem; }
.sv p { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.sv .proof { justify-self: start; margin-top: 4px; font-family: var(--f-mono); font-size: .7rem; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--green-fill) 16%, var(--surface)); color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line)); }
.sv.ask { background: var(--ink); border-color: var(--ink); align-content: center; }
.sv.ask h3 { color: var(--bg); }
.sv.ask p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.sv.ask svg { stroke: var(--green-fill); }
@media (max-width: 960px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .svcs { grid-template-columns: 1fr; } }

/* Two ways to start */
.starts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.starts > * { min-width: 0; }
.start { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3.5vw, 36px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.start.hot { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.start.hot h3 { color: var(--bg); }
.start.hot .facts3 span { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.start.hot .facts3 > div { border-color: color-mix(in srgb, var(--bg) 25%, var(--ink)); }
.start h3 { font-size: 1.5rem; }
.start .k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.start.hot .k { color: var(--amber-fill); }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts3 > div { padding: 4px 12px; border-left: 2px solid var(--line); display: grid; gap: 2px; align-content: start; }
.facts3 b { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.1; }
.facts3 span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.start .btn { justify-self: start; }
@media (max-width: 760px) { .starts { grid-template-columns: 1fr; } }

/* Matcher extras */
.demo-out .hits { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-out .hits span { padding: 3px 9px; border-radius: 999px; background: #1d2a23; color: #82e645; font-size: .76rem; }
.demo-out .proofline { color: #dfe9d9; font-family: var(--f-body); font-size: .92rem; }
.demo-out .proofline b { color: #82e645; font-family: var(--f-display); font-size: 1.2rem; margin-right: 6px; }

/* Eval chart: agreed target line */
.evalchart .target { stroke: var(--amber-fill); stroke-width: 1.5; stroke-dasharray: 5 5; }
.evalchart text.tl { fill: var(--amber); }

/* Sticky mobile call-to-action */
.mcta { display: none; }
@media (max-width: 960px) {
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; justify-content: center; box-shadow: 0 12px 30px -10px rgba(10, 30, 15, .5); transition: transform .3s ease, opacity .3s ease; }
  .mcta[data-off="true"] { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .totop { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  body.has-mcta .site-footer { padding-bottom: 96px; }
}

/* Contact */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps3 li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; font-size: .95rem; }
.steps3 li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; background: var(--green-fill); color: var(--on-fill); }
.from-note { font-family: var(--f-mono); font-size: .8rem; padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--green); color: var(--green); }
.copyline a { text-decoration: none; }

[id] { scroll-margin-top: 96px; }

/* .stage (approach page layout) was leaking into the hero run log rows */
.runlog .stage { display: inline; padding: 0; border: 0; }

/* ===== Site-wide rebuild: services cards, timeline, team matrix, quiz stepper, calculator, FAQ ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .92rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--green); font-family: var(--f-mono); font-weight: 600; }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

/* Jump bar */
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 18px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 .9rem var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.jump a:hover { border-color: var(--green); color: var(--ink); transform: translateY(-2px); }
.jump svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.jump svg .a { stroke: var(--amber-fill); }

/* Service cards */
.svc2s { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc2s > * { min-width: 0; }
.svc2 { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 30px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s ease; }
.svc2:hover, .svc2:target { border-color: var(--green); }
.svc2-top { display: flex; justify-content: space-between; align-items: center; }
.svc2-top svg { width: 46px; height: 46px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc2-top svg .a { stroke: var(--amber-fill); }
.svc2-top span { font-family: var(--f-mono); font-size: .8rem; color: var(--amber); }
.svc2 h2 { font-size: 1.5rem; }
.svc2 > p { color: var(--muted); font-size: .97rem; }
.svc2 .proofbar { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; text-decoration: none; background: color-mix(in srgb, var(--green-fill) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line)); font-size: .88rem; }
.svc2 .proofbar b { font-family: var(--f-display); font-size: 1.4rem; color: var(--green); line-height: 1; }
.svc2 .proofbar em { font-style: normal; color: var(--muted); margin-left: auto; font-family: var(--f-mono); font-size: .72rem; }
.svc2.wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .svc2s { grid-template-columns: 1fr; } }

/* Engagement cards with a duration bar */
.eng .durbar { height: 8px; border-radius: 8px; background: var(--surface-2); position: relative; overflow: hidden; }
.eng .durbar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--a) * 1%); border-radius: 8px; background: linear-gradient(90deg, var(--amber-fill), var(--green-fill)); }
.eng .durbar i.to { width: calc(var(--b) * 1%); opacity: .3; }
.eng .durbar.open i { width: 100%; background: repeating-linear-gradient(90deg, var(--green-fill) 0 10px, transparent 10px 16px); }
.eng .scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .64rem; color: var(--muted); margin-top: -8px; }

/* Gantt */
.gantt { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.gantt-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.gantt-head b { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.03em; background: linear-gradient(90deg, var(--amber), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gantt-head span { display: block; font-weight: 600; }
.gantt-head small { font-size: .84rem; color: var(--muted); max-width: 36ch; }
.gantt-rows { display: grid; gap: 10px; }
.gantt-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: .9rem; font-weight: 600; }
.gantt-track { position: relative; height: 26px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--surface-2) 0 calc(100% / 18 - 1px), var(--line) calc(100% / 18 - 1px) calc(100% / 18)); }
.gantt-track i { position: absolute; top: 4px; bottom: 4px; left: calc(var(--l) / 18 * 100%); width: calc(var(--w) / 18 * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--amber-fill), var(--green-fill)); }
.gantt-track i.max { opacity: .28; }
.gantt-track.open { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--green-fill) 55%, transparent) 0 10px, transparent 10px 16px); }
.gantt-track em { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font: 400 .68rem var(--f-mono); color: var(--muted); }
.gantt-axis { display: flex; justify-content: space-between; margin-left: 108px; font: 400 .66rem var(--f-mono); color: var(--muted); }
@media (max-width: 560px) { .gantt-row { grid-template-columns: 74px 1fr; font-size: .8rem; } .gantt-axis { margin-left: 86px; } }

/* Vertical timeline */
.tl { display: grid; gap: 0; position: relative; margin-top: 40px; }
.tl::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--amber-fill), var(--green-fill)); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-block: 18px; }
.tl-item > * { min-width: 0; }
.tl-n { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; background: var(--surface); border: 2px solid var(--green-fill); position: relative; z-index: 1; }
.tl-item:first-child .tl-n { border-color: var(--amber-fill); }
.tl-card { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.tl-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-card h2 { font-size: 1.7rem; margin-right: 6px; }
.tl-card > p { color: var(--muted); }
.exit { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed color-mix(in srgb, var(--amber) 60%, var(--line)); background: color-mix(in srgb, var(--amber-fill) 8%, var(--surface)); font-size: .93rem; }
.exit span { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--amber); white-space: nowrap; }
@media (max-width: 600px) { .tl::before { left: 19px; } .tl-item { grid-template-columns: 40px 1fr; gap: 12px; } .tl-n { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; } .exit { grid-template-columns: 1fr; gap: 4px; } }

/* Icon tiles (non-link) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles > * { min-width: 0; }
div.sv:hover { transform: none; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Team: who leads when */
.matrix { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: clamp(16px, 2.5vw, 28px); display: grid; gap: 8px; }
.mrow { display: grid; grid-template-columns: minmax(110px, 1.3fr) repeat(4, 1fr); gap: 8px; align-items: stretch; }
.mrow > * { min-width: 0; }
.mrow > span { font-weight: 600; font-size: .92rem; align-self: center; }
.mrow.mh > * { font: 400 .68rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; }
.mrow.mh > :first-child { text-align: left; }
.mc { height: 44px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font: 600 .68rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mc.lead { background: var(--green-fill); color: var(--on-fill); }
.mc.rev { background: color-mix(in srgb, var(--green-fill) 26%, var(--surface)); color: var(--green); }
.mlegend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 8px; }
.mlegend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--surface-2); }
.mlegend i.lead { background: var(--green-fill); } .mlegend i.rev { background: color-mix(in srgb, var(--green-fill) 26%, var(--surface)); }
@media (max-width: 560px) { .mrow { grid-template-columns: 86px repeat(4, 1fr); gap: 4px; } .mrow > span { font-size: .76rem; } .mc { font-size: 0; height: 34px; } .mrow.mh > * { font-size: .54rem; letter-spacing: 0; } }
.squad { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.squad .avatar { width: 46px; height: 46px; }
.squad .avatar.p { color: var(--amber); }
.tgroup { display: grid; gap: 16px; padding-block: 34px; border-top: 1px solid var(--line); }
.tgroup header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.tgroup h2 { font-size: 1.7rem; }
.tgroup header p { color: var(--muted); font-size: .95rem; }

/* Quiz stepper */
.qbar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-bottom: 16px; }
.qbar i { height: 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); transition: background .3s ease; }
.qbar i.done { background: var(--green-fill); border-color: transparent; }
.qbar i.cur { background: var(--amber-fill); border-color: transparent; }
#quiz-form.stepper fieldset { display: none; }
#quiz-form.stepper fieldset.cur { display: block; animation: fadeUpSm .35s ease both; }
#quiz-form.stepper .q legend { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-family: var(--f-display); letter-spacing: -.01em; margin-bottom: 18px; }
#quiz-form.stepper .opt label { padding: 16px 16px; font-size: 1rem; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qnav span { font: 400 .8rem var(--f-mono); color: var(--muted); }
.dims { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.dims li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.dims .dbar { height: 7px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.dims .dbar i { display: block; height: 100%; width: calc(var(--v) / 3 * 100%); border-radius: 7px; background: linear-gradient(90deg, var(--amber-fill), var(--green-fill)); transition: width .4s ease; }
.dims li.low { color: var(--amber); font-weight: 600; }

/* Savings calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.calc > * { min-width: 0; }
.calc-in { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 20px; align-content: start; }
.rng { display: grid; gap: 8px; }
.rng label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: .95rem; }
.rng output { font-family: var(--f-display); font-size: 1.3rem; color: var(--green); font-variant-numeric: tabular-nums; }
.rng input[type=range] { width: 100%; accent-color: var(--green-fill); height: 28px; margin: 0; }
.rng small { font-size: .78rem; color: var(--muted); }
.calc-out { background: #0f1813; color: #dfe9d9; border: 1px solid #22302a; border-radius: 18px; padding: 24px; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 85% 10%, rgba(130,230,69,.2), transparent 70%); pointer-events: none; }
.calc-out > * { position: relative; }
.calc-out .k { font: 400 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #9fb3a5; }
.calc-out .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: #82e645; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-out .mx-viz { color: #9fb3a5; }
.calc-out .mx-viz i.was { background: #33443a; }
.calc-out .formula { font: 400 .78rem/1.5 var(--f-mono); color: #9fb3a5; }
.calc-out .two { display: flex; gap: 26px; flex-wrap: wrap; }
.calc-out .two b { display: block; font-family: var(--f-display); font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; }
.calc-out .two span { font-size: .78rem; color: #9fb3a5; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq > * { min-width: 0; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--green); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); background: var(--surface-2); color: var(--green); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Inner-page hero glow extended 10vw past the viewport and caused sideways scroll */
main { overflow-x: clip; }
.gantt-track em { background: var(--surface); padding: 2px 8px; border-radius: 999px; }

/* Brand assets: horizontal lockup (legal name) in the footer on a white plate so its black lettering reads in dark mode; large mark as the band watermark */
.foot-logo { display: inline-block; justify-self: start; background: #fff; padding: 10px 14px; border-radius: 14px; margin-left: -14px; }
.foot-logo img { width: 220px; height: auto; }
.band::after { content: ""; width: 380px; height: 285px; right: -70px; bottom: -70px; background: url("assets/logo-mark-large.webp") center / contain no-repeat; opacity: .1; }

/* ===== Showcase hero: full-bleed rounded card, five slides, pill dots ===== */
.sh { padding-top: 14px; }
.sh-wrap { max-width: 1320px; margin: 0 auto; padding-inline: 16px; }
.sh-card { position: relative; border-radius: 28px; overflow: hidden; background: #0a110d; color: #fff; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(10, 30, 15, .45); }
.sh-slides { display: grid; }
.sh-slide { grid-area: 1 / 1; position: relative; min-height: min(84vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(20px, 4vw, 52px) clamp(88px, 11vh, 108px); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.sh-slide.is-on { opacity: 1; visibility: visible; }
.sh-slide::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 80% at 78% 30%, var(--g1), transparent 70%), radial-gradient(60% 60% at 10% 100%, var(--g2), transparent 70%); }
.sh-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 11, 8, 0) 30%, rgba(6, 11, 8, .55) 62%, rgba(6, 11, 8, .92) 100%); pointer-events: none; }
.sh-slide[data-k="brand"] { --g1: rgba(130, 230, 69, .22); --g2: rgba(255, 162, 0, .2); }
.sh-slide[data-k="agents"] { --g1: rgba(130, 230, 69, .2); --g2: rgba(60, 140, 120, .25); }
.sh-slide[data-k="docs"] { --g1: rgba(255, 162, 0, .2); --g2: rgba(130, 230, 69, .16); }
.sh-slide[data-k="voice"] { --g1: rgba(255, 162, 0, .24); --g2: rgba(130, 230, 69, .2); }
.sh-slide[data-k="vision"] { --g1: rgba(130, 230, 69, .18); --g2: rgba(255, 162, 0, .22); }
.sh-scene { position: absolute; inset: 0; z-index: 0; }
.sh-scene #net { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc { position: absolute; top: clamp(28px, 7%, 64px); right: clamp(20px, 5%, 64px); width: min(44%, 500px); }
.sh-copy { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; max-width: 720px; }
.sh-tag { font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #ffb234; }
.sh-copy h1, .sh-copy h2 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; line-height: 1.02; color: #fff; letter-spacing: -.03em; }
.sh .hl { color: #82e645; }
.sh-copy p { color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 52ch; }
.sh-proof { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .9rem; color: rgba(255, 255, 255, .85); }
.sh-proof b { font-family: var(--f-display); font-size: 1.35rem; color: #82e645; line-height: 1; }
.sh-copy .actions { margin-top: 4px; }
.btn.sh-btn { background: #fff; color: #0a110d; }
.btn.sh-btn:hover { background: #eafbe0; }
.btn.sh-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn.sh-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
/* staged entrance each time a slide becomes active */
.sh-slide.is-on .sh-copy > * { animation: shUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.sh-slide.is-on .sh-copy > :nth-child(2) { animation-delay: .08s; } .sh-slide.is-on .sh-copy > :nth-child(3) { animation-delay: .16s; }
.sh-slide.is-on .sh-copy > :nth-child(4) { animation-delay: .24s; } .sh-slide.is-on .sh-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes shUp { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* controls */
.sh-ctrl { position: absolute; z-index: 3; left: 50%; bottom: 22px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sh-dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; overflow: hidden; transition: width .35s cubic-bezier(.2, .8, .2, 1), background .2s ease; }
.sh-dot:hover { background: rgba(255, 255, 255, .75); }
.sh-dot.is-on { width: 42px; background: rgba(255, 255, 255, .3); }
.sh-dot i { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; border-radius: inherit; }
.sh-dot.is-on i { animation: shFill var(--dur, 7s) linear forwards; }
.sh.paused .sh-dot.is-on i { animation-play-state: paused; }
.sh.still .sh-dot.is-on i { animation: none; width: 100%; }
@keyframes shFill { to { width: 100%; } }
.sh-pause { width: 26px; height: 26px; margin-left: 4px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: .55rem; letter-spacing: -1px; cursor: pointer; display: grid; place-items: center; }
.sh-pause:hover { background: rgba(255, 255, 255, .3); }

/* scene: run log */
.sc-run .runlog { background: rgba(10, 18, 13, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* scene: chat */
.chat { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .93rem; }
.chat-top { display: flex; align-items: center; gap: 8px; font: 400 .74rem var(--f-mono); color: #9fb3a5; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.chat-top i, .call-top i { width: 8px; height: 8px; border-radius: 50%; background: #82e645; animation: pulse 1.8s ease-in-out infinite; }
.bub { margin: 0; padding: 11px 14px; border-radius: 16px; max-width: 88%; line-height: 1.45; }
.bub.u { justify-self: end; background: #82e645; color: #102008; border-bottom-right-radius: 4px; font-weight: 500; }
.bub.a { justify-self: start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; color: #eef5ea; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cites span { font: 400 .7rem var(--f-mono); padding: 4px 8px; border-radius: 8px; border: 1px solid rgba(255, 178, 52, .5); color: #ffb234; }
.is-on .bub.u { animation: shUp .5s .3s both; }
.is-on .bub.typing { animation: typingOnce 1.4s .8s both; }
.is-on .bub.ans { animation: shUp .5s 2.2s both; }
@keyframes typingOnce { 0% { opacity: 0; max-height: 0; padding-block: 0; } 10%, 85% { opacity: 1; max-height: 50px; padding-block: 11px; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -12px; } }
/* scene: document */
.sc-doc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: center; }
.paper { position: relative; overflow: hidden; aspect-ratio: 3 / 4; padding: 18px 16px; border-radius: 12px; background: #f3efe6; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); rotate: -3deg; }
.paper b { display: block; height: 14px; width: 45%; border-radius: 4px; background: #c9c1ae; margin-bottom: 16px; }
.paper i { display: block; height: 8px; width: var(--w); margin: 11px 0; border-radius: 4px; background: #dcd5c4; }
.paper i.hit { outline: 2px solid transparent; outline-offset: 3px; }
.is-on .paper i.hit { animation: hit .4s 1s both; } .is-on .paper i.hit:nth-of-type(4) { animation-delay: 1.5s; } .is-on .paper i.hit.flag { animation: hitFlag .4s 2s both; }
@keyframes hit { to { outline-color: #2f8a1f; background: #b9e79a; } }
@keyframes hitFlag { to { outline-color: #b86e00; background: #ffd99a; } }
.paper::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(transparent, rgba(130, 230, 69, .5), transparent); animation: beam 2.8s linear infinite; }
@keyframes beam { to { top: 100%; } }
.fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fields li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.fields em { font: normal 500 .7rem var(--f-mono); padding: 3px 8px; border-radius: 999px; background: rgba(130, 230, 69, .16); color: #82e645; }
.fields li.rev em { background: rgba(255, 178, 52, .18); color: #ffb234; }
.is-on .fields li { animation: shUp .45s both; } .is-on .fields li:nth-child(1) { animation-delay: 1.1s; } .is-on .fields li:nth-child(2) { animation-delay: 1.4s; } .is-on .fields li:nth-child(3) { animation-delay: 1.7s; } .is-on .fields li:nth-child(4) { animation-delay: 2.1s; }
/* scene: voice */
.call { display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.call-top { display: flex; align-items: center; gap: 8px; font: 400 .74rem var(--f-mono); color: #9fb3a5; }
.sc-voice .wave { height: 110px; }
.call .ur { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.6; color: #fff; text-align: right; }
.call .gloss { margin: 0; font-size: .85rem; color: #9fb3a5; }
.call .hand { justify-self: start; font: 400 .72rem var(--f-mono); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(130, 230, 69, .5); color: #82e645; }
.is-on .call .ur { animation: shUp .6s .6s both; } .is-on .call .gloss { animation: shUp .6s .9s both; }
/* scene: vision */
.fabric { position: relative; height: clamp(220px, 34vh, 320px); border-radius: 18px; overflow: hidden; background-color: #2a3a2f; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, .18) 0 6px, transparent 6px 12px); background-size: 34px 34px; animation: weave 3s linear infinite; border: 1px solid rgba(255, 255, 255, .12); }
@keyframes weave { to { background-position: -340px 0, -340px 0; } }
.bbox { position: absolute; padding: 2px 6px 0; border: 2px solid #ffa200; border-radius: 6px; font: 600 .66rem var(--f-mono); color: #ffa200; opacity: 0; }
.bbox.b1 { left: 18%; top: 22%; width: 26%; height: 30%; }
.bbox.b2 { left: 58%; top: 52%; width: 22%; height: 28%; }
.is-on .bbox.b1 { animation: box 3s .6s infinite; } .is-on .bbox.b2 { animation: box 3s 1.9s infinite; }
@keyframes box { 0% { opacity: 0; transform: scale(1.15); } 12%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-30%); } }
.cam { position: absolute; left: 12px; bottom: 12px; font: 400 .7rem var(--f-mono); padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #dfe9d9; }
.toast { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.toast i { width: 10px; height: 10px; border-radius: 50%; background: #ffa200; box-shadow: 0 0 0 4px rgba(255, 162, 0, .25); }
.is-on .toast { animation: shUp .5s 1.2s both; }

/* tablet and phone: scene on top, copy below */
@media (max-width: 900px) {
  .sh-slide { min-height: 0; justify-content: flex-start; padding: 0 20px 92px; }
  .sh-scene { position: relative; inset: auto; height: 330px; margin: 0 -20px 4px; }
  .sh-slide::after { background: linear-gradient(180deg, rgba(6, 11, 8, 0) 0, rgba(6, 11, 8, 0) 200px, rgba(6, 11, 8, .75) 330px, rgba(6, 11, 8, .92) 100%); }
  .sc { top: 24px; left: 20px; right: 20px; width: auto; max-width: 460px; margin-inline: auto; }
  .sc-run .runlog { font-size: .72rem; padding: 16px; }
  .sc-run .runlog li { padding: 7px 0; }
  .sc-run .runlog-foot, .sc-run .runbar { display: none; }
}
@media (max-width: 520px) {
  .sh-wrap { padding-inline: 10px; }
  .sh-card { border-radius: 22px; }
  .sc-doc { grid-template-columns: .8fr 1.2fr; gap: 10px; }
  .fields li { padding: 9px 10px; font-size: .8rem; }
  .chat { font-size: .84rem; padding: 14px; }
  .sh-copy .actions { width: 100%; }
  .sh-copy .actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-slide { transition: none; }
  .paper::after, .fabric { animation: none; }
  .bbox { opacity: 1; }
}

/* outgoing slide text leaves quickly so headlines never overlap during the cross-fade */
.sh-slide:not(.is-on) .sh-copy, .sh-slide:not(.is-on) .sc { opacity: 0; transition: opacity .25s ease; }

/* keep copy and visual apart: copy owns the left half, card never shorter than 600px */
@media (min-width: 901px) { .sh-slide { min-height: max(600px, min(84vh, 780px)); } .sh-copy { max-width: min(720px, 52%); } .sh-copy h1, .sh-copy h2 { font-size: clamp(2.3rem, 4.4vw, 4.1rem); } }

/* Legal pages, footer legal links and the contact form note */
.legal { max-width: 72ch; display: grid; gap: 14px; line-height: 1.7; color: var(--muted); }
.legal h2 { margin-top: 22px; font-size: 1.3rem; color: var(--ink); }
.legal strong { color: var(--ink); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal a, .form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; gap: 16px; }
.foot-legal a { color: inherit; }
.foot-legal a:hover { color: var(--ink); }
.form-note { margin: 0; font-size: .84rem; color: var(--muted); }

/* Team disciplines */
.tfigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tfig { scroll-margin-top: 110px; display: grid; align-content: start; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
@media (min-width: 1000px) { .tfigs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tfig h3 { margin: 0; font-size: 1.1rem; }
.tfig p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Solution blueprints */
.bp-group { scroll-margin-top: 110px; display: grid; gap: 16px; }
.bp-group + .bp-group { margin-top: 40px; }
.bp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bp-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.bp { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px; border: 1px dashed var(--line); border-radius: 16px; background: var(--surface); }
.bp-tag { justify-self: start; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bp h3 { margin: 0; font-size: 1.05rem; }
.bp p { margin: 0; color: var(--muted); font-size: .94rem; }
.bp dl { margin: 6px 0 0; display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp dt { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bp dd { margin: 2px 0 0; font-size: .92rem; }
.bp-link { font-size: .92rem; color: var(--green); text-underline-offset: 3px; }

/* Services jump bar: right-to-left slide */
.jump.is-sliding { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.jump-track { display: flex; gap: 8px; width: max-content; animation: jumpSlide 42s linear infinite; }
.jump.is-sliding:hover .jump-track, .jump.is-sliding:focus-within .jump-track { animation-play-state: paused; }
@keyframes jumpSlide { to { transform: translateX(calc(-1 * var(--jump-shift, 50%))); } }

/* Footer social links */
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-social a, .foot-social span { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.foot-social a:hover { color: var(--green); border-color: var(--green); }
.foot-social svg { fill: currentColor; }

/* Illustrations */
.art { position: relative; overflow: hidden; border-radius: 14px; background: radial-gradient(260px 130px at 85% 0, rgba(130,230,69,.16), transparent 70%), radial-gradient(220px 120px at 10% 110%, rgba(255,162,0,.1), transparent 70%), #0d1410; }
.art svg { display: block; width: 100%; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art > span { position: absolute; top: 10px; right: 12px; font-family: var(--f-mono); font-size: .78rem; color: #ffb234; }
.art .tile { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.14); }
.art .tile2 { fill: #141e18; stroke: rgba(255,255,255,.22); }
.art .hi { fill: rgba(130,230,69,.14); stroke: rgba(130,230,69,.4); }
.art .ln { stroke: rgba(255,255,255,.12); }
.art .p { stroke: rgba(255,255,255,.34); stroke-width: 3; }
.art .g { stroke: #8bea52; stroke-width: 3; }
.art .gt { stroke: #8bea52; stroke-width: 2.5; }
.art .o { stroke: #ffb234; stroke-width: 3; }
.art .dash { stroke-dasharray: 6 7; }
.art .band { fill: rgba(255,178,52,.14); }
.art .gf { fill: #8bea52; }
.art .of { fill: #ffb234; }
.art .dim { fill: rgba(255,255,255,.3); }
.art .ring { stroke: rgba(255,178,52,.55); stroke-width: 2; }
.art .box { stroke: #ffb234; stroke-width: 2.5; }
.art .box.g2 { stroke: #8bea52; }
.art .scan, .art .sweep { fill: #8bea52; }
.art .base { stroke-opacity: .4; }
.art .ringbg { stroke: rgba(255,255,255,.12); stroke-width: 12; }
.art .ringv { stroke: #8bea52; stroke-width: 12; }
@media (prefers-reduced-motion: no-preference) {
  .art .pulse { animation: art-pulse 2.2s ease-in-out infinite; }
  .art .ring { animation: art-pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .art .scan { animation: art-scan 3s ease-in-out infinite alternate; }
  .art .sweep { animation: art-sweep 4.5s linear infinite; }
  .art .dots circle { animation: art-pulse 1.3s ease-in-out infinite; }
  .art .dots circle:nth-child(2) { animation-delay: .2s; }
  .art .dots circle:nth-child(3) { animation-delay: .4s; }
  .art .wave rect { transform-box: fill-box; transform-origin: center; animation: art-wave 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -.17s); }
  .art .bar { transform-box: fill-box; transform-origin: bottom; animation: art-rise 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -.5s); }
  .art .grow { transform-box: fill-box; transform-origin: left; animation: art-grow 4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -.8s); }
  .art .pulseline { stroke-dasharray: 24 76; animation: art-line 3s linear infinite; }
}
@keyframes art-pulse { 50% { opacity: .35; } }
@keyframes art-scan { to { transform: translateY(54px); } }
@keyframes art-sweep { to { transform: translateX(257px); } }
@keyframes art-wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes art-rise { from { transform: scaleY(.7); } to { transform: scaleY(1); } }
@keyframes art-grow { from { transform: scaleX(.6); } to { transform: scaleX(1); } }
@keyframes art-line { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Detail behind a click */
.more { border-top: 1px solid var(--line); padding-top: 12px; }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: .94rem; min-height: 32px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); color: var(--green); background: var(--surface-2); transition: transform .2s ease; }
.more[open] summary::after { transform: rotate(45deg); }
.more summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.more-body { display: grid; gap: 14px; padding-top: 12px; }

/* Document types */
.doc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.doc-tiles li { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; text-align: center; border-radius: 12px; background: var(--surface-2); font-size: .8rem; line-height: 1.25; }
.doc-tiles svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-tiles svg .a { stroke: var(--amber-fill); }
@media (max-width: 520px) { .doc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Blueprint ideas */
.bp-head { justify-content: flex-start; gap: 20px; flex-wrap: nowrap; }
.bp-head .art { flex: 0 0 240px; }
.bp-title { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.bp-grid { align-items: start; }
details.bp { display: block; padding: 0; border-style: solid; transition: border-color .2s ease; }
details.bp:hover, details.bp[open] { border-color: var(--green); }
details.bp summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 26px; gap: 12px; align-items: center; padding: 16px 18px; }
details.bp summary::-webkit-details-marker { display: none; }
details.bp summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); color: var(--green); background: var(--surface-2); transition: transform .2s ease; }
details.bp[open] summary::after { transform: rotate(45deg); }
details.bp summary:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; border-radius: 14px; }
details.bp summary svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
details.bp summary svg .a { stroke: var(--amber-fill); }
details.bp h3 { font-size: 1rem; }
details.bp > p, details.bp > dl { margin-inline: 18px; }
details.bp > dl { margin-bottom: 16px; }
@media (max-width: 620px) { .bp-head { flex-wrap: wrap; } .bp-head .art { flex-basis: 100%; } }

/* Team icons */
.ico { display: block; width: 44px; height: 44px; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico svg .a { stroke: var(--amber-fill); }

/* Thank-you panel */
.thanks { display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--green); border-radius: 18px; background: var(--surface); outline: none; animation: fadeUpSm .45s ease both; }
.thanks h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.thanks p { margin: 0; }
.thanks #thanks-text { font-size: 1.08rem; max-width: 46ch; overflow-wrap: anywhere; }
.thanks-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; color: var(--on-fill); background: var(--green-fill); }
.thanks .actions { margin-top: 6px; }
