:root {
  --ink: #10202a;
  --muted: #667985;
  --paper: #f6f8f6;
  --white: #ffffff;
  --teal: #009688;
  --teal-dark: #063e46;
  --gold: #c59b35;
  --rose: #b95f5a;
  --line: rgba(16, 32, 42, 0.12);
  --shadow: 0 24px 70px rgba(16, 32, 42, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 10px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 34, 38, 0.52);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: rgba(16, 32, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(16, 32, 42, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  color: var(--teal-dark);
  background: var(--white);
}

.site-header.is-scrolled .header-action {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 74px;
  color: var(--white);
  overflow: hidden;
  background-image: url("./assets/vendotrak-platform-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 34, 38, 0.9), rgba(6, 34, 38, 0.62) 44%, rgba(6, 34, 38, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 34, 38, 0.34), rgba(6, 34, 38, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(0, 150, 136, 0.26);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(590px, 100%);
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 1.9rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -36px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 132px;
  padding: 24px;
  background: var(--white);
}

.metric {
  display: block;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

.trust-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section,
.access-section,
.workflow,
.split-section,
.analysis-section,
.calculator,
.security-band,
.faq-section,
.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.access-section {
  padding: 96px 0 40px;
}

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

.access-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(16, 32, 42, 0.08);
}

.access-panel h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.access-panel p:not(.panel-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.buyer-access {
  color: var(--white);
  background: var(--teal-dark);
}

.buyer-access p:not(.panel-label) {
  color: rgba(255, 255, 255, 0.78);
}

.buyer-access .button.primary {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  padding: 112px 0 56px;
  align-items: end;
}

.section-heading h2,
.analysis-copy h2,
.security-band h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy,
.analysis-copy p,
.security-band p,
.cta-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-card,
.solution-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(16, 32, 42, 0.07);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.accent-teal .feature-icon {
  background: var(--teal);
}

.accent-gold .feature-icon {
  background: var(--gold);
}

.accent-slate .feature-icon {
  background: var(--teal-dark);
}

.accent-rose .feature-icon {
  background: var(--rose);
}

.feature-card h3,
.solution-panel h3,
.timeline h3 {
  margin: 22px 0 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.feature-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.workflow {
  padding: 112px 0 40px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  background: #fbfcfb;
}

.timeline span {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.split-section {
  padding: 72px 0 44px;
}

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

.solution-panel {
  padding: clamp(26px, 4vw, 42px);
}

.panel-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-panel ul,
.security-band ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.solution-panel li,
.security-band li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.solution-panel li + li,
.security-band li + li {
  margin-top: 12px;
}

.solution-panel li::before,
.security-band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.supplier-panel li::before {
  background: var(--gold);
}

.analysis-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 76px 0;
}

.analysis-copy p {
  margin-top: 22px;
}

.analysis-board {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.board-header,
.board-note,
.rank-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.board-header {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.board-header strong {
  color: #f2d278;
}

.rank-row {
  grid-template-columns: 1fr minmax(120px, 220px) 40px;
  min-height: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-row span {
  font-weight: 800;
}

.rank-row strong {
  text-align: right;
}

.rank-row.top strong {
  color: #f2d278;
}

meter {
  width: 100%;
  height: 10px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--teal);
}

.board-note {
  margin-top: 18px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.calculator {
  padding: 72px 0;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  margin-top: 34px;
}

.calculator-form,
.calculator-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(16, 32, 42, 0.07);
}

.calculator-form {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.calculator-form label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.calculator-form input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--teal);
}

.calculator-form output {
  color: var(--teal-dark);
}

.calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: #fefefe;
}

.calculator-result span {
  color: var(--muted);
  font-weight: 800;
}

.calculator-result strong {
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.calculator-result p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(34px, 6vw, 56px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.security-band h2,
.security-band p,
.security-band li {
  color: var(--white);
}

.security-band p {
  margin-top: 18px;
  opacity: 0.78;
}

.security-band li {
  opacity: 0.86;
}

.faq-section {
  padding: 96px 0 64px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.cta-section {
  padding: clamp(42px, 7vw, 76px);
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cta-section p {
  width: min(720px, 100%);
  margin: 22px auto 0;
}

.cta-section .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 58px auto 0;
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer span {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer .brand {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(720px, calc(100% - 28px));
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    justify-content: stretch;
    padding-top: 10px;
  }

  .site-header.is-open .site-nav a {
    padding: 14px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-header.is-scrolled.is-open .site-nav a {
    border-top-color: var(--line);
  }

  .hero {
    min-height: 88vh;
    padding-top: 136px;
    background-position: 62% center;
  }

  .intro,
  .analysis-section,
  .calculator-shell,
  .security-band {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline,
  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 86vh;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .trust-band,
  .feature-grid,
  .timeline,
  .solution-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    width: min(100% - 28px, 520px);
  }

  .section,
  .access-section,
  .workflow,
  .split-section,
  .analysis-section,
  .calculator,
  .security-band,
  .faq-section,
  .cta-section,
  .feature-grid,
  .site-footer {
    width: min(100% - 28px, 520px);
  }

  .intro,
  .workflow,
  .calculator,
  .faq-section {
    padding-top: 76px;
  }

  .section-heading h2,
  .analysis-copy h2,
  .security-band h2,
  .cta-section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .analysis-section {
    padding: 48px 0;
  }

  .rank-row {
    grid-template-columns: 1fr 42px;
    gap: 10px;
    padding: 14px 0;
  }

  .rank-row meter {
    grid-column: 1 / -1;
    order: 3;
  }

  .board-note,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .header-action {
    width: 100%;
  }

  .hero-stats div,
  .trust-item,
  .access-panel,
  .feature-card,
  .timeline article,
  .solution-panel,
  .analysis-board,
  .calculator-form,
  .calculator-result {
    padding: 20px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats div {
    min-height: 92px;
    padding: 12px 10px;
  }

  .hero-stats dt {
    font-size: 1.35rem;
  }

  .hero-stats dd {
    font-size: 0.76rem;
    line-height: 1.3;
  }
}
