@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f2f7ff;
  --line: #dce3ec;
  --text: #091426;
  --muted: #5f6b7a;
  --accent: #1769e0;
  --accent-2: #2f80ed;
  --danger: #b42318;
  --max: 1580px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(9, 20, 38, 0.06);
  --font: "Manrope", Arial, sans-serif;
  --site-navy: #07162b;
  --site-navy-soft: #0d2033;
  --site-blue-soft: #f2f7ff;
  --site-border-light: #e9edf3;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

body > section:not(.page-hero):nth-of-type(even) {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.container {
  width: min(100% - 80px, var(--max));
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.28);
  outline-offset: 3px;
}

/* Shared navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--site-border-light);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.site-header .container {
  min-height: 76px;
  padding: 10px 0;
  gap: 30px;
}

.site-header .brand--site {
  --brand-logo-size: 34px;
  --brand-gap: 10px;
  min-width: auto;
}

.site-header .brand--site .brand-context {
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.site-header .brand-tagline {
  display: none;
}

.nav-links {
  justify-content: center;
  gap: clamp(16px, 1.8vw, 28px);
  margin-left: auto;
}

.nav-links > a,
.nav-links > .nav-dropdown > a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.nav-links > a:hover,
.nav-links > .nav-dropdown > a:hover {
  color: var(--accent);
}

.nav-dropdown-menu,
.nav-submenu {
  padding: 8px;
  border: 1px solid var(--site-border-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown-menu {
  top: calc(100% + 12px);
  max-height: min(72vh, 680px);
  overflow-y: auto;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-dropdown-menu > a,
.nav-nested-trigger,
.nav-submenu a {
  border-radius: 8px;
}

.nav-dropdown-menu > a:hover,
.nav-nested-trigger:hover,
.nav-submenu a:hover {
  background: var(--site-blue-soft);
}

.nav-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-item-meta {
  font-size: 0.82rem;
}

.header-cta {
  gap: 10px;
}

.account-access-button,
.header-cta .button,
.header-cta .button-secondary {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.account-access-button {
  border-color: var(--line);
  background: #fff;
}

.account-signup-button {
  display: none !important;
}

.header-cta--account > a {
  display: none;
}

.header-cta--account > a:first-of-type {
  display: inline-flex;
  border-color: var(--site-navy) !important;
  color: #fff !important;
  background: var(--site-navy) !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 8px 18px rgba(7, 22, 43, 0.12);
}

/* Page introductions */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0 clamp(62px, 6vw, 88px);
  border-bottom: 1px solid var(--site-border-light);
  background:
    radial-gradient(circle at 78% 18%, rgba(47, 128, 237, 0.1), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(23, 105, 224, 0.09);
  border-radius: 40px;
  transform: rotate(45deg);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  gap: 10px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.page-hero h1,
.hero h1 {
  max-width: 1120px;
  margin: 22px 0 24px;
  color: var(--text);
  font-size: clamp(3rem, 5.1vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.page-hero p,
.hero p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Content, cards, and forms */
.section {
  padding: clamp(68px, 6vw, 96px) 0;
}

.hero {
  padding: clamp(74px, 7vw, 108px) 0 clamp(54px, 5vw, 78px);
}

.hero-grid,
.two-col,
.card-grid,
.pricing-grid,
.case-grid,
.stats-grid,
.footer-grid {
  gap: 28px;
}

.two-col,
.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.card-grid,
.pricing-grid,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.card,
.list-card,
.pricing-card,
.case-card,
.info-card,
.form-shell,
.legal-shell,
.meeting-picker,
.meeting-wizard-shell,
.meeting-management-shell {
  border: 1px solid var(--site-border-light);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}

.card,
.list-card,
.pricing-card,
.case-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
}

.card::before,
.list-card::before,
.pricing-card::before,
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
}

.panel,
.info-card,
.form-shell,
.legal-shell {
  padding: clamp(30px, 3vw, 44px);
}

.card h3,
.list-card h3,
.pricing-card h3,
.case-card h3,
.info-card h3,
.form-shell h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.35rem, 1.6vw, 1.65rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.hero p,
.page-hero p,
.section-copy,
.card p,
.list-card p,
.pricing-card p,
.case-card p,
.legal-copy,
.contact-copy,
.check-list li,
.pricing-card li,
.meta-list li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-copy p,
.legal-copy li {
  font-size: 1.0625rem;
  line-height: 1.78;
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.check-list li,
.pricing-card li {
  position: relative;
  padding: 9px 0 9px 24px;
}

.check-list li::before,
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.pricing-card .price {
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.stat {
  border-color: var(--site-border-light);
  border-radius: 12px;
  background: var(--site-blue-soft);
}

.button,
.button-secondary,
.button-ghost {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.button {
  background: var(--site-navy);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.form-shell form {
  gap: 20px;
}

label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

input,
textarea,
select {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--bg-soft);
  font-size: 1rem;
}

textarea {
  min-height: 170px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  background: #fff;
  outline: 3px solid rgba(23, 105, 224, 0.12);
}

.notice {
  border-color: var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--site-blue-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.badge {
  border-radius: 8px;
  color: var(--accent);
  background: var(--site-blue-soft);
}

.text-link {
  color: var(--accent);
}

/* Shared footer */
.site-footer {
  margin-top: 72px;
  border: 0;
  color: #fff;
  background: var(--site-navy-soft);
}

.site-footer .footer-grid {
  grid-template-columns: 1.35fr repeat(4, minmax(140px, 1fr));
  padding: 64px 0 48px;
}

.site-footer .brand--site {
  --brand-logo-size: 42px;
  --brand-gap: 12px;
}

.site-footer .brand-logo {
  filter: invert(1);
}

.site-footer .brand-context,
.site-footer .footer-title {
  color: #fff;
}

.site-footer .brand-context {
  font-size: 1.55rem;
}

.site-footer .brand-tagline {
  display: none;
}

.site-footer .section-copy,
.site-footer .footer-links a,
.site-footer .legal-links a,
.site-footer .footer-bottom {
  color: #b7c7db;
  font-size: 1rem;
}

.site-footer .footer-links a:hover,
.site-footer .legal-links a:hover {
  color: #fff;
}

.site-footer .footer-title {
  margin-bottom: 20px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer .footer-links li {
  margin: 12px 0;
}

.site-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer .footer-bottom .container {
  padding: 24px 0 30px;
}

/* Keep the assistant visible across every public page. */
.chat-floating > #chat-toggle {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--site-navy);
  font: 700 1rem/1 var(--font);
  box-shadow: 0 10px 26px rgba(7, 22, 43, 0.2);
}

.chat-panel {
  border-color: var(--line);
  border-radius: 14px;
  font-family: var(--font);
}

.chat-panel header,
.chat-input-row button {
  background: var(--site-navy);
}

.meeting-booking-section {
  min-height: 0;
  align-items: flex-start;
  padding: clamp(64px, 6vw, 92px) 0 clamp(78px, 7vw, 110px);
}

.meeting-wizard-shell {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 1280px) {
  .container {
    width: min(100% - 48px, var(--max));
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0 4px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, var(--max));
  }

  .site-header .container {
    flex-direction: row;
    align-items: center;
  }

  .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .header-cta {
    width: auto;
    margin-left: auto;
  }

  .two-col,
  .hero-grid,
  .card-grid,
  .pricing-grid,
  .case-grid,
  .stats-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

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

  .site-header .container {
    gap: 10px;
  }

  .site-header .brand--site {
    --brand-logo-size: 30px;
  }

  .site-header .brand--site .brand-context {
    font-size: 1.18rem;
  }

  .account-access-button,
  .header-cta .button-secondary {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
  }

  .nav-links {
    display: flex;
    width: calc(100% + 28px);
    margin: 0 -14px;
    padding: 8px 14px 10px;
    gap: 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links .nav-dropdown {
    flex: 0 0 auto;
  }

  .nav-links .nav-dropdown-menu {
    display: none !important;
  }

  .nav-links > a,
  .nav-links > .nav-dropdown > a {
    font-size: 0.9rem;
  }

  .page-hero {
    padding: 58px 0 52px;
  }

  .page-hero::after {
    display: none;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .page-hero p,
  .hero p {
    font-size: 1rem;
  }

  .section,
  .hero {
    padding: 54px 0;
  }

  .two-col,
  .hero-grid,
  .card-grid,
  .pricing-grid,
  .case-grid,
  .stats-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .list-card,
  .pricing-card,
  .case-card {
    min-height: 0;
    padding: 26px;
  }

  .panel,
  .info-card,
  .form-shell,
  .legal-shell {
    padding: 26px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .site-footer .footer-grid {
    padding: 48px 0 36px;
  }

  .site-footer .footer-grid > :first-child {
    grid-column: auto;
  }

  .chat-floating > #chat-toggle {
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.9rem;
  }
}

/* Exact homepage header component, shared by every internal page. */
.site-shell-header.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--site-border-light);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.site-shell-header .container {
  width: min(100% - 80px, 1580px);
}

.site-shell-header .home-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px 0;
  gap: 30px;
}

.site-shell-header .home-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 10px;
  color: var(--text);
}

.site-shell-header .home-brand > img {
  width: 34px;
  height: 34px;
}

.site-shell-header .home-brand strong {
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.site-shell-header .home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  order: initial;
  margin: 0 0 0 auto;
  padding: 0;
  gap: clamp(16px, 2vw, 30px);
  overflow: visible;
  flex-wrap: nowrap;
}

.site-shell-header .home-nav > a,
.site-shell-header .home-nav > .nav-dropdown > a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-shell-header .home-nav > a:hover,
.site-shell-header .home-nav > .nav-dropdown > a:hover {
  color: var(--accent);
}

.site-shell-header .home-nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  min-width: 310px;
  max-height: none;
  padding: 8px;
  overflow: visible;
  border: 1px solid var(--site-border-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-shell-header .home-nav-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.site-shell-header .nav-dropdown.open .home-nav-menu,
.site-shell-header .nav-dropdown:hover .home-nav-menu {
  display: flex;
}

.site-shell-header .home-nav-menu > a {
  padding: 10px 12px;
  border-radius: 8px;
}

.site-shell-header .home-nav-menu > a:hover {
  background: var(--site-blue-soft);
}

.site-shell-header .home-nav-menu--compact {
  min-width: 190px;
}

.site-shell-header .home-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: auto;
  margin: 0;
  gap: 10px;
}

.site-shell-header .account-access-button,
.site-shell-header .home-header-meeting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font: 600 1rem/1 var(--font);
  white-space: nowrap;
}

.site-shell-header .account-access-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.site-shell-header .home-header-meeting {
  border: 1px solid var(--site-navy) !important;
  color: #fff !important;
  background: var(--site-navy) !important;
  opacity: 1 !important;
  box-shadow: 0 8px 18px rgba(7, 22, 43, 0.12);
}

.site-shell-header .header-cta--account > a.home-header-meeting {
  display: inline-flex;
}

.site-shell-header .account-signup-button {
  display: none !important;
}

.site-shell-header .home-mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .site-shell-header .home-header__inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .site-shell-header .home-nav {
    order: 3;
    width: 100%;
    padding: 6px 0 4px;
  }
}

@media (max-width: 820px) {
  .site-shell-header .container {
    width: min(100% - 34px, 1280px);
  }

  .site-shell-header .home-header__inner {
    position: relative;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .site-shell-header .home-nav {
    display: none;
  }

  .site-shell-header .home-header-actions {
    width: auto;
    margin-left: auto;
    margin-right: 74px;
  }

  .site-shell-header .home-header-meeting {
    display: none !important;
  }

  .site-shell-header .home-mobile-menu {
    position: absolute;
    right: 0;
    display: block;
  }

  .site-shell-header .home-mobile-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    list-style: none;
  }

  .site-shell-header .home-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-shell-header .home-mobile-menu summary::after {
    content: "▾";
    margin-left: 7px;
    color: var(--accent);
  }

  .site-shell-header .home-mobile-menu[open] summary::after {
    content: "▴";
  }

  .site-shell-header .home-mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 90;
    display: grid;
    width: min(290px, calc(100vw - 34px));
    padding: 8px;
    border: 1px solid var(--site-border-light);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(9, 20, 38, 0.14);
  }

  .site-shell-header .home-mobile-menu nav a {
    padding: 11px 12px;
    border-radius: 7px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
  }

  .site-shell-header .home-mobile-menu nav a:hover {
    color: var(--accent);
    background: var(--site-blue-soft);
  }
}

@media (max-width: 560px) {
  .site-shell-header .home-header__inner {
    min-height: 68px;
    gap: 12px;
  }

  .site-shell-header .home-brand > img {
    width: 30px;
    height: 30px;
  }

  .site-shell-header .home-brand strong {
    font-size: 1.08rem;
  }

  .site-shell-header .home-header-actions {
    margin-left: auto;
    margin-right: 66px;
  }

  .site-shell-header .account-access-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}
