/* RepairVeda public website (repairveda.com). Colours and type from docs/brand-kit.md. */
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-display: swap; src: url('fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --green-50: #EAF6F0; --green-100: #CFEDDF; --green-600: #0B6E4F; --green-700: #0A5A41;
  --green-900: #0B3D30; --green-950: #062A20;
  --mint-300: #5FD3A1; --mint-50: #EFFBF6;
  --neutral-25: #F7F9F8; --neutral-50: #F2F5F4; --neutral-100: #E6EBE9; --neutral-200: #D3DBD8;
  --neutral-300: #B4C0BC; --neutral-500: #66756F; --neutral-600: #4C5A55; --neutral-900: #14211C;
  --radius: 3px;
  --page: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-900);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); }
a:hover { color: var(--green-700); }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 44px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header: white, so the colour logo (logo guide: white headers use horizontal_colour.svg) */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--neutral-100);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: block; padding: 8px 0; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--neutral-600); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--green-600); }
.actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid var(--green-600);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--green-600); }
.btn-ghost:hover { background: var(--green-50); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-light { background: var(--mint-300); border-color: var(--mint-300); color: var(--green-950); }
.btn-light:hover { background: #fff; color: var(--green-950); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mint-50) 0%, #fff 100%); padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
.hero h1 { max-width: 820px; }
.hero .lead { font-size: 20px; color: var(--neutral-600); max-width: 680px; margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; color: var(--neutral-600); font-size: 15px; }
.ticks li::before { content: '✓'; color: var(--green-600); font-weight: 700; margin-right: 8px; }

/* Product picture in a simple browser frame */
.shot { border: 1px solid var(--neutral-200); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(6, 42, 32, 0.12); }
.shot-bar { height: 28px; background: var(--neutral-50); border-bottom: 1px solid var(--neutral-100); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--neutral-200); }
.shot-bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--neutral-600); }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--neutral-25); border-top: 1px solid var(--neutral-100); border-bottom: 1px solid var(--neutral-100); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--neutral-600); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--neutral-100); border-radius: 6px; padding: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps p { color: var(--neutral-600); font-size: 15px; margin: 0 0 8px; }
.steps .instead { font-size: 14px; color: var(--neutral-500); margin: 0; }
.steps .instead b { color: var(--neutral-600); font-weight: 600; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 28px 0; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--neutral-600); }
.points { list-style: none; padding: 0; margin: 0; }
.points li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--neutral-100); border-radius: 6px; padding: 24px; }
.card p { color: var(--neutral-600); font-size: 15px; margin: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }

.faq details { border-bottom: 1px solid var(--neutral-100); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--neutral-600); margin: 10px 0 0; }

.cta-band { background: var(--green-900); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--neutral-300); font-size: 18px; }
.cta-band .cta-row { justify-content: center; margin: 24px 0 0; }

/* Legal and contact pages */
.page-head { background: var(--mint-50); padding: 48px 0 32px; border-bottom: 1px solid var(--neutral-100); }
.page-head p { color: var(--neutral-600); margin: 0; }
.prose { max-width: 780px; padding: 40px 0 72px; }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose h3 { font-size: 17px; margin-top: 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--neutral-200); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--neutral-25); }
.note { background: var(--green-50); border-left: 3px solid var(--green-600); padding: 14px 16px; border-radius: var(--radius); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 24px; }
.contact-grid .card h2 { font-size: 18px; margin: 0 0 6px; }
.contact-grid .card p { font-size: 16px; color: var(--neutral-900); }
.contact-grid .card .muted { color: var(--neutral-600); font-size: 14px; margin-top: 6px; }

/* Footer: dark, so the on-dark logo */
.site-footer { background: var(--green-950); color: var(--neutral-300); padding: 48px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 30px; width: auto; margin: 6px 0 14px; }
.site-footer h2 { font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--neutral-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal-line { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 18px; font-size: 14px; line-height: 1.7; }
.legal-line strong { color: #fff; font-weight: 600; }

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 20px; }
  .feature.flip .feature-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .actions { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  h1 { font-size: 30px; }
  .hero { padding-top: 40px; }
  .hero .lead { font-size: 17px; }
  section { padding: 52px 0; }
  .steps, .cards, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .brand img { height: 28px; }
  .actions .btn-ghost { display: none; }
}
