:root {
  --font-geist-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ink: #06101d;
  --ink-soft: #344457;
  --paper: #f6f9fc;
  --surface: rgba(255, 255, 255, 0.74);
  --line: rgba(7, 24, 42, 0.1);
  --cyan: #00bfe8;
  --blue: #1677ff;
  --navy: #07111f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 2%, rgba(26, 190, 235, 0.1), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 191, 232, 0.5);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  display: flex;
  height: 82px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
  position: relative;
  z-index: 10;
}

.brand,
.footer-brand {
  align-items: center;
  display: flex;
  font-size: 1.04rem;
  font-weight: 760;
  gap: 11px;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(10, 93, 136, 0.2);
}

nav,
.footer-links {
  align-items: center;
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 670px;
  overflow: hidden;
  padding: 50px 28px 86px;
  position: relative;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: #087da4;
  display: inline-block;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  font-weight: 790;
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin-bottom: 28px;
}

.hero-copy > p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 720;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(6, 16, 29, 0.2);
  color: white;
}

.primary-button:hover,
.secondary-button:hover {
  box-shadow: 0 17px 42px rgba(7, 88, 131, 0.22);
  transform: translateY(-2px);
}

.secondary-button {
  background: white;
  color: var(--ink);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.trust-row span {
  align-items: center;
  color: #526274;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 620;
  gap: 7px;
}

.trust-row span::before {
  background: #38c6a5;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.hero-visual {
  background:
    linear-gradient(140deg, rgba(15, 41, 69, 0.52), rgba(4, 11, 21, 0.92)),
    url("/assets/paceline-social.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  box-shadow:
    0 40px 100px rgba(4, 31, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: white;
  min-height: 430px;
  overflow: hidden;
  padding: 58px 48px;
  transform: rotate(1.6deg);
}

.hero-visual::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  content: "";
  height: 1px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 50%;
}

.shuttle-labels {
  display: flex;
  font-size: 0.7rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.12em;
  opacity: 0.72;
  text-transform: uppercase;
}

.shuttle-line {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  position: relative;
}

.shuttle-line::before {
  background: linear-gradient(90deg, rgba(25, 211, 255, 0.35), #19d3ff 45%, rgba(25, 211, 255, 0.35));
  box-shadow: 0 0 18px rgba(25, 211, 255, 0.75);
  content: "";
  height: 3px;
  left: 7px;
  position: absolute;
  right: 7px;
}

.endpoint,
.runner-dot {
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

.endpoint {
  background: white;
  border: 4px solid rgba(25, 211, 255, 0.42);
  box-shadow: 0 0 0 6px rgba(25, 211, 255, 0.1);
  height: 14px;
  width: 14px;
}

.runner-dot {
  animation: shuttle 4.9s ease-in-out infinite alternate;
  background: #ff6b61;
  box-shadow: 0 0 0 7px rgba(255, 107, 97, 0.14), 0 0 24px rgba(255, 107, 97, 0.8);
  height: 17px;
  left: 8%;
  position: absolute;
  width: 17px;
}

@keyframes shuttle {
  from { left: 8%; }
  to { left: calc(92% - 17px); }
}

.metric-card {
  backdrop-filter: blur(20px);
  background: rgba(6, 17, 31, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  left: 38px;
  padding: 23px 26px;
  position: absolute;
  right: 38px;
}

.metric-card span,
.metric-card small {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.metric-card strong {
  font-size: clamp(3.1rem, 7vw, 5.1rem);
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 10px 0 12px;
}

.hero-glow {
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  position: absolute;
}

.hero-glow-one {
  background: rgba(39, 202, 243, 0.16);
  height: 400px;
  right: -130px;
  top: 30px;
  width: 400px;
}

.hero-glow-two {
  background: rgba(92, 124, 250, 0.08);
  bottom: 40px;
  height: 270px;
  left: 22%;
  width: 270px;
}

.feature-section,
.showcase-section,
.privacy-strip,
footer,
.legal-page {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.feature-section {
  padding: 110px 28px;
}

.section-heading h2,
.showcase-copy h2,
.privacy-strip h2,
.legal-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 770;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 25px;
  min-height: 260px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: 0 22px 54px rgba(15, 51, 82, 0.1);
  transform: translateY(-4px);
}

.feature-number {
  color: #0892bc;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.feature-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  margin: 64px 0 12px;
}

.feature-card p,
.showcase-copy p,
.privacy-strip p,
.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.showcase-section {
  align-items: center;
  background: var(--navy);
  border-radius: 42px;
  color: white;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 0.82fr;
  min-height: 670px;
  overflow: hidden;
  padding: 75px 8% 0;
}

.showcase-copy {
  align-self: center;
  padding-bottom: 75px;
}

.showcase-copy .eyebrow {
  color: #4bd7f6;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  max-width: 560px;
}

.showcase-copy ul {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.showcase-copy li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  margin: 14px 0;
  padding-left: 24px;
  position: relative;
}

.showcase-copy li::before {
  color: #4bd7f6;
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.phone-stage {
  align-self: end;
  height: 590px;
  position: relative;
}

.phone-shot {
  border: 7px solid #16273a;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  height: auto;
  max-width: 250px;
  position: absolute;
  width: 65%;
}

.phone-shot-back {
  left: 0;
  opacity: 0.72;
  top: 58px;
  transform: rotate(-7deg);
}

.phone-shot-front {
  right: 2%;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
}

.privacy-strip {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 1.1fr 0.9fr auto;
  padding: 120px 28px;
}

.privacy-strip .eyebrow {
  margin-bottom: 15px;
}

.privacy-strip h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0;
}

.privacy-strip p {
  margin-bottom: 0;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px 32px;
  grid-template-columns: auto 1fr auto;
  padding: 42px 28px 55px;
}

footer p {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: 0;
}

footer small {
  color: #718093;
  font-size: 0.72rem;
  grid-column: 1 / -1;
}

.legal-page {
  min-height: 70vh;
  padding: 70px 28px 120px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 55px;
  padding-bottom: 45px;
}

.legal-hero h1 {
  margin-bottom: 20px;
}

.legal-hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
}

.legal-copy {
  max-width: 770px;
}

.legal-copy section {
  margin: 48px 0;
}

.legal-copy h2 {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 22px;
}

.legal-copy .notice {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px 22px;
}

.back-link {
  color: #087da4;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 38px;
}

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

  .hero-copy {
    max-width: 660px;
  }

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

  .feature-card {
    min-height: 210px;
  }

  .feature-card h3 {
    margin-top: 38px;
  }

  .showcase-section {
    gap: 30px;
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
    padding-top: 70px;
  }

  .showcase-copy {
    padding-bottom: 15px;
  }

  .phone-stage {
    height: 540px;
    margin: 0 auto;
    max-width: 390px;
    width: 100%;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
  }

  .privacy-strip .secondary-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .site-header nav {
    gap: 15px;
  }

  .site-header nav a {
    font-size: 0.74rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand img {
    height: 35px;
    width: 35px;
  }

  .hero,
  .feature-section,
  .privacy-strip,
  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 75px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-visual {
    border-radius: 29px;
    min-height: 360px;
    padding: 42px 28px;
  }

  .metric-card {
    bottom: 25px;
    left: 22px;
    right: 22px;
  }

  .trust-row {
    gap: 13px;
  }

  .feature-section {
    padding-bottom: 75px;
    padding-top: 75px;
  }

  .showcase-section {
    border-radius: 29px;
    padding-left: 27px;
    padding-right: 27px;
  }

  .phone-stage {
    height: 455px;
  }

  .phone-shot {
    max-width: 205px;
  }

  .privacy-strip {
    gap: 28px;
    padding-bottom: 80px;
    padding-top: 80px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links {
    gap: 20px;
  }

  footer small {
    grid-column: 1;
  }
}

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

  .runner-dot {
    animation: none;
    left: 50%;
  }
}
