/* ============================================================
   VebTechno — design system
   Warm paper, ink, one accent. Editorial, fast, no decoration
   that does not earn its place.
   ============================================================ */

:root {
  --ink: #0e1417;
  --ink-70: #3c484f;
  --ink-50: #66737a;
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --card: #fffdf8;
  --line: #ded6c6;
  --line-soft: #e9e3d6;
  --accent: #c2451c;
  --accent-ink: #8f3113;
  --forest: #17453a;
  --forest-soft: #e4ece7;
  --white: #ffffff;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(14, 20, 23, 0.05), 0 6px 18px rgba(14, 20, 23, 0.04);
  --shadow-md: 0 2px 6px rgba(14, 20, 23, 0.06), 0 18px 44px rgba(14, 20, 23, 0.09);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink a { color: var(--paper); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- type ---------- */

.display,
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}

h1, .display--xl { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2, .display--lg { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3, .display--md { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.012em; }

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.section--ink .eyebrow { color: #e8a184; }

.small { font-size: 0.875rem; color: var(--ink-50); }

/* ---------- header ---------- */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  white-space: nowrap;
}
.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-70);
  padding: 9px 12px;
  border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(14, 20, 23, 0.05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(14, 20, 23, 0.07); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 10px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .header-cta .btn--mobile { display: inline-flex; }
}
@media (min-width: 981px) { .btn--mobile { display: none !important; } }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: rgba(14, 20, 23, 0.04); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--accent-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.18s var(--ease);
}
.link-arrow:hover { gap: 12px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 108px);
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-70);
}
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

/* hero panel — a small "work card" */

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #cfc7b6; }
.hero-panel__body { padding: 22px; }
.kpi { display: grid; gap: 14px; }
.kpi__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.kpi__row:last-child { border-bottom: 0; padding-bottom: 0; }
.kpi__label { font-size: 0.82rem; color: var(--ink-50); }
.kpi__value { font-family: var(--serif); font-size: 1.28rem; letter-spacing: -0.02em; }
.kpi__value--good { color: var(--forest); }

.spark { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 18px; }
.spark i {
  flex: 1;
  background: var(--forest);
  border-radius: 3px 3px 0 0;
  opacity: 0.28;
}
.spark i:nth-child(4) { opacity: 0.45; }
.spark i:nth-child(5) { opacity: 0.65; }
.spark i:nth-child(6) { opacity: 0.85; }
.spark i:nth-child(7) { opacity: 1; }

/* marquee */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 34s linear infinite;
  color: var(--ink-50);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee__track span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- section headers ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px 56px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.section-head .lede { margin: 0; }

/* ---------- cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfc5b1; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--ink-70); margin-bottom: 16px; }
.card__num {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 16px;
}
.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-70);
}
.card__list li { padding-left: 18px; position: relative; }
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

.card--link { text-decoration: none; display: block; }
.card--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  grid-column: span 2;
}
.card--feature h3 { color: var(--paper); }
.card--feature p { color: #b9c2c6; }
@media (max-width: 900px) { .card--feature { grid-column: auto; } }

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split__media {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: 0.97rem; color: var(--ink-70); }
.checklist svg { flex: 0 0 20px; color: var(--forest); margin-top: 3px; }

/* ---------- process ---------- */

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 760px) {
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
}
.step__n {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.step h3 { font-size: 1.24rem; }
.step p { margin: 0; color: var(--ink-70); font-size: 0.96rem; }

/* ---------- pricing ---------- */

.price {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price--feature .price__amount { color: var(--paper); }
.price--feature .price__meta { color: #b9c2c6; }
.price--feature .card__list { color: #b9c2c6; }
.price--feature .btn--ghost { --btn-fg: var(--paper); border-color: #3a464e; }
.price__amount { font-family: var(--serif); font-size: 2.1rem; letter-spacing: -0.03em; }
.price__meta { font-size: 0.85rem; color: var(--ink-50); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent-ink);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 0 22px; color: var(--ink-70); font-size: 0.96rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--paper); margin-bottom: 12px; }
.cta-band p { color: #b9c2c6; margin: 0; }

/* ---------- forms ---------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 69, 28, 0.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.82rem; color: var(--ink-50); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #b9c2c6; padding-block: 62px 34px; margin-top: 0; }
.site-footer a { color: #d9dfe1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid #2a3339;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--paper); margin-bottom: 14px; }
.footer-brand .brand__mark { background: var(--paper); color: var(--ink); }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7d8a90;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: #7d8a90;
}

/* ---------- utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 42px; }
.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }
.rule { height: 1px; background: var(--line); border: 0; margin-block: 42px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--accent { background: #fbeade; color: var(--accent-ink); }

.tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* print */
@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none; }
  body { background: #fff; }
}
