/* ============================================================
   VELOBIT DIGITAL VENTURE — shared stylesheet
   Design language: "the paperwork that proves you're real."
   Ledger paper + ink-stamp verification marks + a live WhatsApp
   demo, because trust is the entire sales pitch for this business.
   ============================================================ */

:root {
  /* Color tokens */
  --ink:        #101B22; /* near-black teal — hero / footer bg */
  --ink-soft:   #5B6570; /* muted text on paper */
  --paper:      #F6F1E1; /* warm ledger-paper cream — body bg */
  --paper-line: #E4DBC3; /* hairline rule on paper */
  --jade:       #17A673; /* primary accent — chat / action */
  --jade-deep:  #0E7A55;
  --stamp:      #2C4870; /* ink-stamp blue — verification marks */
  --amber:      #E0A526; /* small highlight / price accent */
  --white:      #FFFFFF;

  /* Type */
  --font-display: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--jade-deep); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility — accessibility floor */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 3px;
}

/* ---------- Eyebrow label ---------- */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: var(--jade-deep);
  margin: 0 0 .75em;
  display: block;
}
.eyebrow.on-dark { color: var(--jade); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--jade);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--jade-deep);
}
.btn-primary:hover { box-shadow: 0 6px 0 var(--jade-deep); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-ghost:hover { background: rgba(246,241,225,.08); }
.btn-on-jade {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
}

/* ---------- Nav ---------- */
.site-nav {
  background: var(--ink);
  padding: 20px 0;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.wordmark {
  font-family: var(--font-display);
  color: var(--paper);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: .08em;
  font-weight: 700;
}
.wordmark span { color: var(--jade); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 88px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--paper);
}
.hero p.lede {
  font-size: 1.15rem;
  color: #CFC9B8;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Stamp badge ---------- */
.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.stamp {
  font-family: var(--font-display);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--stamp);
  background: var(--paper);
  border: 2px solid var(--stamp);
  border-radius: 4px;
  padding: 8px 12px;
  display: inline-block;
  transform: rotate(-2deg);
  position: relative;
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--stamp);
  border-radius: 2px;
}
.stamp:nth-child(2) { transform: rotate(1.5deg); }
.stamp:nth-child(3) { transform: rotate(-1deg); }

/* ---------- Chat mockup (hero signature element) ---------- */
.phone {
  background: #0B1319;
  border: 6px solid #1B2732;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  max-width: 360px;
  margin: 0 auto;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
}
.phone-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--jade);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: .8rem;
}
.phone-header .who { color: var(--paper); font-weight: 700; font-size: .9rem; }
.phone-header .status { color: var(--jade); font-size: .7rem; }

.chat-thread { display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in .5s ease forwards;
}
.bubble.in {
  background: #1E2A33;
  color: #EDE9DC;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble.out {
  background: var(--jade);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.bubble .meta {
  display: block;
  font-size: .65rem;
  margin-top: 4px;
  opacity: .7;
}
.bubble.out .meta { text-align: right; }
.bubble:nth-child(1) { animation-delay: .1s; }
.bubble:nth-child(2) { animation-delay: .6s; }
.bubble:nth-child(3) { animation-delay: 1.4s; }
.bubble:nth-child(4) { animation-delay: 1.9s; }

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 1; transform: none; }
}

/* ---------- Section spacing ---------- */
section { padding: 72px 0; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Services checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--paper-line);
}
.checklist li:last-child { border-bottom: 1px solid var(--paper-line); }
.checkmark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--jade);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.checklist h3 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 4px; }
.checklist p { color: var(--ink-soft); margin: 0; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.trust .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust .stamp-row { margin-top: 24px; }
.trust p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--jade); text-align: center; padding: 72px 0; }
.cta-band h2 { color: var(--ink); font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cta-band p { color: #0E4E36; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #B9C2C4;
  padding: 48px 0 32px;
  font-size: .9rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--jade); }
.site-footer .legal { margin-top: 24px; font-size: .78rem; color: #6E7A7D; width: 100%; }

/* ============================================================
   Document pages (Privacy / Terms)
   ============================================================ */
.doc-header { padding: 56px 0 40px; }
.doc-header .stamp { margin-bottom: 20px; }
.cert-box {
  border: 2px solid var(--stamp);
  border-radius: 6px;
  padding: 28px 32px;
  position: relative;
}
.cert-box::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--paper-line);
  border-radius: 3px;
  pointer-events: none;
}
.cert-box h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.cert-meta { color: var(--ink-soft); font-size: .9rem; }
.cert-meta strong { color: var(--ink); }

.doc-body { padding-bottom: 80px; max-width: 74ch; }
.doc-body h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--stamp);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line);
}
.doc-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.doc-body ul { padding-left: 20px; color: var(--ink-soft); }
.doc-body p { color: var(--ink-soft); }
.doc-body strong { color: var(--ink); }
.doc-notice {
  background: #FBF2DE;
  border: 1px solid var(--amber);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: .9rem;
  color: #6B4E12;
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; text-align: left; }
  .trust .container { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; }
}
