:root {
  --bg: #f6f4f1;
  --bg-elev: #ffffff;
  --ink: #07131a;
  --ink-2: #243038;
  --muted: #5b6a71;
  --line: rgba(7, 19, 26, 0.1);
  --aqua: #1ec8c8;
  --aqua-deep: #0e8f8f;
  --coral: #ff4d2e;
  --coral-deep: #e03518;
  --void: #050b10;
  --void-2: #0c1820;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only, .honeypot {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 244, 241, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 244, 241, 0.94);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; font-family: var(--font-display); font-weight: 800;
  letter-spacing: -.03em;
}
.brand img { border-radius: .85rem; }
.brand-text { font-size: 1.2rem; }
.nav { margin-left: auto; display: flex; gap: 1.4rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: .55rem; }
.nav-toggle {
  display: none; margin-left: auto; border: 0; background: transparent; width: 2.5rem; height: 2.5rem;
}
.nav-toggle span {
  display: block; width: 1.3rem; height: 2px; margin: .35rem auto; background: var(--ink);
}
.nav-mobile {
  display: none; flex-direction: column; gap: .9rem;
  padding: .5rem 1.25rem 1.25rem; border-top: 1px solid var(--line);
}
.nav-mobile:not([hidden]) { display: flex; }
.nav-mobile a { text-decoration: none; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: .7rem 1.25rem; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;   font-weight: 700;
  font-size: .95rem; cursor: pointer;
  transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 2.4rem; padding: .45rem 1rem; font-size: .88rem; }
.btn-lg { min-height: 3.25rem; padding: .85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-ink {
  color: var(--ink); border-color: var(--line); background: transparent;
}
.btn-ghost-ink:hover { background: rgba(7,19,26,.04); }

/* Hero — full composition */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  background: var(--void);
  color: #fff;
  overflow: hidden;
}
.hero-atmosphere {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 40%, rgba(30,200,200,.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(255,77,46,.14), transparent 55%),
    linear-gradient(165deg, #050b10 0%, #0a151c 45%, #071a1c 100%);
}
.hero-atmosphere::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-stage {
  position: relative; z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 5rem;
}
.brand-display {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.2rem);
  letter-spacing: -.05em;
  line-height: .9;
  background: linear-gradient(120deg, #fff 30%, #7ee8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise .9s var(--ease) both;
}
.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  animation: rise .9s var(--ease) .06s both;
}
.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  animation: rise .9s var(--ease) .12s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2rem;
  animation: rise .9s var(--ease) .18s both;
}

.hero-canvas-wrap {
  position: relative;
  height: min(58vh, 540px);
  min-height: 380px;
  touch-action: none;
  animation: float-in 1.1s var(--ease) .15s both;
}
.hero-canvas-wrap canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .5s; cursor: grab; z-index: 2;
}
.hero-canvas-wrap canvas.is-active { opacity: 1; }
.hero-canvas-wrap canvas:active { cursor: grabbing; }

.hero-fallback {
  position: absolute; inset: 0; display: none; place-items: center; z-index: 1;
}
.hero-fallback.is-visible { display: grid; }
.fallback-card {
  width: min(100%, 360px);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
  transform: rotate(2deg);
}
.fallback-card header {
  display: flex; gap: .85rem; align-items: center;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(90deg, #e8f7f7, #fff);
  border-bottom: 1px solid var(--line);
}
.fallback-card header img { border-radius: .7rem; }
.fallback-card header strong { display: block; font-family: var(--font-display); }
.fallback-card header span { color: var(--muted); font-size: .85rem; }
.fallback-card dl { margin: 0; padding: .4rem 1.25rem 1rem; }
.fallback-card dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.fallback-card dt { color: var(--muted); }
.fallback-card dd { margin: 0; font-weight: 700; }
.fallback-card .ok { color: var(--aqua-deep); }
.fallback-card footer {
  display: flex; gap: .45rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; background: #f0f3f2;
}
.fallback-card footer span {
  font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.hero-hint {
  position: absolute; left: 50%; bottom: .5rem; transform: translateX(-50%);
  z-index: 3; margin: 0; padding: .4rem .85rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
  color: rgba(255,255,255,.8); background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12); opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.hero-hint.is-visible { opacity: 1; }
.hero-hint.is-fading { opacity: 0; }

/* Marquee */
.marquee {
  overflow: hidden; background: var(--ink); color: rgba(255,255,255,.55);
  border-block: 1px solid rgba(255,255,255,.06);
  padding: .9rem 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; white-space: nowrap;
}
.marquee-track span { padding-right: 2rem; }

/* Sections */
.section { padding: 6rem 0; }
.section-dark {
  background: var(--void);
  color: #fff;
}
.section-head {
  max-width: none;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  max-width: 22rem;
}
.kicker {
  margin: 0 0 .75rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.kicker-light { color: var(--aqua); }
.section h2, .section-head h2, .dual h2, .software-layout h2, .contact-copy h2, .cta-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}
.lead-light { color: rgba(255,255,255,.72); max-width: 34rem; font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.feature-card p:last-child {
  margin: 0;
  color: var(--muted);
  margin-top: auto;
}
.bento-label {
  margin: 0;
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.feature-summary {
  margin: 1rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 1.02rem;
  display: grid;
  gap: .45rem;
}

.software-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.steps li {
  padding: 1.25rem 0 1.25rem 1.15rem;
  border-left: 2px solid rgba(30,200,200,.55);
}
.steps strong {
  display: block; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .3rem;
}
.steps span { color: rgba(255,255,255,.68); }

.dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.dual article {
  padding: 2rem;
  border-radius: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.dual p:last-child { color: var(--muted); margin: 1rem 0 0; }

.section-cta { padding-top: 2rem; }
.cta-panel {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(30,200,200,.18), transparent 60%),
    #fff;
  border: 1px solid var(--line);
}
.cta-mark { margin: 0 auto 1.25rem; border-radius: .9rem; }
.cta-panel h2 { max-width: 18ch; margin-inline: auto; }
.cta-panel .hero-actions { justify-content: center; }

.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start;
}
.contact-copy > p:not(.kicker) { color: var(--muted); max-width: 30rem; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list span {
  display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .2rem;
}
.contact-list a {
  font-weight: 800; font-size: 1.15rem; text-decoration: none;
}
.contact-list a:hover { color: var(--aqua-deep); }

.form {
  display: grid; gap: .85rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(7,19,26,.05);
}
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; }
.form-error {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 77, 46, 0.1);
  border: 1px solid rgba(255, 77, 46, 0.35);
  color: var(--coral-deep);
  font-size: .92rem;
}
.form-error a { color: inherit; font-weight: 800; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem .95rem; font: inherit; background: var(--bg); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid rgba(30,200,200,.35); border-color: var(--aqua); background: #fff;
}

.footer {
  padding: 2rem 0 2.5rem;
  background: var(--void); color: rgba(255,255,255,.55);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer .brand-text { color: #fff; }
.footer p { margin: 0; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: .85rem 1.25rem;
  justify-content: center;
}
.footer-links a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.62);
  transition: color .2s;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #fff;
}

/* Legal / compliance pages */
.legal-hero {
  background: var(--void);
  color: #fff;
  padding: 4.5rem 0 3.25rem;
}
.legal-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.legal-meta {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.68);
  max-width: 42rem;
  font-size: .98rem;
}
.legal-section { padding-top: 3rem; }
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.legal-toc nav {
  display: grid;
  gap: .55rem;
}
.legal-toc nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.legal-toc nav a:hover { color: var(--ink); }
.legal-toc-links {
  display: grid;
  gap: .4rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.legal-toc-links a {
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  color: var(--aqua-deep);
}
.legal-doc {
  max-width: 48rem;
}
.legal-doc h2 {
  margin: 2.25rem 0 .85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -.02em;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  margin: 1.35rem 0 .5rem;
  font-size: 1.05rem;
}
.legal-doc p, .legal-doc li {
  color: var(--ink-2);
}
.legal-doc ul, .legal-doc ol {
  padding-left: 1.2rem;
}
.legal-doc li + li { margin-top: .35rem; }
.legal-doc a { color: var(--aqua-deep); font-weight: 700; }
.legal-doc code {
  font-size: .9em;
  padding: .1rem .35rem;
  border-radius: 6px;
  background: rgba(7,19,26,.06);
}
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.legal-doc th, .legal-doc td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-doc th {
  background: #f0f3f2;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.legal-cta > p {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: inline-block; }
  .hero-stage, .feature-grid, .software-layout, .dual, .contact, .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc { position: static; }
  .hero-stage { padding: 3rem 0 4rem; gap: 2.5rem; }
  .hero { min-height: auto; }
  .hero h1 { max-width: none; }
  .fallback-card { transform: none; }
  .footer-row { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .shell, .hero-stage { width: min(1180px, calc(100% - 1.4rem)); }
  .section { padding: 4.25rem 0; }
}
