/* Videnz landing page. Colors taken from the logo (design/logo_videnz.png). */
:root {
  --brand: #562da4;
  --brand-dark: #3e1f7c;
  --brand-darker: #2a1458;
  --brand-tint: #f5f1fc;
  --brand-tint-strong: #e8def8;
  --ink: #1d1530;
  --muted: #554c6b;
  --line: #e4deee;
  --white: #ffffff;
  --amber-bg: #fef3c7;
  --amber: #8a3b07;
  --green-bg: #dcfce7;
  --green: #14532d;
  --red-bg: #fee2e2;
  --red: #991b1b;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(29 21 48 / 6%), 0 12px 32px rgb(62 31 124 / 12%);
  --font:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
  border-radius: 6px;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 8px 16px;
  background: var(--white);
  color: var(--brand-dark);
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgb(42 20 88 / 25%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: rgb(255 255 255 / 88%);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
}

.site-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.button-light {
  background: var(--white);
  color: var(--brand-dark);
}

.button-light:hover {
  background: var(--brand-tint-strong);
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 85% 20%, var(--brand-tint-strong) 0, transparent 45%), var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-strong);
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.875rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
}

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

.lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.2rem;
  color: var(--muted);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.975rem;
}

.trust-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

/* Product preview (illustrative, pure HTML) */
.preview {
  margin: 0;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--brand-dark);
}

.doc-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.doc-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
}

.doc-list li + li {
  border-top: 1px solid var(--brand-tint);
}

.doc-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.doc-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.doc-info b {
  font-size: 0.975rem;
}

.doc-info small {
  color: var(--muted);
  font-size: 0.825rem;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-red {
  background: var(--red-bg);
  color: var(--red);
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber);
}

.badge-green {
  background: var(--green-bg);
  color: var(--green);
}

.badge-neutral {
  background: #f1eff5;
  color: var(--muted);
}

.preview figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.825rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--brand-tint);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  color: var(--ink);
}

.section-lead {
  max-width: 620px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card h3 {
  margin-top: 18px;
  font-size: 1.25rem;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--brand-tint-strong);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.step h3 {
  margin-top: 18px;
  font-size: 1.2rem;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* Security band */
.section-brand {
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-dark) 60%,
    var(--brand-darker) 100%
  );
  color: var(--white);
}

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.security-intro h2 {
  margin-top: 20px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
}

.security-intro p {
  margin-top: 16px;
  color: rgb(255 255 255 / 88%);
  font-size: 1.125rem;
}

.security-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-points li {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
}

.security-points svg {
  margin-top: 2px;
}

.security-points h3 {
  font-size: 1.1rem;
}

.security-points p {
  margin-top: 4px;
  color: rgb(255 255 255 / 85%);
  font-size: 0.975rem;
}

/* Document chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--brand-tint-strong);
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

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

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Final call */
.cta {
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-dark);
}

.cta-inner p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  background: var(--brand-darker);
  color: rgb(255 255 255 / 80%);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

.footer-inner p:last-child {
  margin-left: auto;
}

.brand-footer .brand-name {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .security {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .doc-list li {
    grid-template-columns: 40px 1fr;
  }

  .doc-list .badge {
    grid-column: 2;
    justify-self: start;
  }

  .footer-inner p:last-child {
    margin-left: 0;
  }
}
