/* ================= VEKTA ================= */
:root {
  --bg: #EDECE6;
  --bg-2: #E3E1D9;
  --paper: #F6F5F0;
  --ink: #121211;
  --ink-2: #45443F;
  --muted: #7A786F;
  --line: rgba(18, 18, 17, .12);
  --accent: #FF4A1C;
  --accent-2: #E63C10;
  --dark: #0D0D0C;
  --dark-2: #171715;
  --dark-3: #22221F;
  --dark-line: rgba(255, 255, 255, .1);
  --on-dark: #EDECE6;
  --on-dark-muted: #9B998F;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px;

  /* consent UI theme */
  --dpdp-bg: #F6F5F0;
  --dpdp-fg: #121211;
  --dpdp-muted: #67655D;
  --dpdp-border: rgba(18, 18, 17, .14);
  --dpdp-soft: rgba(18, 18, 17, .05);
  --dpdp-accent: #121211;
  --dpdp-accent-fg: #F6F5F0;
  --dpdp-font: var(--sans);
  --dpdp-title-font: var(--serif);
  --dpdp-radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
.wrap { width: min(1720px, 100% - 64px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px 12px 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); padding: 12px 22px; }
.btn--ghost:hover { background: rgba(18, 18, 17, .05); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark .btn__arrow { background: rgba(255, 255, 255, .14); }
.btn--sm { font-size: 14px; padding: 9px 10px 9px 18px; }
.btn--block { width: 100%; padding: 16px 16px 16px 24px; font-size: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(237, 236, 230, .82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__links--right { justify-content: flex-end; align-items: center; }
.nav__cta { color: var(--ink) !important; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }
.logo { font-family: var(--serif); font-size: 28px; letter-spacing: .14em; text-decoration: none; color: var(--ink); }
.logo--light { color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { padding: 0 0 40px; }
.hero__banner { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 880px); display: flex; align-items: center; background: var(--bg-2); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 45%; z-index: -2; animation: vk-drift 20s ease-in-out infinite alternate; }
@keyframes vk-drift { from { transform: scale(1.02); } to { transform: scale(1.08) translate(-1%, -1%); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgba(237, 236, 230, .94) 28%, rgba(237, 236, 230, .55) 48%, rgba(237, 236, 230, 0) 68%), linear-gradient(0deg, rgba(237, 236, 230, .7), transparent 22%); }
.hero__inner { position: relative; padding: 110px 0 120px; }
.hero__copy { max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--paper); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 74, 28, .18); }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5.2vw, 5.4rem); line-height: .94; letter-spacing: -.02em; }
.hero__title em { color: var(--accent); }
.hero__lede { max-width: 500px; margin: 26px 0 32px; font-size: 18px; color: var(--ink-2); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.hero__trust li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 7px; }
.hero__chip { position: absolute; right: 0; bottom: 48px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 18px; background: rgba(246, 245, 240, .82); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .6); font-size: 14px; }
.hero__chip strong { display: block; font-weight: 700; }
.hero__chip small { color: var(--muted); font-size: 12.5px; }
.hero__chip-dot { width: 10px; height: 10px; border-radius: 50%; background: #22B45E; box-shadow: 0 0 0 5px rgba(34, 180, 94, .18); }

.stats { margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 22px 20px 0; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-size: 13px; color: var(--muted); order: 2; }
.stats dd { margin: 0 0 4px; font-family: var(--serif); font-size: 44px; line-height: 1; }
.stats > div { display: flex; flex-direction: column-reverse; }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow--dark { color: var(--on-dark-muted); }
.section-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.01em; }
.section-title em { color: var(--accent); }
.section-title--light { color: var(--on-dark); }
.section-lede { margin: 18px auto 0; color: var(--ink-2); font-size: 17px; }
.section-lede--light { color: var(--on-dark-muted); margin-inline: 0; }

/* ---------- systems ---------- */
.systems { padding: 110px 0 100px; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 34px 32px 38px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.feature__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); margin-bottom: 26px; }
.feature__icon svg { width: 20px; height: 20px; fill: currentColor; }
.feature__icon.is-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.feature h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 32ch; }

.showcase { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 72px; }
.manifesto {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark); border-radius: 28px;
  padding: 44px 40px; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px;
}
.manifesto::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 380px; height: 380px; background: radial-gradient(closest-side, rgba(255, 74, 28, .28), transparent); }
.manifesto__text { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.06; }
.manifesto__mark { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--accent); vertical-align: .02em; box-shadow: 0 0 0 .14em rgba(255, 74, 28, .25); }
.manifesto .btn { position: relative; z-index: 1; }
.shot { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 420px; background: var(--bg-2); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(13, 13, 12, .62); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- demo / form section ---------- */
.demo { position: relative; background: var(--dark); color: var(--on-dark); padding: 140px 0 110px; isolation: isolate; overflow: hidden; }
.demo__bg { position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 12, .55) 0%, rgba(13, 13, 12, .82) 55%, var(--dark) 100%), url("../img/factory-line.jpg") center 40% / cover no-repeat; }
.demo__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.demo__intro { position: sticky; top: 100px; }
.tech-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--dark-line); }
.tech-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--dark-line); }
.tech-list span { font-size: 12px; color: var(--accent); font-weight: 600; padding-top: 4px; }
.tech-list strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.tech-list p { margin: 2px 0 0; font-size: 14px; color: var(--on-dark-muted); }

.card-form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 28px; padding: 36px; }
.card-form .dpdp-receipt { padding: 8px; color: var(--on-dark); --dpdp-accent: var(--accent); --dpdp-accent-fg: #fff; }

.form { display: grid; gap: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--on-dark); padding: 0; }
.field i, .consents b { color: var(--accent); font-style: normal; }
.field small { color: var(--on-dark-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15px var(--sans); color: var(--on-dark);
  background: var(--dark-3); border: 1px solid transparent; border-radius: 12px;
  padding: 13px 14px; transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-muted) 50%), linear-gradient(135deg, var(--on-dark-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #111; }
.field input::placeholder, .field textarea::placeholder { color: #66655e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #262623; }
.field input:user-invalid, .field select:user-invalid { border-color: #ff7a5c; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 7px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--dark-3); border: 1px solid transparent; font-size: 14px; font-weight: 600; transition: border-color .15s ease; }
.slot small { color: var(--on-dark-muted); font-weight: 500; font-size: 12px; }
.slot input:checked + span { border-color: var(--accent); background: rgba(255, 74, 28, .1); }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hint { margin: 8px 0 0; font-size: 12.5px; color: var(--on-dark-muted); }
.hint::before { content: "◷ "; color: var(--accent); }

.consents { margin: 0; padding: 18px; border: 1px solid var(--dark-line); border-radius: 16px; display: grid; gap: 12px; }
.consents legend { padding: 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.check em { font-style: normal; color: var(--on-dark-muted); font-size: 12.5px; }
.check b { font-size: 12.5px; font-weight: 600; }

.notice { font-size: 13.5px; color: var(--on-dark-muted); }
.notice summary { cursor: pointer; font-weight: 600; color: var(--on-dark); }
.notice ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.notice b { color: var(--on-dark); font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: 40px 0 88px; border-top: 1px solid var(--dark-line); }
.footer__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 70px 0 90px; }
.footer__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 9vw, 8rem); line-height: .9; letter-spacing: -.02em; }
.footer__title em { color: var(--accent); }

.newsletter { background: var(--paper); color: var(--ink); border-radius: 28px; padding: 34px; }
.newsletter h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.newsletter__lede { margin: 10px 0 22px; color: var(--ink-2); font-size: 15px; }
.newsletter .eyebrow { margin-bottom: 8px; }
.form--light .field > span, .form--light .field legend { color: var(--ink); }
.form--light .field small { color: var(--muted); }
.form--light .field input { background: #fff; color: var(--ink); border-color: var(--line); }
.form--light .field input::placeholder { color: #a5a399; }
.form--light .field input:focus { background: #fff; border-color: var(--ink); }
.consents--light { border-color: var(--line); padding: 14px 16px; }
.consents--light .check em { color: var(--muted); }
.newsletter .dpdp-receipt { padding: 0; --dpdp-accent: var(--ink); --dpdp-accent-fg: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; background: #fff; transition: all .15s ease; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--dark-line); }
.footer__cols h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer__cols nav { display: grid; gap: 8px; align-content: start; }
.footer__cols nav a { text-decoration: none; font-size: 15px; color: var(--on-dark); opacity: .85; }
.footer__cols nav a:hover { opacity: 1; color: var(--accent); }
.footer__note { margin: 14px 0 0; font-size: 13px; color: var(--on-dark-muted); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 12.5px; color: var(--on-dark-muted); }

/* ---------- legal page ---------- */
.legal { padding: 70px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; margin: 0 0 12px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 44px 0 10px; }
.legal h3 { font-size: 16px; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .dpdp-table { background: var(--paper); border-radius: 12px; overflow: hidden; font-size: 13px; }
.legal .dpdp-table th, .legal .dpdp-table td { padding: 10px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .demo__inner, .footer__hero { grid-template-columns: 1fr; gap: 48px; }
  .hero__banner { min-height: 0; align-items: flex-end; }
  .hero__bg { object-position: 75% 50%; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(237, 236, 230, .92) 45%, rgba(237, 236, 230, .35) 75%, rgba(237, 236, 230, .1) 100%); }
  .hero__inner { padding: 280px 0 48px; }
  .hero__chip { top: 24px; bottom: auto; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .manifesto { grid-column: 1 / -1; min-height: 300px; }
  .shot { min-height: 340px; }
  .demo__intro { position: static; }
  .grid6 { grid-template-columns: 1fr 1fr; }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 28px 24px 30px; border-left: 0; }
  .feature:nth-child(2n) { border-left: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav__links:not(.nav__links--right) { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__links--right a:not(.nav__cta) { display: none; }
  .grid6 { grid-template-columns: 1fr; }
  .feature:nth-child(2n) { border-left: 0; }
  .feature { padding-inline: 0 !important; }
  .form__grid, .slots { grid-template-columns: 1fr; }
  .card-form, .newsletter { padding: 24px; }
  .showcase { grid-template-columns: 1fr; }
  .manifesto { padding: 32px 26px; }
  .shot { min-height: 300px; }
  .stats dd { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
}
