/* Satori Technologies: company site. One dark "dawn" look from the brand kit,
   with depth: perspective, 3D tilts and layers that move as you scroll. */
:root {
  --ground: #120e0b;
  --ground-2: #17120e;
  --ink: #fff6dc;
  --body: #e6d8c2;
  --muted: #b9a287;
  --amber: #ffb35c;
  --ember: #ff6a4d;
  --dawn: #ffe7a3;
  --ok: #7fd49b;
  --line: rgba(255, 231, 163, 0.12);
  --card: rgba(255, 246, 220, 0.035);
  --radius: 22px;
  --head: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --wrap: min(1180px, 100% - 2 * var(--gutter));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0; background: var(--ground); color: var(--body);
  font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #1a120a; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---- nav ------------------------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.nav.scrolled, .nav.open { background: rgba(18, 14, 11, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { width: var(--wrap); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 24px; }
.brand img { height: 40px; width: auto; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--ink); }
.menu-cta { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 25px; }
.nav.open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---- buttons ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(120deg, var(--ember), var(--amber) 55%, var(--dawn)); color: #1d130a;
  font: 600 16px/1 var(--text); text-decoration: none; box-shadow: 0 10px 30px -10px rgba(255, 140, 70, .55);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 150, 80, .7); filter: saturate(1.1); }
.btn-small { padding: 11px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 231, 163, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--amber), 0 10px 30px -14px rgba(255, 179, 92, .5); }

/* ---- hero ------------------------------------------------------------------------------------ */
.hero {
  --hs: 0;
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -10%, #3a2811 0%, #1d150e 45%, transparent 75%),
    radial-gradient(900px 600px at 0% 110%, rgba(255, 106, 77, .10), transparent 70%),
    var(--ground);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun {
  position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -22vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 120, .22), rgba(255, 150, 80, .06) 45%, transparent 68%);
  filter: blur(10px); animation: breathe 9s ease-in-out infinite;
  transform: translateY(calc(var(--hs) * 120px));
}
@keyframes breathe { 50% { opacity: .75; } }
.hero-inner {
  position: relative; width: var(--wrap); margin-inline: auto; padding: 130px 0 100px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  perspective: 1200px;
}
.hero-copy { transform: translate3d(0, calc(var(--hs) * -90px), 0) rotateX(calc(var(--hs) * 12deg)); transform-origin: 50% 0; opacity: calc(1 - var(--hs) * 1.1); }
.eyebrow { font: 600 13px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.3rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 600; }
.gold {
  background: linear-gradient(100deg, var(--ember), var(--amber) 45%, var(--dawn) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
.lead { font-size: clamp(1.05rem, 1.45vw, 1.18rem); color: var(--body); max-width: 38em; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 26px; margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.hero-art { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(255, 179, 92, .16), transparent 62%); filter: blur(28px); }
#enso3d { position: relative; width: 100%; height: 100%; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 231, 163, .35); opacity: calc(1 - var(--hs) * 3); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- marquee ----------------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ground-2); padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 500 15px/1 var(--head); letter-spacing: .06em; color: var(--muted); padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: 11px; margin-left: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- section basics ------------------------------------------------------------------------------ */
section { position: relative; padding: clamp(84px, 11vw, 140px) 0; }
.kicker { font: 600 13px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.section-head { margin-bottom: 56px; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.1; letter-spacing: -.015em; font-weight: 600; }
.sub { margin-top: 18px; color: var(--body); font-size: 1.08rem; max-width: 40em; }

.meaning { background: linear-gradient(180deg, var(--ground), var(--ground-2)); border-bottom: 1px solid var(--line); }
.statement { font: 300 clamp(1.45rem, 3vw, 2.3rem)/1.4 var(--head); color: var(--ink); max-width: 30em; }
.statement em { font-style: normal; color: var(--amber); }

/* ---- cards and 3D tilt ------------------------------------------------------------------------------ */
.tilt { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, border-color .3s, box-shadow .3s; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 179, 92, .25); }

.grid-3d { --in: 1; perspective: 1400px; }
/* The grid lies back like a table top and stands up as it arrives. Tilting about
   the bottom edge keeps every point at or behind the screen, so nothing grows
   wider than the page. */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--in)) * 30deg)) translateZ(calc((1 - var(--in)) * -160px));
  opacity: calc(.25 + var(--in) * .75);
}
.card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 32px 30px 30px; border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 179, 92, .10), transparent 60%), var(--card);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(140deg, rgba(255, 106, 77, .18), rgba(255, 231, 163, .10)); box-shadow: inset 0 0 0 1px rgba(255, 179, 92, .25); transform: translateZ(30px); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; transform: translateZ(20px); }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--amber); font-weight: 700; }

/* ---- fintech ----------------------------------------------------------------------------------------- */
.fintech { background: radial-gradient(900px 600px at 100% 30%, rgba(255, 179, 92, .07), transparent 70%), var(--ground-2); border-block: 1px solid var(--line); overflow: hidden; }
.fintech-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; margin-top: 40px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; font-weight: 600; }
.feature h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); margin-right: 10px; transform: rotate(45deg) translateY(-2px); }
.feature p { font-size: 15px; }
.fine { margin-top: 34px; font-size: 13.5px; color: var(--muted); border-left: 2px solid rgba(255, 179, 92, .45); padding-left: 14px; max-width: 46em; }

.stack-wrap { --p: .5; position: relative; height: 560px; perspective: 1600px; }
.stack {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 250px; transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(calc(58deg - var(--p) * 12deg)) rotateZ(calc(-38deg + var(--p) * 16deg));
}
.layer {
  position: absolute; inset: 0; border-radius: 18px; padding: 20px 22px; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(40, 30, 21, .92), rgba(22, 17, 13, .92));
  border: 1px solid rgba(255, 231, 163, .18); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 246, 220, .06);
  font-size: 13.5px; color: var(--body);
}
.l1 { transform: translateZ(calc(20px + var(--p) * 150px)); }
.l2 { transform: translateZ(0px); opacity: .96; }
.l3 { transform: translateZ(calc(-20px - var(--p) * 150px)); opacity: .9; }
.panel-title { font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.layer .row, .layer .tx { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 231, 163, .1); }
.layer .row span, .layer .tx span:nth-child(2) { flex: 1; }
.layer b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.layer .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
.layer .total { border-bottom: 0; color: var(--ok); }
.layer .total b { color: var(--ok); }
.warn { color: var(--amber) !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.wait { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.meter { height: 8px; border-radius: 6px; background: rgba(255, 246, 220, .08); overflow: hidden; margin-bottom: 10px; }
.meter span { display: block; height: 100%; width: 96%; background: linear-gradient(90deg, var(--ember), var(--amber), var(--dawn)); }
.stack-note { position: absolute; right: 0; bottom: 0; font-size: 12px; color: var(--muted); opacity: .6; }

/* ---- AI ---------------------------------------------------------------------------------------------- */
.ai { background: radial-gradient(800px 500px at 0% 20%, rgba(255, 106, 77, .07), transparent 70%); }
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.usecase { padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.uc-num { display: inline-block; font: 600 13px/1 var(--head); color: var(--amber); letter-spacing: .1em; margin-bottom: 16px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 179, 92, .1); transform: translateZ(25px); }
.usecase h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }
.usecase p { font-size: 15.5px; }
.guardrails { margin-top: 44px; padding: 28px 30px; border-radius: var(--radius); border: 1px solid rgba(255, 179, 92, .25); background: linear-gradient(120deg, rgba(255, 106, 77, .08), rgba(255, 231, 163, .04)); }
.guardrails .kicker { margin-bottom: 16px; }
.guardrails ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.guardrails li { padding: 9px 16px; border-radius: 999px; background: rgba(18, 14, 11, .6); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }

/* ---- products + tech ring ----------------------------------------------------------------------------- */
.products { background: var(--ground-2); border-block: 1px solid var(--line); overflow: hidden; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mini-steps { list-style: none; margin-top: 36px; display: grid; gap: 18px; counter-reset: s; }
.mini-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; counter-increment: s; }
.mini-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 600 14px/44px var(--head); text-align: center; width: 44px; height: 44px; border-radius: 12px; color: var(--amber); background: rgba(255, 179, 92, .1); box-shadow: inset 0 0 0 1px rgba(255, 179, 92, .3); }
.mini-steps b { color: var(--ink); font-family: var(--head); font-weight: 600; }
.mini-steps span { font-size: 15.5px; }

.ring-wrap { --p: .5; --r: 250px; position: relative; height: 460px; perspective: 1100px; display: grid; place-items: center; }
.ring { position: relative; width: 1px; height: 1px; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(calc(var(--p) * -420deg)); }
.ring span {
  --a: calc(var(--i, 0) * 22.5deg);
  position: absolute; left: 0; top: 0; translate: -50% -50%; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; font: 600 15px/1 var(--head); color: var(--ink);
  background: linear-gradient(140deg, rgba(60, 42, 24, .9), rgba(28, 21, 15, .9)); border: 1px solid rgba(255, 179, 92, .3);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8);
  transform: rotateY(var(--a)) translateZ(var(--r));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.ring::before {
  content: ""; position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(255, 179, 92, .22);
  transform: rotateX(90deg);
}
.ring-caption { position: absolute; bottom: 6px; font-size: 13px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

/* ---- industries --------------------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 246, 220, .05), rgba(255, 246, 220, .015)); min-height: 170px; }
.tile h3 { font-size: 1.08rem; margin-bottom: 8px; font-weight: 600; }
.tile p { font-size: 14.5px; color: var(--body); }

/* ---- approach ------------------------------------------------------------------------------------------ */
.approach { background: radial-gradient(900px 500px at 15% 0%, rgba(255, 179, 92, .07), transparent 70%), var(--ground-2); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; perspective: 1000px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 179, 92, .55), transparent); }
.steps li { position: relative; padding-top: 66px; }
.steps .num { position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--head); color: #1d130a; background: linear-gradient(140deg, var(--ember), var(--amber) 60%, var(--dawn)); box-shadow: 0 0 0 6px var(--ground-2), 0 10px 30px -8px rgba(255, 130, 70, .6); }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }
.steps p { font-size: 15px; }
.deliv { margin-top: 12px; font-size: 13px !important; color: var(--amber); }

/* ---- engagement + values ------------------------------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan { padding: 32px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan.featured { background: linear-gradient(160deg, rgba(255, 106, 77, .14), rgba(255, 231, 163, .05)); border-color: rgba(255, 179, 92, .4); }
.plan h3 { font-size: 1.5rem; font-weight: 600; }
.plan-sub { color: var(--amber); font-size: 14px; margin: 6px 0 14px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.value p { font-size: 15px; }

/* ---- security ---------------------------------------------------------------------------------------------------- */
.security { padding: clamp(60px, 8vw, 100px) 0; background: linear-gradient(120deg, rgba(255, 106, 77, .10), rgba(255, 231, 163, .04) 60%), var(--ground-2); border-block: 1px solid var(--line); }
.security-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.sec-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.sec-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.sec-list li::before { content: "✦"; color: var(--amber); font-size: 12px; }

/* ---- insights ------------------------------------------------------------------------------------------------------- */
.note { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: center; padding: 26px; border-radius: calc(var(--radius) + 6px); background: var(--card); border: 1px solid var(--line); }
.note-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #0d0a08; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.note-media video { width: 100%; height: 100%; object-fit: cover; }
.date { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.note h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.25; margin-bottom: 18px; font-weight: 600; }
.note ol { margin: 0 0 24px; padding-left: 1.2em; display: grid; gap: 10px; }
.note strong { color: var(--ink); font-weight: 600; }
.link { color: var(--amber); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- FAQ -------------------------------------------------------------------------------------------------------------- */
.faq { background: var(--ground-2); border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.qa { display: grid; gap: 12px; }
.qa details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 0 22px; transition: border-color .3s; }
.qa details[open] { border-color: rgba(255, 179, 92, .4); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; position: relative; font: 600 1.02rem/1.4 var(--head); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.5rem; color: var(--amber); transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 20px; font-size: 15.5px; }

/* ---- contact ------------------------------------------------------------------------------------------------------------- */
.contact { overflow: hidden; background: radial-gradient(800px 500px at 80% 100%, rgba(255, 140, 70, .16), transparent 70%), var(--ground); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-list { list-style: none; margin-top: 34px; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--amber); }
.contact-form { display: grid; gap: 16px; padding: 32px; border-radius: calc(var(--radius) + 4px); background: rgba(255, 246, 220, .04); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 15.5px/1.4 var(--text); color: var(--ink); background: rgba(18, 14, 11, .7);
  border: 1px solid rgba(255, 231, 163, .18); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 179, 92, .18); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--amber); }

/* ---- footer --------------------------------------------------------------------------------------------------------------- */
.footer { padding: 60px 0 calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #0e0b09; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--ink); }
.f-head { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.f-small { font-size: 13px; line-height: 1.6; margin-top: 10px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-base a { color: var(--muted); text-decoration: none; }

/* ---- reveal (2D and 3D) ------------------------------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-3d { opacity: 0; transform: perspective(1000px) rotateX(48deg) translateY(50px) translateZ(-60px); transform-origin: 50% 100%; transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal-3d.in { opacity: 1; transform: none; }
.tilt.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, opacity .9s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.usecases .reveal:nth-child(3n+2), .tiles .reveal:nth-child(4n+2), .plans .reveal:nth-child(2), .features .reveal:nth-child(2n), .values .reveal:nth-child(2) { transition-delay: .08s; }
.usecases .reveal:nth-child(3n+3), .tiles .reveal:nth-child(4n+3), .plans .reveal:nth-child(3), .values .reveal:nth-child(3) { transition-delay: .16s; }
.tiles .reveal:nth-child(4n+4), .values .reveal:nth-child(4) { transition-delay: .24s; }
.steps .reveal-3d:nth-child(2) { transition-delay: .1s; } .steps .reveal-3d:nth-child(3) { transition-delay: .2s; }
.steps .reveal-3d:nth-child(4) { transition-delay: .3s; } .steps .reveal-3d:nth-child(5) { transition-delay: .4s; }
.hero .reveal:nth-child(2) { transition-delay: .1s; } .hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; } .hero .reveal:nth-child(5) { transition-delay: .4s; }

/* ---- smaller screens ------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .links { gap: 18px; }
  .grid, .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(18, 14, 11, .96); border-bottom: 1px solid var(--line); display: none; }
  .nav.open .links { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .menu-cta { display: block; color: var(--amber) !important; border-bottom: 0 !important; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .grid { transform: none; opacity: 1; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 100px; gap: 0; }
  .hero-art { order: -1; width: min(78vw, 360px); margin-bottom: -10px; }
  .fintech-grid, .products-grid, .security-inner, .faq-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stack-wrap { height: 420px; }
  .ring-wrap { --r: 190px; height: 380px; }
  .note { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .grid, .usecases, .tiles, .plans, .values, .features, .sec-list, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .stack { width: 290px; height: 230px; }
  .stack-wrap { height: 380px; }
  .ring-wrap { --r: 150px; height: 320px; }
  .ring span { font-size: 13px; padding: 8px 14px; }
  .card, .usecase, .plan { padding: 26px 22px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-3d { opacity: 1; transform: none; }
  .grid { transform: none; opacity: 1; }
  .hero-copy { transform: none; opacity: 1; }
  .marquee-track { animation: none; }
}

/* ---- legal pages and 404 ------------------------------------------------------------------- */
.doc .nav { position: sticky; }
.legal { padding: 70px 0 100px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; }
.legal strong { color: var(--ink); }
.updated { color: var(--muted); font-size: 14px; }
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 40px 20px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
