/* ===========================================================
   KeenDigital — corporate site styles
   =========================================================== */

:root {
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* brand constants */
  --blue: #2f6bf0;
  --blue-deep: #1d4fd0;
  --orange: #ff6a2b;
  --orange-deep: #f5511a;

  /* theme tokens — defaults = Light direction */
  --bg: #fbfbf8;
  --bg-soft: #f3f3ee;
  --surface: #ffffff;
  --surface-2: #f7f7f3;
  --ink: #0b1a3a;
  --ink-2: #34406a;
  --muted: #6b7290;
  --line: rgba(11, 26, 58, 0.12);
  --line-soft: rgba(11, 26, 58, 0.07);
  --shadow: 0 1px 2px rgba(11, 26, 58, 0.05), 0 18px 50px -28px rgba(11, 26, 58, 0.28);
  --shadow-lift: 0 2px 4px rgba(11, 26, 58, 0.06), 0 34px 70px -34px rgba(11, 26, 58, 0.4);

  /* accent (driven by data-accent) */
  --accent: var(--blue);
  --accent-grad: linear-gradient(110deg, var(--blue) 0%, #7b5be6 42%, var(--orange) 100%);
  --accent-soft: rgba(47, 107, 240, 0.1);

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- direction: Navy ---------- */
[data-theme="navy"] {
  --bg: #081330;
  --bg-soft: #0b1a3f;
  --surface: #0e2049;
  --surface-2: #0c1b3e;
  --ink: #eef3ff;
  --ink-2: #b9c6e8;
  --muted: #8595c0;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -34px rgba(0, 0, 0, 0.8);
  --accent-soft: rgba(47, 107, 240, 0.22);
}

/* ---------- direction: Ink (near-black) ---------- */
[data-theme="ink"] {
  --bg: #08080a;
  --bg-soft: #101013;
  --surface: #141418;
  --surface-2: #0f0f12;
  --ink: #f6f6f5;
  --ink-2: #c4c4c8;
  --muted: #8a8a92;
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.5), 0 40px 80px -34px rgba(0, 0, 0, 0.9);
  --accent-soft: rgba(47, 107, 240, 0.2);
}

/* ---------- accent variants ---------- */
[data-accent="orange"] {
  --accent: var(--orange);
  --accent-soft: rgba(255, 106, 43, 0.14);
}
[data-accent="gradient"] {
  --accent: var(--blue);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--display);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.accent-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-accent="blue"] .accent-text { background: none; color: var(--blue); -webkit-text-fill-color: var(--blue); }
[data-accent="orange"] .accent-text { background: none; color: var(--orange); -webkit-text-fill-color: var(--orange); }

/* ===========================================================
   buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-accent {
  color: #fff;
  background: var(--accent);
}
[data-accent="gradient"] .btn-accent { background: var(--accent-grad); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }

/* ===========================================================
   wordmark / spark
   =========================================================== */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 42px; width: auto; display: block; }
.footer-brand .brand-logo { height: 44px; }
[data-theme="navy"] .brand-logo,
[data-theme="ink"] .brand-logo { filter: brightness(0) invert(1); }
.spark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue) 0%, #6f5be8 48%, var(--orange) 100%);
  position: relative;
  flex: none;
  box-shadow: 0 6px 16px -6px rgba(47, 107, 240, 0.5);
}
.spark::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  -webkit-mask: var(--rocket) center / 14px 14px no-repeat;
  mask: var(--rocket) center / 14px 14px no-repeat;
}
:root {
  --rocket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2c3.6 1.7 6 5.4 6 9.7 0 1.8-.4 3.2-.9 4.3l-2.1-1.2v-2.6a3 3 0 1 0-6 0v2.6l-2.1 1.2c-.5-1.1-.9-2.5-.9-4.3C6 7.4 8.4 3.7 12 2Zm-2 18 2 2 2-2v-1.6l-2-1.2-2 1.2V20Z'/%3E%3C/svg%3E");
}
.wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.wordmark b { font-weight: 700; }
.wordmark span { color: var(--muted); font-weight: 600; }

/* ===========================================================
   nav
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ===========================================================
   hero
   =========================================================== */
.hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
[data-hero="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
[data-hero="centered"] .hero-visual { display: none; }
[data-hero="centered"] .hero-eyebrow,
[data-hero="centered"] .hero-actions { justify-content: center; }

.hero-eyebrow { display: inline-flex; margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  max-width: 30em;
  line-height: 1.55;
}
[data-hero="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* hero visual: orbiting spark */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orb {
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-grad);
  filter: blur(8px);
  opacity: 0.92;
  animation: float 9s ease-in-out infinite;
}
.orb-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.6), transparent 45%),
    var(--accent-grad);
  width: 78%; aspect-ratio: 1;
  margin: auto;
  inset: 0;
  box-shadow: 0 40px 90px -30px var(--blue);
  animation: float 9s ease-in-out infinite;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  inset: 0;
}
.ring.r1 { inset: -2%; }
.ring.r2 { inset: 12%; border-color: var(--line-soft); }
.chip {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip i { color: var(--accent); font-style: normal; }
.chip.c1 { top: 8%; left: -6%; animation-delay: -1s; }
.chip.c2 { top: 44%; right: -12%; animation-delay: -3s; }
.chip.c3 { bottom: 6%; left: 4%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===========================================================
   trust strip
   =========================================================== */
.trust {
  padding: 8px 0 64px;
}
.trust-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 54px;
  opacity: 0.85;
}
.trust-row span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color 0.2s ease;
}
.trust-row span:hover { color: var(--ink); }

/* ===========================================================
   section scaffolding
   =========================================================== */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.035em;
}
.section-head p {
  margin-top: 18px;
  font-size: 19px;
  color: var(--ink-2);
}

/* ===========================================================
   portfolio
   =========================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.product:hover::before { transform: scaleX(1); }
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.product-logo {
  height: 38px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.product-logo img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.product-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
[data-accent="gradient"] .product-icon { color: var(--blue); }
.product-icon svg { width: 22px; height: 22px; }
.product-idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.product h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.product h3 em { font-style: normal; color: var(--muted); font-weight: 600; }
.product-desc {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.product-tag {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-visit {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.2s ease;
}
.product-visit svg {
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.product:hover .product-visit { color: var(--accent); }
.product:hover .product-visit svg { opacity: 1; transform: translate(0, 0); }
.product-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--accent);
}
.product:hover .product-arrow { opacity: 1; transform: translateX(0); }

/* ===========================================================
   mission + stats
   =========================================================== */
.mission {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.035em;
}
.mission h2 .accent-text { display: inline; }
.mission p {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-2);
}
.mission p + p { margin-top: 16px; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 30px 28px;
}
.stat .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat .num .accent-text { display: inline; }
.stat .lbl {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===========================================================
   operating model
   =========================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pillar-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
[data-accent="gradient"] .pillar-num { color: var(--blue); }
.pillar h3 {
  margin-top: 16px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.pillar p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ===========================================================
   CTA band
   =========================================================== */
.cta {
  margin: 96px auto;
  max-width: var(--maxw);
  position: relative;
}
.cta-inner {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 72px 64px;
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--accent-grad);
  filter: blur(80px);
  opacity: 0.55;
  top: -180px; right: -120px;
  z-index: -1;
}
.cta-inner h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -0.04em;
  max-width: 16em;
}
.cta-inner p {
  margin-top: 20px;
  font-size: 19px;
  color: color-mix(in srgb, var(--bg) 78%, var(--muted));
  max-width: 34em;
}
.cta-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta .btn-primary { background: var(--bg); color: var(--ink); }
.cta .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.cta .btn-ghost:hover { border-color: var(--bg); background: color-mix(in srgb, var(--bg) 12%, transparent); }

/* ===========================================================
   footer
   =========================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
  max-width: 26em;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-soon { display: block; font-size: 15px; color: var(--muted); padding: 5px 0; }
.footer-bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-bottom .socials { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--ink); }

/* ===========================================================
   reveal animation
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }
.reveal[data-d="4"] { transition-delay: 0.24s; }
.reveal[data-d="5"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .orb-core, .chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   responsive
   =========================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 132px 0 64px; }
  .section-pad { padding: 72px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-inner { padding: 48px 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   sub-pages (Company, Careers, Investors, Contact, News, Legal)
   =========================================================== */
.page-hero {
  padding: 152px 0 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 16em;
}
.page-hero .lead {
  margin-top: 24px;
  max-width: 40em;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  line-height: 1.55;
}
.page-section { padding: 80px 0; }
.page-section.tight { padding: 56px 0; }
.page-section.alt { background: var(--bg-soft); }
.lede-2col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.lede-2col p { color: var(--ink-2); line-height: 1.7; font-size: 17.5px; }
.lede-2col p + p { margin-top: 18px; }

/* prose / legal */
.prose { max-width: 760px; }
.prose > h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 46px 0 14px;
  scroll-margin-top: 100px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; margin: 26px 0 8px; }
.prose p { color: var(--ink-2); line-height: 1.72; margin-bottom: 15px; font-size: 16.5px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); line-height: 1.72; font-size: 16.5px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
[data-accent="gradient"] .prose a { color: var(--blue); }
.legal-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal-cols {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.legal-toc a { color: var(--muted); transition: color 0.18s ease; }
.legal-toc a:hover { color: var(--ink); }

/* careers roles */
.roles { border-top: 1px solid var(--line); }
.role {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease, background 0.2s ease;
}
.role:hover { background: var(--surface-2); padding-left: 16px; padding-right: 16px; }
.role-info h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.role-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.role-arrow {
  margin-left: auto;
  color: var(--muted);
  flex: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.role:hover .role-arrow { color: var(--accent); transform: translateX(4px); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.value .vnum { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; }
[data-accent="gradient"] .value .vnum { color: var(--blue); }
.value h3 { font-size: 19px; margin: 14px 0 8px; letter-spacing: -0.02em; }
.value p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field input, .field textarea, .field select {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-family: var(--mono); font-weight: 600; }
.contact-card p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.contact-card a { color: var(--ink); font-weight: 500; }
.contact-card a:hover { color: var(--accent); }

/* newsroom */
.news-list { margin-top: 8px; }
.news-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 30px;
  align-items: baseline;
  padding: 28px 6px;
  border-top: 1px solid var(--line);
  transition: padding 0.2s ease, background 0.2s ease;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:hover { background: var(--surface-2); padding-left: 16px; padding-right: 16px; }
.news-date { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.news-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.news-body p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 46em; }
.news-cat {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  white-space: nowrap;
}
[data-accent="gradient"] .news-cat { color: var(--blue); }

/* simple link back / breadcrumb */
.eyebrow-link { color: var(--muted); transition: color 0.18s ease; }
.eyebrow-link:hover { color: var(--accent); }

.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.statband .stat { background: var(--surface); }

@media (max-width: 940px) {
  .lede-2col { grid-template-columns: 1fr; gap: 28px; }
  .legal-cols { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 124px 0 48px; }
  .page-section { padding: 56px 0; }
  .field-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-cat { order: -1; }
}
@media (max-width: 720px) {
  .statband { grid-template-columns: 1fr 1fr; }
}

@media (max-width:1120px){.nav-cta .btn-ghost{display:none}.nav-links{gap:22px}}
