/* Giantz Solutions: company site. Dark, confident, fast. No build step. */
:root {
  --bg: #060a13;
  --bg-2: #0a1122;
  --surface: #0e1729;
  --surface-2: #142038;
  --line: rgba(150, 175, 215, .16);
  --line-strong: rgba(150, 175, 215, .3);
  --ink: #eaf0fb;
  --muted: #a3b2cc;
  --accent: #2ee6b0;
  --accent-ink: #03140e;
  --blue: #6ea8ff;
  --warn: #ffb547;
  --warn-ink: #2a1a00;
  --danger: #ff7a7a;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; }
.ico.big { width: 30px; height: 30px; color: var(--accent); }
.ico.huge { width: 56px; height: 56px; color: var(--accent); }
.grad { background: linear-gradient(95deg, var(--accent), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 15px/1 var(--body); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(46, 230, 176, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46, 230, 176, .38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .05); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-small { padding: 10px 16px; font-size: 14px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(6, 10, 19, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px var(--head); letter-spacing: -.02em; }
.brand b { font-weight: 500; color: var(--muted); margin-left: 5px; }
.logo { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.orb-a { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(46, 230, 176, .55), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 620px; height: 620px; right: -200px; top: 40px; background: radial-gradient(circle, rgba(110, 168, 255, .5), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(46, 230, 176, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(46, 230, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 176, 0); } }
h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 800; margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 14px; color: var(--muted); }
.chips .ico { color: var(--accent); width: 18px; height: 18px; }

/* hero visual: ring + phone + lead card */
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.ring { position: absolute; inset: 50% auto auto 50%; width: 620px; height: 620px; transform: translate(-50%, -50%); opacity: .85; }
.scene { position: relative; width: 100%; max-width: 440px; }
.phone {
  position: relative; z-index: 2; width: min(340px, 100%); margin-inline: auto 0; margin-left: 0;
  background: linear-gradient(180deg, rgba(20, 32, 56, .92), rgba(10, 17, 34, .94));
  border: 1px solid var(--line-strong); border-radius: 30px; padding: 18px; box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, .02);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.caller { display: flex; align-items: center; gap: 10px; }
.caller b { display: block; font: 600 14px var(--body); }
.caller small { color: var(--muted); font-size: 12px; }
.pulse { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(46, 230, 176, .14); color: var(--accent); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ripple 1.8s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.sample-tag { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--line); }
.who { margin: 16px 0 8px; padding: 10px 12px; border-radius: 12px; background: rgba(46, 230, 176, .08); border: 1px solid rgba(46, 230, 176, .22); }
.who small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.who b { font: 600 15px var(--head); }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 44px; margin: 8px 0 6px; }
.wave i { width: 4px; height: 6px; border-radius: 3px; background: linear-gradient(var(--accent), var(--blue)); opacity: .9; transition: height .12s linear; }
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 238px; justify-content: flex-end; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(8px); animation: pop .4s var(--ease) forwards; }
.msg.ai { align-self: flex-start; background: rgba(46, 230, 176, .13); border: 1px solid rgba(46, 230, 176, .25); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: rgba(110, 168, 255, .14); border: 1px solid rgba(110, 168, 255, .28); border-bottom-right-radius: 4px; }
.msg small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 2px; letter-spacing: .05em; text-transform: uppercase; }
.msg.typing::after { content: "|"; margin-left: 2px; animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

.lead-card {
  background: linear-gradient(180deg, #162340, #101b33); border: 1px solid var(--line-strong); border-radius: 18px; padding: 16px 16px 12px;
  box-shadow: var(--shadow); font-size: 13.5px;
}
.scene .lead-card { position: absolute; z-index: 3; right: -26px; bottom: -34px; width: 270px; opacity: 0; transform: translate3d(30px, 30px, 0) rotate(3deg) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.scene .lead-card.show { opacity: 1; transform: translate3d(0, 0, 0) rotate(-1.5deg) scale(1); }
.lc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lc-head small { color: var(--muted); font-size: 12px; }
.badge { display: inline-block; font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(46, 230, 176, .16); color: var(--accent); border: 1px solid rgba(46, 230, 176, .3); }
.badge-warn { background: rgba(255, 181, 71, .16); color: var(--warn); border-color: rgba(255, 181, 71, .35); }
.badge-soft { background: rgba(110, 168, 255, .14); color: var(--blue); border-color: rgba(110, 168, 255, .3); }
.lead-card dl { margin: 0; display: grid; gap: 7px; }
.lead-card dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.lead-card dt { color: var(--muted); font-size: 12px; padding-top: 1px; }
.lead-card dd { margin: 0; font-weight: 500; }
.lead-card .booked dd { color: var(--accent); display: flex; align-items: center; gap: 6px; }
.lead-card .booked .ico { width: 16px; height: 16px; }
.scene .lead-card dd { position: relative; }
.scene .lead-card [data-f] { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); }
.scene .lead-card [data-f].on { opacity: 1; transform: none; }
.lc-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; }
.lc-foot .ico { width: 15px; height: 15px; color: var(--accent); }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; padding: 16px 0; }
.track { display: flex; width: max-content; gap: 44px; animation: slide 38s linear infinite; }
.track span { font: 600 15px var(--head); color: var(--muted); white-space: nowrap; position: relative; padding-left: 26px; }
.track span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateY(-50%) rotate(45deg); opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 56px 0 10px; }
.stat { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.stat b { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--head); letter-spacing: -.03em; background: linear-gradient(95deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 18px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.step .num { position: absolute; right: 18px; top: 8px; font: 800 74px/1 var(--head); color: rgba(255, 255, 255, .05); }
.step h3 { font-size: 20px; margin: 16px 0 8px; }
.step p { color: var(--muted); }

/* explorer */
.explorer { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; margin-bottom: 40px; }
.tabs { display: flex; gap: 6px; padding: 12px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tab { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 14px var(--body); cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; padding: 34px; align-items: start; }
.panel h3 { font-size: 26px; margin-bottom: 8px; }
.mini-h { margin: 22px 0 10px; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ticks li { position: relative; padding: 7px 0 7px 30px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: rgba(46, 230, 176, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%232ee6b0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.safety { margin-top: 18px; padding: 12px 14px; border-left: 3px solid var(--warn); background: rgba(255, 181, 71, .07); border-radius: 0 10px 10px 0; color: #ffd9a0; font-size: 14px; }
.lead-card.static { max-width: 380px; margin-inline: auto; transform: rotate(-1deg); }
.panel-swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.feat:hover { border-color: rgba(46, 230, 176, .45); background: rgba(46, 230, 176, .04); transform: translateY(-4px); }
.feat h3 { font-size: 18px; margin: 14px 0 8px; }
.feat p { color: var(--muted); font-size: 15px; }
.coming { margin-top: 26px; padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.calc { padding: 30px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); display: grid; gap: 22px; }
.calc label { display: block; font-weight: 500; }
.calc output { float: right; color: var(--accent); font: 700 16px var(--head); }
input[type="range"] { width: 100%; margin-top: 12px; accent-color: var(--accent); height: 28px; background: transparent; }
.result { padding: 20px; border-radius: var(--r); background: rgba(46, 230, 176, .08); border: 1px solid rgba(46, 230, 176, .28); text-align: center; }
.result small { color: var(--muted); }
.result b { display: block; font: 800 clamp(34px, 5vw, 52px)/1.1 var(--head); color: var(--accent); margin: 6px 0; letter-spacing: -.03em; }
.result span { color: var(--muted); font-size: 14px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.pillar:hover { border-color: rgba(110, 168, 255, .5); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.pillar .badge { align-self: flex-start; }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--muted); flex: 1; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover .ico { transform: translateX(4px); }
.link .ico { transition: transform .25s var(--ease); }

/* tech */
.tech { background: radial-gradient(900px 400px at 80% 0%, rgba(110, 168, 255, .1), transparent 70%), var(--bg); }
.flow { display: grid; grid-template-columns: repeat(11, auto); align-items: center; justify-content: space-between; gap: 6px; margin: 4px 0 14px; }
.node { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 16px 12px; min-width: 112px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .4s, background .4s, transform .4s var(--ease), box-shadow .4s; }
.node .ico { width: 26px; height: 26px; color: var(--muted); transition: color .4s; }
.node b { font: 600 14px var(--head); }
.node small { color: var(--muted); font-size: 12px; }
.node.on { border-color: var(--accent); background: rgba(46, 230, 176, .08); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(46, 230, 176, .14); }
.node.on .ico { color: var(--accent); }
.link-x { position: relative; width: clamp(14px, 3vw, 44px); height: 2px; background: var(--line-strong); overflow: hidden; border-radius: 2px; }
.link-x::after { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 40%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: run 2.4s linear infinite; }
@keyframes run { to { left: 110%; } }
.flow-cap { text-align: center; color: var(--ink); font-weight: 500; min-height: 28px; margin-bottom: 38px; }

.tech-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.terminal { border: 1px solid var(--line-strong); border-radius: var(--r); background: #050912; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.t-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.t-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; } .t-bar i:nth-child(2) { background: #ffd166; } .t-bar i:nth-child(3) { background: #3ddc97; }
.t-bar span { margin-left: 8px; color: var(--muted); font: 500 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.terminal pre { margin: 0; padding: 18px; flex: 1; min-height: 250px; font: 400 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cfe3ff; white-space: pre-wrap; overflow-x: auto; }
.terminal .ok { color: var(--accent); } .terminal .dim { color: #6e83a6; } .terminal .ms { color: var(--warn); }
.t-note { padding: 0 18px 14px; color: var(--muted); font-size: 12.5px; }
.proofs { display: grid; gap: 12px; }
.proofs li { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--surface); }
.proofs b { display: block; font: 600 16px var(--head); margin-bottom: 4px; }
.proofs span { color: var(--muted); font-size: 14.5px; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.stack li { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); transition: all .25s; }
.stack li:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.work:hover { border-color: var(--line-strong); box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.work.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.work.wide .thumb { width: 200px; height: 110px; margin: 0; flex: none; }
.work.wide > b, .work.wide > small { display: block; }
.thumb { display: block; height: 120px; border-radius: 12px; margin-bottom: 10px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.thumb::before { content: ""; position: absolute; left: 12px; right: 12px; top: 14px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .5); width: 40%; }
.thumb::after { content: ""; position: absolute; left: 12px; right: 12px; top: 36px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .16); }
.t1 { background: linear-gradient(135deg, #d9480f, #7a1f00); } .t2 { background: linear-gradient(135deg, #1c7ed6, #0b3b6f); }
.t3 { background: linear-gradient(135deg, #2b9348, #0d3b1c); } .t4 { background: linear-gradient(135deg, #343a40, #0b0d10); }
.t5 { background: linear-gradient(135deg, #1b4fd6, #c9a227); }
.work b { font: 600 16px var(--head); } .work small { color: var(--muted); font-size: 14px; }
.work em { font: 600 11px var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(46, 230, 176, .4); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--blue)); opacity: .5; }
.timeline li { position: relative; padding: 52px 20px 0 0; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font: 700 14px var(--head); }
.timeline b { display: block; font: 600 20px var(--head); margin-bottom: 6px; }
.timeline span { color: var(--muted); }

/* faq */
.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s; }
details[open] { border-color: rgba(46, 230, 176, .4); }
summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 20px 20px; color: var(--muted); }
details a { color: var(--accent); }

/* demo form */
.cta { background: radial-gradient(900px 420px at 15% 20%, rgba(46, 230, 176, .13), transparent 70%), radial-gradient(800px 400px at 90% 80%, rgba(110, 168, 255, .14), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.demo-grid h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; margin-bottom: 16px; }
.demo-grid .ticks { margin-top: 22px; }
.form, .thanks { padding: 30px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink); }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #09111f; color: var(--ink); font: 400 16px var(--body); transition: border-color .2s, box-shadow .2s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a3b2cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #6f819f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46, 230, 176, .16); }
input.bad, select.bad { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); }
.form-msg { min-height: 20px; font-size: 14px; color: var(--danger); }
.form-msg.ok { color: var(--accent); }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.thanks { text-align: center; display: grid; gap: 12px; justify-items: center; }
.thanks[hidden], .form[hidden] { display: none; }
.thanks p { color: var(--muted); max-width: 40ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 90px; background: var(--bg); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.foot p.muted { margin-top: 14px; max-width: 46ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot nav a { color: var(--muted); text-decoration: none; } .foot nav a:hover { color: var(--ink); }
.foot .fine { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); margin: 0; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(6, 10, 19, .96) 40%); transform: translateY(110%); transition: transform .4s var(--ease); display: none; }
.sticky-cta .btn { width: 100%; }
.sticky-cta.show { transform: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 520px; }
  .features, .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid, .calc-grid, .demo-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .link-x { width: 2px; height: 22px; } .link-x::after { inset: -40% 0 auto 0; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--accent), transparent); animation: runv 2.4s linear infinite; }
  @keyframes runv { to { top: 110%; } }
  .node { width: 100%; max-width: 360px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; }
  .node .ico { grid-row: span 2; align-self: center; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--bg); box-shadow: 0 30px 40px rgba(0, 0, 0, .5); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .menu-btn { display: block; }
  .site-header.scrolled, .site-header:has(.nav.open) { background: rgba(6, 10, 19, .97); }
  .panel { grid-template-columns: 1fr; padding: 24px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 4px 0 0 56px; }
  .foot { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; }
  .sticky-cta { display: block; }
}
@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .hero { padding: 108px 0 50px; }
  .features, .pillars, .steps, .work-grid, .stats { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .work.wide { flex-direction: column; align-items: stretch; } .work.wide .thumb { width: 100%; }
  .scene .lead-card { right: -4px; bottom: -42px; width: 245px; }
  .hero-visual { min-height: 560px; padding-bottom: 40px; }
  .ring { width: 460px; height: 460px; }
  .form, .thanks, .calc { padding: 22px; }
  .stat { padding: 18px; }
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .track { animation: none; }
}
