/* Bryma — Design System */
:root {
  --navy: #222A68;
  --navy-900: #19224F;
  --violet: #574AE2;
  --violet-soft: #EEEBFB;
  --ink: #19171c;
  --ink-60: #5b5963;
  --ink-40: #8b8a92;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FC;
  --line: #E8EAF2;
  --line-soft: #EFF1F7;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(25,23,28,.04), 0 0 0 1px rgba(25,23,28,.04);
  --shadow-md: 0 12px 32px -16px rgba(34,42,104,.18), 0 2px 6px rgba(25,23,28,.04);
  --shadow-lg: 0 30px 80px -30px rgba(34,42,104,.28), 0 8px 20px -12px rgba(25,23,28,.08);
  --maxw: 1240px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* Type system */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--violet);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--violet);
  border-radius: 2px;
  display: inline-block;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-section {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h-sub {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 58ch;
  text-wrap: pretty;
}
.dot { color: var(--violet); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-900); transform: translateY(-1px); }
.btn-primary .arrow {
  width: 16px; height: 16px; display: inline-block;
  background: var(--violet);
  border-radius: 4px;
  position: relative;
}
.btn-primary .arrow::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M5 11l6-6M6 5h5v5' stroke='white' stroke-width='1.6' stroke-linecap='round'/></svg>") no-repeat center / 12px;
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-link {
  padding: 0;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--violet); border-color: var(--violet); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-60);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-alt); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1180px) { .nav-links a { padding: 8px 10px; font-size: 13px; } }
@media (max-width: 1024px) { .nav-links { display: none; } }
@media (max-width: 640px) { .nav-cta .btn-ghost { display: none; } }
