:root {
  --ink: #0e1726;
  --ink-2: #1b2638;
  --text: #1a2233;
  --muted: #5b6577;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --card: #ffffff;
  --border: #e3e6ec;
  --amber: #ffb547;
  --coral: #ff6b3d;
  --grad: linear-gradient(90deg, var(--amber), var(--coral));
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8ecf3;
    --muted: #9aa5b8;
    --bg: #0b1220;
    --bg-alt: #0f1828;
    --card: #121c2e;
    --border: #22304a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; letter-spacing: -0.01em; }
.wordmark b { font-weight: 700; }
nav { display: flex; gap: 28px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, #1f3150 0%, transparent 60%), var(--ink);
  color: #fff;
  padding: 112px 0 124px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 5.5vw, 62px); line-height: 1.05; letter-spacing: -0.025em; margin: 14px 0 20px; max-width: 14ch; }
.lede { font-size: 19px; color: #c5cedd; max-width: 56ch; margin: 0 0 32px; }
.lede.small { font-size: 17px; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.beam {
  position: absolute; right: -12%; top: 78%;
  width: 52%; height: 6px; border-radius: 6px;
  background: var(--grad);
  transform: rotate(-24deg);
  box-shadow: 0 0 40px 6px rgba(255, 140, 70, 0.45), 0 0 120px 30px rgba(255, 140, 70, 0.15);
  opacity: 0.9;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--grad); color: #1a1206; }
.btn.ghost { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.big { height: 56px; font-size: 17px; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 40px; max-width: 24ch; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.brand-logo { height: 72px; display: flex; align-items: center; margin-bottom: 16px; }
.brand-logo img { height: 44px; width: auto; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) { .on-light { display: none; } .on-dark { display: block; } }
.brand-logo.placeholder { gap: 8px; }
.brand-logo.placeholder span { width: 44px; height: 44px; border-radius: 10px; border: 2px dashed var(--border); }
.link { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--coral); }
.link:hover { text-decoration: underline; }
.tag { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { border-top: 2px solid var(--border); padding-top: 20px; }
.pillar p { color: var(--muted); margin: 0; }
.num { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact h2 { margin-bottom: 12px; }
.contact .lede { margin-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  nav { gap: 16px; font-size: 14px; }
  .hero { padding: 72px 0 88px; }
  .cards, .pillars { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .beam { width: 110%; right: -40%; top: 78%; }
  .btn.big { font-size: 15px; height: 52px; }
}
@media (max-width: 420px) {
  .wordmark span { font-size: 17px; }
  nav a:first-child { display: none; }
}
