/* VeriPave marketing site — design tokens match desktop suite */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --elevated: #21262d;
  --text: #c9d1d9;
  --muted: #8b949e;
  --border: #2d3748;
  --accent: #d35400;
  --accent-hover: #e67e22;
  --white: #ffffff;
  --radius: 8px;
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

/*
  Brand is ONE <a>: logo + “Veri Pave” as a single name.
  Override global `a` / `a:hover` colors so both words hover together.
*/
a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
}

a.brand:hover,
a.brand:focus-visible {
  color: var(--white);
  text-decoration: none;
}

/* Full suite_logo is square (icon + wordmark). Show the mark only in the header. */
a.brand .brand-mark {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  background: var(--surface);
}

a.brand .brand-name {
  display: inline-block;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

a.brand .brand-name .pave {
  color: var(--accent);
}

a.brand:hover .brand-name,
a.brand:focus-visible .brand-name {
  color: var(--white);
}

a.brand:hover .brand-name .pave,
a.brand:focus-visible .brand-name .pave {
  color: var(--accent-hover);
}

/* Suite banner (home / about) */
.hero-banner {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}

/* Product: 2-up beta row */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

.card .badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border-radius: 4px;
}

.card .badge-soon {
  background: var(--elevated);
  color: var(--muted);
  border: 1px solid var(--border);
}

.section-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.coming-block {
  margin-top: 2.5rem;
}

.coming-block > p {
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  max-width: 18ch;
}

.hero .lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.trust-bar {
  margin-top: 2rem;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
}

.page-hero .lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.section-alt .card {
  background: var(--elevated);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
}

.card .extra {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}

/* Steps */
.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.section-alt .steps li {
  background: var(--elevated);
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.steps strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.15rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lists */
.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Note / callout */
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--elevated);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.note strong {
  color: var(--text);
}

/* Two columns */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--white);
}

/* Contact */
.contact-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 32rem;
}

.contact-block .email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-block .email:hover {
  color: var(--accent-hover);
}

.subject-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.subject-list li {
  padding: 0.25rem 0;
}

.subject-list li::before {
  content: "· ";
  color: var(--accent);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--white);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--muted);
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.tagline {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

main {
  flex: 1;
}

body {
  display: flex;
  flex-direction: column;
}
