/* Oxylogic site. Fonts: Unbounded and Geist (SIL Open Font License, see fonts/). */
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a1433;        /* deep banknote ink: hero, text */
  --ink-2: #16224a;
  --paper: #eef2f0;      /* cool security paper */
  --paper-2: #e3e9e5;
  --rule: #c9d3cd;
  --text: #0a1433;
  --text-2: #43506f;
  --cobalt: #3355ff;     /* buy side, lines, actions */
  --mint: #5eead4;       /* the logo's tick */
  --sell: #e0475b;
  --display: "Unbounded", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 34rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.12; max-width: 20ch; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-solid { background: var(--cobalt); color: #fff; }
.btn-solid:hover { background: #2443e6; }
.btn-line { border: 1px solid rgba(255,255,255,.32); color: #fff; }
.btn-line:hover { border-color: #fff; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 32px; height: 68px; padding: 0 clamp(20px, 4vw, 48px); color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.nav.solid { background: rgba(238,242,240,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--text); box-shadow: 0 1px 0 var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .78; }
.nav nav a:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 0 clamp(20px, 5vw, 72px); isolation: isolate; min-height: max(760px, 100vh); display: flex; flex-direction: column; }
#terrain, #terrain2 { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(42% 48% at 20% 42%, rgba(10,20,51,.78), rgba(10,20,51,.35) 60%, rgba(10,20,51,0) 100%); }
.hero-copy { position: relative; z-index: 2; width: min(44%, 620px); padding-top: clamp(130px, 17vh, 180px); flex: 1; }
.hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.7rem); line-height: 1.04; font-weight: 500; }
.lede { margin-top: 26px; max-width: 26rem; font-size: 19px; color: #c7d0ea; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* the 3D stack of real screens */
.stage { position: absolute; z-index: 1; top: 120px; right: -14vw; width: 64vw; height: 680px; perspective: 2400px; perspective-origin: 30% 40%; }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(-26deg + var(--ry, 0deg))) rotateX(calc(9deg + var(--rx, 0deg))) rotateZ(1.5deg); transform-origin: 30% 50%; }
.pane { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 60px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.pane img { width: 100%; }
.pane-desk { width: 74%; left: 26%; top: -2%; transform: translateZ(-300px); filter: brightness(.82) saturate(.9); }
.pane-app { width: 80%; left: 6%; top: 16%; transform: translateZ(0); }
.pane-phone { width: 17%; left: 1%; top: 40%; border-radius: 26px; border: 7px solid #0b1022; transform: translateZ(220px); }

/* price tape */
.tape { position: relative; z-index: 3; display: flex; align-items: center; gap: 24px; margin: 0 calc(-1 * clamp(20px, 5vw, 72px)); padding: 14px clamp(20px, 5vw, 72px); border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,20,51,.9); font-size: 14px; overflow: hidden; }
.tape-track { display: flex; gap: 34px; flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tick { display: inline-flex; gap: 10px; color: #c7d0ea; }
.tick b { color: #fff; font-weight: 600; }
.tick .up { color: var(--mint); } .tick .dn { color: #ff8798; }
.tape-note { color: #7c88ad; font-size: 13px; white-space: nowrap; }

/* ---------- bands ---------- */
.band { padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 72px); }
.paper { background: var(--paper); }
.paper2 { background: var(--paper-2); }
.ink { background: var(--ink); color: #fff; }
.body { font-size: 18px; color: var(--text-2); max-width: var(--measure); margin-top: 18px; }
.ink .body { color: #b7c1df; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; max-width: 1280px; margin: 0 auto; }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.facts div { border-top: 1px solid var(--rule); padding-top: 12px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 4px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* screenshots set in space */
.tilt { margin: 0; perspective: 1800px; }
.tilt img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(10,20,51,.06), 0 40px 80px -30px rgba(10,20,51,.45); }
.tilt-right img { transform: rotateY(-14deg) rotateX(6deg); transform-origin: 0 50%; }
.tilt-flat img { transform: none; }

/* AI ledger */
.ai-head { max-width: 1280px; margin: 0 auto; }
.ai-head h2 { max-width: 18ch; }
.ledger { max-width: 1280px; margin: 64px auto 0; border-top: 1px solid rgba(255,255,255,.18); }
.row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.6fr 1.2fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; color: #dbe2f5; }
.row.head { padding: 14px 0; font-size: 14px; color: #7c88ad; }
.tool b { display: block; font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.tool i { font-style: normal; color: var(--mint); font-size: 14px; }
.never { color: #ffb3bd; }

/* annotated desk */
.desk-head, .spec-head { max-width: 1280px; margin: 0 auto; }
.annotated { position: relative; max-width: 1280px; margin: 56px auto 0; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-6px, -100%); background: var(--ink); color: #c7d0ea; font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 10px; max-width: 220px; box-shadow: 0 12px 30px -12px rgba(10,20,51,.6); }
.pin-pl { --x: 27%; --y: 19%; } .pin-eq { --x: 74%; --y: 19%; } .pin-ex { --x: 31%; --y: 56%; }
.pin b { display: block; color: #fff; font-size: 14px; }
.pin::after { content: ""; position: absolute; left: 0; bottom: -18px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(94,234,212,.25); }
.desk-notes { max-width: 1280px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.desk-notes p { color: var(--text-2); font-size: 16px; }
.desk-notes b { color: var(--text); }

/* spec sheet */
.spec { max-width: 1280px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.spec div { display: grid; grid-template-columns: 9rem 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule); }
.spec dt { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.spec dd { margin: 0; color: var(--text-2); font-size: 16px; }

/* beta */
.beta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 170px) clamp(20px, 5vw, 72px); }
.beta-in { max-width: 1280px; margin: 0 auto; }
.beta h2 { max-width: 16ch; }
.beta .body { color: #c7d0ea; margin-bottom: 34px; }

.foot { padding: 48px clamp(20px, 5vw, 72px) 64px; color: var(--text-2); font-size: 13px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1280px; margin: 0 auto 18px; }
.legal { max-width: 1280px; margin: 0 auto; line-height: 1.7; }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav .brand { margin-right: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .tilt-right img { transform: rotateY(-8deg); }
  .row { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .row.head { display: none; }
  .row .tool { grid-column: 1 / -1; }
  .desk-notes, .spec { grid-template-columns: 1fr; }
  .pin { display: none; }
  .hero-copy { width: 100%; padding-top: 120px; flex: none; }
  .stage { position: relative; top: auto; right: auto; height: 62vw; }
  .stage { width: 100%; margin: 40px 0 0; }
  .rig { transform: rotateY(calc(-10deg + var(--ry, 0deg))) rotateX(calc(8deg + var(--rx, 0deg))); }
  .pane-desk { display: none; }
  .pane-app { width: 76%; left: 24%; top: 4%; }
  .pane-phone { width: 28%; left: 3%; top: 10%; transform: translateZ(60px); }
  .hero::before { background: linear-gradient(180deg, rgba(10,20,51,.9) 0%, rgba(10,20,51,.82) 55%, rgba(10,20,51,.2) 100%); }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .tape-note { display: none; }
}
.status { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(94,234,212,.14); color: var(--mint); font-size: 14px; font-weight: 500; }
