@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }

/* Sunset brand kit v2.0: Night and Ivory with amber, orange and ember accents. */
:root {
  --night: #07121E;
  --ivory: #FFF3E3;
  --amber: #FFB347;
  --orange: #FF851B;
  --ember: #E9512B;
  --sunset: linear-gradient(90deg, var(--amber), var(--orange) 55%, var(--ember));
  --bg: var(--night);
  --fg: var(--ivory);
  --muted: #AAB0B6;
  --dim: #707880;
  --line: rgba(255, 243, 227, 0.12);
  --card: rgba(255, 243, 227, 0.03);
  --accent: var(--amber);
  --sbx: #f2b452;
  --tf-a: #8b5cf6;
  --tf-b: #ec4899;
  --fl: #3DDC97;
}

* { box-sizing: border-box; }

html, body { margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Only Light, Regular and Medium are loaded; keep "bold" text on Medium instead of a faux bold. */
strong, b, th, summary { font-weight: 500; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

/* Lockup: the full mark (56px, above the 48px minimum) plus live Inter Light text; 16% clear space around the mark. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
}
.brand img { display: block; width: 56px; height: auto; }
.brand:hover { text-decoration: none; }

.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

main { flex: 1; }

.hero { padding: 96px 0 72px; max-width: 780px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 300;
}
/* Trademark mark after the tagline: small and raised so it never changes the line height. */
h1 .tm { font-size: 0.4em; line-height: 0; vertical-align: 1.2em; letter-spacing: 0; margin-left: 0.04em; }
.grad {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  max-width: 680px;
}

/* The two company boxes. */
.companies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 72px;
}

.co {
  --c1: var(--accent);
  --c2: var(--accent);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(140deg, color-mix(in srgb, var(--c1) 55%, transparent), var(--line) 40%, var(--line) 65%, color-mix(in srgb, var(--c2) 45%, transparent)) border-box;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.co:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--c1) 45%, transparent);
}
.co-sbx { --c1: var(--sbx); --c2: #eeece7; }
.co-tf { --c1: var(--tf-a); --c2: var(--tf-b); }
.co-fl { --c1: var(--fl); --c2: #E8EEF4; }

.co-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 22%, transparent), transparent 65%);
  pointer-events: none;
  transition: opacity 0.25s ease;
  opacity: 0.8;
}
.co:hover .co-glow { opacity: 1; }
.co > :not(.co-glow) { position: relative; }

.co-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.co-logo { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--c1) 60%, transparent); }
.co-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.co-name { margin: 0; font-size: 2.1rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 300; }
.co-line {
  margin: 6px 0 14px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.co-desc { margin: 0 0 20px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #DCD4C9;
  font-size: 0.82rem;
}

.co-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  color: var(--night);
  font-weight: 500;
}
.co-tf .btn { color: #fff; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

.x-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.x-link svg { width: 15px; height: 15px; fill: currentColor; }
.x-link:hover { color: var(--fg); text-decoration: none; }

/* Learn more (links to the content pages). */
.learn { padding-bottom: 64px; }
.learn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.learn-grid > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.learn h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 400; }
.learn ul { margin: 0; padding: 0; list-style: none; }
.learn li { margin: 6px 0; }
@media (max-width: 1040px) { .companies, .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .learn-grid { grid-template-columns: 1fr; } }

/* Follow on X. */
.section-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.follow { padding-bottom: 64px; }
.follow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.handle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--fg);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.handle:hover { text-decoration: none; border-color: rgba(255, 243, 227, 0.3); background: rgba(255, 243, 227, 0.05); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.avatar-jon { border-radius: 50%; object-fit: cover; }
.handle-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.handle-text span { color: var(--muted); font-size: 0.88rem; }
.handle-arrow { margin-left: auto; color: var(--dim); font-size: 1.1rem; }
.handle:hover .handle-arrow { color: var(--fg); }

/* Contact. */
.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.contact p { margin: 0; font-size: 1.05rem; }
.contact address { font-style: normal; color: var(--muted); }

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 24px;
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--fg); text-decoration: none; }
.footer-legal { grid-column: 1 / -1; color: var(--dim); font-size: 0.85rem; }

@media (max-width: 900px) {
  .follow-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 48px 0 44px; }
  .companies { grid-template-columns: 1fr; padding-bottom: 48px; }
  .co { padding: 24px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(:last-child) { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .co, .co-glow, .handle { transition: none; }
  .co:hover { transform: none; }
}

/* Cookie choice banner (EEA, UK and Switzerland only; see /gtag-init.js). */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1a28;
  color: var(--fg);
  font-size: 0.95rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; }
.consent .btn { --c1: var(--amber); --c2: var(--ember); padding: 8px 16px; border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.consent .btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
/* Early-access tag on the Flagger card (Sandboxer and Transformer are Live). */
.co-tag-soon { border-color: rgba(245, 196, 81, 0.35); background: rgba(245, 196, 81, 0.08); color: #F5C451; }
/* Flagger.gg wordmark rule (brand kit 24d79e7): ".gg" in the same weight, muted grey on dark backgrounds. */
.co-tld { color: #A1A1A8; }
