:root {
  --ink: #07141c;
  --ink-soft: #142633;
  --mist: #d7e4ea;
  --foam: #f2f7f9;
  --sea: #1f6f78;
  --sea-deep: #0d3d44;
  --copper: #c56a3a;
  --copper-bright: #e07a42;
  --line: rgba(215, 228, 234, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foam);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(31, 111, 120, 0.45), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(197, 106, 58, 0.18), transparent 50%),
    linear-gradient(165deg, #041018 0%, #0a1c26 42%, #07141c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(4, 16, 24, 0.88), rgba(4, 16, 24, 0));
  backdrop-filter: blur(0px);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(4, 16, 24, 0.82);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--mist);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: var(--copper-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--mist);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.header-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-visual img {
  transform: scale(1.08);
  animation: drift 22s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 16, 24, 0.92) 0%, rgba(4, 16, 24, 0.55) 48%, rgba(4, 16, 24, 0.25) 100%),
    linear-gradient(to top, rgba(4, 16, 24, 0.9) 0%, transparent 42%);
}

.hero-copy {
  max-width: 38rem;
  animation: rise 1s var(--ease) both;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: var(--foam);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--mist);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(242, 247, 249, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--copper);
  color: #fff;
}

.btn-primary:hover {
  background: var(--copper-bright);
}

.btn-ghost {
  border-color: rgba(215, 228, 234, 0.35);
  color: var(--foam);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(215, 228, 234, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.products,
.idea,
.system,
.join {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--copper-bright);
}

.section-head h2,
.idea-copy h2,
.join-panel h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-lede,
.idea-copy p,
.join-lede,
.product-copy p,
.step p {
  color: rgba(242, 247, 249, 0.72);
}

.section-lede {
  margin: 0;
  font-size: 1.05rem;
}

.product-stack {
  display: grid;
  gap: clamp(3rem, 8vw, 5.5rem);
}

.product {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.product-media {
  position: relative;
  min-height: clamp(16rem, 42vw, 28rem);
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 28, 0.35), transparent 45%);
  pointer-events: none;
}

.product-media img {
  transition: transform 1.1s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.04);
}

.product-index {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--sea);
}

.product-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.product-meta {
  margin: 1.1rem 0 0 !important;
  color: var(--mist) !important;
  font-weight: 500;
}

.idea {
  position: relative;
}

.idea::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 1px;
  background: var(--line);
}

.idea-grid {
  display: grid;
  gap: 2rem;
}

.idea-copy p + p {
  margin-top: 1rem;
}

.idea-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(31, 111, 120, 0.18), rgba(7, 20, 28, 0.4));
}

.stat {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-label {
  color: rgba(242, 247, 249, 0.65);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.step {
  padding: 1.4rem 1.35rem;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  color: var(--sea);
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
}

.join-panel {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(197, 106, 58, 0.22), transparent 60%),
    rgba(10, 28, 38, 0.7);
}

.join-lede {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
}

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist input {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid rgba(215, 228, 234, 0.28);
  border-radius: 999px;
  background: rgba(4, 16, 24, 0.55);
  color: var(--foam);
  padding: 0.7rem 1.15rem;
  font: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.waitlist input::placeholder {
  color: rgba(215, 228, 234, 0.45);
}

.waitlist input:focus {
  border-color: var(--copper-bright);
}

.form-note {
  margin: 1rem 0 0;
  color: #9ad4b5;
  font-weight: 500;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  color: rgba(215, 228, 234, 0.55);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .waitlist {
    flex-direction: row;
  }

  .waitlist input {
    flex: 1;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .step {
    padding: 1.5rem 1.5rem 0 0;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
  }

  .step:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .product {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .product-reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .product-reverse .product-media {
    order: 2;
  }

  .idea-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-visual img,
  [data-reveal],
  .hero-copy {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
