/*
 * VantaTrack — vantatrack.io
 *
 * The system is the one the owner pinned: soft-gray ground, pure-white cards,
 * pure-black ink and actions, and exactly one accent. Four colours, nothing
 * else. Inter at three weights. Everything that can be a pill is a pill, cards
 * are large-radius, and the only colour that carries any area is a soft wash of
 * the accent inside white.
 *
 * The accent is ours, not the reference's: #00ff9d, straight out of the ring in
 * the VantaTrack mark. That single substitution is what makes this our page
 * rather than a copy of theirs.
 *
 * Depth is a hairline and a large radius. There are no drop shadows.
 */

:root {
  /* From the logo vector. */
  --accent: #00ff9d;
  --accent-soft: rgba(0, 255, 157, 0.16);
  --accent-ink: #04160f;

  --black: #000000;
  --gray: #f2f5f3;
  --white: #ffffff;

  --ink: #000000;
  --ink-2: #2f3733;
  --ink-3: #6b7570;
  --line: #e2e7e4;
  --line-strong: #d3dad6;

  --pill: 999px;
  --card: 24px;
  --card-sm: 16px;

  --shell: 1180px;
  --gutter: 24px;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --display: clamp(38px, 5.6vw, 72px);
  --h2: clamp(28px, 3.6vw, 46px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--gray);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 40;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--pill);
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── type ─────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: var(--display);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}

.lede {
  margin: 20px auto 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-2);
}
.section-lede {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--ink-2);
}
.body {
  color: var(--ink-2);
  font-size: 15px;
}

/*
 * The section label: a small outlined pill above the heading, exactly as the
 * reference marks its sections. It is a label for the section, not an eyebrow
 * dressing up the headline — the heading below it still says everything.
 */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── the wash ─────────────────────────────────────────────────────────── */
/*
 * The one place colour has any area: a soft field of the accent, bleeding out
 * of white. The reference uses exactly this and nothing else — no coloured
 * sections, no gradient text.
 */
.wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 8%, rgba(0, 255, 157, 0.28), transparent 68%),
    radial-gradient(40% 34% at 16% 34%, rgba(0, 255, 157, 0.16), transparent 70%),
    radial-gradient(42% 36% at 86% 28%, rgba(0, 255, 157, 0.14), transparent 70%);
}
.card-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(80% 70% at 50% 110%, rgba(0, 255, 157, 0.2), transparent 72%);
}
.wash-dark {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(0, 255, 157, 0.22), transparent 70%),
    radial-gradient(50% 50% at 50% 110%, rgba(0, 255, 157, 0.12), transparent 70%);
}

/* ── nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(242, 245, 243, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/*
 * A slim bar, like the reference's: the logo sets the height and nothing else
 * does. The mark's SVG used to carry its export padding inside the viewBox, so
 * asking for a 146px-wide logo silently asked for an 88px-tall one and the
 * header inflated to match. The file is cropped to its artwork now, and the
 * height is pinned here so a future asset swap cannot do it again.
 */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.wordmark {
  display: flex;
  align-items: center;
  flex: none;
}
.wordmark img {
  width: 138px;
  height: 31px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a {
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* ── buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease),
    color 0.18s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
/* Black is the action colour, as in the reference. */
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: #1b201e;
}
/* The accent belongs to the one thing a stranger should not have to look for. */
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-accent:hover {
  background: #4dffba;
}
.btn-plain {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--white);
}
.btn-plain:hover {
  border-color: var(--ink);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.arrow {
  transition: transform 0.18s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(2px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(104px, 13vh, 148px) 0 clamp(56px, 8vh, 96px);
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  position: relative;
  z-index: 1;
}

/* The status badge above the headline: accent pill, dark ink, live dot. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.hero-foot {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-3);
}

/*
 * On a desktop display the whole first screen fits in one screen: badge,
 * headline, sentence, both actions, the platform card and the line under it.
 * Everything inside is sized in vh rather than px so a 1440x900 laptop and a
 * 2560x1440 monitor both land it, and the fixed bar's height is part of the
 * calculation rather than something the content discovers by overflowing.
 *
 * Deliberately desktop-only. On a phone this would either shrink the headline to
 * nothing or push the card off the bottom, so there the page just scrolls.
 */
@media (min-width: 900px) and (min-height: 620px) {
  .hero {
    min-height: 100vh;
    display: grid;
    align-content: center;
    /* The bar's height plus air at the top, and real air underneath: the last
       line was landing 50px off the bottom edge, which reads as the page having
       run out of room rather than having been composed. */
    padding: calc(58px + 2vh) 0 6vh;
  }
  .hero h1 {
    font-size: clamp(38px, min(5.6vw, 7.6vh), 72px);
  }
  .badge {
    margin-bottom: 2vh;
  }
  .hero .lede {
    margin-top: 2vh;
  }
  .hero .actions {
    margin-top: 3vh;
  }
  .hero-card {
    margin-top: 4vh;
    padding: clamp(16px, 2.4vh, 26px);
  }
  .hero-figures {
    margin: clamp(10px, 1.6vh, 18px) 0;
    padding: clamp(12px, 2vh, 20px) 0;
  }
  .figure {
    font-size: clamp(24px, 3.4vh, 42px);
  }
  .hero-foot {
    margin-top: 2vh;
  }
}

/* ── cards ────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card);
}
.card > *:not(.card-wash) {
  position: relative;
  z-index: 1;
}

.hero-card {
  margin: 44px auto 0;
  max-width: 880px;
  padding: 26px;
  text-align: left;
}
.card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.hero-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 20px;
  margin: 18px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figure {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.figure-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.card-note {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ── sections ─────────────────────────────────────────────────────────── */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
  margin-top: 36px;
}
.live-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-card h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.descriptor {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
.live-card .btn {
  margin-top: auto;
  align-self: start;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
  margin-top: 36px;
}
.point {
  padding: 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
}
.point p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ── catalogue ────────────────────────────────────────────────────────── */

.suite {
  margin-top: 40px;
}
.suite-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(228px, 100%), 1fr));
  gap: 12px;
  margin-top: 18px;
}
.product {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-sm);
  display: grid;
  align-content: start;
  gap: 7px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.product:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.product-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.product-descriptor {
  font-size: 13.5px;
  color: var(--ink-3);
}
.status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
/* The accent means one thing on this page: this is real, you can open it. */
.status-live {
  color: var(--accent-ink);
  background: var(--accent);
}
.status-building {
  color: var(--ink);
  background: var(--accent-soft);
}
.status-planned {
  color: var(--ink-3);
  background: var(--gray);
}

/* ── questions ────────────────────────────────────────────────────────── */

.faq {
  margin-top: 32px;
  padding: 4px 26px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin: 0 0 20px;
  max-width: 66ch;
  color: var(--ink-2);
  font-size: 15px;
}

/* ── close ────────────────────────────────────────────────────────────── */

.close {
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
}
.close-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: var(--shell);
  padding: clamp(52px, 7vw, 88px) var(--gutter);
  border-radius: 32px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.close-inner > *:not(.wash) {
  position: relative;
  z-index: 1;
}
.close .lede {
  color: rgba(255, 255, 255, 0.72);
}

/* ── footer ───────────────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.foot-inner {
  display: grid;
  gap: 8px;
}
.foot-inner img {
  width: 126px;
  height: 28px;
}
.foot p {
  color: var(--ink-2);
  font-size: 15px;
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}
/* A narrow phone still gets both doors in the bar; they give up width instead
   of one of them being dropped. */
@media (max-width: 480px) {
  .wordmark img {
    width: 92px;
    height: 21px;
  }
  .nav-actions {
    gap: 5px;
  }
  .btn-sm {
    padding: 7px 11px;
    font-size: 12px;
  }
  .arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
  .wordmark img {
    width: 108px;
    height: 24px;
  }
  .nav-actions {
    gap: 6px;
  }
  .btn-sm {
    padding: 8px 13px;
    font-size: 12.5px;
  }
  .hero-card,
  .live-card,
  .point {
    padding: 20px;
  }
}
