/* ==========================================================================
   VTeam – landing page styles
   Palette: blue #255CFF · navy #0D2674 · orange #FC8058 · ink #1C1C1C
   ========================================================================== */

/* Self-hosted fonts (Montserrat + Caveat, latin subset) */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/caveat-latin-700-normal.woff2') format('woff2');
}

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

:root {
  --blue: #255CFF;
  --blue-dark: #0D2674;
  --blue-soft: #ECF0FD;
  --blue-mist: #F3F6FC;
  --card: #F9FAFF;
  --line: #E6EDF9;
  --orange: #FC8058;
  --orange-soft: #FEE9E1;
  --orange-dark: #C85E1E;
  --ink: #1C1C1C;
  --muted: #949494;
  --paper: #FDFDFD;
  --radius-lg: 44px;
  --radius-md: 32px;
  --radius-sm: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-dark);
}

::placeholder {
  color: rgba(28, 28, 28, 0.4);
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--blue);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0 100px 88px;
  position: relative;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 0 0;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo span {
  color: var(--orange);
}

.nav-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  margin-left: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-spacer {
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--paper);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.nav-cta {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 14px;
  margin-left: 8px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-soft);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
}

.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-transform: uppercase;
}

.hero-underline {
  position: relative;
  display: inline-block;
}

.hero-underline svg {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 14px;
}

.hero-sub {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(253, 253, 253, 0.88);
  max-width: 620px;
  margin: 32px 0 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-light {
  background: var(--paper);
  color: #0D0D0D;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  padding: 22px 44px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.btn-light:hover {
  background: var(--blue-soft);
  color: #0D0D0D;
}

.btn-ghost {
  color: var(--paper);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.hero-note {
  font-size: 15px;
  font-weight: 500;
  color: rgba(253, 253, 253, 0.6);
  margin: 20px 0 0;
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.hero-art img {
  width: 100%;
  max-width: 420px;
  animation: vt-float 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(13, 38, 116, 0.35));
}

.sticker {
  background: var(--orange);
  color: var(--ink);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-sticker {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
  padding: 10px 22px;
  transform: rotate(-5deg);
  margin-top: -16px;
  max-width: 100%;
  text-align: center;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
}

.chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Pipeline
   -------------------------------------------------------------------------- */

.pipeline-section {
  padding: 72px 32px;
}

.pipeline-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 52px clamp(24px, 4vw, 68px) 44px;
  position: relative;
}

.pipeline-sticker {
  position: absolute;
  top: -20px;
  left: 68px;
  font-size: 26px;
  padding: 6px 22px;
  border-radius: 14px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.pipeline-scroll {
  margin-top: 16px;
  overflow-x: auto;
}

.pipeline-track {
  position: relative;
  min-width: 780px;
}

.track-line,
.track-fill {
  position: absolute;
  top: 22px;
  left: 3%;
  height: 6px;
  border-radius: 3px;
}

.track-line {
  right: 3%;
  background: var(--line);
}

.track-fill {
  width: var(--vt-fill, 0%);
  max-width: 94%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.9s ease, height 0.9s ease;
}

.stages {
  display: flex;
  position: relative;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 6px;
}

.stage-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  border: 3px solid var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  transition: background 0.4s, color 0.4s, transform 0.4s;
  position: relative;
  z-index: 1;
}

.stage-name {
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
  /* reserve two lines so the grey artifact captions align on one baseline */
  min-height: 2.5em;
}

.stage-artifact {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.pipeline-caption {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin: 36px 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Shared section elements
   -------------------------------------------------------------------------- */

.band {
  background: var(--blue-mist);
  border-radius: var(--radius-lg);
  margin: 0 32px;
  padding: 72px 68px;
}

.section {
  padding: 96px 100px 72px;
}

.eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0;
}

.section-sub {
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  max-width: 720px;
  margin: 20px 0 0;
}

/* --------------------------------------------------------------------------
   Guarantees
   -------------------------------------------------------------------------- */

.guarantees-head {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
}

.guarantees-art {
  width: 220px;
  justify-self: end;
  animation: vt-float2 8s ease-in-out infinite;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.info-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}

.info-card-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.25;
}

.info-card p {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.step-card p {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.55;
  margin: 0;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.role-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Put it to the test
   -------------------------------------------------------------------------- */

.tests {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 44px;
}

.test-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}

.test-card:hover {
  box-shadow: 0 12px 32px rgba(13, 38, 116, 0.1);
  transform: translateY(-2px);
}

.test-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1.2;
}

.test-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.test-card p {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.55;
  margin: 0;
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   Where we are
   -------------------------------------------------------------------------- */

.status-card {
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  /* extra top padding keeps the date sticker clear of the first line */
  padding: 76px 48px 44px;
  margin-top: 44px;
  position: relative;
}

.status-sticker {
  position: absolute;
  top: -22px;
  right: 48px;
  font-size: 28px;
  padding: 8px 24px;
  border-radius: 14px;
  transform: rotate(3deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.status-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.status-card li {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  padding-left: 28px;
  position: relative;
}

.status-card li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */

.waitlist-section {
  padding: 24px 32px 72px;
}

.waitlist {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 72px 68px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.waitlist h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--paper);
  text-transform: uppercase;
  margin: 0;
}

.waitlist-sub {
  font-size: 20px;
  font-weight: 500;
  color: rgba(253, 253, 253, 0.85);
  line-height: 1.5;
  margin: 24px 0 0;
  max-width: 480px;
}

.waitlist-art {
  width: 300px;
  margin-top: 40px;
  animation: vt-float2 9s ease-in-out infinite;
}

.form-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-card label small {
  font-size: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.form-card input,
.form-card textarea {
  width: 100%;
  background: var(--blue-mist);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 500;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  background: var(--blue);
  color: var(--paper);
  border: none;
  border-radius: var(--radius-sm);
  padding: 22px 44px;
  font-size: 22px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.form-submit:hover {
  background: var(--blue-dark);
}

.form-success {
  display: none;
  padding: 24px 0;
  text-align: center;
}

.form-success .mark {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 800;
}

.form-success h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.form-success p {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}

.form-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 18px 0 0;
}

.honeypot {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--blue-mist);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: 0 32px;
  padding: 44px 68px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer .logo {
  font-size: 18px;
  color: var(--ink);
}

.footer-note {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.footer-note a {
  color: #FF751F;
  font-weight: 700;
  text-decoration: none;
}

.footer-spacer {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes vt-float {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

@keyframes vt-float2 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(-8deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

  .hero-art img,
  .guarantees-art,
  .waitlist-art {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero {
    padding: 0 48px 72px;
  }

  .section {
    padding: 80px 48px 64px;
  }

  .band {
    padding: 64px 48px;
  }

  .footer {
    padding: 40px 48px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 300px;
  }

  .guarantees-head {
    grid-template-columns: 1fr;
  }

  .guarantees-art {
    display: none;
  }

  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .waitlist {
    grid-template-columns: 1fr;
    padding: 52px 36px;
  }

  .waitlist-art {
    display: none;
  }

  .nav-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0 24px 56px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav-badge {
    display: none;
  }

  .section {
    padding: 64px 24px 48px;
  }

  .band,
  .footer {
    margin: 0 16px;
    padding: 48px 24px;
  }

  .pipeline-section,
  .waitlist-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn-light,
  .btn-ghost {
    font-size: 18px;
    padding: 16px 28px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .form-card {
    padding: 28px 22px;
  }

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

  .test-card {
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
  }

  .status-card {
    padding: 82px 24px 36px;
  }

  .status-sticker {
    right: 16px;
    top: -18px;
    font-size: 22px;
  }

  /* Pipeline becomes a vertical timeline – nothing gets cut, no side-scroll */
  .pipeline-card {
    padding: 32px 24px 36px;
  }

  .pipeline-sticker {
    position: static;
    display: inline-block;
    margin: 0 0 20px;
    font-size: 21px;
    transform: rotate(-2deg);
  }

  .pipeline-scroll {
    margin-top: 0;
    overflow: visible;
  }

  .pipeline-track {
    min-width: 0;
  }

  .track-line {
    left: 22px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 6px;
    height: auto;
  }

  .track-fill {
    left: 22px;
    right: auto;
    top: 6px;
    width: 6px;
    height: var(--vt-fill, 0%);
    max-width: none;
    max-height: 94%;
  }

  .stages {
    flex-direction: column;
    gap: 22px;
  }

  .stage {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    padding: 0;
  }

  .stage-node {
    grid-row: 1 / span 2;
  }

  .stage-name {
    text-align: left;
    min-height: 0;
    font-size: 15px;
    align-self: center;
  }

  .stage-artifact {
    text-align: left;
    font-size: 13px;
  }

  .pipeline-caption {
    margin-top: 28px;
    font-size: 16px;
    text-align: left;
  }
}
