/* =====================================================================
   Pet_OS — minimalist design system
   Palette: #f3e9e2 (cream) · #739695 (sage) · #c8e5db (mint)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand palette — three colors only */
  --cream:        #f3e9e2;
  --sage:         #739695;
  --mint:         #c8e5db;

  /* Derived */
  --sage-dark:    #56777a;
  --sage-soft:    #e6eded;

  --brand:        var(--sage);
  --brand-dark:   var(--sage-dark);
  --brand-soft:   var(--mint);
  --accent:       var(--sage);
  --accent-soft:  var(--mint);

  /* Status — kept inside the palette wherever sensible */
  --good:        var(--sage);
  --good-bg:     var(--mint);
  --warn:        #b9895b;
  --warn-bg:     #f4e3d2;
  --bad:         #b16969;
  --bad-bg:      #ecd9d6;
  --info:        var(--sage);
  --info-bg:     var(--mint);

  /* Neutrals — warm greys that sit with the cream */
  --bg:        var(--cream);
  --surface:   #ffffff;
  --surface-2: #fbf6f1;
  --ink:       #2a3636;
  --ink-2:     #5e6c6c;
  --ink-3:     #97a1a1;
  --line:      #e7ddd2;
  --line-2:    #efe6dc;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow:    0 1px 1px rgba(42,54,54,.03);
  --shadow-sm: none;
  --sidebar-w: 240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: 0.98rem; }
small { font-size: .8rem; }
hr { border: none; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Layout */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 18px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--sage);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-name span { color: var(--sage); font-weight: 700; }
.brand-sub { font-size: .68rem; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.nav-group-label {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 11px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 500; font-size: .9rem;
  cursor: pointer; transition: background .12s, color .12s;
}
.nav-item:hover { background: var(--sage-soft); color: var(--ink); }
.nav-item.active { background: var(--mint); color: var(--sage-dark); font-weight: 600; }
.nav-item .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.nav-item .ico svg { display: block; }

.sidebar-foot {
  margin-top: auto;
  padding: 14px 10px 4px;
  border-top: 1px solid var(--line);
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--mint); color: var(--sage-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .78rem;
  flex: 0 0 32px;
}
.user-chip .meta { line-height: 1.2; min-width: 0; }
.user-chip .meta b { font-size: .85rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .meta small { color: var(--ink-3); display: block; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- Main */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 30px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.topbar .menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--ink-2); padding: 4px;
}
.page-title { flex: 1; min-width: 0; }
.page-title h1 { font-size: 1.25rem; }
.page-title p { color: var(--ink-2); font-size: .82rem; }

.dog-switch {
  display: flex; align-items: center; gap: 9px;
  padding: 4px 12px 4px 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .85rem;
  color: var(--ink);
}
.dog-switch:hover { border-color: var(--sage); }
.dog-switch .dog-ph {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--mint); display: grid; place-items: center;
  color: var(--sage-dark); font-weight: 700; font-size: .8rem;
}

.guest-banner {
  background: var(--mint);
  color: var(--sage-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  margin-bottom: 18px;
  border: 1px solid rgba(115,150,149,.15);
}
.guest-banner .gb-label { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; background: rgba(255,255,255,.6); padding: 3px 8px; border-radius: 999px; }
.guest-banner a { font-weight: 700; }

.content {
  padding: 26px 30px 60px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

/* ---------------------------------------------------------------- Grid */
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card.pad-lg { padding: 26px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.card-head .sub { color: var(--ink-3); font-size: .78rem; font-weight: 500; }
.card-link { font-size: .82rem; font-weight: 600; color: var(--sage); }
.card-link:hover { color: var(--sage-dark); }

.section-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 28px 0 12px;
}

/* ---------------------------------------------------------------- Stat */
.stat .label {
  font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px;
}
.stat .value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.stat .value .unit { font-size: .85rem; color: var(--ink-3); font-weight: 500; margin-left: 3px; }
.stat .delta { font-size: .76rem; font-weight: 500; margin-top: 4px; color: var(--ink-2); }
.stat .icon-badge { margin-bottom: 12px; }

.icon-badge {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--sage-dark);
}
.icon-badge.teal,
.icon-badge.coral,
.icon-badge.blue,
.icon-badge.amber {
  background: var(--mint); color: var(--sage-dark);
}

/* ---------------------------------------------------------------- Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .01em;
  background: var(--sage-soft); color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.good { background: var(--mint); color: var(--sage-dark); border-color: rgba(115,150,149,.18); }
.badge.warn { background: var(--warn-bg); color: #8d6433; border-color: rgba(185,137,91,.2); }
.badge.bad  { background: var(--bad-bg);  color: #8e4a4a; border-color: rgba(177,105,105,.2); }
.badge.info { background: var(--mint); color: var(--sage-dark); border-color: rgba(115,150,149,.18); }
.badge.muted{ background: var(--surface-2); color: var(--ink-2); }

.pos { color: var(--sage); }
.neg { color: var(--bad); }
.muted-txt { color: var(--ink-3); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  font-family: inherit; font-weight: 600; font-size: .86rem;
  cursor: pointer; border: 1px solid transparent; transition: .12s;
  white-space: nowrap;
}
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--sage); }
.btn-accent { background: var(--mint); color: var(--sage-dark); border-color: rgba(115,150,149,.2); }
.btn-accent:hover { background: var(--sage-soft); }
.btn-sm { padding: 6px 12px; font-size: .8rem; border-radius: 8px; }
.btn svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Forms */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: .76rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 6px; letter-spacing: -0.005em;
}
.input, select.input, textarea.input {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .9rem; color: var(--ink);
  background: var(--surface); transition: .12s;
}
.input:focus, select.input:focus, textarea.input:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--mint); background: #fff;
}
textarea.input { resize: vertical; min-height: 70px; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.hint { font-size: .74rem; color: var(--ink-3); margin-top: 4px; }

.chip-select { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-select label {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 500; cursor: pointer; color: var(--ink-2);
  background: var(--surface);
}
.chip-select input { display: none; }
.chip-select input:checked + label,
.chip-select label.on {
  background: var(--mint); border-color: var(--sage);
  color: var(--sage-dark); font-weight: 600;
}

.pwd-wrap { position: relative; }
.pwd-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--ink-3);
  font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 6px;
}
.pwd-toggle:hover { color: var(--sage-dark); background: var(--surface-2); }

/* ---------------------------------------------------------------- Table */
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th {
  text-align: left; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-3); font-weight: 600;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
}
.table td {
  padding: 11px 12px; border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Misc UI */
.divider { height: 1px; background: var(--line); margin: 18px 0; }

.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.list-row:last-child { border-bottom: none; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-main b { font-size: .9rem; font-weight: 600; display: block; }
.list-row .lr-main small { color: var(--ink-3); display: block; font-size: .76rem; }
.list-row .lr-time { font-size: .78rem; color: var(--ink-3); font-weight: 500; white-space: nowrap; }

.timeline { position: relative; padding-left: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding: 4px 0 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -20px; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--sage);
}
.tl-item.coral::before,
.tl-item.amber::before,
.tl-item.blue::before { border-color: var(--sage); }
.tl-item .tl-time { font-size: .73rem; color: var(--ink-3); font-weight: 600; }
.tl-item .tl-body { font-size: .86rem; }

.progress {
  height: 6px; border-radius: 999px; background: var(--sage-soft);
  overflow: hidden;
}
.progress > span { display: block; height: 100%; border-radius: 999px; background: var(--sage); }
.progress.coral > span,
.progress.blue > span,
.progress.amber > span { background: var(--sage); }

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid; font-size: .86rem;
  background: var(--surface);
}
.alert .a-ico { flex: 0 0 18px; margin-top: 2px; color: currentColor; }
.alert .a-ico svg { width: 18px; height: 18px; }
.alert b { display: block; font-weight: 700; }
.alert.warn { background: var(--warn-bg); border-color: rgba(185,137,91,.25); color: #6f4f29; }
.alert.bad  { background: var(--bad-bg);  border-color: rgba(177,105,105,.25); color: #6f3838; }
.alert.good { background: var(--mint);    border-color: rgba(115,150,149,.25); color: var(--sage-dark); }
.alert.info { background: var(--sage-soft); border-color: var(--line); color: var(--ink-2); }

.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: .87rem; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--ink-2); }
.kv .v { font-weight: 600; color: var(--ink); }

.empty-hint {
  text-align: center; color: var(--ink-3); font-size: .85rem;
  padding: 24px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm);
}

/* Defensive SVG sizing — inline width/height wins, but this keeps icons
   inside their badges if attributes are absent. */
svg { max-width: 100%; height: auto; }
.feature .f-ico svg, .icon-badge svg, .nav-item .ico svg,
.alert .a-ico svg, .btn svg, .pwd-toggle svg { width: 18px; height: 18px; }

/* Auto-save indicator */
.autosave-status {
  font-size: .74rem; color: var(--ink-3); margin-top: 8px; min-height: 16px;
  display: flex; align-items: center; gap: 6px;
}
.autosave-status.saving { color: var(--ink-2); }
.autosave-status.saved  { color: var(--sage-dark); }
.autosave-status.error  { color: #8e4a4a; }

/* Flash banner shown after a save+redirect */
.flash-banner {
  background: var(--mint); color: var(--sage-dark);
  border: 1px solid rgba(115,150,149,.2);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .87rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.flash-banner.error { background: var(--bad-bg); color:#8e4a4a; border-color: rgba(177,105,105,.25); }

/* Topbar action cluster */
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions .icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); cursor: pointer; padding: 0;
  text-decoration: none; transition: .12s;
}
.topbar-actions .icon-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--sage); }
.topbar-actions .icon-btn svg { width: 18px; height: 18px; }

/* charts */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: var(--ink-2); font-weight: 500; }
.legend .lg { display: flex; align-items: center; gap: 6px; }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; }

/* hero — kept calm, uses sage with mint highlight */
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  color: var(--ink);
  position: relative;
}
.hero h2 { font-size: 1.4rem; margin-bottom: 4px; }
.hero p { color: var(--ink-2); font-size: .92rem; }
.hero .hero-stats { display: flex; gap: 32px; margin-top: 18px; flex-wrap: wrap; }
.hero .hero-stats .hs .n { font-size: 1.4rem; font-weight: 700; color: var(--sage-dark); letter-spacing: -0.02em; }
.hero .hero-stats .hs .l { font-size: .7rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-top: 2px; }

/* ---------------------------------------------------------------- Landing page */
.landing {
  background: var(--cream);
  min-height: 100vh;
  color: var(--ink);
}
.landing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  max-width: 1200px; margin: 0 auto;
}
.landing-nav .brand { padding: 0; gap: 10px; }
.landing-nav .nav-actions { display: flex; gap: 10px; align-items: center; }

.landing-hero {
  max-width: 1100px; margin: 0 auto;
  padding: 56px 40px 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
}
.landing-hero h1 {
  font-size: 3rem; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 18px;
}
.landing-hero h1 .accent-mint { background: var(--mint); padding: 0 8px; border-radius: 6px; }
.landing-hero .lead {
  font-size: 1.08rem; color: var(--ink-2);
  line-height: 1.55; margin-bottom: 26px; max-width: 480px;
}
.landing-hero .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.landing-hero .btn-primary { padding: 12px 22px; font-size: .95rem; }
.landing-hero .btn-ghost { padding: 12px 22px; font-size: .95rem; background: transparent; border-color: var(--sage); color: var(--sage-dark); }
.landing-hero .micro { display: flex; gap: 18px; margin-top: 22px; font-size: .8rem; color: var(--ink-3); }
.landing-hero .micro span::before { content: "✓"; color: var(--sage); margin-right: 6px; font-weight: 700; }

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.hero-visual::after {
  content: ""; position: absolute;
  inset: -16px -16px auto auto;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--mint); z-index: -1;
}
.hero-visual .hv-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.hero-visual .hv-stat { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.hero-visual .hv-stat:last-of-type { border-bottom: none; }
.hero-visual .hv-stat b { font-weight: 600; font-size: .92rem; }
.hero-visual .hv-stat small { color: var(--ink-3); font-size: .76rem; }
.hero-visual .hv-stat .v { font-weight: 700; color: var(--sage-dark); font-size: 1.05rem; }

.section {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 40px;
}
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt-wrap { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 12px;
}
.section h2 {
  font-size: 2rem; letter-spacing: -0.025em; max-width: 640px;
  margin-bottom: 14px;
}
.section .section-lead { color: var(--ink-2); font-size: 1rem; max-width: 620px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { padding: 6px 0; }
.step .num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--mint); color: var(--sage-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .9rem; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature .f-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--mint); color: var(--sage-dark);
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature .f-ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: .88rem; line-height: 1.55; }

.fitbark-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 36px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 40px; align-items: center;
}
.fitbark-card .fb-tag {
  display: inline-block; padding: 5px 12px;
  background: var(--mint); color: var(--sage-dark);
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.fitbark-card h3 { font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.fitbark-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; margin-bottom: 10px; }
.fitbark-card .fb-perks { display: grid; gap: 10px; margin: 18px 0 22px; }
.fitbark-card .fb-perks li { list-style: none; font-size: .9rem; color: var(--ink); padding-left: 26px; position: relative; }
.fitbark-card .fb-perks li::before { content: "→"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.fitbark-card .fb-visual {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.fitbark-card .fb-visual .ring {
  width: 130px; height: 130px; border-radius: 50%;
  border: 8px solid var(--mint);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  position: relative;
}
.fitbark-card .fb-visual .ring::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 8px solid var(--sage); border-top-color: transparent; border-right-color: transparent;
  transform: rotate(-30deg);
}
.fitbark-card .fb-visual .ring span { font-size: 1.6rem; font-weight: 800; color: var(--sage-dark); position: relative; z-index: 1; }
.fitbark-card .fb-visual .ring-sub { font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.fitbark-card .fb-visual .ring-lbl { font-size: .68rem; color: var(--ink-3); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

.vet-section {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 24px;
}
.vet-section h2 { color: var(--sage-dark); margin-bottom: 14px; }
.vet-section p { color: var(--sage-dark); font-size: .95rem; line-height: 1.6; opacity: .85; max-width: 640px; }
.vet-section .vet-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.vet-section .vp { background: rgba(255,255,255,.6); border-radius: var(--radius); padding: 18px; }
.vet-section .vp h4 { font-size: .92rem; color: var(--sage-dark); margin-bottom: 6px; font-weight: 700; }
.vet-section .vp p { font-size: .82rem; color: var(--sage-dark); opacity: .85; }

.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  margin: 36px 0;
}
.cta-band h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { color: var(--ink-2); font-size: 1rem; margin-bottom: 22px; }
.cta-band .row { justify-content: center; }

.landing-foot {
  border-top: 1px solid var(--line);
  padding: 32px 40px;
  margin-top: 24px;
}
.landing-foot .lf-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.landing-foot .lf-links { display: flex; gap: 22px; font-size: .85rem; color: var(--ink-2); }
.landing-foot small { color: var(--ink-3); font-size: .78rem; }

/* ---------------------------------------------------------------- Responsive */
.scrim {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: rgba(42,54,54,.3);
}

@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .span-3 { grid-column: span 2; }
  .landing-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 30px; }
  .landing-hero h1 { font-size: 2.4rem; }
  .feature-grid, .steps, .vet-section .vet-perks { grid-template-columns: repeat(2, 1fr); }
  .fitbark-card { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 720px) {
  .sidebar {
    position: fixed; z-index: 50; left: 0; top: 0;
    transform: translateX(-100%); transition: transform .22s ease;
    box-shadow: 0 10px 40px -10px rgba(42,54,54,.25);
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open .scrim { display: block; }
  .topbar .menu-btn { display: block; }
  .content { padding: 20px 16px 50px; }
  .topbar { padding: 14px 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: span 1; }
  .field-row { flex-direction: column; gap: 0; }
  .hero .hero-stats { gap: 18px; }
  .dog-switch .dog-name-txt { display: none; }
  .landing-nav { padding: 18px 20px; }
  .landing-hero { padding: 28px 20px; }
  .landing-hero h1 { font-size: 2rem; }
  .section { padding: 44px 20px; }
  .feature-grid, .steps, .vet-section .vet-perks { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 20px; }
  .cta-band h2 { font-size: 1.5rem; }
}

/* ---------------------------------------------------------------- Print */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 12px; }
  .sidebar, .topbar, .scrim, .no-print, .guest-banner { display: none !important; }
  .main { display: block; }
  .content { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 1px solid #d6dae0; break-inside: avoid; }
  .hero { background: #f9f6f3 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-only { display: block !important; }
  a { color: var(--ink); }
}
.print-only { display: none; }
