/* Vetliko landing — styles
   Brand tokens come from design/logo-sheet.dc.html */

:root {
  /* Brand */
  --green: #0E6B5C;
  --green-deep: #0A4F44;
  --dark: #0C2A25;
  --amber: #F2A23A;
  --ground: #F6F8F7;
  --ink: #10231F;

  /* Supporting */
  --text: #33443E;
  --muted: #55665F;
  --surface: #FFFFFF;
  --tint: #EEF3F1;
  --mint: #E3EFEB;
  --line: #DDE6E2;
  --line-strong: #C9D6D1;
  --field-border: #7C8F88;
  --amber-tint: #FFF7EA;
  --amber-ink: #6B4A12;
  --on-dark: #CFE3DD;
  --error: #B3261E;

  --font-head: Manrope, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 1160px;
  --gutter: 24px;
  --section-y: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }

a { color: var(--green); }
a:hover { color: var(--green-deep); }

img { display: block; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--amber); }

[id] { scroll-margin-top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 10;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: #FFFFFF; }

/* ---------- Layout ---------- */

.container {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section--gap-32 { gap: 32px; }

.section__title { max-width: 640px; }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.section__lead { font-size: 18px; color: var(--text); }

.band--white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band--no-bottom { border-bottom: 0; }
.band--dark { background: var(--dark); color: #FFFFFF; }

.eyebrow {
  font: 600 13px/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--small { font-size: 12px; line-height: 1.6; }
.eyebrow--deep { color: var(--green-deep); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 16px/1.5 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn--compact { padding: 13px 22px; }
.btn--primary { background: var(--green); color: #FFFFFF; }
.btn--primary:hover { background: var(--green-deep); color: #FFFFFF; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--field-border); color: var(--ink); }
.btn--ink { background: var(--ink); color: #FFFFFF; }
.btn--ink:hover { background: var(--dark); color: #FFFFFF; }
.btn[disabled] { opacity: .65; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  font: 800 24px/1 var(--font-head);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 500;
  font-size: 15px;
}
.site-nav a {
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
}
.site-nav a:hover { color: var(--green); }

/* ---------- Hero ---------- */

.hero {
  padding-top: 56px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.hero__text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__lead { font-size: 19px; color: var(--text); max-width: 540px; }
.hero__note { font-size: 14px; color: var(--muted); }

.chat {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat__meta { font-size: 13px; color: var(--muted); text-align: center; }

.bubble { padding: 12px 16px; }
.bubble--out {
  align-self: flex-end;
  max-width: 80%;
  background: var(--green);
  color: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
}
.bubble--in {
  align-self: flex-start;
  max-width: 85%;
  background: var(--tint);
  border-radius: 16px 16px 16px 4px;
}

.admin-card {
  margin-top: 8px;
  border: 1px solid var(--amber);
  background: var(--amber-tint);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-card__label {
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.admin-card__title { font-weight: 600; }
.admin-card__meta { font-size: 14px; color: var(--text); }
.admin-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.mock-btn {
  display: inline-block;
  font: 600 15px/1 var(--font-body);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 18px;
}
.mock-btn--dark { background: var(--ink); color: #FFFFFF; }
.mock-btn--light { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }

/* ---------- Cards ---------- */

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.cards--stretch { align-items: stretch; }

.card {
  flex: 1 1 280px;
  min-width: 0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card--ground { background: var(--ground); }
.card p { color: var(--text); }

.role {
  flex: 1 1 300px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.role h3 { font-size: 22px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}
.feature-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */

.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.step {
  flex: 1 1 230px;
  min-width: 0;
  border-top: 2px solid var(--amber);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step__who { font: 800 15px/1.2 var(--font-head); color: var(--amber); }
.step__text { font-size: 15px; color: var(--on-dark); }

/* ---------- Safety table ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.safety-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.safety-table th,
.safety-table td { padding: 16px 20px; vertical-align: top; }
.safety-table th { font-weight: 600; }
.safety-table thead tr { background: var(--tint); }
.safety-table tbody tr { border-top: 1px solid var(--line); }

/* ---------- Funds band ---------- */

.funds-wrap { padding-bottom: var(--section-y); }
.funds {
  background: var(--mint);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.funds__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.funds__text h2 { font-size: clamp(26px, 3.4vw, 30px); }
.funds__text p:last-child { color: var(--text); }

/* ---------- Partners + form ---------- */

.partners { flex-direction: row; flex-wrap: wrap; gap: 48px; }
.partners__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.partners__cols { display: flex; flex-wrap: wrap; gap: 24px; }
.partners__col {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.partners__col h3 { font-size: 18px; }
.plain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--text);
}

.request-form {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.request-form h3 { font-size: 22px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input {
  width: 100%;
  min-height: 48px;
  padding: 14px;
  font: 400 16px/1.2 var(--font-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--field-border);
  border-radius: 10px;
}
.field input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 1px;
  border-radius: 10px;
}
.field input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; padding: 13px; }
.field__error { font-size: 14px; color: var(--error); }

.btn--submit { width: 100%; padding: 15px 24px; }

.form-status {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
}
.form-status--ok { background: var(--mint); color: var(--green-deep); border: 1px solid var(--green); }
.form-status--error { background: #FDECEA; color: var(--error); border: 1px solid var(--error); }

.form-note { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: var(--on-dark); }
.site-footer__inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  font-size: 14px;
}
.site-footer__brand {
  margin-right: auto;
  font: 800 20px/1 var(--font-head);
  color: #FFFFFF;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  /* Nav drops under the logo and the button */
  .site-nav { order: 3; width: 100%; gap: 0 24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 56px; }

  .site-header__inner { padding-top: 14px; padding-bottom: 8px; gap: 8px 16px; }
  .brand { font-size: 22px; }
  .btn--compact { padding: 11px 16px; font-size: 15px; }
  .site-nav { gap: 0 8px; justify-content: space-between; font-size: 14px; }

  .hero { padding-top: 32px; padding-bottom: 56px; gap: 36px; }
  .hero__lead { font-size: 17px; }
  .section--tight { padding-top: 56px; padding-bottom: 56px; }
  .section { gap: 28px; }
  .section__lead { font-size: 17px; }

  .chat { padding: 16px; border-radius: 20px; }
  .role, .request-form { padding: 20px; }
  .funds { padding: 24px; gap: 24px; }
  .funds .btn { width: 100%; }
  .partners { gap: 36px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .site-footer__brand { width: 100%; }
}

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