/* Reply Ready — shared premium marketing design system
   Used by: index.html, mortgage.html, dental.html, wedding-venues.html, kitchens-bathrooms.html
   Industry accent colours are set per-page via [data-industry] on <body>. */

:root {
  --bg: #05070c;
  --bg-raise: #0a0d16;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --ink: #f4f6fb;
  --ink-dim: #aab3c6;
  --ink-faint: #76809a;
  --accent: #4d8dff;
  --accent-soft: rgba(77, 141, 255, 0.14);
  --accent-line: rgba(77, 141, 255, 0.4);
  --good: #33d19a;
  --amber: #f2b84b;
  --max: 1240px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-deep: 0 40px 120px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Industry accent themes */
body[data-industry="mortgage"] { --accent: #4d8dff; --accent-soft: rgba(77,141,255,.14); --accent-line: rgba(77,141,255,.4); }
body[data-industry="dental"]   { --accent: #3fd0d6; --accent-soft: rgba(63,208,214,.14); --accent-line: rgba(63,208,214,.4); }
body[data-industry="wedding"]  { --accent: #d9b579; --accent-soft: rgba(217,181,121,.16); --accent-line: rgba(217,181,121,.42); }
body[data-industry="kitchens"] { --accent: #c98a52; --accent-soft: rgba(201,138,82,.16); --accent-line: rgba(201,138,82,.42); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Manrope", system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { color: var(--ink-dim); }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: var(--bg); transform: translateY(-160%); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }

.shell { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 84px 0; }
.section-raise { background: var(--bg-raise); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head > p:last-child { font-size: 1.08rem; max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.center { justify-content: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in, .no-io .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Nav */
nav.site-nav { position: sticky; top: 0; z-index: 200; height: 76px; background: rgba(5,7,12,.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { width: min(1320px, calc(100% - 64px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { position: relative; color: var(--ink-dim); font-size: .87rem; font-weight: 600; text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.nav-dropdown { position: relative; }
.nav-dropdown-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 240px; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-raise); box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-panel a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-dim); font-size: .85rem; font-weight: 600; text-decoration: none; }
.nav-dropdown-panel a:hover { color: var(--ink); background: var(--panel); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; color: var(--bg); background: var(--ink); border-radius: 9px; text-decoration: none; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-signin { color: var(--ink-dim); font-size: .85rem; font-weight: 600; text-decoration: none; }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: transparent; border-radius: 9px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 19px; height: 2px; background: var(--ink); content: ""; position: relative; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 14px 25px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--accent); color: #06121f; box-shadow: 0 14px 34px var(--accent-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px var(--accent-soft); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.btn-ghost { min-height: auto; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 720px; background: radial-gradient(60% 60% at 50% 0%, var(--accent-soft), transparent 70%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; min-height: 640px; padding: 96px 0 80px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--ink-dim); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(51,209,154,.14); }
.hero h1 { max-width: 720px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { max-width: 600px; margin-bottom: 32px; font-size: clamp(1.03rem, 1.4vw, 1.2rem); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); font-size: .84rem; font-weight: 600; }
.hero-trust li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--good); background: rgba(51,209,154,.12); font-size: .65rem; font-weight: 800; }

/* 3D scene */
.scene { perspective: 1300px; position: relative; }
.scene-stage { position: relative; transform-style: preserve-3d; transition: transform .35s var(--ease); }
.scene-center { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: linear-gradient(160deg, var(--panel-strong), var(--panel)); backdrop-filter: blur(22px); box-shadow: var(--shadow-deep); transform: translateZ(40px); }
.scene-center-label { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--ink-faint); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.scene-center-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 2.2s infinite; }
.scene-center h3 { font-size: 1.6rem; margin-bottom: 6px; }
.scene-center p { margin: 0; font-size: .84rem; }
.work-cards { display: grid; gap: 12px; margin-top: 22px; }
.work-card { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.035); transform: translateZ(20px); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.work-card:hover { transform: translateZ(34px) translateY(-2px); border-color: var(--accent-line); }
.work-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .82rem; }
.work-copy b { display: block; font-family: "Manrope", sans-serif; font-size: .85rem; color: var(--ink); }
.work-copy span { display: block; color: var(--ink-faint); font-size: .73rem; margin-top: 2px; }
.work-state { padding: 5px 9px; border-radius: 999px; background: rgba(51,209,154,.12); color: var(--good); font-size: .64rem; font-weight: 800; white-space: nowrap; }
.work-state.attn { background: rgba(242,184,75,.14); color: var(--amber); }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floaty { animation: float 6s ease-in-out infinite; }

/* Industry cards */
.industry-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.industry-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-raise); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.industry-card:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.industry-card-media { position: absolute; inset: 0; z-index: 0; }
.industry-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .6s var(--ease); }
.industry-card:hover .industry-card-media img { transform: scale(1.1); }
.industry-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,.05) 0%, rgba(5,7,12,.55) 55%, rgba(5,7,12,.94) 100%); }
.industry-card-body { position: relative; z-index: 1; padding: 30px; }
.industry-badge { display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(5,7,12,.4); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.industry-card h3 { color: #fff; margin-bottom: 10px; }
.industry-card p { color: rgba(255,255,255,.82); font-size: .93rem; margin-bottom: 16px; }
.industry-card-cta { color: #fff; font-weight: 700; font-size: .87rem; }

/* Role / employee cards */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--panel); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.role-card:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.role-card h3 { margin-bottom: 10px; }
.role-card p { font-size: .9rem; margin: 0; }

/* Problem grid */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raise); }
.problem-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.problem-card p { margin: 0; font-size: .92rem; }

/* Timeline / how it works */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raise); overflow: hidden; }
.timeline-step { position: relative; padding: 34px 30px; }
.timeline-step:not(:last-child) { border-right: 1px solid var(--border); }
.timeline-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 46px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--bg-raise); color: var(--accent); font-weight: 800; }
.timeline-num { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.timeline-step h3 { margin: 30px 0 12px; font-size: 1.2rem; }
.timeline-step p { margin: 0; font-size: .9rem; }

/* Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--panel); }
.trust-card b { display: block; margin-bottom: 8px; font-family: "Manrope", sans-serif; color: var(--ink); }
.trust-card p { margin: 0; font-size: .85rem; }

/* Flow list (used on vertical pages) */
.flow-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 0; padding: 0; list-style: none; }
.flow-list li { padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); font-size: .85rem; font-weight: 600; color: var(--ink); }
.flow-list .arrow { color: var(--ink-faint); border: none; background: none; padding: 0; }

/* Team roster cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.team-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raise); }
.team-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.team-card h3 { margin: 0; font-size: 1.2rem; }
.status-pill { padding: 5px 10px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.status-pill.now { color: var(--good); background: rgba(51,209,154,.14); }
.status-pill.founding { color: var(--accent); background: var(--accent-soft); }
.status-pill.planned { color: var(--ink-faint); background: var(--panel); border: 1px solid var(--border); }
.team-card p { font-size: .9rem; margin-bottom: 14px; }
.capability-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.capability-chips li { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink-dim); font-size: .74rem; }
.team-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--ink-faint); }

/* Boundaries / two-column note */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.boundary-card { padding: 26px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.boundary-card.does { background: rgba(51,209,154,.06); border-color: rgba(51,209,154,.25); }
.boundary-card.doesnt { background: rgba(242,184,75,.05); border-color: rgba(242,184,75,.22); }
.boundary-card h3 { margin-bottom: 12px; font-size: 1rem; }
.boundary-card ul { margin: 0; padding-left: 18px; color: var(--ink-dim); font-size: .88rem; }
.boundary-card li { margin-bottom: 6px; }

/* Value / calculator style band */
.value-band { padding: 46px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, var(--panel-strong), var(--panel)); text-align: center; }
.value-band h2 { max-width: 820px; margin-inline: auto 18px; }
.value-band p { max-width: 700px; margin: 0 auto; font-size: 1.02rem; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: var(--bg-raise); }
.final-cta::after { content: ""; position: absolute; right: -160px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none; }
.final-inner { position: relative; z-index: 1; max-width: 780px; margin: auto; text-align: center; }
.final-inner h2 { margin-bottom: 18px; }
.final-inner p { max-width: 620px; margin: 0 auto 28px; font-size: 1.03rem; }
.final-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.final-small { color: var(--ink-faint); font-size: .8rem; }

/* Footer */
footer.site-footer { background: var(--bg-raise); border-top: 1px solid var(--border); }
.footer-inner { min-height: 150px; padding: 40px 0; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin: 12px 0 0; color: var(--ink-faint); font-size: .74rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { color: var(--ink-dim); font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* Document / channel widgets shared with mortgage page */
.doc-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raise); }
.doc-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.doc-row:last-child { border-bottom: 0; }
.doc-status { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.doc-status.received { color: var(--good); background: rgba(51,209,154,.13); }
.doc-status.needed { color: var(--amber); background: rgba(242,184,75,.13); }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel-chip { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--panel); text-align: center; font-weight: 700; font-size: .9rem; }

/* Responsive */
@media (max-width: 1080px) {
  .shell { width: min(var(--max), calc(100% - 60px)); }
  .hero-inner { gap: 44px; }
  .industry-cards, .problem-grid, .team-grid, .trust-grid, .role-grid { gap: 16px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 74px 0 64px; min-height: 0; }
  .role-grid, .problem-grid { grid-template-columns: 1fr 1fr; }
  .industry-cards, .team-grid, .two-col { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-step:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--border); }
  .timeline-step:not(:last-child)::after { display: none; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .section { padding: 84px 0; }
  nav.site-nav { height: 68px; }
  .nav-inner { width: calc(100% - 32px); }
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .nav-links { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 20px; border-bottom: 1px solid var(--border); background: var(--bg); display: none; }
  .nav-open .nav-links { display: flex; }
  .nav-dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; background: transparent; padding: 4px 0 4px 12px; box-shadow: none; }
  .nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { display: block; }
  .nav-link { padding: 10px 4px; font-size: 1rem; }
  .nav-cta { min-height: 48px; margin-top: 8px; }
  .role-grid, .problem-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-links { justify-content: flex-start; }
  .final-actions { flex-direction: column; }
  .final-actions a { width: 100%; }
}
