:root {
  --bg: #02050d;
  --bg-soft: #061021;
  --panel: rgba(8, 18, 36, 0.82);
  --panel-strong: #071123;
  --border: rgba(132, 166, 226, 0.18);
  --border-bright: rgba(53, 125, 255, 0.45);
  --text: #f7f9ff;
  --muted: #9eabc4;
  --blue: #2379ff;
  --blue-bright: #4b9cff;
  --gold: #ffad0f;
  --green: #16d98b;
  --shadow: 0 24px 90px rgba(0, 51, 153, 0.22);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 2%, rgba(35,121,255,.14), transparent 30rem),
    radial-gradient(circle at 8% 26%, rgba(255,173,15,.06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }
.shell { width: var(--shell); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(2, 5, 13, 0.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav-wrap { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { font-family: Manrope, sans-serif; letter-spacing: .04em; font-weight: 800; font-size: 1.02rem; }
.brand-name strong { color: var(--gold); }
.brand-tagline { color: var(--blue-bright); font-size: .74rem; margin-top: 5px; }
.primary-nav { justify-self: center; display: flex; gap: 26px; }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid rgba(98, 155, 255, .75); border-radius: 12px; background: linear-gradient(135deg, #1e63ff, #368cff); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 12px 36px rgba(35, 121, 255, .27); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(35, 121, 255, .36); }
.button-small { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.button-secondary { background: rgba(6, 16, 33, .66); border-color: var(--border-bright); box-shadow: none; }
.button-secondary:hover { border-color: var(--gold); }
.section { position: relative; padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, rgba(6,16,33,.68), rgba(2,5,13,.1)); border-block: 1px solid rgba(132, 166, 226, .09); }
.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; padding-top: 76px; overflow: hidden; }
.hero-backdrop { position: absolute; inset: auto 0 0; height: 70%; background: url("../assets/background-wave.png") center bottom / cover no-repeat; opacity: .28; mask-image: linear-gradient(to bottom, transparent, black 28%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--blue-bright); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
h1 { max-width: 760px; font-size: clamp(3.25rem, 6.2vw, 6.4rem); margin-bottom: 24px; }
h1 span { display: block; color: var(--blue-bright); text-shadow: 0 0 42px rgba(35, 121, 255, .22); }
.hero-lede { max-width: 660px; margin: 0 0 32px; color: #c8d0e0; font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-pillars { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-pillars article { border-top: 1px solid var(--border); padding-top: 18px; }
.hero-pillars h2 { font-size: .95rem; margin-bottom: 6px; }
.hero-pillars p { margin: 0; color: var(--muted); font-size: .84rem; }
.pillar-icon { display: inline-flex; margin-bottom: 12px; font-family: Manrope, sans-serif; font-weight: 800; font-size: .72rem; }
.pillar-icon.blue { color: var(--blue-bright); }
.pillar-icon.gold { color: var(--gold); }
.pillar-icon.green { color: var(--green); }
.hero-visual { position: relative; z-index: 2; filter: drop-shadow(0 28px 80px rgba(0, 50, 140, .26)); }
.hero-visual img { width: 100%; border-radius: 28px; border: 1px solid rgba(132, 166, 226, .12); }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .split-copy h2, .feature-panel h2, .closing h2 { font-size: clamp(2.25rem, 4vw, 4rem); margin-bottom: 20px; }
.section-heading > p:last-child, .split-copy p, .feature-panel p, .closing p { color: var(--muted); font-size: 1.04rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process-grid article, .insight-grid article, .feature-panel { background: linear-gradient(180deg, rgba(11, 25, 49, .9), rgba(4, 11, 24, .88)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.process-grid article { padding: 26px; }
.process-grid span { color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: .76rem; }
.process-grid h3 { font-size: 1.16rem; margin: 14px 0 10px; }
.process-grid p { color: var(--muted); margin: 0; font-size: .91rem; }
.section-note, .center-note, .section-tagline { max-width: 880px; margin: 34px auto 0; text-align: center; color: #c5cede; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split-copy blockquote { margin: 28px 0; color: var(--gold); font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.15; }
.visual-card { background: rgba(6, 16, 33, .6); border: 1px solid var(--border); border-radius: 28px; padding: 14px; box-shadow: var(--shadow); overflow: hidden; }
.visual-card img { width: 100%; border-radius: 20px; }
.insight-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.insight-grid article { padding: 24px 20px; }
.insight-grid h3 { font-size: 1.05rem; margin-bottom: 10px; }
.insight-grid p { color: var(--muted); margin: 0; font-size: .88rem; }
.principle { margin-top: 24px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: center; padding: 28px 30px; border: 1px solid rgba(35,121,255,.42); background: linear-gradient(90deg, rgba(35,121,255,.14), rgba(6,16,33,.72)); border-radius: var(--radius); }
.principle h3 { margin: 0; font-size: 1.5rem; color: var(--blue-bright); }
.principle p:last-child { margin: 0; color: #c7d0e2; }
.wide-visual { max-width: 1120px; margin: 0 auto; }
.two-card-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.feature-panel { padding: 36px; }
.feature-panel h2 span { color: var(--blue-bright); }
.integration-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.integration-row span { padding: 9px 12px; border: 1px solid var(--border); border-radius: 999px; color: #c9d1e0; font-size: .82rem; }
.privacy-panel { display: grid; grid-template-columns: 1fr .92fr; gap: 24px; align-items: center; }
.privacy-panel img { width: 100%; border-radius: 18px; }
.closing { padding-top: 50px; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 42px; border-radius: 28px; border: 1px solid rgba(35,121,255,.32); background: radial-gradient(circle at 85% 20%, rgba(35,121,255,.2), transparent 24rem), linear-gradient(135deg, rgba(11,25,49,.92), rgba(4,11,24,.94)); }
.closing h2 { margin-bottom: 0; }
.site-footer { margin-top: 90px; padding: 48px 0; background: #000; border-top: 1px solid rgba(255,173,15,.2); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 38px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.footer-icon { width: 86px; height: auto; flex: 0 0 auto; }
.footer-wordmark { max-width: 430px; width: 100%; height: auto; }
.footer-copy p { color: var(--muted); margin: 4px 0; font-size: .9rem; }
@media (max-width: 1040px) {
  .header-cta { display: none; }
  .nav-wrap { grid-template-columns: auto 1fr; }
  .hero-grid, .split, .two-card-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 900px; margin-inline: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid article:last-child { grid-column: 1 / -1; }
  .privacy-panel { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-inner .button { justify-self: center; }
}
@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 680px); }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 72px; grid-template-columns: 1fr auto; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: .92rem; }
  .brand-tagline { font-size: .68rem; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: rgba(6,16,33,.72); }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: white; }
  .primary-nav { display: none; position: absolute; left: 14px; right: 14px; top: 78px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(3,8,18,.97); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 8px; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-pillars { grid-template-columns: 1fr; margin-top: 34px; }
  .hero-pillars article { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
  .hero-pillars .pillar-icon { grid-row: 1 / 3; }
  .hero-pillars h2, .hero-pillars p { margin: 0; }
  .hero-visual picture img { border-radius: 22px; max-height: 860px; object-fit: cover; object-position: top; }
  .section-heading { text-align: left; margin-bottom: 32px; }
  .process-grid, .insight-grid { grid-template-columns: 1fr; }
  .insight-grid article:last-child { grid-column: auto; }
  .principle { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; }
  .closing-inner { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .footer-brand { flex-direction: column; }
  .footer-icon { width: 74px; }
  .footer-wordmark { max-width: 330px; }
}
@media (max-width: 480px) {
  .button-row { display: grid; }
  .button { width: 100%; }
  .process-grid article, .feature-panel { padding: 24px 20px; }
  .visual-card { border-radius: 20px; padding: 8px; }
  .visual-card img { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Final branded CTA treatment */
.button.button-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 9px 18px;
  border: 1px solid rgba(150, 164, 188, 0.34);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(44, 50, 63, 0.98), rgba(25, 31, 43, 0.98));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
  white-space: nowrap;
}
.button.button-brand:hover,
.button.button-brand:focus-visible {
  border-color: rgba(214, 222, 236, 0.62);
  background: linear-gradient(180deg, rgba(55, 63, 79, 0.98), rgba(31, 38, 52, 0.98));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.24);
}
.button.button-brand .button-action {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 700;
}
.button-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}
.button-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
.button-moderis,
.button-ai {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.button-moderis { color: #ffffff; }
.button-ai { color: #f0a11a; }
.button.button-secondary.button-brand {
  background: rgba(9, 15, 27, 0.92);
  border-color: rgba(83, 105, 148, 0.48);
}
.button.button-small.button-brand {
  min-height: 46px;
  padding: 7px 14px;
  gap: 11px;
}
.button.button-small.button-brand .button-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}
.button.button-small.button-brand .button-moderis,
.button.button-small.button-brand .button-ai { font-size: 0.94rem; }

/* Keep generated artwork at its natural proportions */
.hero-visual img,
.visual-card img,
.privacy-panel img {
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
.hero-visual { filter: drop-shadow(0 12px 30px rgba(0, 45, 125, 0.13)); }
.hero-backdrop { opacity: 0.18; }

@media (max-width: 760px) {
  .button.button-brand {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}


/* Closing statement */
.closing-inner {
  display: block;
}
.closing-inner > div {
  width: 100%;
}
.closing h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
}
@media (max-width: 760px) {
  .closing h2 {
    white-space: normal;
  }
}
