:root {
  --navy: #04060F;
  --navy-2: #121F52;
  --yellow: #FFFFFF;
  --yellow-soft: #DCE6FF;
  --blue: #3D8BE0;
  --ink: #0B1640;
  --text: #E9ECF7;
  --muted: #A9B1D1;
  --line: rgba(255, 255, 255, 0.10);
  --paper: #F7F8FC;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { width: 190px; }
.btn {
  display: inline-block;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--yellow-soft); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); background: transparent; }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(255, 194, 26, 0.18), transparent 65%);
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; line-height: 1.05; color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; max-width: 14ch; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin: 24px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* What we do */
.section { padding: 88px 0; background: var(--paper); color: var(--ink); }
.section h2 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 800; max-width: 20ch; }
.section .intro { color: #4A5378; font-size: 1.1rem; max-width: 60ch; margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar {
  background: #fff;
  border: 1px solid #E3E6F2;
  border-radius: 20px;
  padding: 28px;
}
.pillar .num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--yellow);
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
}
.pillar h3 { color: var(--ink); font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: #4A5378; }

/* Contact */
.contact { padding: 96px 0; text-align: center; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.contact p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 16px auto 32px; }
.contact .mail { display: block; margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--yellow); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 24px 96px; }
.legal .back { color: var(--muted); text-decoration: none; font-size: .95rem; }
.legal .back:hover { color: var(--yellow); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; margin: 24px 0 6px; }
.legal .date { color: var(--muted); margin-bottom: 32px; font-size: .95rem; }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 32px 0 8px; }
.legal p, .legal li { color: #CDD3EA; }
.legal ul { padding-left: 20px; margin-top: 8px; }
.legal a { color: var(--yellow); }

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .section, .contact { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .brand img { width: 150px; }
  .top .btn { padding: 10px 18px; font-size: .95rem; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* New brand mark (Higgsfield logo, black made transparent via luminance mask) */
.brand .mark { display: block; height: 34px; aspect-ratio: 1000 / 228; background: #fff;
  mask: url("/img/logo-group.png") center / contain no-repeat; mask-mode: luminance; }
.btn { font-family: "Inter Tight", "Inter", sans-serif; }

.legal a, .legal .back:hover, footer a:hover { color: #C3B8FF; }
.btn { color: #050816; }
