@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Manrope:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #06101d;
  --panel: rgba(10, 19, 33, 0.84);
  --line: rgba(150, 180, 255, 0.12);
  --line-strong: rgba(150, 180, 255, 0.24);
  --text: #eef4ff;
  --text-soft: #a6b6cf;
  --text-dim: #70839d;
  --accent: #85e2cc;
  --accent-bright: #d9fff2;
  --shadow: 0 30px 72px rgba(0, 0, 0, 0.34);
  --content-width: min(1440px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

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

figure {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(circle at 8% 14%, rgba(133, 226, 204, 0.12), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(140, 171, 255, 0.14), transparent 28%),
    radial-gradient(circle at 72% 72%, rgba(255, 155, 120, 0.08), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #08121f 52%, #040b14 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 36vw;
  height: 36vw;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.ambient-a {
  top: -4vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(133, 226, 204, 0.7), transparent 64%);
}

.ambient-b {
  left: -12vw;
  top: 44vh;
  background: radial-gradient(circle, rgba(140, 171, 255, 0.72), transparent 66%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(165, 190, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 190, 238, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 88%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
  padding: 20px 0 72px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), var(--accent-bright));
  color: #07111d;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(133, 226, 204, 0.22);
}

.brand-copy {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small {
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--text-soft);
  text-decoration: none;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 1.35rem;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

main {
  display: grid;
  gap: 44px;
}

main > section {
  position: relative;
  isolation: isolate;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 28px;
  min-height: calc(100vh - 160px);
  padding: 46px 0 8px;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.trust-copy h2 {
  margin: 0;
  font-family: "Raleway", "SF Pro Display", sans-serif;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(4rem, 7vw, 6.6rem);
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-bright));
  color: #07111d;
  box-shadow: 0 16px 30px rgba(133, 226, 204, 0.22);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-figure,
.showcase-media,
.wide-media,
.deployment-card,
.trust-band,
.story-card,
.workflow-card,
.mini-product {
  width: 100%;
}

.card-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(14, 24, 40, 0.94), rgba(8, 15, 25, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.card-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 24%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(133, 226, 204, 0.1), transparent 28%);
}

.hero-figure,
.showcase-media,
.wide-media {
  padding: 12px;
}

.hero-figure img,
.showcase-media img,
.wide-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-figure {
  max-width: 1320px;
  min-width: 0;
}

.signal-band {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.signal-band span,
.stack-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(150, 180, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.story-section,
.products-section,
.workflow-section,
.deployment-section {
  display: grid;
  gap: 24px;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.deployment-copy h2,
.trust-copy h2 {
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  text-transform: uppercase;
}

.story-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.story-card,
.workflow-card,
.mini-product,
.deployment-card {
  padding: 26px;
}

.story-card h3,
.workflow-card h3,
.mini-product h3,
.showcase-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-weight: 500;
  line-height: 1.18;
}

.story-card h3,
.workflow-card h3,
.mini-product h3 {
  font-size: 1.38rem;
}

.story-card p,
.showcase-copy p,
.product-points,
.workflow-card p,
.deployment-copy p,
.budget-list li,
.trust-points p {
  color: var(--text-soft);
  line-height: 1.74;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.showcase-reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.showcase-copy {
  max-width: 520px;
  min-width: 0;
  padding-inline: 8px;
}

.showcase-media {
  min-width: 0;
}

.product-tag,
.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(133, 226, 204, 0.12);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Raleway", "SF Pro Display", sans-serif;
}

.showcase-copy h3 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 3vw, 3.8rem);
}

.product-points {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.wide-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.workflow-layout {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(133, 226, 204, 0.18), rgba(140, 171, 255, 0.24));
  font-weight: 800;
}

.deployment-section {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.deployment-copy {
  max-width: 680px;
  min-width: 0;
}

.stack-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.budget-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.trust-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  align-items: start;
  padding: 32px;
}

.trust-copy,
.trust-points {
  min-width: 0;
}

.trust-points {
  display: grid;
  gap: 14px;
}

.interactive-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.interactive-card:hover,
.interactive-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 30, 48, 0.96), rgba(10, 17, 28, 0.96));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

body.motion-ready .reveal {
  opacity: 0.12;
  transform: translateY(18px);
}

body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .story-layout,
  .product-grid,
  .workflow-layout,
  .deployment-section,
  .trust-band,
  .showcase,
  .showcase-reverse {
    grid-template-columns: 1fr;
  }

  .showcase-copy,
  .deployment-copy {
    max-width: none;
    padding-inline: 0;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    border-radius: 26px;
    padding-inline: 14px;
  }

  .topnav {
    gap: 16px;
    justify-content: center;
  }

  .topnav a {
    font-size: 1.15rem;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
    max-width: 100%;
  }

  .wide-media img,
  .hero-figure img,
  .showcase-media img {
    border-radius: 20px;
  }

  .story-card,
  .workflow-card,
  .mini-product,
  .deployment-card,
  .trust-band {
    padding: 22px;
  }
}
