/* Diagvoria website - plain CSS. Font: Plus Jakarta Sans (SIL OFL), served from this site; nothing is loaded from other companies. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-950: #040f20;
  --ink-900: #071a33;
  --ink-800: #0b2547;
  --ink-700: #123b66;
  --blue: #2f7df6;
  --blue-2: #1b6fb8;
  --cyan: #22d3ee;
  --teal: #2bb7c9;
  --mint: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --text: #0e1b2e;
  --muted: #5b6b82;
  --line: #e4ebf4;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 51, .05), 0 8px 24px rgba(7, 26, 51, .06);
  --shadow-lg: 0 2px 4px rgba(7, 26, 51, .05), 0 30px 70px rgba(7, 26, 51, .14);
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-900); letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink-900); padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grad-text { background: linear-gradient(110deg, #5fd0ff 0%, var(--cyan) 35%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ header (dark, over the hero) */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.solid { background: var(--ink-950); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header.scrolled { background: rgba(4, 15, 32, .82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand .rest { font-weight: 500; opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; width: 46px; height: 46px; color: #fff; cursor: pointer; }
.menu-btn svg { margin: auto; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: linear-gradient(135deg, #3b8bff, #1f6be0 55%, #1a5fc8); color: #fff; box-shadow: 0 10px 28px rgba(47, 125, 246, .42), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(47, 125, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .15); }
.btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: linear-gradient(135deg, #2fd66b, #12b34f); color: #fff; box-shadow: 0 10px 26px rgba(18, 179, 79, .35); }
.btn-wa:hover { box-shadow: 0 14px 32px rgba(18, 179, 79, .5); }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 16px; }
.nav-cta .btn { padding: 10px 20px; border-radius: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 12px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); white-space: nowrap; transition: background .2s; }
.nav-phone:hover { background: rgba(52, 211, 153, .22); text-decoration: none; }
.nav-phone .icon { width: 18px; height: 18px; color: var(--mint); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: var(--ink-950); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 600px at 78% 35%, rgba(34, 211, 238, .22), transparent 60%),
  radial-gradient(800px 560px at 12% 8%, rgba(47, 125, 246, .30), transparent 62%),
  radial-gradient(700px 500px at 60% 110%, rgba(52, 211, 153, .14), transparent 60%),
  linear-gradient(180deg, #06142b, var(--ink-950)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image:
  linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 25%, transparent 78%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 150px 0 110px; min-height: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cyan); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25); padding: 8px 15px; border-radius: 999px; margin-bottom: 24px; }
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { color: #fff; font-size: clamp(38px, 4.7vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero .lead { margin-top: 24px; font-size: 19px; color: #b4c4dc; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 38px; padding: 0; list-style: none; color: #9db1cd; font-size: 14.5px; font-weight: 500; }
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.4; }

/* the visit cycle */
.cycle-wrap { position: relative; width: 100%; max-width: 640px; justify-self: end; }
.cycle { position: relative; width: 100%; aspect-ratio: 1; }
.cycle svg { width: 100%; height: 100%; overflow: visible; }
.spin-slow { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.node .icon-g use { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ring-glow { filter: drop-shadow(0 0 14px rgba(34, 211, 238, .55)); }
.flow { stroke-dasharray: 3 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.node { cursor: pointer; transition: transform .25s; transform-box: fill-box; transform-origin: center; }
.node .halo { opacity: 0; transition: opacity .25s; }
.node.active .halo { opacity: 1; }
.node.active .disc { fill: url(#nodeActive); stroke: #8cf3ff; }
.node:hover { transform: scale(1.06); }
.node text { fill: #cfe0f7; font-family: var(--font); font-size: 15px; font-weight: 700; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #05142a; stroke-width: 7px; stroke-linejoin: round; }
.node.active text { fill: #fff; }
.node .icon-g { color: #bfe9ff; pointer-events: none; }
.node.active .icon-g { color: #fff; }
.token { filter: drop-shadow(0 0 8px currentColor); }
.cycle-card { position: absolute; left: 50%; top: 50%; width: 50%; transform: translate(-50%, -50%); background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 18px 20px 20px; backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); text-align: left; }
.cycle-card .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.cycle-card .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.cycle-card h3 { color: #fff; font-size: clamp(17px, 2vw, 22px); margin: 8px 0 6px; transition: opacity .25s; }
.cycle-card p { color: #b9cae2; font-size: clamp(12.5px, 1.2vw, 14px); line-height: 1.5; min-height: 3em; transition: opacity .25s; }
.cycle-card .progress { display: flex; gap: 5px; margin-top: 14px; }
.cycle-card .progress b { flex: 1; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .16); overflow: hidden; position: relative; }
.cycle-card .progress b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.cycle-card .progress b.done::after { transform: scaleX(1); }
.cycle-card .meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: #8fa4c2; font-weight: 600; }
.cycle-card.fade h3, .cycle-card.fade p { opacity: 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); border-radius: 16px; padding: 10px 14px; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; }
.chip small { display: block; font-weight: 500; color: #a8bbd6; font-size: 11px; }
.chip .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.chip .dot .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.chip.k1 { left: -4%; top: 6%; }
.chip.k2 { right: -2%; top: 8%; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.mode { font: inherit; font-weight: 700; font-size: 13.5px; color: #b9cae2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; padding: 8px 16px; cursor: pointer; transition: all .2s; }
.mode:hover { color: #fff; border-color: rgba(34, 211, 238, .5); }
.mode[aria-pressed="true"] { color: #04101f; background: linear-gradient(135deg, var(--cyan), var(--mint)); border-color: transparent; box-shadow: 0 8px 22px rgba(34, 211, 238, .35); }
.chip b { display: block; font-weight: 700; }
.node text, .node .icon-g { transition: opacity .25s; }
.cycle.switching .node text, .cycle.switching .node .icon-g, .cycle.switching .chip { opacity: 0; }
.chip { transition: opacity .25s; }
.cycle-hint { text-align: center; margin-top: 10px; font-size: 12.5px; color: #8fa4c2; }

/* ------------------------------------------------------------ trust strip */
.strip { background: var(--ink-950); border-top: 1px solid rgba(255, 255, 255, .06); padding: 0 0 34px; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 18px 10px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat span { color: #94a8c6; font-size: 14px; font-weight: 500; }

/* ------------------------------------------------------------ sections */
section { padding: 108px 0; position: relative; }
.soft { background: var(--bg-soft); }
.sec-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(47, 125, 246, .09); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cddcf0; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--blue)); margin-bottom: 18px; box-shadow: 0 8px 20px rgba(47, 125, 246, .3); }
.tile .ico .icon { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; font-weight: 800; margin-bottom: 9px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .viz { margin-top: auto; padding-top: 22px; }
.t-a { grid-column: span 3; } .t-b { grid-column: span 3; }
.t-c { grid-column: span 2; } .t-d { grid-column: span 2; } .t-e { grid-column: span 2; }
.t-f, .t-g, .t-h { grid-column: span 2; }
.tile.dark { background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); border-color: transparent; }
.tile.dark h3 { color: #fff; } .tile.dark p { color: #a9bcd8; }
.mini { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.tile.dark .mini { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #dbe7f8; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.tile.dark .row { border-color: rgba(255, 255, 255, .12); }
.row b { font-weight: 700; color: var(--ink-900); }
.tile.dark .row b { color: #fff; }
.tag-s { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.tag-ok { background: rgba(52, 211, 153, .16); color: #0b9a6a; }
.tag-warn { background: rgba(251, 191, 36, .2); color: #b07a05; }
.tag-flag { background: rgba(251, 113, 133, .16); color: #d6314e; }
.tile.dark .tag-ok { color: #6ee7b7; } .tile.dark .tag-warn { color: #fcd34d; }
.spark { width: 100%; height: 70px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .9; animation: grow 1.2s ease both; }
@keyframes grow { from { transform: scaleY(.1); } }
.bars { transform-origin: bottom; }
.approve { display: flex; align-items: center; gap: 8px; }
.approve .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.approve .ln { flex: 1; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--mint)); border-radius: 2px; }
.ok-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(52, 211, 153, .16); color: #0b9a6a; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 99px; }
.ok-badge .icon { width: 15px; height: 15px; stroke-width: 2.6; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab { font: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--blue); border-color: #bcd3f2; }
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--blue), #1f6be0); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(47, 125, 246, .35); }
.panel { display: none; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 46px; box-shadow: var(--shadow-sm); }
.panel.on { display: grid; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.panel h3 { font-size: 28px; font-weight: 800; }
.panel > div > p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text); font-size: 15.5px; font-weight: 500; }
.ticks .icon { color: var(--mint); width: 22px; height: 22px; stroke-width: 2.6; }
.screen { background: var(--ink-900); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); color: #dbe7f8; font-size: 13px; }
.screen .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.screen .line { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); margin-bottom: 8px; }
.screen .line b { color: #fff; }
.screen .line span { color: #94a8c6; font-size: 12px; }
.screen .btnx { display: inline-block; margin-top: 6px; background: linear-gradient(135deg, var(--blue), #1f6be0); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: 12.5px; }
.screen .dd { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; }
.screen .text { background: #fff; color: #1d2b42; border-radius: 10px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; }
.screen .text i { display: block; height: 7px; border-radius: 4px; background: #e3eaf4; margin: 7px 0; }

/* report + qr */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; }
.split > div > p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.report { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 30px 32px; font-size: 13.5px; position: relative; transform: rotate(1.4deg); transition: transform .4s; }
.report:hover { transform: rotate(0); }
.report header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 3px solid var(--ink-700); margin-bottom: 16px; }
.report header strong { color: var(--ink-700); font-size: 18px; letter-spacing: -0.02em; }
.report header small { color: var(--muted); font-weight: 600; }
.report .pt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.report .pt b { display: block; color: var(--ink-900); font-size: 13px; }
.report table { width: 100%; border-collapse: collapse; }
.report th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); }
.report td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.report td.r, .report th.r { text-align: right; }
.report td.r { font-weight: 700; }
.report .flag { color: #d6314e; }
.report footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; color: var(--muted); font-size: 12px; }
.report .sign { font-family: Georgia, serif; font-style: italic; color: var(--ink-700); font-size: 17px; }
.qr { width: 74px; height: 74px; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 5px; }
.stamp { position: absolute; right: 118px; bottom: 58px; transform: rotate(-12deg); border: 2.5px solid var(--mint); color: #0b9a6a; font-weight: 800; letter-spacing: .12em; font-size: 14px; padding: 5px 14px; border-radius: 10px; opacity: .88; }
.note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* how a visit moves */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.flow-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--mint)); opacity: .35; }
.fs { text-align: center; position: relative; }
.fs .num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; z-index: 1; color: var(--blue); transition: transform .25s, box-shadow .25s; }
.fs:hover .num { transform: translateY(-4px) rotate(-3deg); box-shadow: var(--shadow-lg); }
.fs .num .icon { width: 30px; height: 30px; }
.fs h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fs p { font-size: 14.5px; color: var(--muted); padding: 0 6px; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.lane { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.lane h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.lane h4 .icon { width: 20px; height: 20px; color: var(--blue); }
.lane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lane li { font-size: 12.5px; font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; color: var(--ink-700); }
.lane li + li::before { content: none; }

/* security (dark) */
.dark-sec { background: var(--ink-950); color: #fff; overflow: hidden; isolation: isolate; }
.dark-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 90% 10%, rgba(34, 211, 238, .16), transparent 60%), radial-gradient(700px 500px at 5% 90%, rgba(47, 125, 246, .2), transparent 60%); }
.dark-sec h2 { color: #fff; } .dark-sec .sec-head p { color: #a9bcd8; }
.dark-sec .pill { color: var(--cyan); background: rgba(34, 211, 238, .1); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-item { padding: 28px 24px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); transition: transform .25s, border-color .25s; }
.sec-item:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .5); }
.sec-item .icon { color: var(--cyan); width: 30px; height: 30px; margin-bottom: 16px; }
.sec-item h3 { color: #fff; font-size: 18px; margin-bottom: 9px; }
.sec-item p { color: #a9bcd8; font-size: 15px; }

/* faq */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #bcd3f2; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink-900); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 16px; }

/* contact */
.contact { padding-top: 0; }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 72px 56px; text-align: center; color: #fff; background: var(--ink-950); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 85% 0%, rgba(34, 211, 238, .35), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(47, 125, 246, .45), transparent 60%), linear-gradient(135deg, var(--ink-700), var(--ink-950)); }
.cta h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.cta > p { margin: 18px auto 0; max-width: 640px; color: #bcd0ea; font-size: 19px; }
.cta .hero-actions { justify-content: center; }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 44px auto 0; text-align: left; }
.reach a { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 16px 18px; color: #fff; transition: background .2s, transform .2s; text-decoration: none; }
.reach a:hover { background: rgba(255, 255, 255, .15); transform: translateY(-3px); text-decoration: none; }
.reach .ri { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--blue)); flex: none; }
.reach .ri.wa { background: linear-gradient(135deg, #2fd66b, #12b34f); }
.reach small { display: block; color: #9fb6d6; font-size: 12.5px; font-weight: 600; }
.reach b { font-size: 16px; word-break: break-word; }

/* footer */
.site-footer { background: var(--ink-950); color: #9db1cd; padding: 64px 0 34px; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot p { margin-top: 14px; font-size: 15px; max-width: 320px; }
.foot h4 { color: #fff; margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li a { color: #9db1cd; font-size: 15px; }
.foot li a:hover { color: #fff; text-decoration: none; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* floating whatsapp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2fd66b, #12b34f); color: #fff; box-shadow: 0 12px 30px rgba(18, 179, 79, .5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2fd66b; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* simple pages */
.simple-top { background: var(--ink-950); height: 76px; }
.page { padding: 150px 0 100px; }
.page .narrow { max-width: 780px; }
.page h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; margin-bottom: 8px; }
.page h2 { font-size: 22px; margin: 38px 0 10px; }
.page p, .page li { color: var(--muted); font-size: 17px; }
.page p + p { margin-top: 14px; }
.page .updated { color: var(--muted); font-size: 15px; }
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; background: var(--ink-950); color: #fff; }
.nf h1 { font-size: 92px; font-weight: 800; color: #fff; }
.nf p { margin: 12px 0 28px; color: #a9bcd8; font-size: 19px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1240px) { .nav-phone span { display: none; } .nav-phone { padding: 10px 12px; } }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; padding: 124px 0 70px; min-height: 0; gap: 20px; }
  .cycle-wrap { justify-self: center; max-width: 560px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 1; }
  .panel, .split { grid-template-columns: 1fr; gap: 36px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .reach { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .menu-btn { display: inline-grid; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4, 15, 32, .97); backdrop-filter: blur(14px); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-cta .btn-glass { display: none; }
  .flow-steps { grid-template-columns: 1fr; gap: 22px; }
  .flow-steps::before { display: none; }
  .fs { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; row-gap: 4px; text-align: left; align-items: start; }
  .fs .num { margin: 0; grid-column: 1; grid-row: 1 / span 2; }
  .fs h3 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
  .fs p { grid-column: 2; grid-row: 2; padding: 0; }
  .lanes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-footer { padding-bottom: 96px; }
  section { padding: 72px 0; }
  .bento, .sec-grid { grid-template-columns: 1fr; }
  .panel { padding: 26px 20px; border-radius: 22px; }
  .cta { padding: 48px 22px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
  .chip { display: none; }
  .cycle-card { width: 50%; padding: 10px 11px 11px; border-radius: 14px; }
  .cycle-card p { font-size: 11.5px; }
  .cycle-card h3 { font-size: 15px; margin: 6px 0 4px; }
  .cycle-card .meta { display: none; }
  .cycle-card p { min-height: 4.2em; }
  .node text { font-size: 17px; }
  .report { transform: none; padding: 22px 18px; }
  .stamp { top: 72px; right: 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .nav-cta .btn-primary { display: none; }
  .nav { gap: 12px; }
  .nav-cta { gap: 8px; }
  .brand { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
