/* Quanta Equity brand — navy + gold / cream */
:root {
  --bg: #0a1628;
  --bg2: #0f1f35;
  --card: #12233b;
  --border: #243a58;
  --text: #f2ebe0;
  --muted: #a8b4c8;
  --accent: #c4a265; /* gold */
  --accent-soft: #d4bc8a;
  --accent2: #e8dcc8; /* cream highlight */
  --warn: #e0a85c;
  --ok: #8fbc8f;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}
a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Holders app entry from marketing nav */
.nav a.nav-app {
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(196, 162, 101, 0.45);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a.nav-app:hover {
  background: rgba(196, 162, 101, 0.12);
  color: var(--accent-soft);
  text-decoration: none;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--accent);
  color: var(--accent-soft) !important;
  background: transparent;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-app:hover {
  background: rgba(196, 162, 101, 0.14);
  color: var(--text) !important;
}

.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 22, 40, 0.9);
  border-bottom: 1px solid var(--border);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 5.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
  max-width: min(420px, 70vw);
}
.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
  max-width: 22rem;
  line-height: 1.35;
}
@media (min-width: 520px) {
  .brand img {
    height: 96px;
    max-width: min(640px, 70vw);
  }
  /* Full wordmark logo is self-sufficient */
  .brand-text {
    display: none;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  font-size: 0.88rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--accent-soft);
}
.nav .lang {
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}
.nav .lang:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 15% -5%, rgba(196, 162, 101, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 95% 0%, rgba(36, 58, 88, 0.5), transparent);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  max-width: min(100%, 52rem);
  color: var(--text);
  font-weight: 650;
}

@media (min-width: 720px) {
  .hero h1 {
    max-width: min(100%, 56rem);
  }
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  max-width: min(100%, 48rem);
  margin: 0 0 1.75rem;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #0a1628;
}
.btn-primary:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #0a1628;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  text-decoration: none;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pills li {
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* Sections */
section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text);
  font-weight: 650;
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.list-check,
.list-cross {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-check li,
.list-cross li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.list-cross li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--warn);
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.step {
  display: flex;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.step .n {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(196, 162, 101, 0.18);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.step h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sec-lead {
  color: var(--muted);
  max-width: 60ch;
  margin: -0.5rem 0 1.25rem;
}

.two-col {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.two-col ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.two-col h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent);
}

.cta-block {
  background: linear-gradient(
    135deg,
    rgba(196, 162, 101, 0.12),
    rgba(18, 35, 59, 0.9)
  );
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  text-align: center;
}
.cta-block h2 {
  margin-bottom: 0.5rem;
}
.cta-block .sec-lead {
  margin: 0 auto 1.25rem;
}
.cta-block .hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}
footer p {
  margin: 0.35rem 0;
}
footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
footer .footer-brand img {
  height: 64px;
  width: auto;
  max-width: min(400px, 85vw);
  opacity: 0.95;
}

.mono {
  font-family: var(--mono);
  font-size: 0.85em;
}
