/* BondKeeper site — an inspection form brought to life: ruled line items, a live "Verify" phone in the hero. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #eef2f5;
  --sheet: #ffffff;
  --ink: #12233a;
  --muted: #56677d;
  --rule: #cdd6e0;
  --accent: #0f7c7a;
  --accent-ink: #ffffff;
  --ok: #1d7a3e;
  --stamp: #b4402a;
  --phone: #0e1a2b;
  --phone-fg: #e7edf4;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1724; --sheet: #142235; --ink: #e6edf5; --muted: #9db0c6; --rule: #2a3c53;
    --accent: #3cbcb6; --accent-ink: #062022; --ok: #6fd294;
    --stamp: #f08a70; --phone: #060d17; --phone-fg: #e7edf4; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body);
  font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; }
.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; }
p { margin: 0; }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

/* Header */
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.pill { font-family: var(--mono); font-size: .75rem; padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); white-space: nowrap; }

/* Buttons */
.ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 10px;
  font: 600 1rem var(--body); text-decoration: none; border: 2px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.secondary { color: var(--accent); background: transparent; }
.btn:hover { filter: brightness(1.08); }
.email { font-family: var(--mono); font-size: .9rem; color: var(--muted); margin-top: 12px; }
.email b { color: var(--ink); font-weight: 500; user-select: all; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 32px 72px; }
.hero h1 { margin-top: 14px; font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: 1.15rem; }
.hero .facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero-copy { min-width: 0; }

/* Phone mock (always dark, like a real screen) */
.phone {
  width: 100%; max-width: 340px; justify-self: center; background: var(--phone); color: var(--phone-fg);
  border-radius: 34px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(10, 25, 45, .55);
}
.screen { background: #13243a; border-radius: 22px; overflow: hidden; }
.bar { display: flex; justify-content: space-between; padding: 12px 16px 8px; font-size: .78rem; opacity: .85; }
.bar b { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; }
.photo canvas { width: 100%; height: 100%; display: block; }
.photo .tag { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: .68rem; background: rgba(6, 13, 23, .78); color: #e7edf4; padding: 4px 8px; border-radius: 6px; }
.meta { padding: 14px 16px 16px; display: grid; gap: 10px; font-size: .82rem; margin: 0; }
.row { display: grid; grid-template-columns: 78px 1fr; gap: 8px; }
.row dt { color: #8fa3bb; }
.row dd { margin: 0; min-width: 0; }
.hash { font-family: var(--mono); font-size: .72rem; word-break: break-all; color: #cfe0ef; }
.hash i { font-style: normal; color: #5fd6cf; }
.verify { margin-top: 4px; width: 100%; border: 0; border-radius: 12px; padding: 12px; cursor: pointer; background: #3cbcb6; color: #062022; font: 600 .95rem var(--body); }
.verify:disabled { cursor: progress; opacity: .85; }
.result { min-height: 46px; border-radius: 12px; padding: 10px 12px; font-size: .82rem; background: rgba(255, 255, 255, .05); color: #b9c8d8; display: flex; align-items: center; gap: 10px; }
.result.ok { background: #153523; color: #9fe5b6; }
.result svg { flex: none; width: 20px; height: 20px; }

/* Sections */
section.block { padding-block: 72px; border-top: 1px solid var(--rule); }
.block h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.015em; max-width: 18em; margin-top: 12px; }
.block .intro { margin-top: 14px; max-width: 40em; color: var(--muted); }

/* Problem */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.problem > * { min-width: 0; }
.stat { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 9vw, 6rem); line-height: .9; color: var(--stamp); }
.stat-note { margin-top: 12px; max-width: 26em; }
.cite { margin-top: 10px; font-size: .82rem; color: var(--muted); }

/* Comparison */
.compare, .form { margin-top: 32px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; overflow-x: auto; }
.c-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; padding: 14px 22px; border-bottom: 1px solid var(--rule); min-width: 520px; align-items: baseline; }
.c-row:last-child { border-bottom: 0; }
.c-head { border-bottom: 2px solid var(--ink); }
.c-head span:last-child { color: var(--accent); }
.c-row .yes { color: var(--ok); font-weight: 600; }
.c-row .no { color: var(--muted); }
.c-row small { font-weight: 400; color: var(--muted); }

/* Steps as form line items */
.form-head, .item { display: grid; grid-template-columns: 56px 1.1fr 2fr 1.2fr; gap: 18px; padding: 16px 22px; min-width: 640px; }
.form-head { border-bottom: 2px solid var(--ink); }
.item { border-bottom: 1px solid var(--rule); align-items: baseline; }
.item:last-child { border-bottom: 0; }
.item .n { font-family: var(--mono); color: var(--muted); }
.item h3 { font-size: 1.25rem; font-weight: 700; }
.item p { color: var(--muted); font-size: .98rem; }
.item .tick { font-family: var(--mono); font-size: .8rem; color: var(--ok); }

/* Late arrivals */
.late { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.late > * { min-width: 0; }
.stampbox { border: 2px solid var(--stamp); color: var(--stamp); border-radius: 8px; padding: 22px 24px; transform: rotate(-1.5deg); font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; max-width: 22em; }
.stampbox small { display: block; margin-top: 8px; font-family: var(--mono); font-weight: 400; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.list li::before { content: "→"; color: var(--accent); font-weight: 600; }

/* Pricing */
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.plan.key { border-color: var(--accent); border-width: 2px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.2rem; }
.plan .price small { font: 500 .9rem var(--body); color: var(--muted); }
.plan p { color: var(--muted); font-size: .95rem; }
.note { margin-top: 18px; font-size: .9rem; color: var(--muted); max-width: 46em; }

/* Promise strip */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.promise h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: .96rem; }

/* Early access band */
.join { background: var(--sheet); }
.join .wrap { display: grid; gap: 8px; }
.join .ctas { margin-top: 16px; }

footer { border-top: 1px solid var(--rule); }
footer .wrap { padding-block: 32px 48px; display: grid; gap: 10px; font-size: .85rem; color: var(--muted); }
footer strong { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Privacy policy */
.prose { max-width: 44em; padding-block: 24px 72px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
.prose h2 { font-size: 1.45rem; font-weight: 700; margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose .updated { margin-top: 10px; }
.callout { margin-top: 24px; background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 6px; padding: 16px 18px; }

@media (max-width: 860px) {
  .hero .wrap, .problem, .late { grid-template-columns: 1fr; gap: 36px; }
  .plans, .promise { grid-template-columns: 1fr; }
  section.block { padding-block: 56px; }
}
/* Phones: restack the two tables instead of scrolling sideways */
@media (max-width: 640px) {
  .compare, .form { overflow-x: visible; }
  .c-row { min-width: 0; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 16px; }
  .c-row > :first-child { grid-column: 1 / -1; }
  .c-head > :first-child { display: none; }
  .c-row:not(.c-head) > :first-child { font-weight: 500; }
  .form-head { display: none; }
  .item { min-width: 0; grid-template-columns: 28px 1fr; gap: 6px 12px; padding: 16px; }
  .item > p, .item > .tick { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
