/* Veyrag website (2026-11-05, third pass). Editorial and premium, after the
   original veyrag.com: near-black and charcoal grounds with selective light
   sections, large white Inter headings, black-and-white photography of people
   at work, and only three product screens, each shown large. Blue and violet
   are accents only. Inter is served with the site. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #09090b;
  --charcoal: #111113;
  --charcoal-2: #18181b;
  --line-dark: rgba(255, 255, 255, 0.1);
  --on-dark: #f5f5f6;
  --on-dark-muted: #a8a8b3;
  --light: #f4f4f5;
  --surface: #ffffff;
  --ink: #0b0b0f;
  --ink-muted: #45454f;
  --ink-soft: #62626d;
  --line: rgba(9, 9, 11, 0.1);
  --line-strong: rgba(9, 9, 11, 0.18);
  --accent: #6d7cff;
  --accent-deep: #3f4fd6;
  --violet: #9b7bff;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4.6vw, 72px);
  --section: clamp(88px, 10vw, 156px);
  --h1: clamp(2.5rem, 1.1rem + 4.2vw, 4.75rem);
  --h2: clamp(2.05rem, 1.2rem + 2.3vw, 3.3rem);
  --h3: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem);
  --lead: clamp(1.15rem, 1rem + 0.45vw, 1.375rem);
  --body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--on-dark); font-family: var(--font); font-size: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h3 { line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { left: 12px; }

/* Buttons. Primary is white on dark grounds and black on light ones. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.button-large { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.button-primary, .button-light { background: #fff; color: var(--black); }
.button-primary:hover, .button-light:hover { background: #e7e7ec; color: var(--black); transform: translateY(-1px); }
.button-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.button-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }
.button-ghost-light { background: transparent; color: var(--on-dark); }
.button-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.section-light .button-primary, .page .button-primary { background: var(--black); color: #fff; }
.section-light .button-primary:hover, .page .button-primary:hover { background: #26262b; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 9, 11, 0.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 40px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark rect { fill: #fff; }
.brand-mark path { stroke: var(--black); }
.nav-desktop { display: flex; gap: 34px; margin-left: 12px; }
.nav-desktop a { color: var(--on-dark-muted); text-decoration: none; font-size: 1.0625rem; font-weight: 500; }
.nav-desktop a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* The offer, top right: the page's first primary action. */
.header-actions .button-primary { min-height: 50px; padding: 0 26px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35); }
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font-size: 1rem; font-weight: 600; padding: 11px 18px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(340px, calc(100vw - 40px)); display: grid; gap: 2px; padding: 12px; background: var(--charcoal-2); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.nav-mobile nav a:not(.button) { color: var(--on-dark); text-decoration: none; padding: 13px 14px; border-radius: var(--radius-sm); font-weight: 500; font-size: 1.0625rem; }
.nav-mobile nav a:not(.button):hover { background: rgba(255, 255, 255, 0.06); }
.nav-mobile nav .button { margin-top: 8px; }

/* Shared type */
.eyebrow { display: inline-block; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b9bcff; margin-bottom: 20px; }
.eyebrow-dark { color: var(--accent-deep); }
.section { padding-block: var(--section); }
.section-light { background: var(--light); color: var(--ink); }
.section-dark { background: var(--black); color: var(--on-dark); }
.section-charcoal { background: var(--charcoal); color: var(--on-dark); }
.section h2 { font-size: var(--h2); line-height: 1.06; font-weight: 700; }
.section-light h2, .section-light h3 { color: var(--ink); }
.section-dark h2, .section-dark h3, .section-charcoal h2, .section-charcoal h3 { color: #fff; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-lead { margin-top: 24px; font-size: var(--lead); line-height: 1.55; color: var(--ink-muted); max-width: 46ch; }
.section-lead a { color: var(--ink); }
.section-lead-light { color: var(--on-dark-muted); }

/* Photographs: black and white, full-bleed within their frame. */
.photo { border-radius: var(--radius); overflow: hidden; background: #1f1f23; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Product screens: large, framed, readable. */
.screen { display: grid; gap: 14px; }
.screen img { border-radius: var(--radius); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); background: #fff; }
.screen figcaption { font-size: 0.9375rem; color: var(--on-dark-muted); }
.section-light .screen img { box-shadow: 0 40px 80px -40px rgba(9, 9, 11, 0.35), 0 0 0 1px var(--line); }
.section-light .screen figcaption { color: var(--ink-soft); }

/* 1. Hero */
.hero { background: radial-gradient(900px 520px at 85% 10%, rgba(109, 124, 255, 0.16), transparent 70%), var(--black); padding-block: clamp(48px, 6.5vw, 104px) clamp(72px, 8vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero h1 { font-size: var(--h1); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: #fff; }
.hero .lead { margin-top: 28px; font-size: clamp(1.2rem, 1.02rem + 0.5vw, 1.4rem); line-height: 1.5; color: #d4d4db; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; color: var(--on-dark-muted); font-size: 1.0625rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(109, 124, 255, 0.18); }

.hero-media { display: grid; gap: 14px; }
.player { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.video-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; color: #fff; font: inherit; text-align: left; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; transition: transform 0.6s ease; }
.video-cover:hover img { transform: scale(1.02); }
.video-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%); }
.video-cover-play { position: absolute; left: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px); display: flex; align-items: center; gap: 18px; }
.video-play { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7); transition: transform 0.2s ease; }
.video-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -7px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--black); }
.video-cover:hover .video-play, .video-cover:focus-visible .video-play { transform: scale(1.06); }
.video-cover-label { display: grid; gap: 2px; }
.video-cover-label strong { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 700; }
.video-cover-label span { font-size: 0.9375rem; color: #d4d4db; }
.player-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center; background: rgba(9, 9, 11, 0.92); color: var(--on-dark-muted); }
.player-end-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.player-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.demo-meta { font-size: 0.9375rem; color: var(--on-dark-muted); max-width: 62ch; }

/* 2. What Veyrag does */
.what-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
.story { margin-top: 40px; display: grid; gap: 6px; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.story p:last-child { color: var(--ink-soft); }
.what-photo { aspect-ratio: 4 / 5; }

/* 3. How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
.steps { list-style: none; display: grid; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); padding-block: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line-dark); }
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.step-num { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); font-weight: 700; color: #b9bcff; font-variant-numeric: tabular-nums; padding-top: 4px; }
.steps h3 { font-size: var(--h3); font-weight: 700; }
.steps p { margin-top: 10px; color: var(--on-dark-muted); max-width: 52ch; }
.screen-companion { position: sticky; top: 120px; max-width: 520px; justify-self: end; width: 100%; }

/* 4. The Candidate Brief */
.evidence-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(48px, 5vw, 96px); align-items: center; }
.states { list-style: none; display: grid; gap: 16px; margin-top: 40px; color: var(--ink-muted); }
.states li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; align-items: baseline; }
.chip { justify-self: start; display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.chip-ok { background: #dcf3e7; color: #0b5a3a; }
.chip-info { background: #e4e7ff; color: #2c37a8; }
.chip-attention { background: #fbecc9; color: #6f4700; }
.chip-neutral { background: #e7e7ea; color: #2c2c33; }
.chip-mist { background: #fff; color: #45454f; box-shadow: inset 0 0 0 1px var(--line-strong); }
.review-line { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-muted); }
.review-line strong { color: var(--ink); }

/* 5. The client submission */
.approved-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
.screen-submission { max-width: 500px; }
.screen-submission img { width: 100%; }
.points { list-style: none; display: grid; gap: 22px; margin-top: 40px; color: var(--on-dark-muted); }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.points strong { color: #fff; font-weight: 600; }
.note { margin-top: 40px; padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 1rem; }

/* 6. Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
.why-photo { aspect-ratio: 4 / 5; }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3.5vw, 48px) clamp(28px, 3vw, 48px); margin-top: clamp(40px, 4.5vw, 64px); }
.why-list li { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.why-list h3 { font-size: var(--h3); font-weight: 700; }
.why-list p { margin-top: 10px; color: var(--on-dark-muted); }

/* 7. FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-photo { margin-top: 40px; aspect-ratio: 16 / 10; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list details:first-child { border-top: 1px solid var(--line-strong); }
.faq-list summary { cursor: pointer; list-style: none; padding: 28px 56px 28px 0; position: relative; font-weight: 600; font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem); letter-spacing: -0.01em; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 24px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--black); color: #fff; font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 56px 28px 0; color: var(--ink-muted); max-width: 68ch; }
.faq-list a { color: var(--ink); }

/* 8. Closing call to action */
.cta-band { position: relative; overflow: hidden; background: var(--black); color: var(--on-dark); }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 9, 11, 0.94) 0%, rgba(9, 9, 11, 0.7) 55%, rgba(9, 9, 11, 0.5) 100%); }
.cta-inner { position: relative; z-index: 1; padding-block: clamp(104px, 12vw, 184px); }
.cta-band h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: #fff; max-width: 14ch; }
.cta-band p { margin-top: 24px; font-size: var(--lead); color: #d4d4db; max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 9. Footer */
.site-footer { background: var(--black); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-block: 72px 36px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-note { margin-top: 16px; max-width: 38ch; }
.footer-cta { margin-top: 24px; }
.site-footer nav { display: grid; gap: 12px; align-content: start; }
.site-footer nav h2 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 4px; }
.site-footer nav a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.footer-base small { font-size: inherit; max-width: 90ch; }
.footer-base a { color: var(--on-dark); }

/* Inner pages (early access / design partners, privacy, 404) */
.page { background: var(--light); color: var(--ink); padding-block: clamp(56px, 7vw, 104px) clamp(80px, 9vw, 128px); }
main.page { max-width: none; }
.page-narrow > * { max-width: 760px; }
.page h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.page h2 { font-size: 1.375rem; margin-top: 40px; color: var(--ink); }
.page p, .page li { color: var(--ink-muted); font-size: 1.125rem; }
.page p + p { margin-top: 14px; }
.page a { color: var(--ink); }
.page ul { padding-left: 1.2em; margin-top: 12px; }
.page .updated { margin-top: 16px; font-size: 1.0625rem; color: var(--ink-soft); }
.page .eyebrow { color: var(--accent-deep); margin-bottom: 16px; }
.form-card { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(9, 9, 11, 0.35); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 1rem; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select { font: inherit; font-size: 1.0625rem; padding: 14px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus { outline: 2px solid rgba(109, 124, 255, 0.4); border-color: var(--accent-deep); }
.field-error { font-size: 0.9375rem; color: #a3212a; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submission-success { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(46, 158, 110, 0.12); color: #0b5a3a; font-weight: 500; }
.submission-error { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(217, 67, 74, 0.1); color: #a3212a; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-desktop { gap: 22px; }
  .why-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .button-ghost-light { display: none; }
  .header-actions .button-primary { min-height: 44px; padding: 0 18px; font-size: 0.9688rem; }
  .nav-mobile { display: block; margin-left: 0; }
  .header-inner { gap: 12px; }
  .header-inner { min-height: 72px; }
  .hero-grid, .what-grid, .how-grid, .evidence-grid, .approved-grid, .why-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .screen-companion, .faq-side { position: static; }
  .screen-companion { justify-self: start; }
  .what-photo { aspect-ratio: 16 / 11; }
  .why-photo { aspect-ratio: 16 / 11; }
  .approved-copy { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .nav-mobile summary { padding: 10px 14px; }
}
@media (max-width: 360px) {
  .header-actions .button-primary { padding: 0 13px; font-size: 0.875rem; }
}
@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .hero { padding-block: 32px 72px; }
  .hero h1 { font-size: clamp(2.4rem, 10.6vw, 2.75rem); }
  .hero-actions { margin-top: 32px; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .player { aspect-ratio: 4 / 3.4; border-radius: 16px; }
  .video-play { width: 60px; height: 60px; }
  .video-play::after { margin: -10px 0 0 -6px; border-width: 10px 0 10px 17px; }
  .states li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .faq-list summary { padding-right: 52px; }
  .faq-list details p { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .button { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
