/* Shared GuestRdy site styles — generated from index.html <style> (keep index.html the source). */
:root {
  --ink: #0f172a;
  --paper: #ffffff;
  --bg: #f8fafc;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --muted: #64748b;
  --border: #e2e8f0;
  --soft: #f1f5f9;
  --success: #16a34a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ----- HEADER ----- */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
/* Hamburger button — sits at top-left, opens the drawer with every nav link */
.hamburger-btn {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  z-index: 60;
}
.hamburger-btn:hover { background: var(--soft); }
.hamburger-btn svg { width: 20px; height: 20px; display: block; }
/* Drawer — slides down from the top under the header, with backdrop */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 40;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px; max-width: 85vw;
  height: 100dvh;
  background: var(--paper);
  box-shadow: 2px 0 30px rgba(15,23,42,.15);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 55;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-head .brand-mark-sm {
  height: 44px;
  width: auto;
  max-width: 200px;
  display: block;
}
.drawer-close {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.drawer-close:hover { background: var(--soft); }
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}
.drawer-links a {
  display: block;
  padding: 14px 22px;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  border-left: 3px solid transparent;
}
.drawer-links a:hover {
  background: var(--soft);
  border-left-color: var(--accent);
  text-decoration: none;
}
.drawer-links .divider {
  height: 1px;
  background: var(--border);
  margin: 10px 16px;
}
.drawer-links .btn {
  margin: 12px 20px 4px;
  text-align: center;
}
/* .drawer-links a sets color:var(--ink) which overrides .btn's white,
   so restore white text on the Client login button inside the drawer. */
.drawer-links a.btn,
.drawer-links a.btn:hover {
  color: #fff;
  border-left-color: transparent;
  background: var(--accent);
}
.drawer-links a.btn:hover { background: var(--accent-dark); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}
/* Hero-centered brand mark — the big readable logo lives here now */
.hero-brand {
  display: inline-block;
  margin: 0 auto 28px;
}
.hero-brand-mark {
  width: 260px; height: 260px;
  border-radius: 26px;
  display: block;
  background: url('/logo.png') center/contain no-repeat;
}
@media (max-width: 720px) {
  .hero-brand-mark { width: 240px; height: 240px; border-radius: 24px; }
}
@media (max-width: 480px) {
  .hero-brand-mark { width: 220px; height: 220px; border-radius: 22px; }
}
@media (max-width: 360px) {
  .hero-brand-mark { width: 190px; height: 190px; border-radius: 20px; }
}
/* Footer mark — visible but compact. Light-gray card behind the now-
   transparent logo so it stands out against the dark navy footer. The
   logo is scaled down to 80% so there's a comfortable inset margin
   around the artwork inside the card. */
footer .brand-mark {
  width: 96px; height: 96px;
  border-radius: 14px;
  display: inline-block;
  background: #f1f5f9 url('/logo.png') center/80% no-repeat;
}
.brand-mark-lg {
  width: 96px; height: 96px;
  border-radius: 20px;
  display: inline-block;
  background: url('/logo.png') center/cover no-repeat;
  box-shadow: 0 20px 60px rgba(14,165,233,0.18), 0 6px 16px rgba(15,23,42,0.08);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
/* Ensure .btn inside .nav-links stays white — default .nav-links a color
   has higher specificity than .btn and would otherwise bleed through. */
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #1e293b; text-decoration: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--soft); }

/* ----- HERO ----- */
.hero {
  padding: 80px 24px 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { padding: 14px 28px; font-size: 15px; }
.platform-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 28px;
  max-width: 640px;
}
.platform-badges span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

/* ----- SECTIONS ----- */
section { padding: 72px 0; }
section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ----- FEATURES GRID ----- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s;
}
.feature:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(15,23,42,0.1);
}
.feature .icon {
  width: 44px; height: 44px;
  background: var(--soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ----- HOW IT WORKS ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
}
.step {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}
.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .step { padding: 22px 20px; }
}

/* ----- ABOUT / TRUST ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid h2 {
  font-size: 32px;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.about-grid p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 16px;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.about-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.about-card .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.about-card .row:last-child { border-bottom: none; }
.about-card .row .key { color: var(--muted); }
.about-card .row .val { color: var(--ink); font-weight: 600; }

/* ----- CTA STRIP ----- */
.cta-strip {
  background: var(--ink);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
  border-radius: 16px;
  margin: 0 24px;
}
.cta-strip h2 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 800;
}
.cta-strip p {
  color: #cbd5e1;
  font-size: 16px;
  margin: 0 0 24px;
}
.cta-strip .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
}
.cta-strip .btn:hover { background: var(--accent-dark); }

/* ----- FOOTER ----- */
footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 48px 24px 32px;
  margin-top: 72px;
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
footer h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; font-size: 14px; }
footer ul li a { color: #94a3b8; }
footer ul li a:hover { color: #fff; text-decoration: none; }
footer p { font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
footer .legal {
  border-top: 1px solid #1e293b;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
footer .brand { color: #fff; }

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .hero { padding: 56px 24px 48px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  footer .grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 14px; }
  .nav-links .desktop-only { display: none; }
}
/* On narrow screens the centered nav collides with the absolute hamburger —
   switch to flex-end so: hamburger hard-left, then [Features · How it works ·
   Client login] pinned to the right. Desktop-only links (About, FAQ) still hide
   and live in the drawer. */
@media (max-width: 720px) {
  .nav {
    justify-content: flex-end;
    padding-left: 64px;
    padding-right: 14px;
  }
  .hamburger-btn { left: 12px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 12px; }
  .nav-links a.btn { padding: 7px 12px; font-size: 12px; }
}
@media (max-width: 380px) {
  /* On the tiniest phones even 12px won't fit; drop the text links and
     let the drawer carry them. */
  .nav-links a:not(.btn) { display: none; }
  .nav { padding-left: 56px; }
}

/* ----- FAQ ----- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--paper);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent); margin-left: 12px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }

/* ----- 2026-10 REBRAND: tagline hero, audience cards, service cards ----- */
.hero h1.tagline { font-size: 56px; }
.platform-badges a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.platform-badges a:hover { border-color: var(--accent); text-decoration: none; }
.aud-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aud-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.aud-card:hover { text-decoration: none; }
.aud-card p { flex: 1; }
.aud-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.aud-primary { font-weight: 800; color: var(--accent-dark); font-size: 15px; }
.aud-rel { color: var(--muted); }
.aud-go { color: var(--accent); font-weight: 600; margin-top: 4px; }
.svc-card .svc-tag { color: var(--ink); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.svc-card .svc-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.svc-card .svc-links .btn { padding: 9px 14px; font-size: 13px; }
@media (max-width: 768px) { .hero h1.tagline { font-size: 36px; } }
