/* ============================================================
   Winjit US - short tool pages: Apidapt, WDocSense, Figma Validator,
   Figma to Frontend Orchestrator, WinSec, WinRunner
   Content: SDLC_AI_Tools.xlsx. Each page is 3–5 sections and uses its
   own layout. Tokens from css/styles.css; grad-text, btn--grad and
   .lp-close from css/landing.css. Prefixes: tp- shared, ap- Apidapt,
   wd- WDocSense, fv- Figma Validator, ff- Figma to Frontend,
   ws- WinSec, wr- WinRunner.
   ============================================================ */

/* ---------- shared ---------- */
svg.i {
  width: 20px; height: 20px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.tp section[id] { scroll-margin-top: var(--header-h); }
.tp .section-head.text-center { max-width: 980px; }

.tp-crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(32px, 4.5vw, 56px); padding: 0;
  font-size: 14px; color: var(--grey-500);
}
.tp-crumbs a { color: var(--grey-600); }
.tp-crumbs a:hover { color: var(--primary); }
.tp-crumbs li + li::before { content: "→"; margin-right: 8px; color: var(--grey-400); }
.tp-crumbs--light ol { color: rgba(255, 255, 255, .7); }
.tp-crumbs--light a { color: rgba(255, 255, 255, .86); }
.tp-crumbs--light a:hover { color: #fff; }
.tp-crumbs--light li + li::before { color: rgba(255, 255, 255, .45); }

.tp-title {
  font-size: clamp(38px, 4.8vw, 64px); font-weight: 500; line-height: 1.07; letter-spacing: -0.02em; margin: 0;
}
.tp-sub { margin: 20px 0 0; max-width: 54ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--grey-600); }
.tp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tp-label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); }
.tp-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-control);
  background: var(--soft-blue); color: var(--primary); margin-bottom: 16px;
}
.tp-icon svg.i { width: 22px; height: 22px; }
.tp-checks { list-style: none; margin: 0; padding: 0; }
.tp-checks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(3, 78, 162, .10); font-size: 16.5px; font-weight: 600; color: var(--grey-900); }
.tp-checks li:first-child { border-top: 0; }
.tp-checks svg.i { width: 18px; height: 18px; color: var(--teal); }
.tp-close .lp-close__inner { padding: clamp(64px, 8vw, 104px) 0; }
.tp-close h2 { max-width: 22ch; margin-bottom: 30px; }
@media (max-width: 560px) { .tp-ctas .btn { width: 100%; justify-content: center; } }

/* ============================================================
   APIDAPT
   ============================================================ */
.ap-hero { background: linear-gradient(180deg, var(--sky-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.ap-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.ap-convert { position: relative; display: grid; grid-template-columns: .8fr auto 1.2fr; align-items: center; gap: 14px; }
.ap-doc {
  background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 18px 16px 22px;
  box-shadow: 0 18px 40px rgba(3, 78, 162, .10); transform: rotate(-3deg);
}
.ap-doc__name { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 12.5px; font-weight: 700; color: var(--grey-700); }
.ap-doc__name svg.i { width: 15px; height: 15px; color: var(--grey-500); }
.ap-doc i { display: block; height: 8px; border-radius: 4px; background: var(--grey-100); margin-top: 9px; }
.ap-doc i.is-hit { background: var(--blue-100); box-shadow: inset 3px 0 0 var(--primary); }
.ap-doc i.is-short { width: 62%; }
.ap-convert__arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(3, 78, 162, .3);
}
.ap-code {
  position: relative; background: var(--midnight-card); border-radius: 18px; padding: 16px 18px 18px; color: var(--grey-300);
  box-shadow: 0 24px 50px rgba(9, 9, 11, .28);
}
.ap-code__name { display: block; font-size: 12px; color: var(--grey-400); margin-bottom: 8px; }
.ap-code pre { margin: 0; font: 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; overflow: hidden; }
.ap-code pre b { color: var(--aurora-blue); font-weight: 600; }
.ap-code__live {
  position: absolute; right: -10px; bottom: -16px; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--grey-900); border-radius: var(--radius-pill); padding: 7px 14px;
  font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px rgba(9, 9, 11, .14);
}
.ap-code__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live-green); box-shadow: 0 0 0 4px rgba(0, 191, 120, .18); }

.ap-io { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(16px, 2vw, 24px); }
.ap-io__in { background: var(--soft-blue); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 34px); }
.ap-io__note { margin: 16px 0 0; font-size: 14.5px; color: var(--grey-600); }
.ap-io__note a { font-weight: 700; }
/* ap-graph: Apidapt at the centre, four outputs at the corners, connected
   by lines that draw in on scroll (ref: node-graph reference the user shared;
   restyled in site colours - no textured background, no borrowed palette). */
.ap-graph {
  position: relative; aspect-ratio: 1 / 1; max-height: 420px; margin: 0 auto;
  isolation: isolate;
}
.ap-graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.ap-graph__lines path {
  fill: none; stroke: var(--primary); stroke-width: 1; stroke-linecap: round; opacity: .5;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 900ms var(--ease-out);
}
.ap-graph.in .ap-graph__lines path { stroke-dashoffset: 0; }
.ap-graph.in .ap-graph__lines path:nth-of-type(1) { transition-delay: 150ms; }
.ap-graph.in .ap-graph__lines path:nth-of-type(2) { transition-delay: 300ms; }
.ap-graph.in .ap-graph__lines path:nth-of-type(3) { transition-delay: 450ms; }
.ap-graph.in .ap-graph__lines path:nth-of-type(4) { transition-delay: 600ms; }

.ap-graph__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 84px; height: 84px; border-radius: 50%; justify-content: center;
  background-image: linear-gradient(150deg, var(--grad-cta-stops));
  box-shadow: 0 14px 34px rgba(3, 78, 162, .32);
}
.ap-graph__hub svg.i { width: 22px; height: 22px; color: #fff; }
.ap-graph__hub span { font-size: 11.5px; font-weight: 700; color: #fff; }

.ap-graph__node {
  position: absolute; z-index: 1; width: clamp(120px, 30%, 158px);
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-tile);
  padding: 12px 14px; box-shadow: 0 10px 26px rgba(9, 9, 11, .08);
  opacity: 0; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.ap-graph__node .tp-icon { width: 32px; height: 32px; margin-bottom: 8px; border-radius: 9px; }
.ap-graph__node .tp-icon svg.i { width: 16px; height: 16px; }
.ap-graph__node h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; line-height: 1.25; }
.ap-graph__node p { margin: 0; font-size: 11.5px; line-height: 1.35; color: var(--grey-600); }
.ap-graph__node--tl { left: 18%; top: 18%; transform: translate(-50%, -50%) scale(.9); }
.ap-graph__node--tr { left: 82%; top: 18%; transform: translate(-50%, -50%) scale(.9); }
.ap-graph__node--bl { left: 18%; top: 82%; transform: translate(-50%, -50%) scale(.9); }
.ap-graph__node--br { left: 82%; top: 82%; transform: translate(-50%, -50%) scale(.9); }
.ap-graph.in .ap-graph__node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ap-graph.in .ap-graph__node--tl { transition-delay: 350ms; }
.ap-graph.in .ap-graph__node--tr { transition-delay: 500ms; }
.ap-graph.in .ap-graph__node--bl { transition-delay: 650ms; }
.ap-graph.in .ap-graph__node--br { transition-delay: 800ms; }

/* Small screens: absolute corner placement pushes the cards past the
   container edges, so fall back to a 2x2 grid with the hub between rows.
   The lines stay behind and still read as hub-to-card connectors. */
@media (max-width: 640px) {
  .ap-graph {
    max-height: none; aspect-ratio: auto; height: auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    grid-template-areas: "tl tr" "hub hub" "bl br";
  }
  .ap-graph__hub { position: relative; left: auto; top: auto; transform: none; grid-area: hub; justify-self: center; width: 68px; height: 68px; margin: 10px 0; }
  .ap-graph .ap-graph__node { position: relative; left: auto; top: auto; width: auto; padding: 12px; transform: translateY(8px); }
  .ap-graph.in .ap-graph__node { transform: none; }
  .ap-graph__node--tl { grid-area: tl; }
  .ap-graph__node--tr { grid-area: tr; }
  .ap-graph__node--bl { grid-area: bl; }
  .ap-graph__node--br { grid-area: br; }
}

.ap-lanes {
  position: relative; overflow: hidden; padding: clamp(72px, 9vw, 112px) 0;
  background: var(--grad-midnight-black); color: var(--grey-400);
}
.ap-lanes::before {
  content: ""; position: absolute; left: 50%; top: -240px; width: 1000px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 237, 135, .12) 0%, rgba(21, 119, 214, .08) 40%, transparent 70%);
  pointer-events: none;
}
.ap-lanes .container { position: relative; }
.ap-lanes h2 { color: #fff; }
.ap-lane { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--midnight-card-border); }
.ap-lane__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); }
.ap-lane--with .ap-lane__label { color: var(--secondary); }
.ap-lane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ap-lane li {
  position: relative; padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--midnight-card); border: 1px solid var(--midnight-card-border); color: var(--grey-300); font-size: 15px;
}
.ap-lane li + li { margin-left: 24px; }
.ap-lane li + li::before { content: "→"; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); color: var(--grey-600); }
.ap-lane li.is-end { border-style: dashed; color: var(--grey-500); }
.ap-lane--with li { border-color: rgba(0, 237, 135, .28); color: #fff; }
.ap-lane--with li.is-end { border-style: solid; border-color: var(--secondary); color: var(--secondary); }

@media (max-width: 960px) {
  .ap-hero__cols, .ap-io { grid-template-columns: 1fr; }
  .ap-convert { max-width: 560px; }
}
@media (max-width: 600px) {
  .ap-convert { grid-template-columns: 1fr; }
  .ap-convert__arrow { justify-self: center; transform: rotate(90deg); }
  .ap-doc { transform: none; }
  .ap-io__out { grid-template-columns: 1fr; }
  .ap-lane { grid-template-columns: 1fr; gap: 12px; }
  .ap-code__live { right: 10px; }
}

/* ============================================================
   WDOCSENSE
   ============================================================ */
.wd-hero { background: linear-gradient(180deg, var(--sky-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.wd-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.wd-editor {
  border-radius: 18px; overflow: hidden;
  background: var(--midnight-card); border: 1px solid var(--midnight-card-border);
  box-shadow: 0 24px 50px rgba(9, 9, 11, .28);
}
.wd-editor__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; background: var(--midnight-inset); border-bottom: 1px solid var(--midnight-card-border); }
.wd-editor__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--midnight-card-border); }
.wd-editor__bar span { margin-left: 10px; font-size: 12.5px; color: var(--grey-400); }
.wd-editor__body { display: grid; grid-template-columns: 180px 1fr; min-height: 230px; }
.wd-editor__tree { padding: 16px; border-right: 1px solid var(--midnight-card-border); display: grid; align-content: start; gap: 9px; font-size: 13px; color: var(--grey-400); }
.wd-editor__tree span { display: flex; align-items: center; gap: 7px; }
.wd-editor__tree svg.i { width: 14px; height: 14px; color: var(--aurora-blue); }
.wd-editor__tree .is-in { padding-left: 21px; }
.wd-editor__main { padding: 20px clamp(16px, 3vw, 28px); }
.wd-cmd {
  padding: 11px 14px; border-radius: 10px; background: var(--midnight-inset); border: 1px solid var(--midnight-card-border);
  font: 13.5px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: #FFFFFF;
}
.wd-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.wd-steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--grey-300); }
.wd-steps svg.i { width: 16px; height: 16px; color: var(--secondary); }
.wd-steps .is-run i {
  width: 14px; height: 14px; margin: 0 1px; border-radius: 50%;
  border: 2px solid var(--midnight-card-border); border-top-color: var(--secondary); animation: wd-spin 900ms linear infinite;
}
@keyframes wd-spin { to { transform: rotate(360deg); } }

.wd-gen__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.wd-gen__head { position: sticky; top: calc(var(--header-h) + 40px); }
.wd-gen__head h2 { margin-bottom: 14px; }
.wd-rows { list-style: none; margin: 0; padding: 0; }
.wd-rows li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--grey-200); }
.wd-rows li:last-child { border-bottom: 1px solid var(--grey-200); }
.wd-rows span { font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: var(--primary); padding-top: 4px; }
.wd-rows h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 600; margin-bottom: 6px; }
.wd-rows p { margin: 0; font-size: 16px; color: var(--grey-600); }

.wd-close {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--card-border-green); border-radius: var(--radius-block);
  padding: clamp(28px, 4vw, 48px);
}
.wd-close h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 8px; }
.wd-close p { margin: 0; font-size: 17px; color: var(--grey-600); }

@media (max-width: 960px) {
  .wd-hero__cols { grid-template-columns: 1fr; }
  .wd-editor { max-width: 560px; }
}
@media (max-width: 860px) {
  .wd-gen__grid { grid-template-columns: 1fr; }
  .wd-gen__head { position: static; }
}
@media (max-width: 600px) {
  .wd-editor__body { grid-template-columns: 1fr; }
  .wd-editor__tree { display: none; }
  .wd-close .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   FIGMA VALIDATOR
   ============================================================ */
.fv-hero { background: linear-gradient(180deg, var(--green-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.fv-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.fv-report {
  position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-card);
  padding: clamp(18px, 2.2vw, 24px); box-shadow: 0 28px 70px rgba(3, 78, 162, .12);
}
.fv-report__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.fv-report__head b { font-size: 17px; color: var(--grey-900); }
.fv-report__head span { font-size: 13px; color: var(--grey-500); }
.fv-report__counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.fv-report__counts div { background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: var(--radius-control); padding: 10px 12px; }
.fv-report__counts b { display: block; font-family: var(--ff-display); font-size: 24px; line-height: 1.1; color: var(--grey-900); }
.fv-report__counts span { font-size: 11.5px; line-height: 1.3; color: var(--grey-600); }
.fv-report__list { list-style: none; margin: 0; padding: 0; }
.fv-report__list li { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--grey-200); }
.fv-report__list b { display: block; font-size: 14px; color: var(--grey-900); }
.fv-report__list small { font-size: 13px; color: var(--grey-600); }
.fv-report__note { position: absolute; top: 20px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-400); }
.fv-tag { justify-self: start; border-radius: var(--radius-pill); padding: 3px 10px; font-size: 11.5px; font-weight: 700; }
.fv-tag--space { background: var(--grey-100); color: var(--grey-800); }
.fv-tag--name  { background: var(--grey-100); color: var(--grey-800); }
.fv-tag--miss  { background: var(--grey-100); color: var(--grey-800); }

.fv-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.fv-checks article { background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card); padding: clamp(20px, 2.2vw, 26px); }
.fv-checks h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.fv-checks p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--grey-600); }

.fv-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fv-flow li {
  padding: 18px 12px; text-align: center; border-radius: var(--radius-tile); font-size: 16px; font-weight: 600;
  background: var(--grey-50); border: 1px solid var(--grey-200); color: var(--grey-700);
}
.fv-flow li.is-tool {
  color: #fff; border-color: transparent;
  background-image: linear-gradient(120deg, var(--grad-cta-stops));
  box-shadow: 0 12px 28px rgba(3, 78, 162, .25);
}
.fv-flow__bands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.fv-flow__bands span { padding: 10px 14px; border-radius: var(--radius-control); text-align: center; font-size: 14px; font-weight: 700; }
.fv-flow__fix { background: var(--green-100); color: var(--forest-ink); }
.fv-flow__rework { background: var(--soft-blue); color: var(--primary); }
.fv-gains { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fv-gains li { padding-top: 16px; border-top: 3px solid var(--primary); font-size: 18px; font-weight: 600; color: var(--grey-900); }

.fv-close-wrap { padding-top: 0; }
.fv-close {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  border-radius: var(--radius-block); padding: clamp(32px, 4.5vw, 56px);
  background-image: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 45%, var(--teal) 100%);
}
.fv-close h2 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); margin: 0; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--secondary); color: var(--grey-900); }

@media (max-width: 960px) {
  .fv-hero__cols { grid-template-columns: 1fr; }
  .fv-report { max-width: 560px; }
  .fv-checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fv-checks, .fv-gains { grid-template-columns: 1fr; }
  .fv-report__counts { grid-template-columns: 1fr 1fr; }
  .fv-flow ol { grid-template-columns: 1fr 1fr; }
  .fv-close .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { .wd-steps .is-run i { animation: none; } }

/* ============================================================
   FIGMA TO FRONTEND ORCHESTRATOR
   ============================================================ */
.ff-hero { background: linear-gradient(180deg, var(--green-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.ff-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.ff-visual { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; align-items: center; }
.ff-frame {
  background: #fff; border: 1px solid var(--grey-200); border-radius: 18px; padding: 12px;
  box-shadow: 0 18px 40px rgba(3, 78, 162, .10);
}
.ff-frame__label { display: block; font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.ff-frame__screen { border: 1.5px solid var(--blue-wash-border); border-radius: var(--radius-control); padding: 16px 12px; display: grid; gap: 8px; }
.ff-sk { display: block; height: 22px; border-radius: 6px; background: var(--grey-100); border: 1px solid var(--grey-200); }
.ff-sk--title { height: 12px; width: 60%; background: var(--grey-300); border: 0; margin-bottom: 4px; }
.ff-sk--btn { background: var(--primary); border: 0; margin-top: 4px; }
.ff-code { background: var(--midnight-card); color: var(--grey-300); border-radius: 18px; padding: 18px; box-shadow: 0 24px 50px rgba(9, 9, 11, .25); }
.ff-code pre { margin: 0; font: 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; overflow: hidden; }
.ff-code pre b { color: var(--aurora-mint); font-weight: 600; }
.ff-match {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); white-space: nowrap;
  background: #fff; border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14px; color: var(--grey-700);
  box-shadow: 0 10px 26px rgba(9, 9, 11, .14);
}
.ff-match b { color: var(--forest-ink); }

.ff-proof { position: relative; overflow: hidden; isolation: isolate; background: var(--primary); color: #fff; padding: clamp(44px, 5.5vw, 64px) 0; }
.ff-proof__bg { position: absolute; inset: 0; z-index: -1; }
.ff-proof__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; animation: ff-proof-drift 22s ease-in-out infinite alternate; }
.ff-proof__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(3, 61, 128, .92) 0%, rgba(3, 78, 162, .82) 55%, rgba(10, 111, 196, .74) 100%);
}
@keyframes ff-proof-drift { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.ff-proof .container { position: relative; z-index: 1; }
.ff-proof__lead { margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.ff-proof__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ff-proof__row div { padding: 0 clamp(12px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .22); }
.ff-proof__row div:first-child { padding-left: 0; border-left: 0; }
.ff-proof__row b { display: block; font-family: var(--ff-display); font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.ff-proof__row span { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .8); }

.ff-stack-lead { max-width: 640px; margin: 0 auto clamp(28px, 3.4vw, 40px); text-align: center; }

/* Stacks: the site's own client-logo marquee (css/landing.css .lp-marquee),
   reused as a slow-scrolling wordmark strip instead of a chip wall - the
   loop is cloned automatically by the existing js/landing.js. */
.lp-marquee--tech .lp-marquee__track > * {
  width: auto; height: auto; padding: 0 clamp(20px, 2.6vw, 34px);
  position: relative;
}
.lp-marquee--tech .lp-marquee__track > * + *::before {
  content: "•"; position: absolute; left: -3px; color: var(--grey-300); font-size: 18px;
}
.lp-marquee--tech .lp-marquee__track span {
  font-family: var(--ff-display); font-size: clamp(18px, 1.8vw, 23px); font-weight: 700;
  color: var(--grey-600); white-space: nowrap; transition: color 220ms ease;
}
.lp-marquee--tech .lp-marquee__track > *:hover span { color: var(--primary); }
.lp-marquee--tech::before { background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.lp-marquee--tech::after  { background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

/* Architecture patterns: icon-over-label tiles, no card, no border
   (ref: Fantom's icon grid - restyled in the site's own tokens). */
.ff-patterns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
}
.ff-pattern { display: flex; flex-direction: column; align-items: center; text-align: center; width: 108px; }
.ff-pattern .tp-icon { margin: 0 0 14px; transition: transform 200ms var(--ease-out), background-color 200ms ease; }
.ff-pattern:hover .tp-icon { transform: translateY(-3px); background: var(--primary); color: #fff; }
.ff-pattern h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.3; }

.ff-gates { background: var(--grad-midnight-black); color: var(--grey-400); padding: clamp(64px, 8vw, 104px) 0; }
.ff-gates__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ff-gates h2 { color: #fff; margin-bottom: 12px; }
.ff-gates p { margin: 0; font-size: 17px; }
.ff-gates__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ff-gates__list li {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: var(--radius-icon);
  background: var(--midnight-card); border: 1px solid var(--midnight-card-border); color: #fff; font-size: 16.5px;
}
.ff-gates__list svg.i {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--secondary); color: #04261A; stroke-width: 2.5;
}

.ff-close { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.ff-close h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 0; }

@media (max-width: 960px) {
  .ff-hero__cols, .ff-gates__grid { grid-template-columns: 1fr; }
  .ff-visual { max-width: 560px; margin-bottom: 20px; }
  .ff-proof__row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .ff-proof__row div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .ff-visual { grid-template-columns: 1fr; }
  .ff-frame { max-width: 220px; }
  .ff-close .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   WINSEC
   ============================================================ */
.ws-hero { background: linear-gradient(180deg, var(--sky-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.ws-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ws-close .hl-solid--mint { color: var(--aurora-blue); }
.ws-term {
  border-radius: var(--radius-tile); overflow: hidden;
  background: var(--midnight-card); border: 1px solid var(--midnight-card-border); box-shadow: 0 24px 50px rgba(9, 9, 11, .28);
}
.ws-term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--midnight-card-border); }
.ws-term__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-700); }
.ws-term__bar span { margin-left: 8px; font-size: 12.5px; color: var(--grey-500); }
.ws-term pre { margin: 0; padding: 18px 20px; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--grey-200); white-space: pre; overflow-x: auto; }
.ws-term .dim { color: var(--grey-500); }
.ws-term .crit, .ws-term .high, .ws-term .med, .ws-term .ok { border-radius: 4px; padding: 1px 4px; font-weight: 700; }
.ws-term .crit { background: var(--soft-blue); color: var(--primary); }
.ws-term .high { background: var(--soft-blue); color: var(--primary); }
.ws-term .med { background: var(--grey-100); color: var(--grey-800); }
.ws-term .ok { background: var(--green-100); color: var(--forest-ink); }

/* Asymmetric bento, not four identical cards: one bold anchor tile
   carries the headline number, three quieter tiles support it (ref: the
   mixed-scale number blocks on Aeline / Fantom, restyled in our own colours). */
/* ws-graph: WinSec at the centre, its five scanning engines around it,
   connected by lines that draw in on scroll (same technique as Apidapt's
   ap-graph, reworked 3-left/2-right per the reference the user shared). */
.ws-graph {
  position: relative; aspect-ratio: 16 / 9; max-width: none; min-height: 460px; margin: 0 auto;
  isolation: isolate; border-radius: var(--radius-block); overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(3, 78, 162, .10), transparent 70%),
    linear-gradient(155deg, var(--soft-blue) 0%, var(--mint) 55%, var(--green-50) 100%);
  border: 1px solid var(--card-border-green);
}
.ws-graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.ws-graph__lines path {
  fill: none; stroke: var(--primary); stroke-width: .6; stroke-linecap: round; opacity: .45;
  stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset 900ms var(--ease-out);
}
.ws-graph.in .ws-graph__lines path { stroke-dashoffset: 0; }
.ws-graph.in .ws-graph__lines path:nth-of-type(1) { transition-delay: 150ms; }
.ws-graph.in .ws-graph__lines path:nth-of-type(2) { transition-delay: 300ms; }
.ws-graph.in .ws-graph__lines path:nth-of-type(3) { transition-delay: 450ms; }
.ws-graph.in .ws-graph__lines path:nth-of-type(4) { transition-delay: 600ms; }
.ws-graph.in .ws-graph__lines path:nth-of-type(5) { transition-delay: 750ms; }

.ws-graph__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 128px; height: 128px; border-radius: 50%; justify-content: center;
  background-image: linear-gradient(150deg, var(--grad-navy-stops));
  box-shadow: 0 18px 40px rgba(3, 78, 162, .32);
  animation: ws-hub-breathe 3s ease-in-out infinite;
}
.ws-graph__hub svg.i { width: 30px; height: 30px; color: #fff; }
.ws-graph__hub span { font-size: 14px; font-weight: 700; color: #fff; }
@keyframes ws-hub-breathe {
  0%, 100% { box-shadow: 0 18px 40px rgba(3, 78, 162, .32), 0 0 0 0 rgba(10, 111, 196, .25); }
  50% { box-shadow: 0 18px 40px rgba(3, 78, 162, .32), 0 0 0 14px rgba(10, 111, 196, 0); }
}

.ws-graph__node {
  position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 220px;
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-tile); padding: 13px 20px 13px 12px;
  box-shadow: 0 12px 30px rgba(9, 9, 11, .09);
  opacity: 0; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
}
.ws-graph__node:hover { box-shadow: var(--card-hover-shadow); border-color: rgba(3, 78, 162, .2); }
.ws-graph__node .tp-icon { width: 42px; height: 42px; margin-bottom: 0; flex: 0 0 auto; border-radius: 11px; }
.ws-graph__node .tp-icon svg.i { width: 20px; height: 20px; }
.ws-graph__node h3 { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.25; }

.ws-graph__pulses circle { fill: var(--primary); filter: drop-shadow(0 0 3px rgba(10, 111, 196, .8)); }
.ws-graph__node--l1 { left: 15%; top: 18%; transform: translate(-50%, -50%) translateX(4px) scale(.9); }
.ws-graph__node--l2 { left: 15%; top: 50%; transform: translate(-50%, -50%) translateX(4px) scale(.9); }
.ws-graph__node--l3 { left: 15%; top: 82%; transform: translate(-50%, -50%) translateX(4px) scale(.9); }
.ws-graph__node--r1 { left: 85%; top: 32%; transform: translate(-50%, -50%) translateX(-4px) scale(.9); flex-direction: row-reverse; }
.ws-graph__node--r2 { left: 85%; top: 68%; transform: translate(-50%, -50%) translateX(-4px) scale(.9); flex-direction: row-reverse; }
.ws-graph.in .ws-graph__node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ws-graph.in .ws-graph__node--l1 { transition-delay: 350ms; }
.ws-graph.in .ws-graph__node--l2 { transition-delay: 500ms; }
.ws-graph.in .ws-graph__node--l3 { transition-delay: 650ms; }
.ws-graph.in .ws-graph__node--r1 { transition-delay: 500ms; }
.ws-graph.in .ws-graph__node--r2 { transition-delay: 650ms; }

@media (max-width: 760px) {
  .ws-graph { display: none; }
}
.ws-graph-list { display: none; }
@media (max-width: 760px) {
  .ws-graph-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 480px; margin: 0 auto; list-style: none; padding: 0;
  }
  .ws-graph-list li {
    display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--strokes);
    border-radius: var(--radius-icon); padding: 10px 14px 10px 10px;
  }
  .ws-graph-list .tp-icon { width: 36px; height: 36px; margin-bottom: 0; flex: 0 0 auto; border-radius: 10px; }
  .ws-graph-list .tp-icon svg.i { width: 17px; height: 17px; }
  .ws-graph-list h3 { font-size: 13.5px; font-weight: 700; margin: 0; line-height: 1.25; }
}

.ws-engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.ws-engines article { border: 1px solid var(--strokes); border-radius: var(--radius-card); padding: clamp(20px, 2.4vw, 28px); }
.ws-engines h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.ws-engines p { margin: 0; font-size: 15px; color: var(--grey-600); }

.ws-out { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* grid children may shrink below their unbroken code lines; the code scrolls instead */
.ws-out > *, .ws-hero .container > *, .ff-hero__cols > *, .ap-hero__cols > * { min-width: 0; }
.ws-finding { background: var(--midnight-card); border-radius: var(--radius-card); padding: 18px; box-shadow: 0 24px 60px rgba(9, 9, 11, .18); }
.ws-finding__code { font: 13px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--grey-300); overflow-x: auto; white-space: nowrap; }
.ws-finding__code span { display: inline-block; width: 26px; color: var(--grey-600); }
.ws-finding__code u { text-decoration: underline wavy var(--rose-100); text-underline-offset: 4px; }
.ws-finding__card { margin-top: 14px; background: #fff; border-radius: var(--radius-icon); padding: 16px; }
.ws-finding__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.ws-finding__head b { font-size: 15.5px; color: var(--grey-900); }
.ws-finding__head em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--grey-500); }
.ws-sev { background: var(--soft-blue); color: var(--primary); border-radius: var(--radius-pill); padding: 2px 10px; font-size: 11.5px; font-weight: 700; }
.ws-finding__card p { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14.5px; color: var(--grey-700); }
.ws-finding__card p svg.i { width: 16px; height: 16px; color: var(--primary); }
.ws-finding__card code { display: block; padding: 10px 12px; border-radius: 8px; background: var(--green-50); color: var(--forest-ink); font-size: 12.5px; overflow-x: auto; white-space: nowrap; }
.ws-out h2 { margin-bottom: 20px; }
.ws-out__list { list-style: none; margin: 0; padding: 0; }
.ws-out__list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--grey-200); }
.ws-out__list svg.i { margin-top: 2px; color: var(--primary); }
.ws-out__list b { display: block; font-size: 17px; color: var(--grey-900); }
.ws-out__list span { font-size: 15.5px; color: var(--grey-600); }

.ws-close { position: relative; overflow: hidden; background: var(--midnight-navy); text-align: center; }
.ws-close .lp-close__bg img { opacity: .32; }
.ws-close h2 { max-width: 26ch; margin-bottom: 16px; }
.ws-close .eyebrow { color: var(--secondary); margin-bottom: 16px; display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ws-close .lp-close__inner > p { max-width: 64ch; margin: 0 auto 40px; font-size: 16px; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.ws-close .btn--light:hover { background: var(--secondary); }

.ws-offer-card {
  display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; max-width: 860px; margin: 0 auto 40px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-tile);
}
.ws-offer-col { padding: 24px 32px; border-left: 1px solid rgba(255, 255, 255, .15); }
.ws-offer-col:first-child { border-left: 0; }
.ws-offer-label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 10px;
}
.ws-offer-col p { margin: 0; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.4; }

@media (max-width: 700px) {
  .ws-offer-card { grid-template-columns: 1fr; }
  .ws-offer-col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
  .ws-offer-col:first-child { border-top: 0; }
}

@media (max-width: 960px) {
  .ws-hero__cols { grid-template-columns: 1fr; }
  .ws-term { max-width: 560px; }
  .ws-engines { grid-template-columns: 1fr 1fr; }
  .ws-out { grid-template-columns: 1fr; }
  .ws-stats__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ws-engines { grid-template-columns: 1fr; }
  .ws-term pre { font-size: 10.5px; }
}

/* ============================================================
   WINRUNNER
   ============================================================ */
.wr-hero { background: linear-gradient(180deg, var(--sky-50) 0%, var(--mint) 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.wr-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.wr-inputs { margin: clamp(28px, 3vw, 36px) 0 0; }
.wr-inputs .tp-label { color: var(--grey-500); }
.wr-inputs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wr-inputs li {
  padding: 10px 18px; border-radius: var(--radius-icon); font-size: 14.5px; font-weight: 600; color: var(--grey-800);
  background: #fff; border: 1px solid var(--grey-200);
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
}
.wr-inputs li:hover { transform: translateY(-3px); border-color: var(--primary); }

/* Illustrative sample report, same shell as Figma Validator's .fv-report */
.wr-report {
  position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-card);
  padding: 28px 26px 24px; box-shadow: 0 24px 60px rgba(9, 9, 11, .08);
}
.wr-report__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.wr-report__head b { font-size: 17px; color: var(--grey-900); }
.wr-report__head span { font-size: 13px; color: var(--grey-500); }
.wr-report__counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.wr-report__counts div { background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: var(--radius-control); padding: 10px 12px; }
.wr-report__counts b { display: block; font-family: var(--ff-display); font-size: 24px; line-height: 1.1; color: var(--grey-900); }
.wr-report__counts span { font-size: 11.5px; line-height: 1.3; color: var(--grey-600); }
.wr-report__list { list-style: none; margin: 0; padding: 0; }
.wr-report__list li { display: grid; grid-template-columns: 66px 1fr; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--grey-200); }
.wr-report__list b { display: block; font-size: 14px; color: var(--grey-900); }
.wr-report__list small { font-size: 13px; color: var(--grey-600); }
.wr-report__tag { justify-self: start; border-radius: var(--radius-pill); padding: 3px 10px; font-size: 11.5px; font-weight: 700; background: var(--grey-100); color: var(--grey-800); }
.wr-report__note { position: absolute; top: 20px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-400); }

.wr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.wr-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 2px; background: var(--grad-line); opacity: .35; }
.wr-steps li { position: relative; text-align: center; }
.wr-steps b {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); font-family: var(--ff-display); font-size: 15px; color: var(--primary);
}
.wr-steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.wr-gate {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--radius-pill);
  background: var(--green-100); color: var(--forest-ink); font-size: 12.5px; font-weight: 700;
}
.wr-gate svg.i { width: 14px; height: 14px; }

.wr-consoles { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(14px, 1.8vw, 20px); align-items: stretch; }
.wr-console { background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card); padding: clamp(22px, 2.6vw, 30px); }
.wr-console--mobile .tp-icon { background: var(--green-100); color: var(--forest-ink); }
.wr-console h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.wr-console p { margin: 0; font-size: 15.5px; color: var(--grey-600); }
.wr-consoles__note { display: flex; flex-direction: column; justify-content: center; padding-left: clamp(0px, 2vw, 20px); }
.wr-consoles__note h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.wr-consoles__note p { margin: 0; font-size: 17px; color: var(--grey-600); }

.wr-outs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.wr-outs article { border: 1px solid var(--strokes); border-radius: var(--radius-card); padding: 12px 12px 24px; }
.wr-outs h3, .wr-outs p { padding: 0 10px; }
.wr-outs h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.wr-outs p { margin: 0; font-size: 15px; color: var(--grey-600); }
.wr-outs__visual {
  height: 150px; margin-bottom: 18px; border-radius: var(--radius-tile); padding: 18px; background: var(--grey-50);
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px;
}
.wr-chip { padding: 7px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--grey-200); font-size: 14px; font-weight: 600; color: var(--grey-800); }
.wr-bar { width: 100%; display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--grey-600); }
.wr-bar i { display: block; height: 10px; border-radius: 5px; background: var(--grey-200); position: relative; overflow: hidden; }
.wr-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--live-green); border-radius: 5px; }
.wr-bar--fail i::after { background: var(--primary); }
.wr-bar--val i::after { background: var(--grey-400); }
.wr-outs__visual--code { background: var(--midnight-card); justify-content: flex-start; }
.wr-outs__visual--code pre { margin: 0; font: 12.5px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--grey-300); white-space: pre; overflow: hidden; }
.wr-outs__visual--code b { color: var(--aurora-blue); font-weight: 600; }

.wr-close-wrap { padding-top: 0; }
.wr-close {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  border-radius: var(--radius-block); padding: clamp(32px, 4.5vw, 52px);
  background-image: linear-gradient(120deg, var(--grad-navy-stops));
}
.wr-close h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 12px; }
.wr-close ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wr-close li { padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .3); font-size: 13.5px; color: #fff; }

@media (max-width: 960px) {
  .wr-steps { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .wr-steps::before { display: none; }
  .wr-consoles { grid-template-columns: 1fr 1fr; }
  .wr-consoles__note { grid-column: 1 / -1; order: -1; padding-left: 0; }
  .wr-outs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wr-steps { grid-template-columns: 1fr 1fr; }
  .wr-consoles { grid-template-columns: 1fr; }
  .wr-close .btn { width: 100%; justify-content: center; }
}

/* ---------- WinRunner animations ----------
   Triggered by .in, which js/main.js adds as each .reveal enters view. */

/* pipeline: the line draws across, then each step lights up in turn */
.wr-steps::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 2px;
  background: var(--grad-line);
  transform-origin: left; transform: scaleX(0); transition: transform 1500ms var(--ease-out) 200ms;
}
.wr-steps.in::after { transform: scaleX(1); }
.wr-steps li { z-index: 1; }
.wr-steps b, .wr-steps h3, .wr-gate { opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out), background-color 450ms ease, color 450ms ease; }
.wr-steps.in b, .wr-steps.in h3, .wr-steps.in .wr-gate { opacity: 1; transform: none; }
.wr-steps.in b { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(3, 78, 162, .10); }
.wr-steps li:nth-child(1) > * { transition-delay: 250ms; }
.wr-steps li:nth-child(2) > * { transition-delay: 550ms; }
.wr-steps li:nth-child(3) > * { transition-delay: 850ms; }
.wr-steps li:nth-child(4) > * { transition-delay: 1150ms; }
.wr-steps li:nth-child(5) > * { transition-delay: 1450ms; }
.wr-steps li:nth-child(n) .wr-gate { transition-duration: 450ms; }

/* consoles: lift on hover and pop in on entrance */
.wr-console { transition: opacity 500ms var(--ease-out), transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 250ms ease; }
.wr-console.in:hover { transform: translateY(-4px); border-color: rgba(3, 78, 162, .2); box-shadow: var(--card-hover-shadow); }

.wr-console .tp-icon { opacity: 0; }
.wr-console.in .tp-icon { animation: wrIconPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.wr-console.reveal-d1.in .tp-icon { animation-delay: 100ms; }
.wr-console.reveal-d2.in .tp-icon { animation-delay: 200ms; }
@keyframes wrIconPop {
  0% { transform: scale(0.5) translateY(10px); opacity: 0; }
  60% { transform: scale(1.1) translateY(-2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.wr-console.in:hover .tp-icon { animation: wr-bob 900ms var(--ease-out); }
@keyframes wr-bob { 40% { transform: translateY(-5px); } }

/* outputs: report bars fill, script types in line by line */
.wr-outs article { transition: opacity 500ms var(--ease-out), transform 250ms var(--ease-out), box-shadow 250ms ease; }
.wr-outs article.in:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.wr-bar i::after { width: 0; transition: width 1100ms var(--ease-out) 400ms; }
.wr-outs article.in .wr-bar i::after { width: var(--w); }
.wr-outs article.in .wr-bar--fail i::after { transition-delay: 600ms; }
.wr-outs article.in .wr-bar--val i::after { transition-delay: 800ms; }
.wr-chip { opacity: 0; transform: scale(.9); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.wr-outs article.in .wr-chip { opacity: 1; transform: none; }
.wr-outs article.in .wr-chip:nth-child(2) { transition-delay: 150ms; }
.wr-outs article.in .wr-chip:nth-child(3) { transition-delay: 300ms; }
.wr-line { display: block; opacity: 0; transform: translateX(-8px); transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out); }
.wr-outs article.in .wr-line { opacity: 1; transform: none; }
.wr-outs article.in .wr-line:nth-child(1) { transition-delay: 500ms; }
.wr-outs article.in .wr-line:nth-child(2) { transition-delay: 800ms; }
.wr-outs article.in .wr-line:nth-child(3) { transition-delay: 1100ms; }
.wr-outs article.in .wr-line:nth-child(4) { transition-delay: 1400ms; }
.wr-caret { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--aurora-mint); animation: wr-blink 1s steps(1) infinite; }
@keyframes wr-blink { 50% { opacity: 0; } }

/* CTA panel: the gradient drifts slowly */
.wr-close { background-size: 180% 180%; animation: wr-drift 14s ease-in-out infinite alternate; }
@keyframes wr-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

@media (max-width: 960px) {
  .wr-hero__cols { grid-template-columns: 1fr; }
  .wr-report { max-width: 560px; }
  .wr-steps::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wr-caret, .wr-close, .wr-console.in:hover .tp-icon { animation: none !important; }
  .wr-steps::after, .wr-steps b, .wr-steps h3, .wr-gate, .wr-bar i::after, .wr-chip, .wr-line { transition: none !important; }
  .wr-steps::after { transform: scaleX(1); }
  .wr-steps b, .wr-steps h3, .wr-gate, .wr-chip, .wr-line { opacity: 1; transform: none; }
  .wr-bar i::after { width: var(--w); }
  .ws-graph__hub { animation: none !important; }
  .ws-graph__pulses { display: none; }
}
/* ---------- WDocSense Offer Section ---------- */
.wd-offer .lp-close__inner { padding: clamp(64px, 8vw, 104px) 0; }
.wd-offer h2 { margin-bottom: 16px; margin-left: auto; margin-right: auto; }
.wd-offer .lp-close__inner > p { max-width: 64ch; margin: 0 auto 40px; font-size: 16px; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }

.wd-offer-card {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  max-width: 860px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-tile);
  text-align: left;
}
.wd-offer-col {
  padding: 24px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.wd-offer-col:first-child {
  border-left: 0;
}
.wd-offer-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.wd-offer-col p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .wd-offer-card {
    grid-template-columns: 1fr;
  }
  .wd-offer-col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 24px;
  }
  .wd-offer-col:first-child {
    border-top: 0;
  }
}
