:root {
  --bg: #f8f5ef;
  --bg-soft: #f1ede4;
  --surface: #fffdf8;
  --surface-strong: rgba(255, 253, 248, 0.95);
  --ink: #18243b;
  --ink-soft: rgba(24, 36, 59, 0.72);
  --line: rgba(24, 36, 59, 0.1);
  --line-strong: rgba(24, 36, 59, 0.18);
  --navy: #18243b;
  --navy-soft: #273754;
  --accent: #d86c42;
  --accent-strong: #f0a15d;
  --sand: #f3d8b2;
  --cream: #fff4e5;
  --dark-surface: #1e2748;
  --dark-surface-alt: #252f55;
  --shadow: 0 24px 70px rgba(24, 36, 59, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1520px;
  --content-width: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 20%, rgba(240, 161, 93, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(216, 108, 66, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfbf8 0%, #f5f1e8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(24, 36, 59, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 36, 59, 0.02) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 82%);
}

.page-shell {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px clamp(22px, 5vw, 68px);
  border-bottom: 1px solid rgba(120, 135, 184, 0.2);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  gap: 4px;
}

.brand-mark i {
  display: block;
  width: 14px;
  height: 28px;
  border: 4px solid var(--navy);
  border-left: 0;
  transform: skewX(-18deg);
}

.brand-text,
.site-nav a,
.nav-cta,
.button,
.eyebrow,
.sign-in,
.text-link,
.footer-columns h3 {
  font-family: "Sora", sans-serif;
}

.brand-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.site-nav a,
.sign-in {
  color: var(--navy);
  text-decoration: none;
  font-size: 1.02rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  min-height: 60px;
  padding: 0 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
}

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

main,
.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero,
.feature-band,
.resources-section,
.waitlist-panel,
.site-footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  padding: 58px 0 48px;
}

.hero-proof,
.hero-system {
  min-height: 0;
  padding-top: 70px;
  padding-bottom: 74px;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Sora", sans-serif;
}

h1 {
  max-width: 10.2ch;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.18;
  font-weight: 600;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.25;
}

.hero-text,
.section-text,
.feature-grid p,
.resource-card p,
.waitlist-copy p,
.waitlist-note,
.footer-bottom p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero-text {
  max-width: 30ch;
  margin-top: 24px;
  font-size: 1.18rem;
}

.section-text {
  max-width: 38ch;
  margin-top: 26px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  min-height: 60px;
  padding: 0 28px;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 34px rgba(216, 108, 66, 0.22);
}

.button-secondary {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.hero-visual,
.proof-visual,
.system-visual {
  position: relative;
  min-height: 600px;
}

.curve-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.curve-field span {
  position: absolute;
  top: -90px;
  right: 28%;
  width: 660px;
  height: 660px;
  border: 2px solid rgba(99, 125, 195, 0.16);
  border-left-color: rgba(216, 108, 66, 0.28);
  border-bottom-color: rgba(216, 108, 66, 0.36);
  border-radius: 50%;
  transform: translateX(50%);
}

.curve-field span:nth-child(1) { transform: translateX(50%) scale(0.68); }
.curve-field span:nth-child(2) { transform: translateX(50%) scale(0.76); }
.curve-field span:nth-child(3) { transform: translateX(50%) scale(0.84); }
.curve-field span:nth-child(4) { transform: translateX(50%) scale(0.92); }
.curve-field span:nth-child(5) { transform: translateX(50%) scale(1); }
.curve-field span:nth-child(6) { transform: translateX(50%) scale(1.08); }
.curve-field span:nth-child(7) { transform: translateX(50%) scale(1.16); }
.curve-field span:nth-child(8) { transform: translateX(50%) scale(1.24); }

.hero-card-stack {
  position: absolute;
  right: 70px;
  top: 118px;
  width: 360px;
  height: 320px;
}

.tilt-card {
  position: absolute;
  width: 320px;
  height: 210px;
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(24, 36, 59, 0.14);
}

.back-card {
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #2a385c, #41588f);
  transform: rotate(0deg);
}

.front-card {
  top: 84px;
  right: 64px;
  padding: 28px;
  background: linear-gradient(135deg, #514e8d, #7b73b8);
  transform: rotate(0deg);
}

.card-chip {
  width: 54px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f7edd9, #f2d59b);
}

.card-wordmark {
  position: absolute;
  right: 28px;
  top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.widget {
  position: absolute;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.widget p,
.widget small,
.resource-card .eyebrow {
  margin: 0;
}

.widget strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.widget-brand {
  top: 350px;
  left: 8px;
  width: 240px;
}

.widget-spend {
  right: 40px;
  bottom: 24px;
  width: 280px;
}

.widget-spend h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.mini-row strong {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.widget-ring {
  left: 200px;
  bottom: 104px;
  width: 220px;
  text-align: center;
}

.ring {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 14px auto 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, white 68%, transparent 69% 100%),
    conic-gradient(var(--accent) 0 338deg, rgba(81, 78, 141, 0.2) 338deg 360deg);
}

.ring span {
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 22px 0 14px;
  border-top: 1px solid rgba(120, 135, 184, 0.2);
  color: rgba(81, 78, 141, 0.8);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.45rem);
  font-weight: 600;
  text-align: center;
}

.proof-visual {
  min-height: 470px;
}

.large-card {
  top: 30px;
  left: 40px;
  width: 230px;
  background: rgba(255, 248, 239, 0.94);
}

.large-card span {
  color: var(--ink-soft);
}

.large-card strong {
  margin-top: 10px;
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: 3.4rem;
}

.angled-card {
  position: absolute;
  right: 70px;
  top: 20px;
  width: 360px;
  height: 230px;
  border-radius: 24px;
  background: linear-gradient(135deg, #394d7d, #6d7ec0);
  transform: rotate(32deg);
  box-shadow: 0 34px 84px rgba(24, 36, 59, 0.12);
}

.system-visual {
  min-height: 520px;
}

.terminal-card {
  position: absolute;
  width: 260px;
  min-height: 180px;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 245, 235, 0.94));
  box-shadow: 0 28px 70px rgba(24, 36, 59, 0.08);
}

.terminal-card span {
  display: block;
  max-width: 10ch;
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.terminal-card-large {
  right: 44px;
  top: 130px;
  width: 300px;
  min-height: 220px;
}

.terminal-card:not(.terminal-card-large) {
  left: 34px;
  bottom: 30px;
}

.terminal-card-offset {
  left: 170px !important;
  bottom: 180px !important;
}

.plus-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.floating-mini-card {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.floating-mini-card p {
  margin: 0;
  color: var(--ink-soft);
}

.floating-mini-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  padding: 64px 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--dark-surface), var(--dark-surface-alt));
}

.feature-visual,
.feature-copy {
  min-height: 0;
}

.cube-stack {
  position: relative;
  width: 380px;
  height: 480px;
  margin: 0 auto;
}

.cube-top,
.cube-middle,
.cube-base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 32px;
  background: rgba(146, 154, 228, 0.14);
  border: 1px solid rgba(183, 188, 242, 0.12);
}

.cube-top {
  top: 10px;
  width: 260px;
  height: 320px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.cube-middle {
  top: 190px;
  width: 300px;
  height: 220px;
  transform: translateX(-50%) skewY(-12deg);
}

.cube-base {
  bottom: 0;
  width: 340px;
  height: 220px;
  transform: translateX(-50%) skewY(12deg);
}

.cube-top::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 50%;
  width: 80px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5ddac, #f6f0df);
  transform: translateX(-50%);
}

.feature-copy h2,
.feature-copy h3,
.footer-columns h3,
.site-footer a,
.site-footer p {
  color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
  margin-top: 42px;
}

.feature-grid article {
  display: grid;
  gap: 12px;
}

.feature-grid p {
  margin: 0;
  color: rgba(236, 238, 255, 0.8);
}

.resources-section {
  padding: 62px 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.resource-card h3 {
  margin-top: 10px;
}

.resource-card p:last-child {
  margin-top: 12px;
}

.faq-section {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 0 0 56px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-top: 10px;
}

.faq-card p:last-child {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.waitlist-section {
  padding: 0 0 64px;
}

.waitlist-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.9), rgba(255, 253, 248, 0.95));
  box-shadow: var(--shadow);
}

.waitlist-copy p {
  max-width: 58ch;
  margin: 16px 0 0;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  max-width: 620px;
  margin-top: 30px;
}

.waitlist-form input {
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  outline: none;
}

.waitlist-form input:focus {
  border-color: rgba(216, 108, 66, 0.45);
  box-shadow: 0 0 0 5px rgba(216, 108, 66, 0.12);
}

.waitlist-note {
  margin: 14px 0 0;
  min-height: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer {
  padding: 52px 0 40px;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(180deg, #242e56, #1d2648);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.footer-columns section {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-columns h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer a {
  color: rgba(236, 238, 255, 0.78);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.35;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 36px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(176, 186, 255, 0.22);
}

.footer-bottom p {
  margin: 0;
  color: rgba(236, 238, 255, 0.76);
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.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;
}

body.is-loaded .hero,
body.is-loaded .logo-strip,
body.is-loaded .feature-band,
body.is-loaded .resources-section,
body.is-loaded .waitlist-panel {
  animation: rise-in 720ms ease both;
}

body.is-loaded .hero-proof {
  animation-delay: 70ms;
}

body.is-loaded .hero-system {
  animation-delay: 120ms;
}

body.is-loaded .feature-band {
  animation-delay: 170ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  .site-nav {
    gap: 24px;
  }

  .hero,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .hero-proof,
  .hero-system {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-visual,
  .proof-visual,
  .system-visual {
    min-height: 520px;
  }

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

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    justify-content: center;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .logo-strip,
  .resources-grid,
  .faq-grid,
  .feature-grid,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 16px;
  }

  .brand-text {
    font-size: 1.5rem;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .feature-band,
  .resources-section,
  .waitlist-panel,
  .site-footer {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .hero,
  .feature-band,
  .resources-section {
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .hero-text,
  .section-text {
    max-width: none;
  }

  .logo-strip,
  .resources-grid,
  .faq-grid,
  .feature-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .proof-visual,
  .system-visual {
    min-height: 460px;
  }

  .hero-card-stack {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .tilt-card {
    width: 260px;
  }

  .front-card {
    right: 26px;
  }

  .widget {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .proof-visual,
  .system-visual {
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .angled-card,
  .terminal-card,
  .floating-mini-card {
    position: static;
    width: auto;
    transform: none !important;
  }

  .feature-band,
  .site-footer {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}
