:root {
  --bg: #f6f8fc;
  --surface: #fff;
  --surface-soft: #f1f5ff;
  --text-900: #0f1a3a;
  --text-700: #346;
  --text-500: #5a6c90;
  --line: #d7e0f2;
  --primary: #2457e6;
  --primary-700: #1f46bf;
  --primary-100: #dce7ff;
  --accent: #08a0c9;
  --success: #0f766e;
  --warning: #854d0e;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgb(19 43 102 / 8%);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-900);
  background: var(--surface);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #f4f7ff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 3.5rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  color: var(--primary-700);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.9rem;
}

.topbar-right a {
  text-decoration: none;
  color: var(--primary-700);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(6px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.95rem;
  letter-spacing: -0.02em;
}

.brand::before {
  content: none;
}

.brand img {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
}

.brand-text {
  display: block;
  line-height: 1;
  white-space: nowrap;
  word-spacing: -0.2em;
}

.brand-growth {
  color: var(--primary);
}

.desktop-cta {
  white-space: nowrap;
  line-height: 1;
  min-width: max-content;
  flex-shrink: 0;
}

.desktop-nav + .desktop-cta {
  margin-left: 1.6rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.nav-link {
  position: relative;
  border: 0;
  background: none;
  color: var(--text-700);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--primary-700);
}

.services-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 280px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  border-radius: 10px;
  padding: 0.66rem 0.75rem;
  color: var(--text-700);
  font-size: 0.95rem;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft);
  color: transparent;
  padding: 0;
  width: 42px;
  height: 42px;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle::before {
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background:
    linear-gradient(var(--primary-700), var(--primary-700)) 0 0 / 16px 2px no-repeat,
    linear-gradient(var(--primary-700), var(--primary-700)) 0 5px / 16px 2px no-repeat,
    linear-gradient(var(--primary-700), var(--primary-700)) 0 10px / 16px 2px no-repeat;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
}

.mobile-nav.show {
  display: grid;
  gap: 0.65rem;
}

.mobile-nav a,
.mobile-nav summary {
  display: block;
  color: var(--text-700);
  font-weight: 600;
  text-decoration: none;
  padding: 0.24rem 0;
}

.mobile-nav details {
  border: 0;
  padding: 0;
  margin: 0;
}

.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.4rem;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-right: 0 !important;
}

.mobile-nav summary::before {
  content: none;
}

.mobile-nav summary::after {
  content: "▾";
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 0.08rem;
  padding: 0.02rem 0.34rem;
  border-radius: 999px;
  background: var(--primary-100);
  transition: transform 0.16s ease;
}

.mobile-nav details[open] summary::after {
  transform: rotate(180deg);
}

.mobile-nav summary::-webkit-details-marker {
  display: none !important;
}

.mobile-nav summary::marker {
  content: "" !important;
  display: none !important;
}

.btn,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.3rem;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-700);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text-700);
  background: #fff;
  padding: 0.8rem 1.2rem;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #f8faff;
}

.btn-light {
  background: #fff;
  color: var(--primary-700);
  padding: 0.68rem 1rem;
}

.mobile-nav .btn {
  display: none !important;
}

.page-shell {
  overflow: clip;
}

.section {
  width: min(var(--max-width), calc(100% - 3.5rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-tight {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.section-head {
  margin-bottom: 1.8rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--primary-700);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section h1,
.section h2,
.section h3 {
  letter-spacing: -0.03em;
}

.section h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
}

.section p.lead {
  margin: 1.15rem 0 0;
  max-width: 68ch;
  color: var(--text-700);
  font-size: clamp(1.03rem, 1.9vw, 1.4rem);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(1.75rem, calc((100vw - var(--max-width)) / 2));
  padding-right: max(1.75rem, calc((100vw - var(--max-width)) / 2));
  background:
    radial-gradient(circle at 20% 15%, #dce7ff 0, #dce7ff00 36%),
    linear-gradient(180deg, #edf3ff 0%, #f9fbff 68%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background-image: radial-gradient(#d8e4ff 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  opacity: 0.65;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 10;
}

.hero-copy .solid-blue {
  color: var(--primary);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.page-shell > .hero:not(.legal-hero) {
  padding-bottom: 2.4rem;
}

.page-shell > .hero:not(.legal-hero) + .section {
  padding-top: 2.2rem;
}

.metrics-row {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem 0.8rem;
}

.metric-label {
  margin: 0;
  color: var(--text-500);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

.metric-note {
  margin: 0.25rem 0 0;
  color: var(--text-700);
  font-size: 0.88rem;
}

.form-card {
  border: 1px solid #cfdaef;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
}

.form-card h3 {
  margin: 0;
  font-size: 2rem;
}

.form-card p {
  margin: 0.55rem 0 0.9rem;
  color: var(--text-700);
}

.form-field {
  margin-bottom: 0.62rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.86rem;
  color: var(--text-700);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #c9d7f0;
  border-radius: 11px;
  background: #fff;
  color: var(--text-900);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-legal {
  margin: 0.6rem 0 0;
  color: var(--text-500);
  font-size: 0.82rem;
}

.form-helper {
  margin: -0.1rem 0 0.4rem;
  color: #5f7099;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status {
  margin-top: 0.7rem;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
}

.form-status-prominent {
  margin: 0.2rem 0 0.9rem;
  border-width: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-status.success {
  border: 1px solid #9fdcd5;
  background: #ecfbf8;
  color: var(--success);
}

.form-status.error {
  border: 1px solid #f0c9b4;
  background: #fff7f2;
  color: #9a3412;
}

.form-status-prominent.success,
.form-status-prominent.error {
  border-width: 2px;
}

.hidden-field {
  position: absolute !important;
  left: -5000px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem 1.05rem;
}

.card h3,
.card h4 {
  margin: 0;
}

.card p {
  margin: 0.45rem 0 0;
  color: var(--text-700);
}

.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
}

.card li {
  margin: 0.4rem 0;
  color: var(--text-700);
}

.section.section-surface {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(1.75rem, calc((100vw - var(--max-width)) / 2));
  padding-right: max(1.75rem, calc((100vw - var(--max-width)) / 2));
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: start;
}

.plan-card {
  border: 1px solid #bcd0fb;
  border-radius: 16px;
  background: #f8fbff;
  padding: 1rem;
}

.plan-price {
  margin: 0.2rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.plan-price .old {
  color: var(--text-500);
  font-size: 1.5rem;
  text-decoration: line-through;
}

.plan-price .new {
  color: var(--primary);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
}

.plan-sub {
  margin-top: 0.35rem;
  color: var(--text-700);
  font-weight: 600;
}

.month-boxes {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.month-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem;
}

.month-box p {
  margin: 0;
  color: var(--text-500);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.month-box strong {
  display: block;
  margin-top: 0.26rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.included-list {
  margin-top: 1rem;
}

.included-list li {
  margin: 0.42rem 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem;
}

.proof-quote blockquote {
  margin: 0;
  color: var(--text-700);
  font-weight: 500;
}

.proof-quote cite {
  display: block;
  margin-top: 0.65rem;
  color: var(--text-500);
  font-style: normal;
  font-size: 0.9rem;
}

.kpi-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.kpi-head {
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  padding: 0.85rem 1rem;
}

.kpi-head h3 {
  margin: 0;
}

.kpi-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.kpi-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcfdff;
  padding: 0.7rem;
}

.kpi-item p {
  margin: 0.22rem 0 0;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.timeline-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
}

.timeline-step h4 {
  margin: 0;
  color: var(--primary-700);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-step p {
  margin: 0.42rem 0 0;
  color: var(--text-700);
}

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #0f1b40, #1d2f66);
  color: #e7eeff;
}

.cta-band-inner {
  width: min(var(--max-width), calc(100% - 3.5rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--text-700);
}

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

.blog-page .page-shell > .hero {
  padding-bottom: 1.35rem;
}

.blog-page .blog-list-section {
  padding-top: 1rem;
}

.blog-card {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.blog-card .content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.blog-meta {
  margin: 0 0 0.72rem;
  color: var(--text-500);
  font-size: 0.84rem;
}

.blog-card .btn-ghost {
  align-self: flex-start;
  margin-top: auto;
}

.footer {
  border-top: 1px solid var(--line);
  background: #f7f9ff;
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 3.5rem));
  margin: 0 auto;
  padding: 1.65rem 0;
  display: grid;
  grid-template-columns: minmax(290px, 1.3fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: 0.85rem;
}

.footer h3,
.footer h4 {
  margin: 0;
}

.footer p,
.footer a {
  color: var(--text-700);
  text-decoration: none;
}

.mobile-nav details a {
  display: block;
  margin-left: 0.25rem;
  padding: 0.4rem 0 0.4rem 0.85rem;
  border-left: 1px solid var(--line);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--surface-soft);
  color: var(--primary-700);
}

.footer-links {
  display: grid;
  gap: 0.34rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--text-500);
  font-size: 0.9rem;
  text-align: center;
  padding: 0.9rem 0;
}

.legal-page .legal-hero {
  padding-top: 3.3rem;
  padding-bottom: 1.3rem;
}

.legal-page .legal-main {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.legal-card h2 {
  margin: 1.35rem 0 0.5rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin: 0.45rem 0 0;
}

.legal-card ul {
  margin: 0.62rem 0 0.95rem;
  padding-left: 1.15rem;
}

.legal-card li {
  margin: 0.34rem 0;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 70;
  pointer-events: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 90;
  border-radius: 8px;
  background: #fff;
  padding: 0.6rem 0.8rem;
}

@media (width <= 1080px) {
  .topbar-inner,
  .header-inner,
  .section:not(.hero, .section-surface),
  .cta-band-inner,
  .footer-inner {
    width: min(var(--max-width), calc(100% - 2.2rem));
  }

  .desktop-nav {
    gap: 0.95rem;
  }

  .nav-link {
    font-size: 0.96rem;
  }

  .desktop-cta {
    padding: 0.7rem 0.95rem;
    font-size: 0.93rem;
  }

  .brand {
    font-size: 1.55rem;
  }

  .hero-grid,
  .pricing-shell,
  .grid-4,
  .blog-grid,
  .proof-strip,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(250px, 1.2fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr);
    gap: 0.75rem;
  }
}

@media (width <= 1024px) {
  .header-inner {
    justify-content: flex-start;
    gap: 0.6rem;
    min-height: 68px;
  }

  .brand {
    margin-right: auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0.45rem;
  }

  .desktop-cta {
    margin-left: 0;
  }

}

@media (width <= 860px) {
  .grid-3,
  .grid-2,
  .month-boxes,
  .hero-grid,
  .pricing-shell,
  .proof-strip,
  .timeline,
  .blog-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section:not(.hero, .section-surface) {
    width: min(var(--max-width), calc(100% - 2rem));
    padding: 4.1rem 0;
  }

  .section.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section.section-surface {
    padding: 4.1rem 1rem;
  }

  .legal-page .legal-hero {
    padding-top: 2.6rem;
    padding-bottom: 0.9rem;
  }

  .legal-page .legal-main {
    padding-top: 0.55rem;
    padding-bottom: 2.4rem;
  }

  .page-shell > .hero:not(.legal-hero) {
    padding-bottom: 1.6rem;
  }

  .page-shell > .hero:not(.legal-hero) + .section {
    padding-top: 1.25rem;
  }

  .blog-page .page-shell > .hero {
    padding-bottom: 1.1rem;
  }

  .blog-page .blog-list-section {
    padding-top: 0.85rem;
  }

  .topbar-inner {
    width: min(var(--max-width), calc(100% - 2rem));
    font-size: 0.72rem;
  }

  .topbar-right {
    font-size: 0.82rem;
    gap: 0.6rem;
  }

  .header-inner {
    width: min(var(--max-width), calc(100% - 2rem));
    min-height: 66px;
    gap: 0.45rem;
  }

  .brand {
    font-size: 1.16rem;
  }

  .brand::before {
    content: none;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .desktop-cta {
    padding: 0.62rem 0.78rem;
    font-size: 0.84rem;
  }

  .floating-cta {
    right: 12px;
    bottom: calc(6px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.35rem 0;
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
    max-width: 52ch;
  }
}

@media (width <= 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 1.15rem 0;
    gap: 0.7rem;
  }
}

@media (width <= 640px) {
  .topbar-inner {
    width: min(var(--max-width), calc(100% - 1.5rem));
    font-size: 0.67rem;
    letter-spacing: 0.1em;
  }

  .topbar-right {
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  .topbar-right a:first-child {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    width: min(var(--max-width), calc(100% - 1.5rem));
    gap: 0.38rem;
  }

  .brand {
    gap: 0.4rem;
    margin-right: 0;
    min-width: 0;
    overflow: visible;
    font-size: 0.9rem;
    letter-spacing: -0.015em;
  }

  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.1;
    padding-right: 0.08em;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .desktop-cta {
    justify-self: end;
    min-width: 0;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.54rem 0.78rem;
    font-size: 0.78rem;
    line-height: 1;
  }

  .menu-toggle {
    justify-self: end;
    margin-left: 0;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .section.hero {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .section.section-surface {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .legal-page .legal-hero {
    padding-top: 2.2rem;
    padding-bottom: 0.7rem;
  }

  .legal-page .legal-main {
    padding-top: 0.4rem;
  }

  .page-shell > .hero:not(.legal-hero) {
    padding-bottom: 1.1rem;
  }

  .page-shell > .hero:not(.legal-hero) + .section {
    padding-top: 0.9rem;
  }

  .blog-page .page-shell > .hero {
    padding-bottom: 0.85rem;
  }

  .blog-page .blog-list-section {
    padding-top: 0.7rem;
  }
}
