/* InnoTractor homepage prototype E: one network story (concept B + elements of C).
   Everything is scoped under .it-home so the old theme CSS does not leak in. */

.it-home {
  --blue: #044E9D;
  --deep: #003C7C;
  --mid: #0A5898;
  --sage: #8CB56F;
  --green: #46C55E;
  --gdark: #2E8B45;
  --ink: #0E2340;
  --text: #44566C;
  --muted: #6A7B90;
  --warn: #D9822B;
  --line: rgba(4, 78, 157, .14);
  --line-2: rgba(4, 78, 157, .22);
  --soft: #F5F8FC;
  --tint: #EEF4FB;
  --gtint: #EAF6EC;
  --p-f: #044E9D;
  --p-c: #3FB45A;
  --p-r: #7B68D6;
  --p-y: #1F9E98;
  --shadow-sm: 0 1px 2px rgba(0, 40, 90, .06), 0 6px 18px -8px rgba(0, 40, 90, .18);
  --shadow-md: 0 1px 2px rgba(0, 40, 90, .05), 0 18px 44px -18px rgba(0, 40, 90, .28);
  --grad: linear-gradient(90deg, #8CB56F 0%, #46A06A 30%, #044E9D 100%);
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Alegreya Sans", system-ui, sans-serif;
  display: block;
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  font-variant-numeric: lining-nums;
}
.it-home *, .it-home *::before, .it-home *::after { box-sizing: border-box; }
.it-home h1, .it-home h2, .it-home h3, .it-home p, .it-home ul, .it-home ol, .it-home li, .it-home figure {
  margin: 0; padding: 0; max-width: none;
}
.it-home ul, .it-home ol { list-style: none; }
.it-home h1::before, .it-home h2::before { display: none !important; content: none !important; }
.it-home h1, .it-home h2, .it-home h3 {
  font-family: var(--head); color: var(--ink); font-weight: 500 !important; letter-spacing: -.01em; clear: none;
}
.it-home a { color: inherit; text-decoration: none; }
.it-home a:hover, .it-home a:focus { color: inherit; text-decoration: none; }
.it-home a:focus-visible, .it-home button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.it-home button {
  font: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0;
  line-height: inherit; cursor: pointer; text-transform: none; box-shadow: none; transition: none; letter-spacing: normal;
}
.it-home button:hover, .it-home button:focus { background: none; color: inherit; }
.it-home img { max-width: 100%; height: auto; }
.it-home svg { display: block; }

.it-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.it-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue);
}
.it-kicker--muted { color: var(--muted); }
.it-kicker--warn { color: #B4651C; }
.it-nowrap { white-space: nowrap; }
.it-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(70, 197, 94, .18); }
.it-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.it-h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; margin-top: 18px !important; }
.it-h2 { font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; }
.it-home .it-lead { font-size: 22px; line-height: 1.5; color: var(--text); margin-top: 22px !important; max-width: 30em; }
.it-home .it-sub { font-size: 20px; color: var(--text); margin-top: 14px !important; max-width: 36em; }
.it-head { margin-bottom: 40px; }
.it-head .it-h2 { margin-top: 10px; }

/* Buttons */
.it-home .it-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--head); font-size: 17px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.it-home .it-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.it-home .it-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(4, 78, 157, .7); }
.it-home .it-btn--primary:hover, .it-home .it-btn--primary:focus { background: var(--deep); color: #fff; transform: translateY(-1px); }
.it-home .it-btn--ghost { background: #fff; color: var(--blue); border: 1px solid var(--line-2); }
.it-home .it-btn--ghost:hover, .it-home .it-btn--ghost:focus { background: var(--tint); color: var(--deep); }
.it-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.it-home .it-textlink { margin-left: 8px; font-family: var(--head); font-size: 16px; font-weight: 500; color: var(--blue); border-bottom: 1px solid rgba(4, 78, 157, .28); line-height: 1.3; transition: color .2s, border-color .2s; }
.it-home .it-textlink:hover, .it-home .it-textlink:focus { color: var(--deep); border-bottom-color: var(--deep); }

/* ---------- 1. Hero ---------- */
.it-hero { position: relative; padding: 32px 0 64px; overflow: hidden; }
.it-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(70, 197, 94, .08), transparent) 78% 42% / 760px 620px no-repeat,
    radial-gradient(closest-side, rgba(4, 78, 157, .07), transparent) 62% 70% / 820px 620px no-repeat;
}
.it-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.it-hero__copy { padding: 24px 0; }
.it-hero__net { position: relative; height: 620px; }
.it-hero__note { display: flex; align-items: center; gap: 10px; margin-top: 28px !important; font-size: 16px; color: var(--muted); }
.it-hero__note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sage); stroke-width: 1.7; }
.it-cue {
  position: relative; display: flex; align-items: center; gap: 8px; width: max-content; margin: 8px auto 0;
  font-size: 15px; color: var(--muted); transition: color .2s;
}
.it-cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: it-bob 2.4s ease-in-out infinite; }
.it-cue:hover { color: var(--blue); }
@keyframes it-bob { 50% { transform: translateY(4px); } }

/* "How it works" page hero */
.it-pagehero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.it-pagehero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(70, 197, 94, .08), transparent) 82% 30% / 700px 520px no-repeat,
    radial-gradient(closest-side, rgba(4, 78, 157, .07), transparent) 64% 80% / 760px 520px no-repeat;
}
.it-pagehero .it-wrap { position: relative; }
.it-pagehero .it-h1 { max-width: 15em; }
.it-cue--left { margin: 28px 0 0; }

/* ---------- Network (hero and scenes) ---------- */
.nt { position: relative; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; }
.nt::before { /* fine dot grid, faded at the edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(4, 78, 157, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  opacity: .5;
}
.nt-back, .nt-front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nt-layer { position: absolute; inset: 0; }
.nt-front { z-index: 3; }

/* Lines */
.nt-link { fill: none; stroke: #9FAEC0; stroke-width: 1.35; stroke-linecap: round; stroke-dasharray: 1 1; }
.nt-link.drawing { stroke: var(--warn); stroke-width: 2.2; }
.nt-up { fill: none; stroke: #7F8D9E; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 1; }
.nt-ring { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 1 1; stroke-linecap: round; }
.nt-ring-glow { fill: none; stroke: var(--green); stroke-width: 12; stroke-dasharray: 1 1; opacity: .12; }
.nt-spoke { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.nt-arc { fill: none; stroke: var(--green); stroke-width: 5; filter: drop-shadow(0 0 4px rgba(70, 197, 94, .55)); stroke-linecap: round; stroke-linejoin: round; }
.nt-pulse { fill: var(--mid); }
.nt-tether { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; }
.nt-crack { fill: none; stroke: #4F5F72; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1 1; }

/* Connector badges, keys and copies */
.nt-conn .bg { fill: #fff; stroke: var(--green); stroke-width: 1.6; }
.nt-conn path, .nt-conn rect, .nt-conn circle:not(.bg), .nt-conn ellipse { fill: none; stroke: var(--gdark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nt-conn .i-key, .nt-conn .i-lock { display: none; }
.nt-conn.key .bg { fill: var(--green); stroke: #fff; }
.nt-conn.key .i-plug { display: none; }
.nt-conn.key .i-key { display: inline; }
.nt-conn.key path, .nt-conn.key circle:not(.bg) { stroke: #fff; }
.nt-conn.lock .bg { fill: #fff; stroke: #A8B6C6; stroke-dasharray: 3 2.4; }
.nt-conn.lock .i-plug { display: none; }
.nt-conn.lock .i-lock { display: inline; }
.nt-conn.lock path, .nt-conn.lock rect { stroke: #6A7B90; }
.nt-fly .bg { fill: var(--green); stroke: #fff; stroke-width: 1.6; }
.nt-fly path, .nt-fly circle.k { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.nt-copy path { fill: #fff; stroke: #6F8197; stroke-width: 1.1; stroke-linejoin: round; }
.nt-copy path.f { fill: none; }

/* Node cards */
.nt-node { position: absolute; left: 0; top: 0; will-change: transform; z-index: 1; }
.nt-card {
  position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 13px 7px 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
  white-space: nowrap; transition: border-color .4s, box-shadow .4s;
}
.nt-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue); flex: none; transition: background-color .4s, color .4s; }
.nt-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nt-txt { display: flex; flex-direction: column; line-height: 1.15; }
.nt-txt b { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--ink); }
.nt-txt small { font-size: 13px; color: var(--muted); margin-top: 1px; display: inline-flex; align-items: center; gap: 4px; }
.nt-txt small svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.nt-txt small.h, .nt-txt small.l { display: none; }
.nt.s-home .nt-txt small.r { display: none; }
.nt.s-home .nt-txt small.h { display: inline-flex; color: var(--gdark); font-weight: 500; }
.nt.s-live .nt-node.is-sensor small.r { display: none; }
.nt.s-live .nt-node.is-sensor small.l { display: inline-flex; color: var(--deep); font-weight: 500; font-variant-numeric: tabular-nums; }
.nt-txt small.l i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: it-blink 1.2s ease-in-out infinite; }
@keyframes it-blink { 50% { opacity: .25; } }
.nt-badge {
  position: absolute; top: -10px; right: -10px; display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 8px 0 6px;
  border-radius: 999px; background: var(--green); color: #fff; font-family: var(--head); font-size: 11.5px; font-weight: 500; letter-spacing: .03em;
  box-shadow: 0 4px 10px -4px rgba(40, 140, 60, .6);
  opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.nt-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.nt-node.dpp .nt-badge { opacity: 1; transform: none; }
.nt-node.dpp .nt-card { border-color: rgba(70, 197, 94, .55); }
.nt-node.dpp .nt-ico { background: var(--gtint); color: var(--gdark); }
/* Who sees what (the story): a partner that got a key says how much of the passport it may read
   ("Sees 3 of 4"); a partner without a key says "No access". */
.nt-txt small.s, .nt-txt small.x, .nt-txt small.u { display: none; }
/* ...and after the owner changed a value, a partner that may read it says so ("Sees 1.74 now"). */
.nt--story .nt-node.keyed.sees.fresh .nt-txt small.s { display: none; }
.nt--story .nt-node.keyed.sees.fresh .nt-txt small.u { display: inline-flex; color: var(--gdark); font-weight: 700; }
.nt--story .nt-node.fresh .nt-card { animation: it-fresh 1.1s ease-out; }
@keyframes it-fresh { 0% { box-shadow: 0 0 0 0 rgba(70, 197, 94, .75); } 100% { box-shadow: 0 0 0 16px rgba(70, 197, 94, 0); } }
.nt--story .nt-node.keyed.sees .nt-txt small.r, .nt--story .nt-node.locked .nt-txt small.r { display: none; }
.nt--story .nt-node.keyed.sees .nt-txt small.s { display: inline-flex; color: var(--gdark); font-weight: 700; }
.nt--story .nt-node.locked .nt-txt small.x { display: inline-flex; color: #6A7B90; font-weight: 500; }
.nt--story .nt-node.locked .nt-card { border-color: #C3CEDB; background: #F6F8FB; }
.nt--story .nt-node.locked .nt-ico { background: #E9EEF4; color: #6A7B90; }
.nt-node.keyed .nt-card { border-color: rgba(70, 197, 94, .5); }
.nt-home { display: none; }
.nt-node.is-sensor .nt-card { border-color: rgba(4, 78, 157, .3); }
.nt-node.is-ai .nt-ico { background: linear-gradient(135deg, #E6F4EA, #E4EEF9); color: var(--deep); }
.nt-node.is-ai .nt-card { border-color: rgba(4, 78, 157, .35); box-shadow: 0 0 0 4px rgba(4, 78, 157, .06), var(--shadow-sm); }

/* Tags on the network */
.nt-tag {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0;
}
.nt-tag span {
  display: inline-block; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: #FFF5E8; border: 1px solid #F2C998; color: #9A5310; font-size: 12.5px; font-weight: 700; line-height: 16px;
  box-shadow: 0 4px 10px -6px rgba(150, 80, 10, .5);
}
.nt-plus {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--head); font-size: 12.5px; font-weight: 500; line-height: 16px;
  box-shadow: 0 6px 14px -6px rgba(40, 140, 60, .7);
}

/* Hub (the central platform) */
.nt-hub { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transform-origin: 50% 50%; }
.nt-hub__half {
  position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(#F7F8FA, #EBEEF3);
  border: 1.5px solid #B4BFCD; box-shadow: 0 20px 50px -20px rgba(30, 50, 80, .45);
}
.nt-hub__half.l { clip-path: polygon(0 0, 52% 0, 46% 22%, 55% 45%, 47% 68%, 54% 100%, 0 100%); }
.nt-hub__half.r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 54% 100%, 47% 68%, 55% 45%, 46% 22%); }
.nt-hub__t {
  position: absolute; left: 0; right: 0; top: 13px; display: flex; justify-content: center; align-items: center; gap: 7px;
  font-family: var(--head); font-size: 15px; font-weight: 500; color: #4A5A6E; white-space: nowrap;
}
.nt-hub__t svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nt-hub__c { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 13.5px; color: #6E7D90; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.nt-rules { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; z-index: 2; }
.nt-rules > span {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px 0 9px; border-radius: 999px; white-space: nowrap;
  background: #33414F; color: #fff; font-size: 13px; font-weight: 500; transform: translate(-50%, -50%);
}
.nt-rules svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Void label in the middle */
.nt-void {
  position: absolute; left: 0; top: 0; width: 150px; height: 150px; border-radius: 50%; opacity: 0;
  border: 1px dashed rgba(4, 78, 157, .22); display: grid; place-items: center; text-align: center;
  font-size: 13px; line-height: 1.25; color: var(--muted); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .96) 60%, rgba(255, 255, 255, .7) 85%, rgba(255, 255, 255, 0));
}
.nt-void span { display: block; max-width: 96px; }

/* Scattered documents (concept C) */
.nt-paper {
  position: absolute; left: 0; top: 0; z-index: 6; width: var(--w); height: var(--h);
  background: #fff; border: 1px solid #DCE3EA; border-radius: 8px; box-shadow: 0 1px 2px rgba(10, 40, 80, .08), 0 14px 28px -12px rgba(10, 40, 80, .32);
  color: var(--ink); font-size: 12px; line-height: 1.25; padding: 10px; will-change: transform;
}
.nt-paper--pdf { --w: 128px; --h: 160px; }
.nt-paper--xls { --w: 168px; --h: 112px; padding: 0; }
.nt-paper--usb { --w: 112px; --h: 44px; padding: 0; background: none; border: 0; box-shadow: none; filter: drop-shadow(0 6px 8px rgba(10, 40, 80, .25)); }
.nt-paper--usb svg { width: 112px; height: 44px; }
.nt-paper--mail { --w: 184px; --h: 96px; }
.nt-paper--note { --w: 112px; --h: 108px; background: #FFF0A6; border-color: #F0DC82; border-radius: 3px; padding: 14px 12px; }
.nt-paper--cmr { --w: 136px; --h: 168px; background: #FBF8F1; border-color: #E6DECC; }
.nt-ftype { display: inline-block; padding: 1px 5px; border-radius: 3px; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 14px; }
.nt-ftype--pdf { background: #D2463C; }
.nt-ftype--xls { background: #1E7A45; }
.it-home .nt-paper__name { margin-top: 7px; font-weight: 700; font-size: 12.5px; }
.it-home .nt-paper__sub { color: var(--muted); font-size: 11px; }
.nt-lines { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }
.nt-lines i { display: block; height: 4px; width: 100%; border-radius: 2px; background: #E8EDF2; }
.nt-paper--pdf::before { content: ""; position: absolute; right: -1px; top: -1px; width: 18px; height: 18px; background: linear-gradient(225deg, #F5F8FB 50%, #DCE3EA 50%); border-radius: 0 8px 0 4px; }
.nt-sign { position: absolute; left: 12px; bottom: 30px; width: 60px; height: 18px; }
.nt-sign path { fill: none; stroke: #2B4E8C; stroke-width: 1.4; stroke-linecap: round; }
.nt-warn {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: #FFF5E8; border: 1px solid #F2C998; color: #9A5310; font-size: 11px; font-weight: 700; white-space: nowrap; line-height: 14px;
}
.nt-warn svg { width: 12px; height: 12px; fill: var(--warn); stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.nt-xls__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-bottom: 1px solid #DCE3EA; background: #F1F7F3; border-radius: 8px 8px 0 0; font-size: 11px; font-weight: 700; color: #1E5C38; }
.nt-xls__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 10.5px; }
.nt-xls__grid span { padding: 2px 5px; border-right: 1px solid #EDF1F5; border-bottom: 1px solid #EDF1F5; font-variant-numeric: tabular-nums; }
.nt-xls__grid span:nth-child(-n+4) { color: var(--muted); background: #FAFBFC; }
.nt-xls__grid .err { color: #C0392B; font-weight: 700; }
.nt-mail__top { display: flex; align-items: center; gap: 7px; }
.nt-mail__icon { width: 18px; height: 13px; border: 1.4px solid var(--mid); border-radius: 2px; position: relative; }
.nt-mail__from { font-weight: 700; font-size: 12px; flex: 1; }
.nt-mail__count { min-width: 20px; padding: 0 5px; border-radius: 9px; background: #D2463C; color: #fff; font-size: 10px; font-weight: 700; text-align: center; line-height: 16px; }
.it-home .nt-mail__subj { margin-top: 5px; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-paper--mail .nt-lines { margin-top: 6px; gap: 4px; }
.nt-mail__att { position: absolute; left: 10px; bottom: 8px; padding: 1px 7px; border-radius: 4px; background: #F1F4F8; color: var(--muted); font-size: 10px; }
.it-home .nt-paper--note p { font-family: var(--head); font-size: 15px; line-height: 1.3; color: #5A4A10; transform: rotate(-3deg); }
.it-home .nt-cmr__title { font-family: var(--head); font-size: 24px; font-weight: 500; letter-spacing: .06em; color: #7C6A44; line-height: 1; }
.nt-cmr__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; }
.nt-cmr__boxes i { height: 18px; border: 1px solid #DCD2BC; }
.nt-cmr__stamp { position: absolute; right: 8px; bottom: 26px; padding: 3px 6px; border: 2px solid rgba(38, 84, 160, .55); border-radius: 4px; color: rgba(38, 84, 160, .7); font-size: 10px; font-weight: 700; letter-spacing: .08em; transform: rotate(-12deg); }

/* Center cards */
.nt-center { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; }
.nt-center > div { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; will-change: transform; }
.nt-pass .tick, .nt-cfg .tick {
  position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: block;
}
.nt-pass .tick::after, .nt-cfg .tick::after {
  content: ""; position: absolute; left: 6.4px; top: 3.6px; width: 4.6px; height: 8.6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Passport (concept C) */
.nt-pass {
  width: 284px; background: #fff; border: 1px solid #E2E8EF; border-radius: 18px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 40, 80, .06), 0 10px 28px -10px rgba(10, 40, 80, .16), 0 30px 60px -30px rgba(10, 40, 80, .22);
  font-variant-numeric: lining-nums tabular-nums; overflow: hidden;
}
.nt-pass__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 15px 16px 12px; border-bottom: 1px solid #E2E8EF; }
.it-home .nt-pass__head .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); line-height: 1.3; }
.it-home .nt-pass__head .t { margin-top: 3px; font-family: var(--head); font-weight: 500; font-size: 19px; line-height: 1.2; color: var(--ink); }
.it-home .nt-pass__head .m { margin-top: 1px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.nt-qr { flex: none; width: 42px; height: 42px; color: var(--ink); }
.nt-pass__rows li { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 16px; border-bottom: 1px solid #EDF1F5; overflow: hidden; }
.nt-pass .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.nt-pass .tx small { font-size: 12px; color: var(--muted); }
.nt-pass .tx b { font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-pass .tx em { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: rgba(70, 197, 94, .14); color: #2C8B40; font-size: 10px; font-weight: 700; font-style: normal; letter-spacing: .06em; text-transform: uppercase; line-height: 15px; vertical-align: 1px; }
.nt-pass li .tick { transform: scale(0); }
.nt-pass li.live .tx { opacity: 0; }
.nt-pass li.live.is-live { background: linear-gradient(90deg, rgba(70, 197, 94, .1), rgba(70, 197, 94, 0) 80%); }
/* One source of truth (the story's "Who sees what" step): the owner changes a value; the row is
   tagged "updated" and lights up, and so do the cards of the partners that may read it. */
.nt-pass .tx em.upd { display: none; }
.nt-pass li.is-upd { background: linear-gradient(90deg, rgba(70, 197, 94, .16), rgba(70, 197, 94, 0) 85%); animation: it-upd 1.1s ease-out; }
.nt-pass li.is-upd .tx em.upd { display: inline-block; }
.nt-pass li.is-upd .tx b { color: var(--gdark); font-weight: 700; }
@keyframes it-upd { 0% { box-shadow: inset 0 0 0 2px rgba(70, 197, 94, .9); } 100% { box-shadow: inset 0 0 0 2px rgba(70, 197, 94, 0); } }
.nt-pass .empty {
  position: absolute; left: 10px; right: 10px; top: 7px; bottom: 7px; display: flex; align-items: center; padding-left: 10px;
  border: 1.25px dashed #C8D4E1; border-radius: 9px; color: var(--muted); font-size: 13px; opacity: 0;
}
.nt-pass__foot { display: flex; align-items: center; gap: 7px; padding: 10px 16px; font-size: 12.5px; color: var(--muted); background: var(--soft); line-height: 1.3; }
.nt-pass__foot svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; }

/* Live sensor card (concept C) */
.nt-sens {
  width: 284px; display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #E2E8EF; border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.nt-sens__l { flex: none; }
.it-home .nt-sens .h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nt-sens .h svg { width: 14px; height: 14px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.it-home .nt-sens .v { margin-top: 3px; font-family: var(--head); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.nt-sens .v b { font-weight: 500; font-size: 30px; }
.nt-sens .v span { font-size: 15px; color: var(--muted); }
.it-home .nt-sens .f { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.nt-sens .f i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: it-ping 1.8s ease-out infinite; }
@keyframes it-ping { 0% { box-shadow: 0 0 0 0 rgba(70, 197, 94, .5); } 80%, 100% { box-shadow: 0 0 0 7px rgba(70, 197, 94, 0); } }
.nt-sens__spark { flex: 1; min-width: 0; height: 52px; overflow: visible; }
.nt-sens__spark .l { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nt-sens__spark .a { fill: rgba(70, 197, 94, .12); }
.nt-sens__spark circle { fill: var(--green); stroke: #fff; stroke-width: 1.5; }

/* AI application card */
.nt-ai {
  width: 296px; padding: 14px 16px 14px; background: #fff; border: 1px solid rgba(4, 78, 157, .2); border-radius: 18px;
  box-shadow: 0 0 0 5px rgba(4, 78, 157, .05), var(--shadow-md);
}
.nt-ai__h { display: flex; align-items: center; gap: 10px; }
.nt-ai__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #E6F4EA, #E4EEF9); color: var(--deep); }
.nt-ai__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.nt-ai__h b { display: block; font-family: var(--head); font-weight: 500; font-size: 17px; color: var(--ink); line-height: 1.15; }
.nt-ai__h small { display: block; font-size: 13px; color: var(--muted); line-height: 1.2; }
.it-home .nt-ai__lbl { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nt-ai__in { margin-top: 6px !important; }
.nt-ai__in li { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid #EDF1F5; font-size: 15px; color: var(--ink); line-height: 1.2; }
.nt-ai__in li .n { flex: 1; font-weight: 500; }
.nt-ai__in li em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.nt-ai__in .st { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; flex: none; }
.nt-ai__in .st svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nt-ai__in li.no .st { background: #E3E9F0; color: #6A7B90; }
.nt-ai__in li.no .st svg { stroke-width: 2.2; }
.nt-ai__in li.no .n { color: #8796A6; text-decoration: line-through; text-decoration-color: rgba(106, 123, 144, .5); }
.nt-ai__out { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(70, 197, 94, .1), rgba(4, 78, 157, .07)); }
.nt-ai__out small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gdark); }
.nt-ai__out b { display: block; margin-top: 2px; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); line-height: 1.25; }
.nt-ai__out span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text); line-height: 1.3; }

/* Configure-a-partner card (scene 2) */
.nt-cfg {
  width: 272px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md);
}
.nt-cfg__h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #EDF1F5; }
.nt-cfg__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--blue); }
.nt-cfg__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.nt-cfg__h b { display: block; font-family: var(--head); font-weight: 500; font-size: 17px; color: var(--ink); line-height: 1.15; }
.nt-cfg__h small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.2; }
.nt-cfg__rows li { display: grid; grid-template-columns: 78px minmax(0, 1fr) 18px; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #EDF1F5; font-size: 14.5px; line-height: 1.25; }
.nt-cfg__rows li span { color: var(--muted); font-size: 13px; }
.nt-cfg__rows li b { color: var(--ink); font-weight: 500; }
.nt-cfg__rows .tick { transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.nt-cfg__rows li.on .tick { transform: none; }
.nt-cfg__ok { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border-radius: 10px; background: var(--gtint); color: var(--gdark); font-family: var(--head); font-size: 14.5px; font-weight: 500; }
.nt-cfg__ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Narrow network (phones) */
.nt.is-narrow .nt-card { flex-direction: column; gap: 3px; padding: 6px 4px 6px; width: 68px; white-space: normal; text-align: center; border-radius: 12px; }
.nt.is-narrow .nt-ico { width: 26px; height: 26px; border-radius: 8px; }
.nt.is-narrow .nt-ico svg { width: 16px; height: 16px; }
.nt.is-narrow .nt-txt b { font-size: 11.5px; line-height: 1.1; }
.nt.is-narrow .nt-txt small { display: none !important; }
.nt.is-narrow .nt-badge { top: -8px; right: -8px; height: 17px; padding: 0 5px 0 4px; font-size: 9.5px; gap: 2px; }
.nt.is-narrow .nt-badge svg { width: 9px; height: 9px; }
.nt.is-narrow .nt-home { position: absolute; left: -6px; bottom: -6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 1px solid rgba(70, 197, 94, .6); color: var(--gdark); display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.nt.is-narrow .nt-home svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; }
.nt.is-narrow.s-home .nt-home { opacity: 1; transform: none; }
/* Phones: the label becomes a small pill on the card's lower edge. */
.nt.is-narrow.nt--story .nt-node.keyed.sees .nt-txt small.s, .nt.is-narrow.nt--story .nt-node.keyed.sees.fresh .nt-txt small.u, .nt.is-narrow.nt--story .nt-node.locked .nt-txt small.x {
  display: inline-flex !important; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); margin: 0; padding: 1px 6px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 9.5px; font-weight: 700; line-height: 14px; white-space: nowrap; box-shadow: 0 2px 5px -2px rgba(0, 40, 90, .4);
}
.nt.is-narrow.nt--story .nt-node.locked .nt-txt small.x { background: #7C8A9B; }
/* Cards overlap a little on phones: the ones with a label stay on top, so the label is not covered. */
.nt.is-narrow.nt--story .nt-node.keyed.sees, .nt.is-narrow.nt--story .nt-node.locked { z-index: 2; }
.nt.is-narrow.nt--story .nt-node.keyed.sees.fresh .nt-txt small.s { display: none !important; }
.nt.is-narrow.nt--story .nt-txt small.s svg, .nt.is-narrow.nt--story .nt-txt small.x svg, .nt.is-narrow.nt--story .nt-txt small.u svg { display: none; }
.nt.is-narrow .nt-hub__t { top: 9px; font-size: 12.5px; gap: 5px; }
.nt.is-narrow .nt-hub__t svg { width: 14px; height: 14px; }
.nt.is-narrow .nt-hub__c { bottom: 8px; font-size: 11.5px; }
.nt.is-narrow .nt-hub__half { border-radius: 14px; }
.nt.is-narrow .nt-rules > span { font-size: 11px; height: 22px; padding: 0 9px 0 7px; }
.nt.is-narrow .nt-void { width: 104px; height: 104px; font-size: 11.5px; }
.nt.is-narrow .nt-void span { max-width: 76px; }
.nt.is-narrow .nt-tag span { font-size: 11px; padding: 2px 7px; line-height: 14px; }
.nt.is-narrow .nt-plus { font-size: 11px; padding: 2px 8px; line-height: 14px; }
.nt.is-narrow .nt-pass { width: 156px; border-radius: 13px; }
.nt.is-narrow .wo { display: none; }
.nt.is-narrow .nt-pass__head { padding: 8px 9px 7px; gap: 6px; }
.it-home .nt.is-narrow .nt-pass__head .k { font-size: 8.5px; letter-spacing: .06em; }
.it-home .nt.is-narrow .nt-pass__head .t { font-size: 14px; margin-top: 1px; }
.it-home .nt.is-narrow .nt-pass__head .m { font-size: 10px; }
.nt.is-narrow .nt-qr { display: none; }
.nt.is-narrow .nt-pass__rows li { height: 30px; padding: 0 8px 0 9px; gap: 5px; }
.nt.is-narrow .nt-pass .tx small { font-size: 9px; line-height: 1.1; }
.nt.is-narrow .nt-pass .tx em { font-size: 7.5px; line-height: 11px; padding: 0 4px; }
.nt.is-narrow .nt-pass .tx b { font-size: 12px; line-height: 1.15; }
.nt.is-narrow .nt-pass .tick { width: 13px; height: 13px; }
.nt.is-narrow .nt-pass .tick::after { left: 4.4px; top: 2.3px; width: 3.4px; height: 6.4px; border-width: 0 1.6px 1.6px 0; }
.nt.is-narrow .nt-pass .empty { font-size: 10.5px; top: 4px; bottom: 4px; left: 6px; right: 6px; padding-left: 6px; }
.nt.is-narrow .nt-pass__foot { padding: 6px 9px; font-size: 10px; gap: 5px; }
.nt.is-narrow .nt-pass__foot svg { width: 11px; height: 11px; }
.nt.is-narrow .nt-sens { width: 156px; padding: 7px 9px; gap: 6px; border-radius: 12px; }
.it-home .nt.is-narrow .nt-sens .h { font-size: 9px; gap: 4px; }
.nt.is-narrow .nt-sens .v b { font-size: 20px; }
.nt.is-narrow .nt-sens .v span { font-size: 12px; }
.it-home .nt.is-narrow .nt-sens .f { font-size: 9.5px; }
.nt.is-narrow .nt-sens__spark { height: 34px; }
.nt.is-narrow .nt-ai { width: 160px; padding: 9px 10px; border-radius: 13px; }
.nt.is-narrow .nt-ai__ico { width: 28px; height: 28px; }
.nt.is-narrow .nt-ai__ico svg { width: 16px; height: 16px; }
.nt.is-narrow .nt-ai__h b { font-size: 13.5px; }
.nt.is-narrow .nt-ai__h { gap: 7px; }
.nt.is-narrow .nt-ai__h small { font-size: 10px; }
.it-home .nt.is-narrow .nt-ai__lbl { margin-top: 7px; font-size: 9.5px; }
.nt.is-narrow .nt-ai__in li { font-size: 12px; padding: 3px 0; gap: 6px; }
.nt.is-narrow .nt-ai__in li em { font-size: 10.5px; }
.nt.is-narrow .nt-ai__in .st { width: 16px; height: 16px; }
.nt.is-narrow .nt-ai__in .st svg { width: 10px; height: 10px; }
.nt.is-narrow .nt-ai__out { margin-top: 7px; padding: 7px 9px; }
.nt.is-narrow .nt-ai__out small { font-size: 9.5px; }
.nt.is-narrow .nt-ai__out b { font-size: 12.5px; }
.nt.is-narrow .nt-ai__out span { display: none; }
.it-home .nt.is-narrow .nt-ai__lbl { display: none; }
.nt.is-narrow .nt-ai__in { margin-top: 4px !important; }
.nt.is-narrow .nt-ai__in li em { display: none; }
.nt.is-narrow .nt-cfg { width: 156px; padding: 9px 10px; border-radius: 13px; }
.nt.is-narrow .nt-cfg__ico { width: 28px; height: 28px; }
.nt.is-narrow .nt-cfg__h b { font-size: 14px; }
.nt.is-narrow .nt-cfg__h small { font-size: 11.5px; }
.nt.is-narrow .nt-cfg__rows li { grid-template-columns: 50px minmax(0, 1fr) 16px; font-size: 12px; padding: 6px 0; gap: 5px; }
.nt.is-narrow .nt-cfg__rows li span { font-size: 11px; }
.nt.is-narrow .nt-cfg .tick { width: 15px; height: 15px; }
.nt.is-narrow .nt-cfg .tick::after { left: 5px; top: 2.8px; width: 3.8px; height: 7px; }
.nt.is-narrow .nt-cfg__ok { font-size: 11.5px; padding: 5px 7px; margin-top: 6px; gap: 5px; white-space: nowrap; }

/* ---------- 2-6. The network story: text scrolls, the graph stays and switches phase ---------- */
/* Pinned stage: --screens screens of scroll per phase (set by the scroll setup panel). */
.it-story { position: relative; height: calc(var(--phases, 5) * var(--screens, 2) * 100vh + 130vh); background: linear-gradient(#fff, var(--soft) 1.2%, var(--soft) 98.8%, #fff); }
.it-story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.it-story__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; height: 100%; }
/* Text strip: moves up one block per phase (half the scroll speed), faded at the edges. */
.it-story__text { position: relative; grid-column: 1; grid-row: 1; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.it-story__strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.it-step { height: 85vh; display: flex; align-items: center; }
.it-step__in { width: 100%; opacity: .28; will-change: opacity; }
.it-step .it-h2 { margin-top: 12px; font-size: clamp(28px, 2.5vw, 36px); }
.it-home .it-step__text { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--text); }
.it-step__text i { font-style: italic; }
.it-story__visual { position: relative; grid-column: 2; grid-row: 1; }
.it-story__sticky { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.it-story__net { position: relative; height: min(760px, calc(100vh - 110px)); }
/* Text modes from the scroll setup: "fades in place" stacks the blocks and swaps them with a fade;
   "scrolls with the page" spaces them one step of scroll apart, so the strip moves 1:1 with the page. */
.it-story.t-fade .it-story__strip { bottom: 0; transform: none !important; }
.it-story.t-fade .it-step { position: absolute; left: 0; right: 0; top: 0; height: 100%; }
.it-story.t-fade .it-step__in { opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s .5s; }
.it-story.t-fade .it-step.is-on .it-step__in { opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2, .7, .2, 1) .1s, visibility 0s; }
.it-story.t-page .it-step { height: calc(var(--screens, 2) * 100vh); }

/* Step indicator under the graph (subtle) */
.it-stepper { display: flex; align-items: center; justify-content: center; gap: 12px; }
.it-stepper ol { display: flex; align-items: center; gap: 2px; }
.it-stepper li { display: block; }
.it-home .it-dot { position: relative; display: block; width: 22px; height: 22px; pointer-events: none; transition: width .5s ease; }
.it-dot::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(4, 78, 157, .14); transition: background-color .5s ease; }
.it-stepper li.done .it-dot::before { background: rgba(4, 78, 157, .36); }
.it-home .it-stepper li.on .it-dot { width: 36px; }
.it-stepper li.on .it-dot::before { background: var(--green); }
.it-home .it-stepper__label { display: flex; align-items: baseline; gap: 4px; padding: 4px 6px; border-radius: 8px; font-family: var(--head); font-size: 14px; line-height: 1.2; color: var(--muted); white-space: nowrap; pointer-events: none; }
/* "Clickable steps" demo option */
.it-home .it-stepper.is-live .it-dot, .it-home .it-stepper.is-live .it-stepper__label { pointer-events: auto; cursor: pointer; }
.it-home .it-stepper.is-live .it-dot:hover::before { background: var(--blue); }
.it-home .it-stepper.is-live .it-stepper__label:hover { background: rgba(4, 78, 157, .07); color: var(--muted); }
.it-home .it-stepper.is-live .it-stepper__label::after { content: "→"; margin-left: 6px; color: var(--blue); }
.it-stepper b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.it-stepper span { font-size: 12px; }
.it-stepper em { font-style: normal; color: var(--ink); margin-left: 8px; }

.it-cons { margin-top: 22px !important; display: grid; gap: 12px; }
.it-cons li { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--ink); }
.it-cons li svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: #FBEDEA; fill: none; stroke: #C0563F; stroke-width: 2.4; stroke-linecap: round; }

/* Counters (they follow the graph while their block is active) */
.it-count { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.it-count b {
  display: inline-block; min-width: 1.3em; font-family: var(--head); font-weight: 500; font-size: 60px; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.it-count--warn b { color: #B4651C; }
.it-count span { font-size: 16px; line-height: 1.25; color: var(--muted); }
.it-ledger { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.it-ledger .it-count { margin-top: 0; gap: 10px; }
.it-ledger .it-count b { font-size: 48px; min-width: 1.2em; }
.it-count--old b { color: #A0ADBC; }
.it-count--new b { color: var(--gdark); }
.it-count--zero b { color: var(--blue); }

/* Easier. Cheaper. More reliable. */
.it-gains { margin-top: 22px !important; display: grid; gap: 10px; }
.it-gains li {
  position: relative; padding: 11px 14px 11px 50px; border-radius: 14px; background: #fff; line-height: 1.4;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.it-gains li::before { content: ""; position: absolute; left: 13px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--gtint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232E8B45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.it-gains b { display: block; font-family: var(--head); font-weight: 500; font-size: 19px; color: var(--ink); line-height: 1.25; }
.it-gains span { font-size: 16px; color: var(--text); }

.it-home .it-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(70, 197, 94, .45); color: var(--gdark); font-family: var(--head); font-size: 15px; font-weight: 500; line-height: 1.2;
  box-shadow: var(--shadow-sm);
}
.it-pill svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Static version (reduced motion): each phase has its own still picture. */
.it-story.is-static { height: auto; }
.it-story.is-static .it-story__pin { position: static; height: auto; overflow: visible; }
.it-story.is-static .it-story__grid { display: block; height: auto; }
.it-story.is-static .it-story__text { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 56px 0 24px; }
.it-story.is-static .it-story__strip { position: static; transform: none !important; }
.it-story.is-static .it-step { height: auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.it-story.is-static .it-step__in { opacity: 1; }
.it-step__net { position: relative; height: 560px; }

/* What you gain: a plain row of three cards under the story */
.it-gainrow { padding: 64px 0 72px; }
.it-gainrow .it-h2 { margin-top: 10px; }
.it-gainrow__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px !important; }
.it-gainrow__cards li { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.it-gainrow__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gtint); color: var(--gdark); margin-bottom: 6px; }
.it-gainrow__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.it-gainrow__cards b { font-family: var(--head); font-weight: 500; font-size: 21px; color: var(--ink); line-height: 1.2; }
.it-gainrow__cards li > span:last-child { font-size: 17px; line-height: 1.45; color: var(--text); }
.it-home .it-gainrow__more { margin-top: 28px; font-size: 18px; color: var(--text); }
.it-gainrow__more a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 500; color: var(--blue) !important; white-space: nowrap; }
.it-gainrow__more a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.it-gainrow__more a:hover svg { transform: translateX(3px); }

/* Scroll setup: a prototype control, deliberately plain. Wide and low, so the story text stays visible. */
.it-home .it-demo { position: fixed; left: 12px; bottom: 12px; z-index: 60; width: 560px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 12px 10px; border-radius: 12px; background: rgba(255, 255, 255, .97); border: 1.5px dashed #8A99AB; box-shadow: 0 8px 24px -10px rgba(0, 30, 70, .35);
  font-family: var(--body); font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.it-home .it-demo:not([open]) { width: auto; }
.it-home .it-demo summary { cursor: pointer; font-family: var(--head); font-weight: 500; font-size: 14px; }
.it-home .it-demo__tag { display: inline-block; margin-right: 7px; padding: 1px 6px; border-radius: 5px; background: #33414F; color: #fff; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }
.it-tune__top { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; }
.it-tune__h { margin-right: 3px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.it-home .it-tune__top button { padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; line-height: 1.35; color: var(--ink); }
.it-home .it-tune__top button:hover { border-color: var(--blue); background: #fff; color: var(--blue); }
.it-home .it-tune__top button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.it-home .it-tune__note { margin: 5px 0 0 !important; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.it-tune__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 16px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.it-tune__fields[hidden] { display: none; }
.it-home .it-tune__row { display: grid; gap: 2px; margin: 0; font-size: 13px; cursor: default; }
.it-tune__row > span { display: flex; justify-content: space-between; gap: 8px; }
.it-tune__row output { color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.it-home .it-tune__row--check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.it-home .it-tune__row.is-off { opacity: .38; }
.it-home .it-tune select { width: 100%; height: 28px; margin: 0; padding: 0 4px; border: 1px solid var(--line-2); border-radius: 7px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); }
.it-home .it-tune input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.it-tune input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: #CFD8E3; }
.it-tune input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: #CFD8E3; }
.it-tune input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 3px rgba(0, 30, 70, .35); }
.it-tune input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--blue); }
.it-home .it-tune input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.it-tune__foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.it-home .it-tune__foot button { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 13px; }
.it-home .it-tune__foot .it-tune__toggle { margin-right: auto; padding-left: 0; border-color: transparent; color: var(--blue); }
.it-home .it-tune__foot .it-tune__toggle::after { content: " \25B8"; }
.it-home .it-tune__foot .it-tune__toggle[aria-expanded="true"]::after { content: " \25BE"; }
.it-home .it-tune__foot button[data-copy], .it-home .it-tune__foot button[data-copy]:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.it-tune__foot [data-copied] { font-size: 12.5px; color: var(--gdark); }
.it-home .it-tune__code { display: block; width: 100%; margin: 6px 0 0; padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 6px; font: 11px/1.4 ui-monospace, Consolas, monospace; color: var(--ink); background: var(--soft); }
.it-home .it-tune__code[hidden] { display: none; }
@media (max-width: 600px) {
  .it-tune__fields { grid-template-columns: minmax(0, 1fr); }
}

/* How it works: big link card under the story */
.it-hiwcard { padding: 0 0 96px; }
.it-hiwcard__box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center;
  padding: 56px 56px 56px 64px; border-radius: 28px; border: 1px solid rgba(4, 78, 157, .12); box-shadow: var(--shadow-md);
  background: radial-gradient(520px 320px at 78% 50%, rgba(70, 197, 94, .13), transparent 70%), linear-gradient(135deg, #F4F9F5 0%, #EEF4FB 100%);
}
.it-home .it-hiwcard__t { margin-top: 12px; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.08; }
.it-home .it-hiwcard__s { margin-top: 16px; font-size: 20px; line-height: 1.5; color: var(--text); max-width: 30em; }
.it-hiwcard__steps { display: flex; align-items: center; gap: 5px; margin-top: 24px; }
.it-hiwcard__steps i { width: 18px; height: 4px; border-radius: 4px; background: var(--green); opacity: .25; }
.it-hiwcard__steps i:nth-child(-n+3) { background: #C98A4B; opacity: .5; }
.it-hiwcard__steps i:nth-child(n+4) { opacity: .55; }
.it-hiwcard__steps span { margin-left: 8px; font-family: var(--head); font-size: 14px; color: var(--muted); }
.it-home .it-btn--big { height: 60px; padding: 0 30px; font-size: 19px; margin-top: 28px; }
.it-home .it-btn--big svg { width: 20px; height: 20px; transition: transform .2s; }
.it-home .it-btn--big:hover svg { transform: translateX(3px); }
.it-hiwcard__net svg { width: 100%; height: auto; overflow: visible; }
.it-hiwcard__net .glow { fill: none; stroke: var(--green); stroke-width: 12; opacity: .1; }
.it-hiwcard__net .ring { fill: none; stroke: var(--green); stroke-width: 1.8; }
.it-hiwcard__net .run { fill: none; stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 7 93; animation: it-run 12s linear infinite; }
.it-hiwcard__net .run--2 { animation-delay: -6s; opacity: .7; }
@keyframes it-run { to { stroke-dashoffset: -100; } }
.it-hiwcard__net .spokes path { stroke: var(--green); stroke-width: 1.4; }
.it-hiwcard__net .conns circle { fill: #fff; stroke: var(--green); stroke-width: 1.8; }
.it-hiwcard__net .nodes rect { fill: #fff; stroke: rgba(4, 78, 157, .18); stroke-width: 1; filter: drop-shadow(0 3px 6px rgba(0, 40, 90, .12)); }
.it-hiwcard__net .nodes path, .it-hiwcard__net .nodes circle { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.it-hiwcard__net .mid { font-family: var(--body); font-size: 13px; fill: var(--muted); }

/* ---------- 8. Try it ---------- */
.it-try { padding: 104px 0 96px; }
.it-try__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.it-try__net { position: relative; height: 500px; border-radius: 24px; background: var(--soft); border: 1px solid rgba(4, 78, 157, .08); }
.tn { position: absolute; inset: 0; }
.tn svg.tn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tn-link { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.tn-link.off { stroke: #A8B6C6; stroke-width: 1.4; stroke-dasharray: 4 6; }
.tn-link.sel { stroke-width: 2.6; }
.tn-link.off.sel { stroke-width: 1.8; }
.tn-badge .bg { fill: #fff; stroke-width: 1.4; }
.tn-badge.key .bg { stroke: var(--green); }
.tn-badge.lock .bg { stroke: #A8B6C6; }
.tn-badge path, .tn-badge rect, .tn-badge circle.k { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tn-badge.key path, .tn-badge.key circle.k { stroke: var(--blue); }
.tn-badge.lock path, .tn-badge.lock rect { stroke: #6A7B90; }
.tn-fly .bg { fill: var(--green); stroke: #fff; stroke-width: 1.5; }
.tn-fly path, .tn-fly circle.k { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.tn-fly.lockfly .bg { fill: #6A7B90; }
.tn-fly.lockfly rect, .tn-fly.lockfly path { fill: none; stroke: #fff; stroke-width: 2.2; }

.it-home .tn-node {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); text-align: left;
  transform: translate(-50%, -50%); transition: border-color .3s, box-shadow .3s; cursor: pointer; touch-action: manipulation;
}
.it-home .tn-node:hover, .it-home .tn-node:focus { border-color: var(--line-2); box-shadow: var(--shadow-md); background: #fff; }
.tn-node .nt-ico { width: 38px; height: 38px; }
.tn-node b { display: block; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); line-height: 1.15; }
.tn-node small { display: block; font-size: 14px; color: var(--muted); line-height: 1.2; margin-top: 2px; white-space: nowrap; }
.tn-dots { display: flex; gap: 4px; margin-top: 6px; }
.tn-dots i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: #EDF1F5; color: #8C9AAB; transition: background-color .3s, color .3s, transform .3s; }
.tn-dots i svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tn-dots i.on { background: var(--gtint); color: var(--gdark); }
.tn-dots i.pop { transform: scale(1.3); }
.it-home .tn-node.sel { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4, 78, 157, .1), var(--shadow-sm); }
.it-home .tn-node.bump { animation: tn-bump .5s ease; }
@keyframes tn-bump { 40% { transform: translate(-50%, -50%) scale(1.06); } }
.it-home .tn-mill { padding: 12px 18px 12px 12px; border-color: rgba(4, 78, 157, .35); }
.tn-mill .nt-ico { width: 44px; height: 44px; background: var(--blue); color: #fff; }
.tn-mill b { font-size: 18px; }
.tn-ring { position: absolute; inset: -7px; border-radius: 19px; border: 2px solid var(--green); opacity: 0; pointer-events: none; }
.tn:not(.is-open) .tn-ring { animation: tn-ring 1.8s ease-out infinite; }
@keyframes tn-ring { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.14); } }
.tn-tip {
  position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: #fff; background: var(--ink); padding: 5px 10px; border-radius: 8px; transition: opacity .3s;
}
.tn-tip::before { content: ""; position: absolute; left: 50%; top: -5px; margin-left: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.tn.is-open .tn-tip { opacity: 0; }
.tn.is-narrow .tn-node { padding: 7px 10px 7px 7px; gap: 7px; border-radius: 12px; }
.tn.is-narrow .tn-node .nt-ico { width: 30px; height: 30px; border-radius: 8px; }
.tn.is-narrow .tn-node .nt-ico svg { width: 17px; height: 17px; }
.tn.is-narrow .tn-node b { font-size: 14px; }
.tn.is-narrow .tn-node small { font-size: 12px; }
.tn.is-narrow .tn-dots i { width: 15px; height: 15px; border-radius: 5px; }
.tn.is-narrow .tn-dots i svg { width: 9px; height: 9px; }
.tn.is-narrow .tn-mill { padding: 9px 12px 9px 9px; }
.tn.is-narrow .tn-mill .nt-ico { width: 36px; height: 36px; }
.tn.is-narrow .tn-mill b { font-size: 16px; }

.it-panel { position: relative; min-height: 470px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 26px; }
.it-panel__hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px; color: var(--muted); }
.it-panel__hint-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--blue); }
.it-panel__hint-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.it-panel__hint p { font-size: 20px; }
.it-panel__hint b { color: var(--ink); font-weight: 500; }
.it-home .it-link-btn { font-size: 16px; color: var(--blue); border-bottom: 1px solid rgba(4, 78, 157, .3); padding-bottom: 1px; }
.it-home .it-link-btn:hover { color: var(--deep); }
.it-panel.is-open .it-panel__hint { display: none; }
.it-panel__body { animation: it-in .45s ease both; }
@keyframes it-in { from { opacity: 0; transform: translateY(8px); } }
.it-panel__top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.it-panel__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; flex: none; }
.it-panel__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.it-home .it-panel__title { font-family: var(--head); font-size: 19px; color: var(--ink); line-height: 1.2; }
.it-home .it-panel__meta { font-size: 15px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.it-home .it-panel__label { margin-top: 18px; font-size: 13px; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.it-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid rgba(4, 78, 157, .08); }
.it-home .it-seg button { height: 36px; border-radius: 9px; font-family: var(--head); font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; touch-action: manipulation; }
.it-home .it-seg button:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.it-home .it-seg button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(0, 40, 90, .14); }
.it-fields { margin-top: 10px !important; }
.it-fields li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(4, 78, 157, .08); }
.it-fields li:last-child { border-bottom: 0; }
.it-fields b { display: block; font-weight: 500; font-size: 17px; color: var(--ink); line-height: 1.2; }
.it-fields li div span { display: block; font-size: 15px; color: var(--muted); line-height: 1.3; }
.it-fields em { font-style: normal; font-size: 12px; font-family: var(--head); letter-spacing: .04em; text-transform: uppercase; color: #8A98A9; }
.it-home .it-switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #D6DEE8; transition: background-color .25s; touch-action: manipulation; }
.it-home .it-switch:hover { background: #C8D2DE; }
.it-home .it-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 30, 70, .3); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.it-home .it-switch[aria-checked="true"] { background: var(--green); }
.it-home .it-switch[aria-checked="true"] i { transform: translateX(20px); }
.it-home .it-panel__status { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 15px; line-height: 1.35; color: var(--text); }
.it-panel__status b { color: var(--ink); font-weight: 500; }
.it-home .it-try__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.it-try__more a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: 17px; font-weight: 500; color: var(--blue) !important; }
.it-try__more a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.it-try__more a:hover svg { transform: translateX(3px); }

/* ---------- 9. Closing line ---------- */
.it-close { padding: 72px 0 88px; background: linear-gradient(#fff, var(--soft) 30%, var(--soft) 70%, #fff); }
.it-close__inner { display: flex; align-items: center; justify-content: center; gap: 36px; }
.it-seal {
  position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #5AD171, #2FA448); color: #fff; box-shadow: 0 0 0 7px rgba(255, 255, 255, .95), 0 14px 30px -8px rgba(47, 164, 72, .55);
  font-family: var(--head); font-weight: 500; font-size: 19px; line-height: 1.05; transform: rotate(-12deg);
}
.it-seal::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .75); }
.it-close__t { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; max-width: 15em; }
.it-close__t > span { display: inline-block; }

/* ---------- 10. Cases ---------- */
.it-proof { padding: 72px 0 104px; }
.it-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.it-case {
  position: relative; display: flex; flex-direction: column; padding: 0 0 22px; overflow: hidden; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.it-case:hover, .it-case:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.it-case__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px 20px 0 0; margin-bottom: 20px; background: var(--tint); transition: transform .5s ease; }
.it-case:hover .it-case__img { transform: scale(1.03); }
.it-case__art { height: 132px; border-radius: 14px; background: linear-gradient(135deg, #F3F7FB, #EEF5F0); display: grid; place-items: center; margin-bottom: 18px; }
.it-case__art svg { width: 240px; height: 120px; max-width: 100%; }
.it-case__art .ln { fill: none; stroke: #8AA3BF; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.it-case__art .nd circle { fill: #fff; stroke: var(--blue); stroke-width: 1.6; }
.it-case__art .lk { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 3 4; }
.it-case__art .wv { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.it-home .it-case__tag { position: relative; font-family: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 24px; background: #fff; }
.it-case h3 { font-size: 24px; margin: 6px 24px 8px; }
.it-home .it-case p:not(.it-case__tag) { font-size: 17px; line-height: 1.45; color: var(--text); padding: 0 24px; }
.it-case__more { display: inline-flex; align-items: center; gap: 6px; margin: auto 24px 0; padding-top: 16px; font-family: var(--head); font-size: 16px; color: var(--blue); }
.it-case__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.it-case:hover .it-case__more svg { transform: translateX(3px); }
.it-case__badge {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; box-shadow: 0 6px 16px -6px rgba(0, 40, 20, .5);
  border-radius: 999px; background: var(--green); color: #fff; font-family: var(--head); font-size: 13px; font-weight: 500;
}
.it-case__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.it-home .it-logos__label { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; font-family: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.it-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; margin-top: 22px; }
.it-logos img { height: 52px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .85; mix-blend-mode: multiply; transition: opacity .2s, filter .2s; }
.it-logos img:hover { opacity: .9; filter: none; }

/* ---------- 11. Final call to action ---------- */
.it-final { padding: 0 0 112px; }
.it-final__box {
  position: relative; overflow: hidden; padding: 64px 64px 60px; border-radius: 28px; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(70, 197, 94, .12), transparent 70%), linear-gradient(180deg, #F3F8FD, #EEF4FB);
  border: 1px solid rgba(4, 78, 157, .1);
}
.it-final__box .it-sub { margin-left: auto; margin-right: auto; max-width: 34em; }
.it-final__box .it-actions { justify-content: center; }
.it-final__box .it-h2 { margin-top: 10px; }
.it-final__net { width: 260px; margin: 0 auto 18px; }
.it-final__net svg { width: 100%; height: auto; }
.it-final__net .r { fill: none; stroke: var(--green); stroke-width: 2; }
.it-final__net .s path { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.it-final__net .c circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }

.it-final--hiw { padding-top: 72px; }
.it-home .it-final__back { margin-top: 26px; font-size: 16px; }
.it-final__back a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted) !important; font-family: var(--head); font-weight: 500; }
.it-final__back a:hover { color: var(--blue) !important; }
.it-final__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .it-story__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
  .it-story.is-static .it-step { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .it-wrap { padding-left: 24px; padding-right: 24px; }
  .it-hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .it-hero__net { height: 480px; }
  .it-try__grid { grid-template-columns: 1fr; }
  .it-cases { grid-template-columns: 1fr; }
  .it-gainrow__cards { grid-template-columns: 1fr; gap: 12px; }
  .it-hiwcard__box { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 40px 32px; }
  .it-hiwcard__net { order: -1; max-width: 420px; width: 100%; justify-self: center; }
  /* Phones and tablets: the graph sticks to the top half, the text scrolls underneath. */
  /* Phones and tablets: graph in the top half, the text strip in the bottom half (same rhythm). */
  .it-story__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: 48% 52%; gap: 0; }
  .it-story__visual { grid-column: 1; grid-row: 1; padding-top: 8px; min-height: 0; }
  .it-story__text { grid-column: 1; grid-row: 2; -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
  .it-story__sticky { justify-content: flex-start; gap: 4px; }
  .it-story__net { flex: 1; height: auto; min-height: 0; }
  .it-step { height: 54vh; }
  .it-story.is-static .it-step { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .it-step__net { height: 470px; order: -1; }
  .it-close__inner { flex-direction: column; text-align: center; gap: 26px; }
}
@media (max-width: 600px) {
  .it-home { font-size: 17px; }
  .it-wrap { padding-left: 16px; padding-right: 16px; }
  .it-hero { padding: 20px 0 40px; }
  .it-hero__copy { padding: 8px 0 0; }
  .it-kicker { font-size: 12.5px; gap: 8px; letter-spacing: .03em; }
  .it-h1 { font-size: 39px; margin-top: 14px !important; }
  .it-home .it-lead { font-size: 19px; margin-top: 16px !important; }
  .it-actions { margin-top: 24px; gap: 10px; }
  .it-home .it-textlink { margin-left: 2px; }
  .it-home .it-btn { height: 48px; padding: 0 20px; font-size: 16px; }
  .it-hero__note { font-size: 14.5px; margin-top: 20px !important; align-items: flex-start; }
  .it-hero__net { height: 430px; margin-top: 8px; }
  .it-h2 { font-size: 29px; }
  .it-home .it-sub { font-size: 18px; }
  .it-head { margin-bottom: 24px; }
  .it-story__visual { padding-top: 4px; }
  .it-stepper { gap: 8px; }
  .it-home .it-dot { width: 18px; }
  .it-home .it-stepper li.on .it-dot { width: 28px; }
  .it-home .it-stepper__label { font-size: 12.5px; }
  .it-stepper span { font-size: 10.5px; }
  .it-stepper em { margin-left: 5px; }
  .it-step .it-h2 { font-size: 25px; margin-top: 8px; }
  .it-home .it-step__text { font-size: 16.5px; margin-top: 10px; line-height: 1.45; }
  .it-kicker { font-size: 12px; }
  .it-home .it-cap__text { font-size: 16px; margin-top: 8px; line-height: 1.42; }
  .it-cons { margin-top: 12px !important; gap: 6px; }
  .it-cons li { font-size: 16px; gap: 10px; }
  .it-cons li svg { width: 22px; height: 22px; padding: 4px; }
  .it-count { margin-top: 14px; gap: 10px; }
  .it-count b { font-size: 44px; }
  .it-count span { font-size: 14px; }
  .it-ledger { margin-top: 12px; gap: 6px 20px; }
  .it-ledger .it-count b { font-size: 36px; }
  .it-gains { margin-top: 12px !important; gap: 7px; }
  .it-gains li { padding: 8px 12px 8px 42px; border-radius: 12px; line-height: 1.32; }
  .it-gains li::before { left: 10px; top: 9px; width: 22px; height: 22px; background-size: 13px; }
  .it-gains b { display: inline; font-size: 16px; margin-right: 3px; }
  .it-gains span { font-size: 15px; }
  .it-step .it-h2 br { display: none; }
  .it-home .it-pill { margin-top: 10px; font-size: 13.5px; padding: 6px 11px 6px 8px; }
  .it-step__net { height: 430px; }
  .it-try { padding: 72px 0 56px; }
  .it-try__net { height: 400px; border-radius: 18px; }
  .it-panel { padding: 18px 16px; min-height: 0; border-radius: 18px; }
  .it-panel:not(.is-open) { min-height: 210px; }
  .it-panel__hint { padding: 20px; }
  .it-home .it-seg button { font-size: 13px; height: 34px; }
  .it-fields li { gap: 8px; }
  .it-fields em { display: none; }
  .it-fields b { font-size: 16px; }
  .it-fields li div span { font-size: 14px; }
  .it-close { padding: 48px 0 56px; }
  .it-seal { width: 92px; height: 92px; font-size: 16px; }
  .it-close__t { font-size: 31px; }
  .it-proof { padding: 40px 0 64px; }
  .it-cases { gap: 16px; }
  .it-logos { gap: 18px 28px; }
  .it-logos img { height: 44px; max-width: 128px; }
  .it-final { padding-bottom: 64px; }
  .it-final--hiw { padding-top: 40px; }
  .it-hiwcard { padding-bottom: 64px; }
  .it-hiwcard__box { padding: 28px 20px 30px; border-radius: 22px; }
  .it-home .it-hiwcard__t { font-size: 31px; }
  .it-home .it-hiwcard__s { font-size: 17px; margin-top: 12px; }
  .it-hiwcard__steps { margin-top: 18px; }
  .it-hiwcard__steps i { width: 14px; }
  .it-home .it-btn--big { width: 100%; justify-content: center; height: 54px; font-size: 18px; margin-top: 22px; }
  .it-case h3 { margin-left: 20px; margin-right: 20px; }
  .it-home .it-case__tag, .it-home .it-case p:not(.it-case__tag) { padding-left: 20px; padding-right: 20px; }
  .it-case__more { margin-left: 20px; margin-right: 20px; }
  .it-pagehero { padding: 28px 0 24px; }
  .it-final__box { padding: 40px 20px 36px; border-radius: 20px; }
  .it-final__net { width: 200px; }
  .it-final__box .it-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .it-home *, .it-home *::before, .it-home *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Ten-step story: smaller step dots on phones so the indicator fits in 375px */
@media (max-width: 600px) {
  .it-story[data-story="full"] .it-dot { width: 13px; }
  .it-story[data-story="full"] .it-stepper li.on .it-dot { width: 22px; }
  .it-story[data-story="full"] .it-stepper { gap: 4px; }
}
