/* btrdapp.com — static GitHub Pages site */
:root {
  color-scheme: dark;
  --bg: #03101d;
  --bg-2: #071727;
  --panel: rgba(255, 255, 255, 0.072);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f6fbff;
  --muted: #a9bed2;
  --muted-2: #7690aa;
  --cyan: #20e0ff;
  --blue: #45a7ff;
  --purple: #8b5cf6;
  --pink: #f43f8a;
  --butter: #fbbf24;
  --green: #30f2a2;
  --orange: #fb923c;
  --red: #f87171;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(32,224,255,.18), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(139,92,246,.22), transparent 28rem),
    radial-gradient(circle at 62% 80%, rgba(251,191,36,.12), transparent 30rem),
    linear-gradient(180deg, var(--bg), #020712 68%, #020611);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.72; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: #fff; color: #00101c; padding: 10px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(3, 16, 29, .72);
  backdrop-filter: blur(18px) saturate(1.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.04em; font-size: 1.4rem; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 12px 30px rgba(32,224,255,.2); }
.nav-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 750; font-size: .94rem; }
.nav-links a { opacity: .88; transition: color .18s ease, opacity .18s ease, transform .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; opacity: 1; }
.nav-links a:hover { transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: -.01em;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #06111d; background: linear-gradient(135deg, #23e1ff, #7dd3fc 32%, #ffe268 82%); box-shadow: 0 18px 45px rgba(32,224,255,.18), 0 18px 50px rgba(251,191,36,.11); }
.btn-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: white; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-ghost { color: var(--muted); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }

.hero { position: relative; padding: 96px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b7f6ff; font-size: .82rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--green); box-shadow: 0 0 24px rgba(48,242,162,.8); }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: .98; }
h1 { margin-top: 18px; font-size: clamp(3.25rem, 7vw, 6.2rem); max-width: 760px; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.1; }
.accent { background: linear-gradient(90deg, #fff 0%, #8eefff 34%, #e0c9ff 66%, #ffe272 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 720px; color: #cfe8fb; font-size: clamp(1.08rem, 2.5vw, 1.36rem); margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.06); border-radius: 999px; padding: 9px 12px; font-size: .9rem; font-weight: 750; }
.pill strong { color: white; }

.phone-stage { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(32,224,255,.28), rgba(139,92,246,.16) 45%, transparent 70%); filter: blur(10px); }
.phone {
  position: relative;
  width: min(365px, 78vw);
  border-radius: 48px;
  padding: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,.07) 35%, rgba(255,255,255,.21));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.28);
  transform: rotate(2deg);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 110px; height: 28px; border-radius: 0 0 18px 18px; background: #050b14; z-index: 3; }
.screen { position: relative; overflow: hidden; min-height: 690px; border-radius: 38px; background: linear-gradient(180deg, #071827, #03101d 50%, #020711); padding: 34px 22px 24px; }
.screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 2%, rgba(32,224,255,.25), transparent 34%), radial-gradient(circle at 90% 36%, rgba(251,191,36,.14), transparent 30%); pointer-events: none; }
.app-top, .screen-card, .score-block, .timeline-card { position: relative; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.app-lockup { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; }
.app-lockup img { width: 38px; height: 38px; border-radius: 12px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 850; color: #a7f3d0; background: rgba(48,242,162,.12); border: 1px solid rgba(48,242,162,.25); padding: 7px 9px; border-radius: 999px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.score-block { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); border-radius: 26px; padding: 20px; }
.rating { color: #8eefff; font-size: .78rem; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
.score-number { font-size: 5.8rem; line-height: .88; letter-spacing: -.08em; font-weight: 950; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.score-sub { color: var(--muted); font-weight: 720; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.metric { padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.045); }
.metric span { display: block; color: var(--muted-2); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.metric strong { display: block; margin-top: 5px; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.timeline-card { margin-top: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 16px; background: rgba(255,255,255,.05); }
.trace-wrap { height: 154px; position: relative; margin-top: 14px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, rgba(32,224,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); }
.trace-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bracket { position: absolute; top: 0; bottom: 0; border-radius: 0; opacity: .22; }
.bracket.touchdown { left: 44%; width: 16%; background: #45a7ff; box-shadow: inset 0 0 0 1px rgba(69,167,255,.8); }
.bracket.rollout { left: 60%; right: 0; background: #fb923c; box-shadow: inset 0 0 0 1px rgba(251,146,60,.75); }
.legend { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; color: var(--muted); font-size: .8rem; font-weight: 760; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.float-card { position: absolute; z-index: 4; border-radius: 20px; padding: 14px 16px; background: rgba(7, 23, 39, .82); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 56px rgba(0,0,0,.32); color: #e7f6ff; font-weight: 850; }
.float-card small { display: block; color: var(--muted); font-weight: 750; margin-top: 4px; }
.float-left { left: 0; bottom: 92px; transform: rotate(-5deg); }
.float-right { right: -16px; top: 110px; transform: rotate(5deg); }

.section { padding: 76px 0; position: relative; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)); border-radius: var(--radius); padding: 26px; box-shadow: 0 22px 65px rgba(0,0,0,.18); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(32,224,255,.12); border: 1px solid rgba(32,224,255,.24); margin-bottom: 18px; font-size: 1.35rem; }
.card p, .muted { color: var(--muted); }
.kicker { color: #94f3ff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 950; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 11px; color: #c8daea; line-height: 1.55; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: #06111d; background: var(--green); font-weight: 950; margin-top: 1px; }

.ribbon { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.panel { border: 1px solid var(--line); background: rgba(255,255,255,.065); border-radius: calc(var(--radius) + 8px); overflow: hidden; box-shadow: var(--shadow); }
.panel-copy { padding: 34px; }
.panel-copy p { color: var(--muted); }
.result-strip { padding: 22px; display: grid; gap: 12px; background: linear-gradient(135deg, rgba(32,224,255,.12), rgba(139,92,246,.1)); }
.result-row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.badge { display: inline-flex; justify-content: center; border-radius: 999px; padding: 7px 9px; font-size: .72rem; font-weight: 950; letter-spacing: .09em; }
.badge.green { background: rgba(48,242,162,.15); color: #a7f3d0; }
.badge.blue { background: rgba(69,167,255,.16); color: #b8ddff; }
.badge.orange { background: rgba(251,146,60,.15); color: #ffd2b2; }
.result-row strong { font-size: 1.2rem; }
.result-row span { color: var(--muted); font-size: .9rem; }
.score-mini { font-weight: 950; font-size: 1.5rem; font-variant-numeric: tabular-nums; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.055); border-radius: 22px; }
.step::before { content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, var(--cyan), var(--butter)); color: #06111d; font-weight: 950; }
.step h3 { margin-top: 3px; }
.step p { color: var(--muted); margin: 9px 0 0; }

.safety { border: 1px solid rgba(251,191,36,.22); background: linear-gradient(135deg, rgba(251,191,36,.12), rgba(255,255,255,.045)); border-radius: var(--radius); padding: 24px; color: #ffe9a8; }
.safety strong { color: #fff8d4; }

.cta-panel { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(28px, 6vw, 54px); border: 1px solid rgba(255,255,255,.16); background: linear-gradient(135deg, rgba(32,224,255,.14), rgba(139,92,246,.16) 50%, rgba(251,191,36,.12)); box-shadow: var(--shadow); }
.cta-panel::after { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; right: -140px; top: -160px; background: radial-gradient(circle, rgba(251,191,36,.28), transparent 67%); }
.cta-content { position: relative; z-index: 1; max-width: 740px; }
.cta-content p { color: #d7e8f6; max-width: 650px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

.page-hero { padding: 78px 0 42px; }
.page-hero h1 { max-width: none; font-size: clamp(2.8rem, 6vw, 5.7rem); }
.text-page { padding: 34px 0 80px; }
.prose { max-width: 850px; }
.prose h2 { margin-top: 42px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--muted); line-height: 1.74; }
.prose a { color: #8eefff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.support-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.contact-card { position: sticky; top: 106px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: rgba(255,255,255,.055); border-radius: 20px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { color: var(--muted); margin-bottom: 0; }

.site-footer { border-top: 1px solid rgba(255,255,255,.1); padding: 34px 0; color: var(--muted); background: rgba(2,7,18,.55); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; color: white; font-weight: 900; letter-spacing: -.03em; }
.footer-brand img { width: 38px; height: 38px; border-radius: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
.footer-links a { color: #c8daea; }

.reveal { opacity: 1; transform: translateY(0); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .nav { min-height: 70px; }
  .nav-links { gap: 12px; font-size: .88rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .ribbon, .support-grid { grid-template-columns: 1fr; }
  .phone-stage { min-height: auto; margin-top: 16px; }
  .float-left { left: -10px; bottom: 42px; }
  .float-right { right: -8px; top: 80px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .contact-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand span { font-size: 1.14rem; }
  .nav-cta { display: inline-flex !important; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .lede { font-size: 1.04rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .phone { width: min(342px, 92vw); transform: none; }
  .screen { min-height: 640px; }
  .score-number { font-size: 4.9rem; }
  .float-card { display: none; }
  .result-row { grid-template-columns: 1fr auto; }
  .result-row .badge { grid-column: 1 / -1; justify-content: flex-start; width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
