*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B1120;
  --bg-2: #0F172A;
  --bg-3: #1E293B;
  --bg-4: #273449;
  --text: #F1F5F9;
  --text-2: #94A3B8;
  --text-3: #8795AB;
  --accent: #2DD4BF;
  --accent-dim: rgba(45, 212, 191, 0.10);
  --accent-line: rgba(45, 212, 191, 0.22);
  --warn: #FBBF24;
  --danger: #F87171;
  --line: rgba(241, 245, 249, 0.07);
  --line-2: rgba(241, 245, 249, 0.13);
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: 3.5rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem var(--gutter);
  background: rgba(11, 17, 32, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.logo .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; display: inline-block; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--accent); color: var(--bg); padding: 0.5rem 1.2rem; border-radius: 100px;
  font-weight: 600; transition: opacity 0.2s, transform 0.15s;
}
.nav-links .nav-cta:hover { color: var(--bg); opacity: 0.88; transform: translateY(-1px); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: 100px; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-ghost { color: var(--text-2); border: 1px solid var(--line-2); font-weight: 500; }
.btn-ghost:hover { color: var(--text); border-color: var(--text-2); }

/* HERO */
.hero {
  min-height: 100vh; padding: 8rem var(--gutter) 5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; 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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 650px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.09) 0%, transparent 65%);
}
.tag {
  display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content;
  background: var(--accent-dim); border: 1px solid var(--accent-line); border-radius: 100px;
  padding: 0.3rem 0.9rem; font-size: 0.72rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.tag::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.hero .tag { margin-bottom: 2.5rem; position: relative; }
.hero-headline {
  font-family: var(--font-head); font-size: clamp(3rem, 8vw, 7.25rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.045em;
  max-width: 16ch; position: relative;
}
.hero-headline .hi { color: var(--accent); }
.hero-headline .out { -webkit-text-stroke: 1.5px rgba(241, 245, 249, 0.4); color: transparent; }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); position: relative;
}
.hero-sub { font-size: 1.0625rem; line-height: 1.65; color: var(--text-2); max-width: 42ch; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* TICKER */
.ticker { overflow: hidden; padding: 0.8rem 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ticker-inner { display: inline-block; white-space: nowrap; animation: ticker 36s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 1rem; margin-right: 1rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3);
}
.ticker-item .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* SECTIONS */
.section { padding: 6rem var(--gutter); border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 3rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::after { content: ''; height: 1px; width: 50px; background: var(--line-2); }
h2 {
  font-family: var(--font-head); font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
}
h2 em { font-style: normal; color: var(--accent); }

/* SERVICES */
.svc-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.svc-header h2 { max-width: 18ch; }
.svc-header p { font-size: 0.95rem; color: var(--text-2); max-width: 32ch; line-height: 1.65; text-align: right; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 2.5rem; position: relative; overflow: hidden; transition: background 0.3s; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:hover { background: var(--bg-2); }
.card:hover::before { transform: scaleX(1); }
.card-num { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 2rem; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border: 1px solid var(--accent-line); color: var(--accent);
}
.icon svg { width: 20px; height: 20px; }
.card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.875rem; line-height: 1.25; }
.card p { font-size: 0.925rem; line-height: 1.7; color: var(--text-2); }

/* NUMBERED STEPS */
.steps { display: flex; flex-direction: column; margin-bottom: 2.5rem; }
.step { display: grid; grid-template-columns: 1.75rem 1fr; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; padding-top: 0.2rem; }
.step-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.step-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* STATS */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--accent); }
.stat { padding: 2.5rem 2rem; border-right: 1px solid rgba(11, 17, 32, 0.14); display: flex; flex-direction: column; gap: 0.3rem; }
.stat:last-child { border-right: none; }
.stat:first-child { padding-left: var(--gutter); }
.stat-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--bg); letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(11, 17, 32, 0.72); font-weight: 500; }

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-left h2 { margin-bottom: 1.5rem; }
.why-left > p { color: var(--text-2); line-height: 1.7; margin-bottom: 2rem; }
.code {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 1.75rem;
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.75; overflow-x: auto;
}
.code-bar { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cdot { width: 10px; height: 10px; border-radius: 50%; }
.cr { background: #FF5F57; } .cy { background: #FEBC2E; } .cg { background: #28C840; }
.ctitle { font-family: var(--font-body); font-size: 0.72rem; color: var(--text-3); margin-left: auto; }
.code p { white-space: pre; }
.c-dim { color: #64748B; } .c-key { color: #7DD3FC; } .c-str { color: #FCD34D; } .c-acc { color: var(--accent); } .c-val { color: #C4B5FD; }
.cursor { display: inline-block; width: 2px; height: 0.9em; background: var(--accent); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.contact-left { padding: 6rem var(--gutter); background: var(--bg-2); border-right: 1px solid var(--line); }
.contact-left .eyebrow { margin-bottom: 2rem; }
.contact-left h2 { margin-bottom: 1.25rem; }
.contact-left > p { color: var(--text-2); line-height: 1.7; max-width: 40ch; margin-bottom: 2.25rem; }
.trust { display: flex; flex-direction: column; gap: 0.8rem; list-style: none; }
.trust li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-2); }
.trust li::before {
  content: '✓'; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700;
  background: var(--accent-dim); border: 1px solid var(--accent-line); color: var(--accent);
}
.contact-right { padding: 6rem var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.email-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 2rem; background: var(--bg); max-width: 520px; }
.email-label { font-size: 0.78rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.email-addr { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; word-break: break-all; }
.email-addr a { text-decoration: none; }
.email-addr a:hover { color: var(--accent); }
.email-hints { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; }
.email-hints li { font-size: 0.875rem; color: var(--text-2); padding-left: 1rem; position: relative; }
.email-hints li::before { content: '–'; position: absolute; left: 0; color: var(--text-3); }
.small-note { font-size: 0.8rem; color: var(--text-3); }

/* FOOTER */
footer {
  padding: 2rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a, .footer-copy { font-size: 0.82rem; color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* LEGAL PAGES */
.legal { max-width: 760px; margin: 0 auto; padding: 9rem 1.5rem 6rem; }
.legal .eyebrow { margin-bottom: 1.5rem; }
.legal h1 { font-family: var(--font-head); font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 1rem; }
.legal .updated { color: var(--text-3); font-size: 0.875rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.75rem 0 1rem; }
.legal h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 0.6rem; }
.legal p, .legal li { color: var(--text-2); font-size: 0.975rem; line-height: 1.75; }
.legal p + p { margin-top: 1rem; }
.legal ul { padding-left: 1.25rem; margin: 0.75rem 0 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); }
.legal .summary { border: 1px solid var(--accent-line); background: var(--accent-dim); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.legal .summary p { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem var(--gutter) 4rem; gap: 1.5rem; }
.notfound h1 { font-family: var(--font-head); font-size: clamp(3rem, 9vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.notfound p { color: var(--text-2); max-width: 44ch; }

/* ANIMATION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fu { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.22s; } .d3 { animation-delay: 0.36s; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fu, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .ticker-inner, .cursor { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  :root { --gutter: 1.5rem; }
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding-top: 7rem; padding-bottom: 4rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 4rem var(--gutter); }
  .svc-header { flex-direction: column; align-items: flex-start; }
  .svc-header p { text-align: left; max-width: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(odd) { padding-left: var(--gutter); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(11, 17, 32, 0.14); }
  .contact { grid-template-columns: 1fr; }
  .contact-left { padding: 4rem var(--gutter); border-right: none; border-bottom: 1px solid var(--line); }
  .contact-right { padding: 3rem var(--gutter) 4rem; }
  footer { flex-direction: column; align-items: flex-start; padding: 1.75rem var(--gutter); }
}
@media (max-width: 420px) {
  .card { padding: 2rem 1.5rem; }
  .stat { padding: 2rem 1.25rem; }
  .stat-num { font-size: 2rem; }
}
.legal code { font-family: var(--font-mono); font-size: 0.85em; color: var(--text); background: var(--bg-3); padding: 0.1em 0.35em; border-radius: 4px; }
