/* Stealth startup — shared styles */

:root {
  --bg: #07080b;
  --bg-2: #0c0e14;
  --panel: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --ink: #eef1f7;
  --muted: #8c93a4;
  --faint: #565c6b;
  --accent: #7c9cff;
  --accent-2: #63e6c4;
  --glow: rgba(124, 156, 255, 0.35);
  --maxw: 1080px;
  --font: "Söhne", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, "Menlo", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Ambient background field */
.field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 78% -10%, rgba(124, 156, 255, 0.10), transparent 60%),
    radial-gradient(50vw 50vw at 10% 110%, rgba(99, 230, 196, 0.07), transparent 60%),
    var(--bg);
}
.field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
  opacity: 0.5;
  animation: drift 32s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 128px, 64px 128px; }
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 11, 0.55);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
}
.brand .mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.brand .mark svg { width: 26px; height: 26px; display: block; }
.brand .stealth {
  color: var(--faint);
  font-weight: 400;
  letter-spacing: 0.2em;
}
nav .links { display: flex; gap: 30px; align-items: center; }
nav .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
nav .links a:hover, nav .links a.active { color: var(--ink); }

/* Main */
main { flex: 1; }

.hero {
  padding: 120px 0 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 34px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-2);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(99, 230, 196, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(99, 230, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 230, 196, 0); }
}

h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 16ch;
  background: linear-gradient(180deg, #ffffff 30%, #a9b2c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 30px;
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.65;
}

.cta-row { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 12px;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}
.btn.primary {
  background: linear-gradient(120deg, var(--accent), #9d7cff);
  color: #0a0b10;
  box-shadow: 0 8px 30px -8px var(--glow);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--glow); }
.btn.ghost {
  background: var(--panel);
  border-color: var(--border);
  color: var(--ink);
}
.btn.ghost:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid var(--border); }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
  max-width: 20ch;
}
.section-lead { margin-top: 18px; color: var(--muted); max-width: 62ch; font-size: 17px; }

/* Cards */
.grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); background: rgba(255,255,255,0.05); }
.card .idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; }
.card h3 { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Feature list */
.principles { margin-top: 40px; display: flex; flex-direction: column; }
.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle .num { font-family: var(--mono); color: var(--faint); font-size: 14px; padding-top: 3px; }
.principle h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.principle p { margin-top: 8px; color: var(--muted); max-width: 64ch; }

/* Contact / partner */
.partner-panel {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(124,156,255,0.06), rgba(99,230,196,0.03));
}
.partner-panel .left { padding: 40px; border-right: 1px solid var(--border); }
.partner-panel .right { padding: 40px; }
.partner-panel h3 { font-size: 22px; letter-spacing: -0.01em; }
.partner-panel .fit { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.partner-panel .fit li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; align-items: flex-start; }
.partner-panel .fit li .check { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.contact-big {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-big:hover { border-color: var(--accent); color: var(--accent); }
.field-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.mt { margin-top: 26px; }

/* Coming soon strip */
.timeline { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.tl-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.tl-row:last-child { border-bottom: 1px solid var(--border); }
.tl-row .when { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.05em; }
.tl-row .what { color: var(--muted); }
.tl-row .what strong { color: var(--ink); font-weight: 600; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 10px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--faint);
  font-size: 13px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .dim { color: var(--faint); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
.reveal.d4 { animation-delay: 0.32s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .field::after { animation: none; }
  .eyebrow .dot { animation: none; }
}

@media (max-width: 720px) {
  nav .links { gap: 18px; }
  nav .links a.hide-sm { display: none; }
  .hero { padding: 80px 0 64px; }
  .partner-panel { grid-template-columns: 1fr; }
  .partner-panel .left { border-right: none; border-bottom: 1px solid var(--border); }
  .principle { grid-template-columns: 1fr; gap: 6px; }
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
}
