:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --ink: #1a212b;
  --ink-2: #3c4654;
  --muted: #69748a;
  --line: #e3e9f2;
  --line-strong: #d2dbe8;
  --red: #e6473c;
  --green: #3fae5a;
  --blue: #4d79bd;
  --brand: #3f6bc4;
  --brand-strong: #2f539c;
  --tri: linear-gradient(90deg, var(--red), var(--green) 50%, var(--blue));
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(24, 40, 72, 0.05);
  --shadow: 0 26px 60px -28px rgba(24, 40, 72, 0.32);
  --container: 1120px;
  --gold: #e9be63;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --worker-height: clamp(142px, 18vw, 250px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

/* Default arrow cursor everywhere; pointer only on things you can actually
   click. Text is not selectable anywhere on this marketing page. */
a[href],
button,
.btn {
  cursor: pointer;
}

/* Soft tri-color brand glow on a clean light field — no lines, no flat lime */
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(1100px 560px at 16% -10%, rgba(77, 121, 189, 0.16), transparent 60%),
    radial-gradient(880px 520px at 94% 2%, rgba(63, 174, 90, 0.11), transparent 58%),
    radial-gradient(760px 520px at 62% 112%, rgba(230, 71, 60, 0.07), transparent 62%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.75rem);
  background: rgba(246, 249, 253, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(210, 219, 232, 0.6);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: clamp(30px, 3.6vw, 42px);
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 3vw, 2rem);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(63, 107, 196, 0.7);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-strong);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover,
.btn-light:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.5);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(8rem, 22vh, 13rem);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(520px, 84vw);
  height: auto;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

/* Called-out tagline: gold display type on a darker tinted panel, framed by
   rules top and bottom, with the brand bar between the two lines. */
.hero-callout {
  margin: 0 0 clamp(1.6rem, 4vw, 2.4rem);
  padding: clamp(1.3rem, 3.2vw, 2.1rem) clamp(1.2rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 2px solid rgba(233, 190, 99, 0.55);
  border-bottom: 2px solid rgba(233, 190, 99, 0.55);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(28, 36, 52, 0.97), rgba(16, 21, 31, 0.97));
  box-shadow: 0 24px 60px -34px rgba(16, 21, 31, 0.6);
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: center;
}

.hero-tagline__line {
  display: block;
  background: linear-gradient(180deg, #f4d488 0%, #d9a23a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px #ffdf73;
  text-stroke: 1px #ffdf73;
}

.accent-rule {
  position: relative;
  display: block;
  width: clamp(216px, 34vw, 360px);
  height: 5px;
  margin: clamp(0.7rem, 1.6vw, 1.1rem) auto;
  border-radius: 999px;
  background: var(--tri);
}

/* Thin line the colour of the callout panel, centred on the brand bar and
   stretching across the viewport, fading out before each edge. */
.accent-rule::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent 0%, rgba(22, 28, 42, 0.92) 24%, rgba(22, 28, 42, 0.92) 76%, transparent 100%);
  z-index: -1;
}

.hero-lede {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin: clamp(2.6rem, 6vw, 3.6rem) 0 0;
  padding: 0;
}

.hero-stats div {
  text-align: left;
}

.hero-stats dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dt::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-stats div:nth-child(1) dt::before {
  background: var(--red);
}

.hero-stats div:nth-child(2) dt::before {
  background: var(--green);
}

.hero-stats div:nth-child(3) dt::before {
  background: var(--blue);
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Section shell ---------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
}

.section-head {
  max-width: 760px;
}

.section-head .section-title {
  max-width: 100%;
}

/* ---------- Company ---------- */
.company-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 3.5rem);
  margin-top: 2rem;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
}

.company-copy p {
  margin: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.value {
  --accent: var(--red);
  position: relative;
  padding: 1.7rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 280ms ease, background 280ms ease;
}

.value:nth-child(2) {
  --accent: var(--green);
}

.value:nth-child(3) {
  --accent: var(--blue);
}

/* On hover the brand bar sweeps across the top and the card takes on a faint
   accent wash — distinctive and on-brand, no generic lift-and-shadow. */
.value:hover,
.value:focus-within {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}

.value-mark {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  transition: width 380ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

.value:hover .value-mark,
.value:focus-within .value-mark {
  width: 100%;
}

.value h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  transition: color 280ms ease;
}

.value:hover h3,
.value:focus-within h3 {
  color: var(--accent);
}

.value p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Product showcase ---------- */
.showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(143, 178, 235, 0.30);
  border-radius: var(--radius-lg);
  color: #eef3fb;
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(77, 121, 189, 0.34), transparent 60%),
    radial-gradient(520px 380px at 4% 96%, rgba(63, 174, 90, 0.16), transparent 62%),
    linear-gradient(140deg, #1d2533 0%, #161b26 52%, #1a2740 100%);
  /* Light-blue rim so the panel reads as edge-lit rather than pasted on. */
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(190, 212, 248, 0.32),
    inset 0 0 0 1px rgba(120, 152, 214, 0.10);
}

.showcase-logo-wrap {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 1.8rem;
}

.showcase-logo {
  flex: 0 1 auto;
  min-width: 0;
  width: 620px;
  max-width: 100%;
  height: auto;
}

.showcase-logo-tm {
  flex: none;
  color: rgba(238, 243, 251, 0.82);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
}

.showcase .kicker {
  color: #9fc0ff;
}

.showcase-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.showcase p {
  margin: 0 0 1.1rem;
  color: rgba(232, 240, 252, 0.82);
  font-size: 1.06rem;
}

.showcase .btn {
  margin-top: 0.9rem;
}

.showcase-preview {
  margin: 0;
}

.showcase-preview img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, 0.7);
}

.showcase-preview figcaption {
  margin-top: 0.85rem;
  color: rgba(232, 240, 252, 0.62);
  font-size: 0.92rem;
}

/* ---------- Section divider (wavy plasma band) ---------- */
.divider {
  width: 100%;
  margin: 0;
  line-height: 0;
}

.divider-wave {
  display: block;
  width: 100%;
  height: clamp(200px, 24vw, 320px);
}

/* The wavy bands feather out at every edge, so neighbouring sections sit flush
   against them with no surrounding space — the waves bleed into the content. */
.hero:has(+ .divider) {
  padding-bottom: 0;
}

.divider + .section {
  padding-top: 0;
}

.section:has(+ .divider) {
  padding-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #12161f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  padding-bottom: calc(clamp(180px, 30vh, 330px) + env(safe-area-inset-bottom));
}

.footer-inner a {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #9fc0ff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-trademark { width: 100%; margin: 0; text-align: center;}

/* ===========================================================
   Worker animation system — DO NOT RESTYLE.
   Markup, classes, and the --worker-height variable above are
   required by worker-frames.js / script.js.
   =========================================================== */
.site-builder {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  height: clamp(170px, 28vh, 330px);
  overflow: hidden;
  pointer-events: none;
}

.site-builder__character {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--worker-height);
  height: var(--worker-height);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transform-origin: bottom center;
  transition: opacity 220ms ease;
  will-change: transform;
}

.site-builder__character.is-visible {
  opacity: 1;
}

.site-builder__sheet {
  display: block;
  max-width: none;
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  user-select: none;
  will-change: left, top;
}

.site-builder__debug,
.site-builder__debug-frame,
.site-builder__debug-anchor,
.site-builder__debug-baseline,
.site-builder__debug-dot,
.site-builder__debug-label {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.site-builder__debug {
  inset: 0;
}

.site-builder__debug-frame {
  border: 1px solid rgba(230, 71, 60, 0.92);
  background: rgba(230, 71, 60, 0.07);
}

.site-builder__debug-anchor {
  width: 1px;
  background: rgba(21, 108, 117, 0.92);
}

.site-builder__debug-baseline {
  height: 1px;
  background: rgba(240, 182, 41, 0.95);
}

.site-builder__debug-dot {
  width: 9px;
  height: 9px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #156c75;
  box-shadow: 0 0 0 1px rgba(21, 108, 117, 0.95);
  transform: translate(-50%, -50%);
}

.site-builder__debug-label {
  left: 0;
  top: 0;
  max-width: min(420px, 90vw);
  padding: 0.25rem 0.4rem;
  border: 1px solid rgba(31, 41, 38, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2926;
  font: 700 11px/1.25 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-preview {
    order: -1;
  }
}

@media (max-width: 820px) {
  :root {
    --worker-height: min(42dvh, clamp(124px, 40vw, 188px));
  }

  .site-header {
    align-items: center;
  }

  .company-copy,
  .values {
    grid-template-columns: 1fr;
  }

  .site-builder {
    height: 50dvh;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1.6rem));
  }

  .site-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 1.3rem 2rem;
  }
}
