:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --panel: #141418;
  --panel-2: #1a1a1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeeeef;
  --muted: #a1a1aa;
  --dim: #6b6b75;
  --accent: #d4ff3a;
  --accent-ink: #0b0d02;
  --ok: #4ade80;
  --k-trigger: #ff7a59;
  --k-ai: #a78bfa;
  --k-logic: #60a5fa;
  --k-data: #34d399;
  --k-msg: #38bdf8;
  --k-doc: #f472b6;
  --k-code: #fbbf24;
  --radius: 18px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.mono { font-family: var(--mono); font-size: 12px; }
.dim { color: var(--dim); }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 0 0 4px rgba(212, 255, 58, .18), 0 8px 30px rgba(212, 255, 58, .25); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.btn-block { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(9, 9, 11, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.03em; font-weight: 500; }
.brand b { font-weight: 300; color: var(--muted); }
.mark { width: 28px; height: 28px; color: var(--text); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.links a.btn-accent { color: var(--accent-ink); }
.mobile-only { display: none !important; }
.menu { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; position: relative; margin-left: auto; }
.menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu span:first-child { top: 16px; }
.menu span:last-child { top: 24px; }
.menu[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  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% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translate(-50%, -45%);
  background: radial-gradient(closest-side, rgba(212, 255, 58, .14), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .02); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-top: 26px; font-size: clamp(52px, 9.5vw, 128px); letter-spacing: -.055em; line-height: .92; }
.hero h1 em { color: var(--accent); letter-spacing: -.03em; padding-right: .05em; }
.lede { margin-top: 26px; max-width: 620px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.cta-row { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Window chrome */
.window { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5); }
.hero-window { position: relative; z-index: 1; margin-top: 72px; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 13px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a30; }
.win-path { color: var(--dim); font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-path b { color: var(--text); font-weight: 500; }
.win-status { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.win-btn { margin-left: auto; border: 1px solid var(--line-2); background: transparent; border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.win-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.win-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); }

/* Flow canvas */
.flow {
  position: relative; overflow-x: auto; overflow-y: hidden;
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.stage { position: relative; transform-origin: 0 0; }
.stage svg.edges { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.edge { fill: none; stroke: #3a3a42; stroke-width: 2; transition: stroke .4s; }
.edge.sub { stroke-dasharray: 4 5; }
.edge.lit { stroke: var(--accent); }
.edge-label { font: 500 11px var(--mono); fill: var(--dim); }
.edge-count { font: 500 11px var(--mono); fill: var(--accent); opacity: 0; transition: opacity .3s; }
.edge-count.show { opacity: 1; }
.packet { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }

.node { position: absolute; width: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.node-box {
  --k: var(--k-logic);
  position: relative; width: 72px; height: 72px; border-radius: 16px;
  background: var(--panel-2); border: 1.5px solid #34343c;
  display: grid; place-items: center; color: var(--k);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.node.k-trigger .node-box { border-radius: 36px 16px 16px 36px; }
.node.k-sub .node-box { width: 52px; height: 52px; border-radius: 50%; }
.node-box svg { width: 30px; height: 30px; }
.node.k-sub .node-box svg { width: 22px; height: 22px; }
.node.k-ai .node-box { width: 150px; border-radius: 16px; gap: 8px; display: flex; justify-content: center; }
.node.k-ai .node-box::after { content: "AI Agent"; font: 500 13px var(--sans); color: var(--text); }
.node-label { margin-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--text); }
.node-sub { margin-top: 2px; font-size: 11px; color: var(--dim); font-family: var(--mono); line-height: 1.3; }
.node.running .node-box { border-color: var(--k); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k) 20%, transparent), 0 0 30px color-mix(in srgb, var(--k) 35%, transparent); transform: scale(1.05); }
.node.running .node-box::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid transparent; border-top-color: var(--k); animation: spin .8s linear infinite; }
.node.k-ai.running .node-box::before { border-radius: 20px; }
.node.done .node-box { border-color: var(--ok); }
.node .check { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #052e12; display: grid; place-items: center; font-size: 12px; font-weight: 700; transform: scale(0); transition: transform .35s var(--ease); }
.node.done .check { transform: scale(1); }
.node.skipped { opacity: .4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stack marquee */
.stack { padding: 70px 0 30px; }
.stack-label { text-align: center; color: var(--dim); font-size: 14px; }
.marquee { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { padding: 0 28px; font-size: 22px; font-weight: 500; color: #8a8a93; letter-spacing: -.02em; white-space: nowrap; position: relative; }
.marquee-track span::after { content: "∅"; position: absolute; right: -6px; color: #3a3a42; font-weight: 300; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; }
.head h2, .contact h2 { font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -.045em; }
.head h2 em, .contact h2 em { color: #d6d6d9; }
.sub { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 640px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(212, 255, 58, .07), transparent 40%); pointer-events: none; }
.c-wide { grid-column: span 2; }
.card h3 { font-size: 22px; margin-top: 22px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 520px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); background: rgba(212, 255, 58, .05); }
.card-icon svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.mini-flow { position: absolute; right: 28px; top: 30px; display: flex; align-items: center; }
.mini-flow i { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #3a3a42; background: var(--panel-2); animation: mf 3.2s infinite; }
.mini-flow b { width: 22px; height: 1.5px; background: #3a3a42; }
.mini-flow i:nth-child(3) { animation-delay: .4s; }
.mini-flow i:nth-child(5) { animation-delay: .8s; }
.mini-flow i:nth-child(7) { animation-delay: 1.2s; }
@keyframes mf { 0%, 100% { border-color: #3a3a42; } 10%, 40% { border-color: var(--accent); box-shadow: 0 0 14px rgba(212, 255, 58, .4); } }
.uptime { display: flex; gap: 3px; margin-top: 22px; height: 28px; }
.uptime i { flex: 1; border-radius: 2px; background: var(--ok); opacity: .75; }
.uptime i.warn { background: var(--k-code); }

/* Showcase */
.tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; background: var(--panel); scrollbar-width: none; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.showcase { display: grid; grid-template-columns: 1fr 330px; gap: 14px; }
.showcase .window { min-width: 0; }
.log { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 18px; display: flex; flex-direction: column; min-height: 0; }
.log-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.log-desc { margin-top: 10px; color: var(--muted); font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.log-lines { list-style: none; margin: 14px 0 0; padding: 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; overflow: auto; max-height: 300px; }
.log-lines li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; animation: in .35s var(--ease); color: var(--muted); }
.log-lines li b { color: var(--text); font-weight: 500; }
.log-lines li::before { content: "✓"; color: var(--ok); }
.log-lines li.final::before { content: "●"; color: var(--accent); }
.log-lines li.final { color: var(--accent); }
@keyframes in { from { opacity: 0; transform: translateY(4px); } }

/* Case */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.t-num { font-family: var(--mono); font-size: 13px; color: var(--accent); border: 1px solid rgba(212, 255, 58, .3); border-radius: 10px; height: 34px; display: grid; place-items: center; }
.timeline b { font-weight: 500; font-size: 17px; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 0; }
.facts div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { font-size: 44px; letter-spacing: -.04em; line-height: 1; font-weight: 500; }
.facts dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.case-right { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.phone { width: min(360px, 100%); border-radius: 34px; border: 1px solid var(--line-2); background: #0d1117; padding: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); }
.phone-top b { font-size: 14px; font-weight: 500; display: block; }
.phone-top small { color: var(--dim); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 8px; min-height: 330px; background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, .06), transparent 60%); border-radius: 0 0 26px 26px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.in { background: #1c2430; border-bottom-left-radius: 4px; display: flex; flex-direction: column; }
.msg.in span { color: #b6c2d0; }
.msg.out { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 4px; }
.kbd { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.kbd button { border: 0; border-radius: 10px; padding: 8px; background: rgba(255, 255, 255, .08); font-size: 13px; transition: background .2s, transform .2s; }
.kbd button.tap { background: rgba(74, 222, 128, .3); transform: scale(.95); }
.invoice { width: min(380px, 100%); margin-top: -40px; margin-left: 140px; padding: 20px; border-radius: 16px; background: #f4f1ea; color: #18181b; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); transform: rotate(2deg); position: relative; z-index: 2; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; }
.inv-head small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #71717a; }
.inv-head b { font-weight: 600; }
.tag-ok { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #18181b; color: var(--accent); }
.invoice table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.invoice td { padding: 7px 0; border-bottom: 1px solid #e0dcd2; }
.invoice td:last-child { text-align: right; font-family: var(--mono); font-size: 12px; }
.invoice .sum td { font-weight: 600; border-bottom: 0; padding-top: 10px; }
.inv-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: #52525b; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .3s, background .3s; }
.ind:hover { border-color: var(--line-2); background: var(--panel-2); }
.ind h3 { font-size: 19px; }
.ind p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.ind.live { border-color: rgba(212, 255, 58, .35); background: linear-gradient(160deg, rgba(212, 255, 58, .08), var(--panel) 60%); }
.badge { position: absolute; top: 18px; left: 22px; font-family: var(--mono); font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.process li { position: relative; padding: 26px 22px; border-top: 1px solid var(--line-2); }
.process li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }
.process li.in::before { width: 100%; }
.p-num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.process h3 { font-size: 22px; margin-top: 14px; }
.process p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.p-time { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pr { padding: 30px 26px; background: var(--bg-2); }
.pr h3 { font-size: 19px; }
.pr p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(212, 255, 58, .4); background: linear-gradient(170deg, rgba(212, 255, 58, .09), var(--panel) 55%); }
.plan-name { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.plan h3 { font-size: 24px; margin-top: 14px; line-height: 1.15; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; font-size: 15px; }

/* Sifr */
.sifr { padding: 110px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.sifr-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.etym { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); flex-wrap: wrap; justify-content: center; font-family: var(--serif); font-size: clamp(40px, 7vw, 92px); line-height: 1; color: #55555e; }
.etym i { font-style: normal; font-family: var(--sans); font-size: .4em; color: #3a3a42; }
.etym .acc { color: var(--accent); font-style: italic; }
.etym [lang="ar"] { font-family: "Geeza Pro", "Noto Naskh Arabic", serif; font-size: .9em; }
.sifr p { max-width: 640px; color: var(--muted); font-size: 18px; }
.sifr p b { color: var(--text); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact-list span { color: var(--dim); font-size: 14px; }
.contact-list a:hover { color: var(--accent); }
.form { padding: 30px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); display: flex; flex-direction: column; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 255, 58, .12); }
.form .invalid { border-color: #f87171; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--dim); text-align: center; }
.form-note.ok { color: var(--ok); }

/* Footer */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.footer p { font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .showcase { grid-template-columns: 1fr; }
  .log-lines { max-height: 220px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .invoice { margin-left: 0; margin-top: -30px; transform: rotate(-1.5deg); }
}
@media (max-width: 900px) {
  .desk-only { display: none !important; }
  .menu { display: block; }
  .links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 2px; padding: 12px 16px 20px; background: rgba(9, 9, 11, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .links.open { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 12px; font-size: 16px; border-radius: 10px; }
  .mobile-only { display: inline-flex !important; margin-top: 8px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .faq-wrap, .contact { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .hero-window { margin-top: 48px; }
  .bento, .industries, .principles { grid-template-columns: 1fr; }
  .c-wide { grid-column: auto; }
  .mini-flow { display: none; }
  .process { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts div { padding: 16px; }
  .facts dt { font-size: 32px; }
  .facts dd { font-size: 12px; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .timeline li { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .t-num { width: 48px; }
  .win-foot .dim { display: none; }
  .contact-list li { grid-template-columns: 90px 1fr; }
  .ind { min-height: 0; padding-top: 48px; }
  .ind:not(.live) { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
