/* ==========================================================================
   Pet Captain LLC — Static site stylesheet
   Clean, trustworthy, bank-review friendly. No external dependencies.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --paper: #ffffff;
  --paper-soft: #f8fafc;
  --paper-tint: #f1f6f9;
  --brand: #1d5c78;
  --brand-deep: #123e52;
  --brand-light: #e7f1f4;
  --accent: #c2763b;
  --accent-light: #fbf1e8;
  --success: #1f7a55;
  --success-light: #e8f5ee;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .10);
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.wrap { width: min(calc(100% - 48px), var(--wrap)); margin: 0 auto; }
.wrap-narrow { width: min(calc(100% - 48px), 800px); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section { padding: 92px 0; }
.section-tint { background: var(--paper-soft); }
.section-tint-alt { background: var(--paper-tint); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; line-height: 1; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-size: .94rem; font-weight: 550; }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 9px 17px;
  border-radius: 8px; font-weight: 650 !important; font-size: .9rem !important;
}
.nav-cta:hover { background: var(--brand-deep); color: #fff !important; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 38px; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 9px; font-weight: 650; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29,92,120,.25); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--paper-soft); color: var(--brand-deep); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 84px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfdfe 0%, #fff 100%); }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(29,92,120,.09) 0%, rgba(29,92,120,0) 68%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.2rem; max-width: 600px; margin-bottom: 30px; }
.hero-sub { color: var(--muted); font-size: .98rem; max-width: 600px; margin-top: 22px; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.hero-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
  background: linear-gradient(135deg, rgba(29,92,120,.12), transparent 45%);
}
.hc-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.hc-top strong { font-size: 1rem; }
.hc-status { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 650; color: var(--success); background: var(--success-light); padding: 5px 10px; border-radius: 100px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hc-rows { padding: 18px 0 4px; }
.hc-row { display: flex; align-items: flex-start; gap: 13px; padding: 11px 0; }
.hc-row + .hc-row { border-top: 1px solid var(--line-soft); }
.hc-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; font-size: 1rem; }
.hc-icon svg { width: 17px; height: 17px; }
.hc-row strong { display: block; font-size: .9rem; }
.hc-row span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 42px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.trust-item svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }
.card-accent .card-icon { background: var(--accent-light); color: var(--accent); }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse .split-visual { order: -1; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--ink-soft); }
.visual-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow);
}
.visual-box.tint { background: var(--paper-soft); }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--success-light);
  flex: none; margin-top: 2px; position: relative;
}
.checklist li::after {
  content: ""; position: absolute; left: 42px; width: 5px; height: 9px;
  border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: 5px;
}

/* ---------- Fact table ---------- */
.fact-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.fact-table th, .fact-table td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { width: 34%; color: var(--muted); font-weight: 600; background: var(--paper-soft); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }
.fact-table td { color: var(--ink); }
.fact-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 1.4rem; font-weight: 800; color: var(--brand); margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; left: 62px; right: -14px; height: 1px; background: var(--line);
}

/* ---------- Quote / callout ---------- */
.callout {
  background: var(--brand-deep); color: #fff; border-radius: 18px; padding: 46px 50px;
}
.callout h2, .callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,.82); }
.callout .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.callout .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

.note {
  background: var(--accent-light); border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem; color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; font-size: 1.03rem; margin-bottom: 8px; color: var(--ink); }
.faq-a { color: var(--muted); margin: 0; }

/* ---------- Page header ---------- */
.page-head { padding: 66px 0 54px; background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin-bottom: 0; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 7px; color: var(--muted-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; gap: 15px; align-items: flex-start; }
.contact-line .card-icon { margin-bottom: 0; }
.contact-line strong { display: block; font-size: .92rem; }
.contact-line a, .contact-line span { color: var(--muted); font-size: .94rem; word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 650; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,92,120,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 14px; }
.legal h3 { font-size: 1.12rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.55); }
.footer-about { color: rgba(255,255,255,.65); font-size: .91rem; max-width: 380px; margin-top: 18px; }
.footer-col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.78); font-size: .91rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: .84rem; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-badges { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.divider { height: 1px; background: var(--line); margin: 46px 0; }
.pill { display: inline-block; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin: 0 6px 8px 0; }
.pill-brand { background: var(--brand-light); border-color: transparent; color: var(--brand); }
.badge-row { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 18px; }
.placeholder { color: var(--accent); background: var(--accent-light); padding: 0 3px; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .split-reverse .split-visual { order: 0; }
  .grid-3, .steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 16px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 66px 0 58px; }
  .wrap, .wrap-narrow { width: min(calc(100% - 36px), var(--wrap)); }
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 18px 20px;
    flex-direction: column; align-items: stretch; gap: 4px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { text-align: center; margin-top: 10px; }
  .grid-3, .grid-2, .grid-4, .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .callout { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .fact-table th { width: 40%; }
  .fact-table th, .fact-table td { padding: 12px 10px; font-size: .86rem; }
  .trust-inner { justify-content: flex-start; gap: 14px 26px; }
}
@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
}
