/* Fetchpaw website. Same paper neutrals and retriever orange as the side
   panel (static/app.css), so the page and the product look like one thing.
   Layout: a browser window with the panel docked on the right opens the
   page; below it the month's round, step by step, ending in the folder
   the invoices land in. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #f7f3ee;
  --surface: #fffdfa;
  --sunk: #efe9e1;
  --text: #1c1510;
  --muted: #6e6156;
  --line: #e6ddd2;
  --accent: #c2410c;
  --accent-ink: #9a3412;
  --accent-soft: #fdeadb;
  --on-accent: #ffffff;
  --ok: #136c3d;
  --warn: #b85c0a;
  --glow: #ffe6cc;
  --lift: 0 1px 1px rgba(56, 33, 12, 0.04), 0 18px 40px -18px rgba(120, 55, 10, 0.32);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --measure: 34rem;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141110; --surface: #1d1916; --sunk: #26211c; --text: #f2ebe3; --muted: #b3a597;
    --line: #332c25; --accent: #ff8a3d; --accent-ink: #ffab70; --accent-soft: #33210f;
    --on-accent: #1b0d02; --ok: #57d68d; --warn: #f5b041; --glow: #2a1a0c;
    --lift: 0 1px 1px rgba(0, 0, 0, 0.3), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141110; --surface: #1d1916; --sunk: #26211c; --text: #f2ebe3; --muted: #b3a597;
  --line: #332c25; --accent: #ff8a3d; --accent-ink: #ffab70; --accent-soft: #33210f;
  --on-accent: #1b0d02; --ok: #57d68d; --warn: #f5b041; --glow: #2a1a0c;
  --lift: 0 1px 1px rgba(0, 0, 0, 0.3), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }

.wrap { max-width: 72rem; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(4rem, 9vw, 7rem); }
.band + .band { border-top: 1px solid var(--line); }
.kicker { font: 600 0.8rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: var(--measure); text-wrap: pretty; }
.muted { color: var(--muted); }

/* Header */
.top { padding-block: 1.1rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font: 700 1.3rem/1 var(--display); letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.95rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a { white-space: nowrap; }
@media (max-width: 960px) { .nav .hide-md { display: none; } }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 12px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 20px -10px var(--accent); }
.btn-primary:hover { color: var(--on-accent); transform: translateY(-1px); }
.btn-quiet { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-quiet:hover { color: var(--text); border-color: var(--muted); }
.btn-sm { min-height: 2.4rem; padding: 0 1rem; font-size: 0.92rem; border-radius: 10px; }
.paw { width: 1.05em; height: 1.05em; flex: none; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover { transform: none; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70rem; height: 46rem; max-width: 100%;
  background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fineprint { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* The browser window with the panel docked on the right */
.window { border-radius: 16px; background: var(--surface); box-shadow: var(--lift); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.window-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.9rem; background: var(--sunk); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.address { flex: 1; min-width: 0; padding: 0.3rem 0.8rem; border-radius: 8px; background: var(--surface); color: var(--muted); font: 0.78rem/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.billing { padding: 1.4rem 1.3rem; display: grid; align-content: start; gap: 0.9rem; min-width: 0; }
.billing h4 { margin: 0; font: 650 1rem/1.2 var(--display); }
.billing .sub { font-size: 0.78rem; color: var(--muted); }
.inv { display: grid; grid-template-columns: auto 1fr auto; gap: 0.4rem 0.7rem; align-items: center; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.inv span { white-space: nowrap; }
.inv .amt { text-align: right; color: var(--muted); }
.inv .dl { font-size: 0.72rem; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.inv .dl.hit { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); animation: fetch 2.4s ease-in-out 0.6s 2 both; }
.inv hr { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--line); margin: 0; }
@keyframes fetch { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 40% { box-shadow: 0 0 0 5px var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) { .inv .dl.hit { animation: none; } }
.panel { border-left: 1px solid var(--line); background: var(--bg); min-width: 0; }
.panel img { width: 100%; }
@media (max-width: 560px) {
  .window-body { grid-template-columns: minmax(0, 1fr); }
  .billing { display: none; }
  .panel { border-left: 0; }
}

/* The chore */
.chore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.chore-copy { display: grid; gap: 1.2rem; min-width: 0; }
.rounds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; min-width: 0; }
.rounds li { padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.rounds li.more { background: transparent; border-style: dashed; color: var(--muted); }
@media (max-width: 800px) { .chore { grid-template-columns: minmax(0, 1fr); } }

/* Steps: a real sequence, so they are numbered */
.section-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 7vw, 5.5rem); counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; counter-increment: step; }
.step:nth-child(even) { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy { display: grid; gap: 1rem; min-width: 0; }
.step-copy::before {
  content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font: 700 1.2rem/1 var(--display);
}
.step-copy p { color: var(--muted); max-width: var(--measure); }
.step-copy ul { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: 0.35rem; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--lift); background: var(--bg); max-width: 22rem; width: 100%; justify-self: center; }
@media (max-width: 800px) {
  .step, .step:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-copy { order: 0; }
}

/* The folder */
.folder-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.folder-copy { display: grid; gap: 1.1rem; min-width: 0; }
.tree {
  margin: 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  font: 0.86rem/1.85 var(--mono); color: var(--muted); overflow-x: auto; min-width: 0; box-shadow: var(--lift);
}
.tree b { color: var(--text); font-weight: 600; }
.tree .new { color: var(--accent-ink); }
.tree .note { color: var(--ok); }
@media (max-width: 800px) { .folder-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tree { font-size: 0.74rem; padding: 1.1rem 1rem; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 1.6rem 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.feature svg { width: 1.6rem; height: 1.6rem; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.trust-copy { display: grid; gap: 1.1rem; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.checks li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.8rem; }
.checks li::before {
  content: ""; width: 1.6rem; height: 1.6rem; background: var(--accent);
  -webkit-mask: var(--tick) center / 1.25rem no-repeat; mask: var(--tick) center / 1.25rem no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--muted); }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke-width='1.6'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E"); }
@media (max-width: 800px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Pricing placeholder and FAQ */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 20px; background: var(--accent-soft); }
.offer-copy { display: grid; gap: 0.8rem; min-width: 0; }
.offer-copy p { color: var(--muted); max-width: 40rem; }
@media (max-width: 720px) { .offer { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font: 600 1.08rem/1.35 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--body); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 40rem; }

/* Footer */
.foot { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot a { color: var(--muted); }

/* Privacy policy */
.doc { max-width: 44rem; padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem); display: grid; gap: 1.1rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.doc p, .doc li { text-wrap: pretty; }
.doc ul { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.55rem; }
.doc .meta { color: var(--muted); font-size: 0.95rem; }

/* Guides and other search pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.doc ol { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.65rem; }
.doc li::marker { color: var(--accent-ink); font-weight: 600; }
.doc .answer { font-size: 1.15rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; text-wrap: pretty; }
.doc .lede { max-width: none; }
.doc .faq { max-width: none; }
.callout { margin-top: 1.6rem; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: var(--radius); background: var(--accent-soft); display: grid; gap: 0.8rem; }
.callout h2 { margin-top: 0; }
.link-list { list-style: none; padding-left: 0 !important; }
.cards { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.cards a { display: grid; gap: 0.35rem; height: 100%; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.cards a:hover { border-color: var(--accent); color: var(--text); }
.cards strong { font: 650 1.15rem/1.2 var(--display); }
.cards span { color: var(--muted); font-size: 0.95rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
@media (max-width: 560px) { .doc table { font-size: 0.86rem; } .doc th, .doc td { padding: 0.6rem 0.5rem; } .doc thead th { font-size: 0.92rem; } }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.doc tbody tr:last-child > * { border-bottom: 0; }
.doc thead th { font-family: var(--display); font-size: 1.05rem; }
.doc tbody th { color: var(--muted); font-weight: 600; width: 26%; }
