:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --bg-soft: #fffaf1;
  --surface: #ffffff;
  --surface-alt: #f1eadf;
  --ink: #111827;
  --muted: #5f6778;
  --muted-2: #8a92a3;
  --line: #ded6c8;
  --brand: #12233f;
  --brand-2: #254d7f;
  --gold: #c99736;
  --gold-dark: #8a611c;
  --green: #0f766e;
  --red: #ad3f32;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.14);
  --shadow-soft: 0 16px 45px rgba(17, 24, 39, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --header-height: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 151, 54, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 7%, rgba(37, 77, 127, 0.13), transparent 35rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

code {
  padding: 0.12rem 0.32rem;
  background: rgba(18, 35, 63, 0.08);
  border-radius: 8px;
  color: var(--brand);
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10000;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease), backdrop-filter 180ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 237, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(18, 35, 63, 0.08);
}

.nav {
  width: min(calc(100% - 40px), var(--container));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(18, 35, 63, 0.2);
}

.brand-word {
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-menu a {
  color: rgba(18, 35, 63, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-menu a:hover,
.footer-grid a:hover,
.footer-link-button:hover {
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(201, 151, 54, 0.38);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 42px rgba(18, 35, 63, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 22px 48px rgba(18, 35, 63, 0.28);
}

.btn-secondary {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(18, 35, 63, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(201, 151, 54, 0.5);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  color: var(--brand);
  background: transparent;
  border-color: rgba(18, 35, 63, 0.18);
}

.btn-outline:hover {
  background: rgba(18, 35, 63, 0.04);
  border-color: rgba(18, 35, 63, 0.32);
}

.btn-ghost {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(18, 35, 63, 0.12);
}

.btn-light {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.btn-small {
  min-height: 38px;
  padding: 0.64rem 0.9rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.text-button,
.footer-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  font-weight: 770;
}

.text-button::after,
.footer-link-button::after {
  content: "→";
  transition: transform 160ms var(--ease);
}

.text-button:hover::after,
.footer-link-button:hover::after {
  transform: translateX(3px);
}

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 74px);
  padding-bottom: 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 35, 63, 0.04), transparent 46%),
    radial-gradient(circle at 78% 36%, rgba(201, 151, 54, 0.16), transparent 20rem);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.82rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.cta-panel h2 {
  color: var(--brand);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.25rem, 7vw, 7.3rem);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 2.1rem;
  color: #3f4858;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-strip li {
  padding: 0.45rem 0.75rem;
  color: rgba(18, 35, 63, 0.78);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 35, 63, 0.08);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 680;
}

.hero-panel {
  position: relative;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 35, 63, 0.09);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.82rem 1rem;
  color: var(--brand);
  font-weight: 770;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 99px;
  box-shadow: 0 0 0 7px rgba(15, 118, 110, 0.12);
}

.metric-stack {
  display: grid;
  gap: 0.8rem;
}

.metric-card {
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(18, 35, 63, 0.08);
  border-radius: 20px;
}

.metric-card strong {
  display: block;
  margin: 0.3rem 0 0.2rem;
  color: var(--brand);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.metric-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.metric-label {
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card.warning {
  border-color: rgba(173, 63, 50, 0.22);
}

.metric-card.positive {
  border-color: rgba(15, 118, 110, 0.22);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.08fr;
  gap: 4rem;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.55rem);
}

.problem-list > p,
.section-heading > p,
.cta-panel p {
  max-width: 720px;
  font-size: 1.05rem;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.issue-card,
.step-card,
.demo-card,
.price-card,
.retainer-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 35, 63, 0.09);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.issue-card {
  min-height: 190px;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
}

.issue-card span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--gold-dark);
  font-weight: 850;
}

.issue-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: 1.05rem;
}

.issue-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.how-section,
.pricing-section {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(247, 244, 237, 0));
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 840px;
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  display: flex;
  min-height: 352px;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 4rem;
  color: #fff;
  background: var(--brand);
  border-radius: 16px;
  font-weight: 850;
}

.step-card h3,
.demo-content h3,
.price-card h3,
.retainer-panel h3 {
  color: var(--brand);
  letter-spacing: -0.03em;
}

.step-card h3 {
  font-size: 1.45rem;
}

.step-card p {
  flex: 1;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.demo-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.demo-media {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 151, 54, 0.18), transparent 12rem),
    linear-gradient(135deg, #101d35, #20375c);
}

.demo-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.42rem 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 780;
  backdrop-filter: blur(10px);
}

.demo-content {
  padding: 1.25rem;
}

.demo-content p {
  min-height: 84px;
}

.mock-board,
.mock-dashboard {
  width: min(74%, 260px);
  display: grid;
  gap: 0.65rem;
}

.mock-board {
  grid-template-columns: repeat(3, 1fr);
}

.mock-board span,
.mock-dashboard span,
.mock-flow span {
  display: block;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.mock-dashboard {
  grid-template-columns: 1.2fr 0.8fr;
}

.mock-dashboard span:nth-child(1) {
  grid-row: span 2;
}

.mock-flow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(80%, 310px);
}

.mock-flow span {
  flex: 1;
  min-height: 64px;
}

.mock-flow i {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 241, 0.9));
  border-color: rgba(201, 151, 54, 0.45);
  transform: translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  padding: 0.38rem 0.62rem;
  color: var(--gold-dark);
  background: rgba(201, 151, 54, 0.15);
  border: 1px solid rgba(201, 151, 54, 0.26);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted-2);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.price {
  margin-bottom: 0.8rem;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.price-card ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 0;
  margin: 1.1rem 0 1.35rem;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.6rem;
  color: #3f4858;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 99px;
}

.retainer-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.45rem;
  border-radius: var(--radius-xl);
}

.retainer-panel h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.retainer-panel p:last-child {
  margin-bottom: 0;
}

.final-cta {
  padding-top: 64px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(201, 151, 54, 0.28), transparent 19rem),
    linear-gradient(135deg, var(--brand), #162d50);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 56px 0;
  background: rgba(18, 35, 63, 0.04);
  border-top: 1px solid rgba(18, 35, 63, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-grid p {
  max-width: 390px;
}

.footer-heading {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-link-button {
  display: table;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-weight: 650;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 35, 63, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.inline-link {
  color: var(--brand);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 19, 36, 0.68);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 35, 63, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  font-size: 1.4rem;
}

.modal-content {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.modal-content h2 {
  max-width: 520px;
  margin-bottom: 0.8rem;
  color: var(--brand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.modal-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 1.2rem;
  list-style: none;
}

.modal-list li {
  padding: 0.78rem 0.85rem;
  background: rgba(18, 35, 63, 0.045);
  border: 1px solid rgba(18, 35, 63, 0.08);
  border-radius: 14px;
  color: #3f4858;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--brand);
  font-weight: 760;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(18, 35, 63, 0.15);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 0.9rem;
}

.contact-form textarea {
  min-height: 128px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.honeypot {
  display: none !important;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 680;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .hero-grid,
  .split-grid,
  .footer-grid,
  .cta-panel,
  .retainer-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-panel {
    max-width: 620px;
  }

  .issue-grid,
  .steps,
  .demo-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card,
  .step-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 2.4rem;
  }

  .demo-content p {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .container,
  .nav {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) - 4px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(18, 35, 63, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a,
  .nav-menu .btn {
    justify-content: center;
    width: 100%;
    padding: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-actions,
  .trust-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-heading {
    justify-items: start;
    text-align: left;
  }

  .section-copy h2,
  .section-heading h2,
  .cta-panel h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 28px 28px 0 0;
  }
}

@media (max-width: 520px) {
  .hero-panel,
  .issue-card,
  .step-card,
  .demo-card,
  .price-card,
  .retainer-panel,
  .cta-panel {
    border-radius: 22px;
  }

  .mock-flow {
    width: 88%;
  }

  .featured-badge {
    position: static;
    width: fit-content;
    margin-bottom: 0.85rem;
  }
}


/* Calendly-ready booking modal additions */
.modal-panel-wide {
  width: min(100%, 980px);
}

.booking-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.2rem 0 1rem;
  padding: 0.35rem;
  background: rgba(18, 35, 63, 0.055);
  border: 1px solid rgba(18, 35, 63, 0.08);
  border-radius: 18px;
}

.booking-tab {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 780;
}

.booking-tab.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(18, 35, 63, 0.08);
}

.booking-panel {
  display: none;
}

.booking-panel.is-active {
  display: block;
}

.calendly-frame {
  width: 100%;
  min-height: 640px;
  border: 1px solid rgba(18, 35, 63, 0.1);
  border-radius: 22px;
  background: #fff;
}

.calendly-fallback,
.demo-preview-box {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  margin: 1rem 0;
  border: 1px dashed rgba(18, 35, 63, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 10%, rgba(201, 151, 54, 0.14), transparent 14rem),
    rgba(18, 35, 63, 0.035);
}

.calendly-fallback h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.25rem;
}

.micro-note {
  margin: 0.85rem 0 0;
  font-size: 0.94rem;
}

.inline-button,
.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-2);
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.copy-feedback {
  color: var(--green);
  font-weight: 760;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.demo-preview-box {
  min-height: 150px;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 760;
}

@media (max-width: 720px) {
  .booking-tabs {
    grid-template-columns: 1fr;
  }

  .calendly-frame {
    min-height: 560px;
  }
}

/* Clean email links */
.footer-email-link {
  margin: 0.05rem 0 0.85rem;
}

.footer-email-row,
.email-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.15rem 0 0.8rem;
}

.email-copy-row {
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.email-copy-label {
  color: var(--muted);
  font-weight: 650;
}

.email-copy-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-2);
  font: inherit;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: color 160ms var(--ease), opacity 160ms var(--ease);
}

.email-copy-link:hover,
.email-copy-link:focus-visible {
  color: var(--brand);
}

.email-copy-link.is-copied {
  color: var(--brand);
  opacity: 0.78;
}



/* v20 exact logo, cleaned and resized */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo-img {
  display: block;
  height: 31px;
  width: auto;
  object-fit: contain;
}

.site-header .brand-logo-img {
  height: 31px;
}

.footer-brand-lockup {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content;
  margin-bottom: 1rem;
  line-height: 1;
}

.footer-brand-lockup .brand-logo-img {
  height: 31px;
}

@media (max-width: 720px) {
  .brand-logo-img,
  .site-header .brand-logo-img,
  .footer-brand-lockup .brand-logo-img {
    height: 29px;
  }
}

/* Footer hover consistency */
.site-footer .footer-grid a,
.site-footer .footer-link-button,
.site-footer .email-copy-link {
  color: var(--muted) !important;
}

.site-footer .footer-grid a:hover,
.site-footer .footer-grid a:focus-visible,
.site-footer .footer-link-button:hover,
.site-footer .footer-link-button:focus-visible,
.site-footer .email-copy-link:hover,
.site-footer .email-copy-link:focus-visible,
.site-footer .email-copy-link.is-copied {
  color: var(--gold-dark) !important;
}


/* v22 balanced logo sizing */
.brand-logo-img {
  height: 31px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.site-header .brand-logo-img {
  height: 31px !important;
}

.footer-brand-lockup .brand-logo-img {
  height: 31px !important;
}

@media (max-width: 720px) {
  .brand-logo-img,
  .site-header .brand-logo-img,
  .footer-brand-lockup .brand-logo-img {
    height: 29px !important;
  }
}
