/* Yellow: shared styles for bridgetheappco.com/yellow
   Brand tokens from the app (marketing handoff §8). Dark only, mobile first. */
:root {
  color-scheme: dark;
  --yellow: #FFD84D;
  --bg: #0E1014;
  --surface: #16191F;
  --surface-2: #1D2129;
  --line: #262A33;
  --text: #ECEDF1;
  --dim: rgba(236, 237, 241, .62);   /* ≈ #959699 on --bg, 6.2:1 */
  --blue: #5E8DFF;
  --green: #46C99A;
  --error: #E66150;
  --radius: 18px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { 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: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 650; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

/* Layout */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* Header / nav */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.top nav { display: flex; gap: 16px; font-size: 15px; white-space: nowrap; }
@media (max-width: 400px) { .top nav .opt { display: none; } }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Type */
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
h2 { font-size: clamp(26px, 5.5vw, 36px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 16px; font-weight: 750; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; margin: 28px 0 6px; font-weight: 650; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2.6vw, 21px); line-height: 1.5; color: var(--text); }
.dim { color: var(--dim); }
.small { font-size: 15px; }

/* CTA */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow); color: #0E1014; font-weight: 700; font-size: 17px;
  padding: 15px 26px; border-radius: 16px; text-decoration: none; min-height: 52px;
}
.cta:hover { filter: brightness(1.06); }
/* Pre-release: same shape as the button, outlined and not clickable. */
.cta.soon { background: transparent; color: var(--yellow); border: 2px solid var(--yellow); cursor: default; font-size: 16px; padding: 13px 20px; white-space: nowrap; }
@media (max-width: 340px) { .cta.soon { white-space: normal; } }
.cta.soon:hover { filter: none; }
.price-line { margin-top: 14px; font-size: 15px; color: var(--dim); }
.badge-link img { height: 54px; width: auto; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 44px; }
@media (min-width: 880px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

/* Phone mockups drawn in CSS (no product screenshots exist yet) */
.phones { display: flex; gap: 16px; justify-content: center; }
.phone {
  width: 47%; max-width: 230px; aspect-ratio: 9 / 19.5;
  background: var(--bg); border: 6px solid #2A2E37; border-radius: 30px;
  padding: 12% 4% 4.5%; /* % of the row width, since an element can't size against itself */ position: relative; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
/* Sizes in cqw scale with the phone's own width, so the mockups hold up at 320px. */
.phone > * { max-width: 100%; }
.phone::before { content: ""; position: absolute; top: 4cqw; left: 50%; transform: translateX(-50%); width: 32%; height: 7cqw; border-radius: 10px; background: #000; }
.phone .ring { width: 32cqw; height: 32cqw; border-radius: 8cqw; background: var(--yellow); display: grid; place-items: center; margin: 6cqw 0 7cqw; }
.phone .ring::after { content: ""; width: 16cqw; height: 16cqw; border-radius: 50%; border: 4cqw solid #111316; box-sizing: border-box; }
.phone .ttl { font-weight: 700; font-size: 10cqw; line-height: 1.2; margin-bottom: 4cqw; }
.phone .sub { font-size: 6.8cqw; color: var(--dim); line-height: 1.35; }
.phone .btn { margin-top: auto; width: 100%; background: var(--yellow); color: #0E1014; font-weight: 700; font-size: 7.5cqw; padding: 5.5cqw 0; border-radius: 6cqw; }
.phone .lbl { font: 600 5.6cqw/1.3 var(--mono); letter-spacing: .12em; color: var(--yellow); }
.phone .eq { font-weight: 800; font-size: 19cqw; letter-spacing: -.03em; margin: 10cqw 0 4cqw; white-space: nowrap; }
.phone .ans { width: 60%; border-bottom: 2px solid var(--yellow); font-weight: 700; font-size: 11cqw; padding-bottom: 1cqw; margin-bottom: 3cqw; }
.phone .err { font: 600 5cqw/1.3 var(--mono); letter-spacing: .02em; color: var(--error); white-space: nowrap; }
.phone .keys { margin-top: auto; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; }
.phone .keys span { background: var(--surface-2); border-radius: 3.5cqw; font-size: 7cqw; font-weight: 600; padding: 3.4cqw 0; }
.phone .q { font: 600 5cqw/1.3 var(--mono); letter-spacing: .08em; color: var(--dim); margin-top: 4cqw; white-space: nowrap; }
.mock-caption { text-align: center; font-size: 14px; color: var(--dim); margin-top: 14px; }

/* Video slot (click-to-play, self-hosted, no third-party embed) */
.video-slot { margin-top: 36px; max-width: 360px; }
.video-slot video { width: 100%; border-radius: var(--radius); background: var(--surface); aspect-ratio: 9 / 16; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 20px 20px 20px 70px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: #0E1014; font-weight: 800; display: grid; place-items: center;
}
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--dim); }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 70px 20px 22px; } .steps li::before { top: 20px; } }

/* Cards */
.cards { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--dim); }

/* Quote lines */
.pull { font-size: clamp(21px, 3.4vw, 27px); line-height: 1.35; letter-spacing: -.015em; font-weight: 650; margin: 0 0 18px; }
.pull em { font-style: normal; color: var(--yellow); }

/* Plain lists */
.ticks { padding: 0; margin: 16px 0 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.ticks.muted li::before { background: transparent; border: 2px solid var(--dim); width: 7px; height: 7px; }

/* Pricing */
.plans { display: grid; gap: 14px; margin: 24px 0 18px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 2px solid transparent; }
.plan.lead { border-color: var(--yellow); }
.plan .tag { font: 600 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.plan p.amt { color: var(--text); font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 0; }
.plan .amt span { font-size: 17px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan p { margin: 4px 0 0; color: var(--dim); font-size: 15px; }

/* Key facts */
.facts { display: grid; grid-template-columns: 1fr; margin: 20px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 200px 1fr; gap: 20px; } }

/* FAQ */
.faq h3 { margin-top: 30px; }
.faq p { color: var(--dim); }
.support { background: var(--surface); border-radius: var(--radius); padding: 22px; margin-top: 36px; }
.support p { margin: 0; }

/* Final CTA */
.closing { text-align: center; }
.closing .pull { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(32px, 7vw, 46px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: rgba(236, 237, 241, .82); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.meta { color: var(--dim); font-size: 15px; margin-bottom: 28px; }
.note { background: var(--surface); border-left: 3px solid var(--yellow); padding: 14px 16px; border-radius: 10px; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 15px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--dim); }
footer a:hover { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .big { font-size: clamp(72px, 20vw, 140px); font-weight: 800; letter-spacing: -.05em; color: var(--yellow); line-height: 1; margin: 0 0 10px; }
