/* TovCare marketing site. Dependency-free, no external requests. */
:root {
  --orange: #e8702a;
  --orange-dark: #c95a1a;
  --orange-soft: #fdebdd;
  --teal: #1b7f79;
  --teal-dark: #145f5a;
  --teal-soft: #dff2f0;
  --cream: #fff8f1;
  --paper: #ffffff;
  --ink: #23201d;
  --ink-muted: #5f5751;
  --line: #eadfd4;
  --warning-bg: #fff3cd;
  --warning-ink: #6b4f00;
  --warning-line: #f0d27a;
  --radius: 14px;
  --gutter: 16px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1b1714;
    --paper: #262120;
    --ink: #f4ece4;
    --ink-muted: #c3b6aa;
    --line: #3b332e;
    --orange-soft: #3a2518;
    --teal-soft: #15302e;
    --warning-bg: #3a2f0e;
    --warning-ink: #ffe08a;
    --warning-line: #7a6320;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: var(--gutter); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand svg, .brand-mark { width: 32px; height: 32px; flex: none; border-radius: 9px; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; font-size: .95rem; }
.nav a { color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.lang { display: inline-flex; gap: 6px; font-size: .9rem; align-items: center; }
.lang a { text-decoration: none; padding: 4px 8px; border-radius: 8px; color: var(--ink-muted); }
.lang a[aria-current="true"] { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.lang a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-small { padding: 8px 14px; font-size: .9rem; }

/* Hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--orange-soft) 0%, var(--cream) 100%); }
.hero .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.hero .eyebrow { color: var(--teal-dark); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-muted); max-width: 36em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; }
@media (min-width: 820px) {
  .hero { padding: 80px 0 64px; }
  .hero .wrap { grid-template-columns: 3fr 2fr; }
}

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 40em; color: var(--ink-muted); }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--cream); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; background: var(--teal-soft); color: var(--teal-dark); }
.card .icon.orange { background: var(--orange-soft); color: var(--orange-dark); }
.card ul { padding-left: 1.2em; margin: 0; }
.card li { margin-bottom: .4em; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); margin-bottom: 10px; }
.pill.orange { background: var(--orange-soft); color: var(--orange-dark); }

/* Pricing */
.price { font-size: 1.9rem; font-weight: 700; margin: 6px 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-muted); }
.card.featured { border-color: var(--orange); box-shadow: 0 8px 30px rgba(232, 112, 42, .12); }
.fine { font-size: .9rem; color: var(--ink-muted); }

/* Store badges (placeholders) */
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #23201d; color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: 10px; min-width: 170px; line-height: 1.15; border: 1px solid #4a423c;
}
.store-badge:hover { color: #fff; opacity: .9; }
.store-badge small { display: block; font-size: .7rem; opacity: .85; }
.store-badge strong { font-size: 1rem; }
.store-badge svg { width: 24px; height: 24px; flex: none; }

/* Contact */
.contact { text-align: center; }
.contact .big { font-size: 1.3rem; word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .9rem; color: var(--ink-muted); background: var(--paper); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--ink-muted); }

/* Legal pages */
.legal { padding: 32px 0 64px; }
.legal article { max-width: 46em; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
@media (max-width: 480px) { .legal table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.legal th { background: var(--paper); }
.draft-banner {
  background: var(--warning-bg); color: var(--warning-ink); border: 1px solid var(--warning-line);
  border-radius: var(--radius); padding: 14px 18px; margin: 24px 0; font-weight: 600;
}
.draft-banner span { font-weight: 400; display: block; margin-top: 4px; }
.todo { background: var(--warning-bg); color: var(--warning-ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.meta { color: var(--ink-muted); font-size: .9rem; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--orange); margin: 0; }

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