/* The look comes from your Claude Design system: its tokens go in :root
   below, its fonts in a <link> in each page's <head>. The rest follows. */
:root {
  /* Bit & Bark — design/tokens.json */
  --brand: #121316;        /* ink: primary buttons */
  --brand-ink: #ffffff;
  --link: #2C5A8C;         /* harbour */
  --link-hover: #1E4470;
  --accent: #D5E3F4;       /* sky: the widget's circle */
  --goal: #F4A340;         /* mango: "enough today", one per screen */
  --ink: #121316;
  --muted: #5A5F67;        /* graphite */
  --line: #E3E5E9;         /* mist */
  --bg: #ffffff;
  --bg-soft: #F3F4F6;      /* cloud */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius: 28px;          /* cards */
  --radius-xl: 40px;       /* widget, hero frames */
  --max: 720px;
  --font: "Figtree", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
}
img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3, .brand, .button { font-family: var(--font-display); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section.soft { background: var(--bg-soft); }

header.top { padding: 20px 0; }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }

.hero { padding: 40px 0 56px; border-top: 0; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .hero-grid { grid-template-columns: 1.1fr 1fr; max-width: 1040px; } header.top .wrap { max-width: 1040px; } }
.hero-copy { min-width: 0; }
.hero-media { margin: 0; position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--radius-xl); background: var(--accent); overflow: hidden; }
.hero-media::after { content: "Your product photo: site/img/hero.jpg"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px; }
.hero-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.micro-proof { margin: 18px 0 0; font-size: 0.95rem; color: var(--muted); }
.why-now { font-weight: 600; margin: 0 0 20px; }
.last-call { text-align: left; }
.last-call form { margin-top: 16px; }

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 16px 28px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  font-size: 1.05rem;
  cursor: pointer;
}
.button:hover { background: #2a2c31; }
.button.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.button.ghost:hover { background: var(--bg-soft); }
.button[disabled] { opacity: 0.6; cursor: wait; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
blockquote { margin: 0; padding: 18px 20px; background: var(--accent); border-radius: var(--radius); }
blockquote p { margin: 0 0 8px; }
blockquote cite { font-style: normal; color: var(--muted); font-size: 0.92rem; }

.terms { list-style: none; padding: 0; margin: 0 0 24px; }
.terms li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.terms li span:first-child { color: var(--muted); }

form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 6px; }
input, textarea {
  font: inherit;
  padding: 12px 14px;
  min-height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus { outline: none; border: 2px solid var(--link); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.consent { font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
[data-status] { min-height: 1.4em; margin: 0; color: var(--muted); }

.notice { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; margin-top: 20px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

.doc h1 { font-size: 2rem; margin: 8px 0 24px; }
.doc h2 { margin-top: 36px; }
