/* BrokerDesk website. Brand tokens from CLAUDE.md / spec 9a. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus_jakarta_sans_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus_jakarta_sans_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus_jakarta_sans_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus_jakarta_sans_extrabold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --navy: #13294B;
  --navy-deep: #0B1A31;
  --gold: #D4A43A;
  --gold-text: #8A6516;
  --white: #FFFFFF;
  --mist: #EEF2F7;
  --card: #F5F7FA;
  --ink: #161B26;
  --muted: #4A5260;
  --on-navy-muted: #C9D3E6;
  --todo: #FBEBD8;
  --todo-ink: #8A4B0B;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--navy); }
.wordmark span { color: var(--gold); }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { color: var(--navy); filter: brightness(1.04); }
.button-light { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.button-light:hover { color: var(--white); background: rgba(255, 255, 255, 0.2); }

/* Hero */
.hero { background: var(--navy); color: var(--white); border-radius: 0 0 36px 36px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 19px; color: var(--on-navy-muted); margin: 0 0 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--on-navy-muted); margin: 0 0 56px; }
.hero .wrap > * { min-width: 0; }
.hero-phone { align-self: end; justify-self: center; width: min(100%, 330px); }
.hero-phone img { border-radius: 30px 30px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); }

/* Store badges ("coming soon") */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.25; }
.store small { font-weight: 400; font-size: 12px; color: var(--on-navy-muted); }

/* Sections */
section { padding: 72px 0; }
.eyebrow { color: var(--gold-text); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 14px; font-weight: 800; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 36px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; color: var(--navy); font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.privacy-band { background: var(--mist); border-radius: 36px; }
.privacy-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 14px 16px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2313294B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screens figure { margin: 0; }
.screens img { border-radius: 26px; background: var(--card); box-shadow: 0 10px 30px rgba(19, 41, 75, 0.12); }
.screens figcaption { margin-top: 12px; font-weight: 600; color: var(--navy); text-align: center; font-size: 15px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.price-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px; }
.price-card .amount { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-card .amount small { font-size: 18px; font-weight: 600; color: var(--on-navy-muted); }
.price-card ul { padding-left: 20px; margin: 20px 0 24px; color: var(--on-navy-muted); }
.price-card li { margin-bottom: 6px; }

.faq details { background: var(--card); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-text); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Policy pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; color: var(--navy); letter-spacing: -0.02em; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; color: var(--navy); margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--mist); }
.doc th { color: var(--navy); }
.note { background: var(--mist); border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.doc .steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; background: var(--card); border-radius: 16px; padding: 14px 16px 14px 60px; margin-bottom: 10px; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }

/* Details still to fill in before launch: deliberately hard to miss. */
.todo { background: var(--todo); color: var(--todo-ink); border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); margin-top: 40px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.site-footer .wordmark { color: var(--white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 8px 0 0; font-size: 14px; }

/* Phones */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero .wrap, .privacy-band .wrap, .pricing { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 40px; gap: 28px; }
  .hero-note { margin-bottom: 8px; }
  .hero-phone { width: min(78%, 300px); }
  .features { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens figure:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
  section { padding: 52px 0; }
}

.doc-center { text-align: center; padding-top: 96px; }
