@font-face { font-family: "Jost"; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* Purple Bunny brand tokens */
:root {
  --purple: #3A2162;
  --purple-mid: #8C7AB5;
  --purple-soft: #EFEAF7;
  --purple-tint: #F6F4FA;
  --cyan: #24A9E1;
  --cyan-light: #7FD3F5;
  --ink: #16121F;
  --muted: #5F5A6B;
  --line: #E4E1EA;
  --white: #FFFFFF;
  --rule: linear-gradient(90deg, var(--cyan), var(--purple) 70%);
  --radius: 4px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font: 16px/1.6 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--purple); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap { padding-left: 40px; padding-right: 40px; } }

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links .btn { white-space: nowrap; }
/* A hidden way in for agents: invisible, but still a real link (it appears when tabbed to). */
.agent-link { opacity: 0; font-size: 14px; white-space: nowrap; border-radius: 4px; padding: 4px 6px; }
.agent-link:focus-visible { opacity: 1; outline: 2px solid var(--purple); outline-offset: 2px; }
@media (max-width: 480px) {
  .brand img { height: 36px; }
  .nav-links .btn-sm { padding: 8px 12px; font-size: 14px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px 'Geist', sans-serif; border-radius: var(--radius); padding: 14px 24px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: #2C1850; color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 48px; }
.eyebrow { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--purple); margin: 0 0 14px; }
@media (max-width: 480px) { .eyebrow { font-size: 11px; letter-spacing: 2.5px; } }
.rule { width: 180px; height: 3px; background: var(--rule); margin-bottom: 28px; }
.lede { color: var(--muted); font-size: 19px; max-width: 56ch; margin: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; padding-bottom: 72px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--rule); }
.card.alt::before { background: var(--purple); }
@media (max-width: 480px) { .card { padding: 24px 20px; } }
.card h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 26px; letter-spacing: -.3px; margin: 0 0 6px; }
.card p.sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }

label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px;
}
input::placeholder { color: #9A94A8; }
input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
input.mono { font-family: 'Geist Mono', monospace; letter-spacing: .5px; text-transform: uppercase; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; gap: 0; } }

.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Footer */
footer { margin-top: auto; background: var(--white); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
.by { display: flex; align-items: center; gap: 12px; }
.by img { height: 34px; width: auto; display: block; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
  font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Status notice */
.notice { margin-top: 24px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: var(--radius); background: var(--purple-tint); padding: 16px 18px; font-size: 15px; display: none; }
.notice.show { display: block; }
.notice a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* Footer links */
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--purple); }

/* Privacy page */
.page { padding-top: 64px; padding-bottom: 80px; }
.prose { max-width: 760px; }
.prose h1 { font-family: 'Jost', sans-serif; font-weight: 300; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 24px; }
.prose h1 b { font-weight: 600; color: var(--purple); }
.prose .lead { color: var(--muted); font-size: 19px; margin: 0 0 24px; }
.prose h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; margin: 48px 0 16px; }
.prose p { margin: 0; }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 20px; margin: 16px 0 0; }
.prose li { margin: 8px 0; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.prose .eyebrow { margin-bottom: 12px; }
