:root {
  --ink: #1e1e1e; /* text */
  --night: #080814; /* dark section and footer backgrounds (unchanged) */
  --purple: #3731a3;
  --purple-bright: #7457f5;
  --muted: #66667a;
  --surface: #f5f4fb;
  --line: rgba(55, 49, 163, 0.14);
  --white: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--purple);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(15px);
}

.nav-shell {
  width: min(100% - 48px, 1280px);
  height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
}

.brand-logo {
  height: 22px;
  width: auto;
  display: block;
}

.brand:has(.brand-logo) {
  gap: 10px;
}

.brand-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
}

.brand-name {
  color: var(--purple);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand-tag,
.label-chip {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 9px/1 "Roboto Mono", monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.login-link,
.button-small {
  white-space: nowrap;
}

.nav-link,
.login-link {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.login-link {
  color: var(--ink);
  cursor: default;
}

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

.nav-link.divided {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 22px 0;
}

.dropdown-toggle svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.product-menu {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 340px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 24px 60px rgba(8, 8, 20, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: 160ms ease;
}

.dropdown.open .product-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.product-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.menu-product {
  display: flex;
  gap: 11px;
  padding: 11px;
  border-radius: 8px;
}

a.menu-product:hover {
  background: var(--surface);
}

.product-code {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
}

.menu-product strong {
  display: block;
  font-size: 13px;
}

.menu-product small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.menu-product em,
.mobile-products em,
.soon-link em {
  padding: 2px 4px;
  border: 1px solid currentColor;
  font: 500 8px "Roboto Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unavailable {
  opacity: 0.43;
}

.menu-footer-link {
  display: block;
  margin-top: 5px;
  padding: 10px 11px 4px;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  color: white;
  background: var(--purple);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #2c2789;
  border-color: #2c2789;
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(55, 49, 163, 0.3);
  outline-offset: 3px;
}

.button-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.button .button-icon {
  transition: transform 160ms ease;
}

.button:hover .button-icon,
.button:focus-visible .button-icon {
  transform: translateX(3px);
}

.button-icon-lg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.button-small {
  min-height: 38px;
  padding-inline: 16px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 96px;
}

.grid-field,
.dark-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 40px 40px;
}

.grid-field::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 25%;
  width: 850px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(55, 49, 163, 0.12), transparent 68%);
}

/* Home hero: larger glow anchored to the top right, filling the empty side of the hero */
.hero:not(.page-hero) .grid-field::after {
  top: -260px;
  right: -280px;
  left: auto;
  width: 1250px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(55, 49, 163, 0.16), transparent 66%);
}

@media (max-width: 820px) {
  .hero:not(.page-hero) .grid-field::after {
    top: -200px;
    right: -320px;
    width: 760px;
    height: 700px;
  }
}

.hero-inner {
  position: relative;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font: 500 11px "Roboto Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-row .eyebrow {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.eyebrow-row .label-chip {
  padding: 4px 8px;
  border: 0;
  color: var(--white);
  background: var(--purple);
  font: 500 10px/1.1 "Roboto", Arial, sans-serif;
  letter-spacing: 0.1em;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--purple);
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 900;
}

h1 span {
  color: var(--purple);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.nowrap {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-outline {
  border-color: #d1d5db;
  color: var(--ink);
  background: white;
}

.button-outline:hover {
  border-color: #9ca3af;
  background: var(--surface);
}

.button svg:not(.button-icon),
.button-outline svg:not(.button-icon) {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font: 400 12px "Roboto Mono", monospace;
  letter-spacing: 0.025em;
}

.proof-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%233731A3' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
  transform: translateY(-50%);
}

.stats {
  color: white;
  background: var(--purple);
}

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

.stats-grid div {
  padding: 38px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-grid div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 30px;
  letter-spacing: -0.035em;
}

.stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.stats span {
  line-height: 1.45;
}

.stats-note p {
  margin: 14px 0 0;
  color: #9a9aab;
  font-size: 12px;
  line-height: 1.55;
}

.section {
  padding: 96px 0;
}

.section h2,
.appointment h2 {
  max-width: 760px;
  margin-bottom: 46px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.features h2 {
  margin-bottom: 12px;
}

.section-intro {
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.feature-grid article {
  padding: 32px;
  background: white;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  color: var(--purple);
  font: 500 20px "Roboto Mono", monospace;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.feature-grid p,
.product-card > p,
.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.products {
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.purple-outline {
  flex: 0 0 auto;
  border-color: var(--purple);
  color: var(--purple);
  background: transparent;
}

.purple-outline:hover {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  border-color: var(--purple);
  box-shadow: 0 15px 40px rgba(55, 49, 163, 0.09);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-meta em {
  padding: 3px 7px;
  color: #087445;
  background: #e9fbf2;
  font-style: normal;
}

.product-card h3 {
  margin-bottom: 7px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.product-card .product-kicker {
  margin-bottom: 15px;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  margin: 9px 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M9.16927 2.75L4.1276 7.79167L1.83594 5.5' stroke='%233731A3' stroke-width='1.14583' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 11px 11px;
  transform: translateY(-50%);
}

.card-action {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: 160ms ease;
}

.product-card:hover .card-action,
.card-action:hover {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.card-link svg {
  transition: transform 160ms ease;
}

.card-link:hover {
  color: #2c2789;
}

.card-link:hover svg,
.product-card:hover .card-link svg {
  transform: translateX(3px);
}

.coming-soon {
  margin-top: 16px;
  padding: 26px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.65);
  transition: border 160ms ease, box-shadow 160ms ease;
}

.coming-soon:hover {
  border-color: var(--purple);
  box-shadow: 0 15px 40px rgba(55, 49, 163, 0.09);
}

.micro-label {
  margin-bottom: 14px;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coming-soon h3 {
  margin-bottom: 18px;
  font-size: 16px;
}

.coming-soon div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coming-soon .card-link {
  margin-top: 20px;
}

.coming-soon .card-link:hover svg,
.coming-soon:hover .card-link svg {
  transform: translateX(3px);
}

.coming-soon span {
  padding: 8px 12px;
  border: 1px dashed var(--line);
  color: rgba(102, 102, 122, 0.75);
  font: 400 11px "Roboto Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.appointment {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: white;
  background: var(--night);
}

.dark-grid {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
}

.appointment::after {
  content: "";
  position: absolute;
  top: -200px;
  left: 25%;
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(55, 49, 163, 0.4), transparent 70%);
  pointer-events: none;
}

.appointment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 900px;
}

.appointment .eyebrow {
  color: #8068f5;
}

.appointment h2 {
  margin-bottom: 20px;
}

.appointment-grid > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.ghost-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.appointment aside {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.appointment aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.appointment aside li {
  position: relative;
  margin: 14px 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.appointment aside li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 13px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='15' viewBox='0 0 13 15' fill='none'%3E%3Cpath d='M10.8307 5.25L4.8724 11.2083L2.16406 8.5' stroke='%237C5CFF' stroke-width='1.35417' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 13px 15px;
}

.aside-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font: 400 10px "Roboto Mono", monospace;
}

.aside-note a {
  transition: color 160ms ease;
}

.aside-note a:hover {
  color: rgba(255, 255, 255, 0.7);
}

footer {
  padding: 52px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
  background: var(--night);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.brand-light {
  color: var(--white);
}

.footer-logo {
  display: block;
  width: 73px;
  height: 14px;
}

.brand-light .brand-name {
  color: white;
}

.brand-light .brand-tag {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.35);
}

.footer-brand > .brand + address {
  margin-top: 22px;
}

address {
  font-style: normal;
}

address > * {
  display: flex;
  gap: 10px;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 400;
}

address a {
  transition: color 160ms ease;
}

address a:hover {
  color: var(--white);
}

address span span,
address a span,
address b {
  width: 24px;
  color: rgba(255, 255, 255, 0.24);
  font: 400 9px "Roboto Mono", monospace;
}

address small {
  display: block;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h3 {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.32);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a,
.soon-link {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: white;
}

.soon-link {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.45;
}

.footer-disclaimer p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.24);
  font: 400 10px "Roboto Mono", monospace;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.linkedin {
  display: block;
  color: rgba(255, 255, 255, 0.3);
  transition: color 160ms ease;
}

.linkedin svg {
  display: block;
  width: 16px;
  height: 16px;
}

.linkedin:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 16px;
  }

  .nav-link.divided {
    padding-left: 16px;
  }

  .nav-actions {
    gap: 14px;
  }

  .login-link {
    display: none;
  }

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

@media (max-width: 900px) {
  .nav-shell {
    gap: 14px;
  }

  .desktop-nav {
    gap: 13px;
  }

  .nav-link.divided {
    padding-left: 13px;
  }

  .nav-actions {
    gap: 12px;
  }

  .button-small {
    padding-inline: 12px;
  }
}

@media (max-width: 820px) {
  .shell,
  .nav-shell {
    width: min(100% - 36px, 1280px);
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: 180ms ease;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    max-height: 0;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    gap: 4px;
    padding: 0 18px;
    border-top: 0 solid var(--line);
    background: white;
    opacity: 0;
    transition: max-height 280ms ease, opacity 180ms ease, padding 280ms ease;
  }

  .mobile-menu.open {
    max-height: 680px;
    padding-block: 14px 20px;
    border-top-width: 1px;
    opacity: 1;
  }

  .mobile-menu > a,
  .mobile-menu > .mobile-login,
  .mobile-products-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
  }

  .mobile-menu .button {
    margin-top: 8px;
    color: white;
  }

  .mobile-products {
    max-height: 0;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
    padding-left: 12px;
    border-left: 2px solid rgba(55, 49, 163, 0.14);
    opacity: 0;
    transition: max-height 220ms ease, opacity 180ms ease;
  }

  .mobile-products.open {
    max-height: 280px;
    opacity: 1;
  }

  .mobile-products a,
  .mobile-products > span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-products > span {
    opacity: 0.55;
  }

  .hero {
    padding: 116px 0 72px;
  }

  .section,
  .appointment {
    padding: 76px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div,
  .stats-grid div:first-child {
    padding: 28px 20px;
    border: 0;
  }

  .stats-grid div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stats-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .product-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }

  .appointment-grid {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .shell,
  .nav-shell {
    width: min(100% - 28px, 1280px);
  }

  .brand-tag {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .eyebrow-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  h1 {
    font-size: clamp(42px, 13.2vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .proof-list {
    display: grid;
    gap: 13px;
  }

  .stats strong {
    font-size: 25px;
  }

  .stats span {
    font-size: 12px;
  }

  .section h2,
  .appointment h2 {
    margin-bottom: 32px;
    font-size: 36px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features h2 {
    margin-bottom: 12px;
  }

  .feature-grid article {
    padding: 26px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card {
    min-height: 0;
    padding: 24px;
  }

  .coming-soon {
    padding: 22px;
  }

  .coming-soon span {
    width: 100%;
  }

  .appointment aside {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom,
  .footer-bottom > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- General Liability page ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.06;
}

.section-alt {
  background: var(--surface);
}

.section .section-head h2 {
  margin-bottom: 12px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head .section-intro {
  max-width: 720px;
  margin-bottom: 0;
}

.section-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section-note a {
  color: var(--purple);
  font-weight: 500;
}

.section-note a:hover {
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.split .section-head {
  margin-bottom: 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%233731A3' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}

.check-list-lg li {
  margin: 0;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}

.check-list-lg li:first-child {
  border-top: 1px solid var(--line);
}

.check-list-lg li::before {
  top: 22px;
}

.limit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.limit-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.limit-headline {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.limit-card .micro-label {
  margin-bottom: 12px;
}

.limit-card .limit-headline {
  margin-bottom: 6px;
}

.limit-key {
  margin: 0;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.limit-card dl,
.program-footprint dl {
  margin: 0;
}

.limit-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.limit-card dt {
  color: var(--muted);
}

.limit-card dd {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.limit-card .is-step dd {
  color: var(--purple);
}

/* Add-on that applies to every limit option (GL page) */
.limit-addon {
  margin: 16px 0 0;
  padding: 18px 28px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.limit-addon strong {
  color: var(--ink);
  font-weight: 500;
}

.class-browser {
  border: 1px solid var(--line);
}

.class-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.class-search {
  position: relative;
  flex: 0 1 380px;
}

.class-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.class-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font: 400 14px "Roboto", Arial, sans-serif;
}

.class-search input:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(55, 49, 163, 0.15);
}

.class-count {
  margin: 0;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.class-list {
  margin: 0;
  padding: 12px 20px;
  list-style: none;
  columns: 3;
  column-gap: 32px;
}

.class-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(55, 49, 163, 0.07);
  color: var(--ink);
  font-size: 14px;
  break-inside: avoid;
}

.class-empty {
  margin: 0;
  padding: 24px 20px;
  color: var(--muted);
  font-size: 14px;
}

.state-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 4;
  column-gap: 32px;
}

.state-list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  break-inside: avoid;
}

.state-list li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%233731A3' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}

.endorse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.endorse-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.endorse-card .product-meta {
  margin-bottom: 22px;
}

.endorse-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.endorse-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-meta .tag-optional {
  color: var(--purple);
  background: rgba(55, 49, 163, 0.08);
}

.option-chips {
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  background: white;
}

.option-chips > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chips span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}

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

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.program-card {
  padding: 28px;
  border: 1px solid var(--line);
}

.program-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.program-footprint {
  margin: 16px 0 28px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.program-footprint dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.program-footprint dt {
  color: var(--muted);
  font-size: 12px;
}

.program-footprint dd {
  margin: 4px 0 0;
  font: 500 14px "Roboto Mono", monospace;
}

.program-footprint > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border: 1px solid var(--line);
}

.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  color: var(--purple);
  background: white;
  font: 500 13px "Roboto Mono", monospace;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.page-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.page-cta-inner > p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.page-cta .appointment h2,
.page-cta h2 {
  max-width: none;
}

.page-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 1080px) {
  .limit-grid,
  .endorse-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .class-list {
    columns: 2;
  }

  .state-list {
    columns: 3;
  }
}

@media (max-width: 820px) {
  .split,
  .program-grid,
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .page-hero h1 {
    font-size: 36px;
  }

  .class-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .class-search {
    flex-basis: auto;
  }

  .class-list {
    padding: 8px 14px;
    columns: 1;
  }

  .state-list {
    columns: 2;
    column-gap: 20px;
  }

  .limit-card,
  .endorse-card,
  .program-card,
  .steps li {
    padding: 22px;
  }

  .check-list-lg li {
    font-size: 15px;
  }
}

/* ---------- Business Auto page ---------- */

.cta-row {
  align-items: center;
}

.cta-row .card-link {
  align-self: center;
  margin: 0 0 0 12px;
}

.cta-aside .card-link {
  margin: 0 0 0 4px;
}

.cta-aside {
  margin: 0 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.card-link:hover svg {
  transform: translateX(3px);
}

.section-intro a,
.check-list a,
.page-cta-inner > p a {
  color: var(--purple);
  font-weight: 500;
}

.section-intro a:hover,
.check-list a:hover,
.page-cta-inner > p a:hover {
  text-decoration: underline;
}

.page-cta-inner > p a {
  color: #a996ff;
}

.page-cta .card-link {
  color: white;
}

.page-cta .card-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.submit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--purple);
  background: white;
}

.submit-email {
  margin-bottom: 24px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.submit-email:hover {
  text-decoration: underline;
}

.submit-grid .program-card {
  background: white;
}

.downloads {
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  background: white;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-list a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  transition: border 160ms ease, background 160ms ease;
}

.download-list a:hover {
  border-color: var(--purple);
  background: var(--surface);
}

.download-list .feature-icon {
  flex: 0 0 42px;
  margin: 0;
}

.download-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.download-list em {
  padding: 3px 7px;
  color: var(--purple);
  background: rgba(55, 49, 163, 0.08);
  font: 500 10px "Roboto Mono", monospace;
  font-style: normal;
  letter-spacing: 0.14em;
}

@media (max-width: 1080px) {
  .download-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .submit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cta-aside {
    margin: 4px 0 0;
    text-align: center;
  }

  .cta-row .card-link {
    margin: 4px 0 0;
  }

  .submit-email {
    font-size: 20px;
  }

  .submit-panel .button {
    width: 100%;
  }
}

/* ---------- Coming Attractions page ---------- */

.mobile-products > a.soon {
  opacity: 0.55;
}

.lines-section .shell {
  border-top: 1px solid var(--line);
}

.line-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.line-name {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.line-name .product-code {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-style: dashed;
  font-size: 12px;
}

.soon-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 7px;
  color: var(--purple);
  background: rgba(55, 49, 163, 0.08);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section .line-row h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.line-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.meanwhile {
  max-width: 620px;
  margin: 56px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.meanwhile .micro-label {
  color: rgba(255, 255, 255, 0.45);
}

.meanwhile > p:not(.micro-label) {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.meanwhile .hero-actions {
  margin-top: 22px;
}

@media (max-width: 820px) {
  .line-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0;
  }
}

@media (max-width: 560px) {
  .line-name .product-code {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .line-row > p {
    font-size: 15px;
  }

  .meanwhile {
    padding: 22px;
  }
}

/* ---------- Get Backstage Access page ---------- */

.icon-down {
  transform: rotate(90deg);
}

.button:hover .icon-down,
.button:focus-visible .icon-down {
  transform: rotate(90deg) translateX(3px);
}

.benefit-card .feature-icon {
  margin-bottom: 20px;
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
}

.apply-intro {
  position: sticky;
  top: 100px;
}

.apply-intro .section-intro {
  margin-bottom: 0;
}

.section .apply-intro h2 {
  margin-bottom: 12px;
}

#apply {
  scroll-margin-top: 40px;
}

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 15px 40px rgba(55, 49, 163, 0.06);
}

.form-fields fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-fields legend {
  margin-bottom: 16px;
  padding: 0;
  color: var(--purple);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-full,
.field-pair {
  grid-column: 1 / -1;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.optional {
  margin-left: 4px;
  color: var(--muted);
  font: 400 10px "Roboto Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-fields input[type="text"],
.form-fields input[type="email"],
.form-fields input[type="tel"],
.form-fields select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font: 400 14px "Roboto", Arial, sans-serif;
}

.form-fields select {
  appearance: none;
  padding-right: 36px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366667a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.form-fields input:focus,
.form-fields select:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(55, 49, 163, 0.15);
}

.form-fields .is-invalid input,
.form-fields .is-invalid select,
.form-fields .is-invalid .state-checks,
.form-fields .is-invalid .choice-pills span {
  border-color: #c2410c;
}

.field-error {
  color: #c2410c;
  font-size: 12px;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pills label {
  position: relative;
  cursor: pointer;
}

.choice-pills input,
.state-check input {
  position: absolute;
  opacity: 0;
}

.choice-pills span {
  display: block;
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.choice-pills input:checked + span {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(55, 49, 163, 0.06);
}

.choice-pills input:focus-visible + span,
.state-check input:focus-visible + span {
  outline: 3px solid rgba(55, 49, 163, 0.3);
  outline-offset: 2px;
}

.state-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 6px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
}

.state-check {
  position: relative;
  cursor: pointer;
}

.state-check span {
  display: block;
  padding: 7px 0;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 11px "Roboto Mono", monospace;
  text-align: center;
  transition: 160ms ease;
}

.state-check:hover span {
  border-color: var(--purple);
}

.state-check input:checked + span {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.field-file input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #c4c4d4;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
  font: 400 13px "Roboto", Arial, sans-serif;
}

.field-file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--purple);
  border-radius: 6px;
  color: var(--purple);
  background: white;
  font: 700 13px "Roboto", Arial, sans-serif;
  cursor: pointer;
}

.form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid #c2410c;
  color: #9a3412;
  background: #fff7ed;
  font-size: 14px;
}

.form-consent {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-fields button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-success {
  padding: 12px 0;
  outline: none;
}

.form-success h3 {
  margin: 22px 0 10px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.form-success p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.form-success a,
.help-band a {
  color: var(--purple);
  font-weight: 500;
}

.form-success a:hover,
.help-band a:hover {
  text-decoration: underline;
}

.help-band {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.help-band p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.help-band strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .apply-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 20px;
  }

  .form-fields fieldset,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .form-fields .button {
    width: 100%;
  }
}

/* ---------- Contact page ---------- */

.form-fields textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font: 400 14px/1.6 "Roboto", Arial, sans-serif;
  resize: vertical;
}

.form-fields textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(55, 49, 163, 0.15);
}

.form-fields .is-invalid textarea {
  border-color: #c2410c;
}

.contact-form fieldset {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.contact-card:has(a):hover {
  border-color: var(--purple);
  box-shadow: 0 15px 40px rgba(55, 49, 163, 0.09);
}

.contact-card .micro-label {
  margin-bottom: 12px;
}

.contact-value {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

a.contact-value {
  color: var(--purple);
}

a.contact-value:hover {
  text-decoration: underline;
}

.contact-card-wide {
  grid-column: span 2;
}

.quick-links {
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 1px 2px rgba(30, 30, 30, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-link:hover,
.quick-link:focus-visible {
  border-color: var(--purple);
  box-shadow: 0 14px 32px -18px rgba(55, 49, 163, 0.45);
  transform: translateY(-2px);
}

.quick-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: rgba(55, 49, 163, 0.08);
  transition: color 160ms ease, background 160ms ease;
}

.quick-link:hover .quick-icon,
.quick-link:focus-visible .quick-icon {
  color: white;
  background: var(--purple);
}

.quick-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quick-label {
  color: var(--muted);
  font-size: 12px;
}

.quick-title {
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.quick-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quick-link:hover .quick-arrow,
.quick-link:focus-visible .quick-arrow {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

.social-icon {
  color: #0a66c2;
}

.social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.social-link .button-icon {
  flex: 0 0 14px;
  color: var(--purple);
  transition: transform 160ms ease;
}

.social-link:hover {
  color: var(--purple);
}

.social-link:hover .button-icon {
  transform: translateX(3px);
}

@media (max-width: 1080px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .contact-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-wide {
    grid-column: auto;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-value {
    font-size: 19px;
  }

  .quick-links {
    padding: 20px;
  }
}

/* ---------- Payment Portal page ---------- */

.section .pay-card h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.pay-card .check-list li {
  margin: 12px 0;
  font-size: 15px;
}

/* ---------- Agent Login page ---------- */

.login-hero {
  min-height: calc(100vh - 0px);
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
}

.login-shell {
  position: relative;
  max-width: 480px;
}

.login-card {
  padding: 40px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 24px 60px rgba(55, 49, 163, 0.1);
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.08;
}

.login-sub {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 16px;
}

.form-fields input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font: 400 14px "Roboto", Arial, sans-serif;
}

.form-fields input[type="password"]:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(55, 49, 163, 0.15);
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input[type="text"] {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: var(--purple);
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  cursor: pointer;
}

.remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--purple);
}

.forgot,
.login-foot a,
.login-help a {
  color: var(--purple);
  font-weight: 500;
}

.forgot:hover,
.login-foot a:hover,
.login-help a:hover {
  text-decoration: underline;
}

.login-form .form-error {
  margin: 0;
}

.login-form .button {
  width: 100%;
  margin-top: 4px;
}

.login-foot {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.login-help {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 560px) {
  .login-hero {
    padding-top: 96px;
  }

  .login-card {
    padding: 26px 22px;
  }
}

/* ---------- Utility pages (404, thank you) ---------- */

.utility-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
}

.utility-shell {
  position: relative;
}

.utility-links {
  max-width: 520px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.utility-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  transition: color 160ms ease;
}

.utility-links a svg {
  color: var(--purple);
  transition: transform 160ms ease;
}

.utility-links a:hover {
  color: var(--purple);
}

.utility-links a:hover svg {
  transform: translateX(3px);
}

.utility-icon {
  margin-bottom: 28px;
}

.hero-copy a {
  color: var(--purple);
  font-weight: 500;
}

.hero-copy a:hover {
  text-decoration: underline;
}

.utility-back {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .utility-hero {
    padding: 110px 0 72px;
  }
}

/* ---------- Interior page header (General Liability) ---------- */

.page-header {
  padding: 108px 0 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 244, 251, 0) 0%, var(--surface) 100%);
}

.page-header-grid {
  max-width: 760px;
}

.page-header .eyebrow-row {
  margin-bottom: 14px;
}

.page-header h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 1.02;
}

.page-header-lede {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.page-header-copy {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.page-header-link {
  margin-top: 16px;
}

.card-link:hover .icon-down {
  transform: rotate(90deg) translateX(3px);
}

@media (max-width: 560px) {
  .page-header {
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .page-header h1 {
    font-size: 42px;
  }

  .page-header-lede {
    font-size: 16px;
  }

  .page-header-copy {
    font-size: 14px;
  }
}

/* ---------- Whole-card links (home page product cards) ---------- */
.product-card,
.coming-soon {
  position: relative;
  cursor: pointer;
}

.product-card .card-link::after,
.coming-soon .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product-card:focus-within,
.coming-soon:focus-within {
  border-color: var(--purple);
}

.product-card .card-link:focus-visible,
.coming-soon .card-link:focus-visible {
  outline: none;
}

.product-card:has(.card-link:focus-visible),
.coming-soon:has(.card-link:focus-visible) {
  outline: 3px solid rgba(55, 49, 163, 0.3);
  outline-offset: 3px;
}

/* ---------- Consistency fixes ---------- */

/* current page in the navigation */
.nav-link[aria-current="page"],
.dropdown:has([aria-current]) .dropdown-toggle,
.mobile-menu > a:not(.button)[aria-current="page"],
.mobile-menu:has(.mobile-products [aria-current]) .mobile-products-toggle,
.mobile-products a[aria-current="page"] {
  color: var(--purple);
}

.menu-product[aria-current="page"] {
  background: var(--surface);
}

/* dropdown footer link with the shared arrow icon */
.menu-footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-footer-link .button-icon {
  transition: transform 160ms ease;
}

.menu-footer-link:hover .button-icon {
  transform: translateX(3px);
}

/* mobile menu: Products chevron matches the desktop one */
.mobile-products-toggle svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.mobile-products-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* mobile menu: Go Backstage button was invisible (white on white) */
@media (max-width: 820px) {
  .mobile-menu > a.button {
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    color: white;
    background: var(--purple);
    font-weight: 700;
  }
}
@media (max-width: 820px) {
  .mobile-menu > a.button.button-outline {
    border: 1px solid #d1d5db;
    color: var(--ink);
    background: white;
  }
}


/* ---------- Wholesale page ---------- */

.steps a {
  color: var(--purple);
  font-weight: 500;
}

.steps a:hover {
  text-decoration: underline;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  transition: border 160ms ease, box-shadow 160ms ease;
}

/* only cards with a link are clickable */
.partner-card:has(.card-link) {
  cursor: pointer;
}

.partner-card:has(.card-link):hover {
  border-color: var(--purple);
  box-shadow: 0 15px 40px rgba(55, 49, 163, 0.09);
}

.partner-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.partner-card:hover .card-link svg {
  transform: translateX(3px);
}

.partner-logo {
  display: block;
  align-self: flex-start;
  width: auto;
  height: 44px;
  margin-bottom: 20px;
}

.partner-name {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.partner-focus {
  margin-bottom: 16px;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-text {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.partner-text:last-child {
  margin-bottom: 0;
}

.partner-card .card-link {
  margin-top: auto;
}

@media (max-width: 1080px) {
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    padding: 22px;
  }
}

/* ---------- HubSpot form (Get Backstage Access) ----------
   The form loads in HubSpot's own frame; its look is set in HubSpot's form style settings. */
/* HubSpot adds about 29px of its own padding inside its frame; the card adds only the
   difference so the fields sit about 32px from the card edge, as in the original design. */
.hubspot-card {
  padding: 0 3px 8px;
  min-height: 420px;
}

/* ---------- Reveal on scroll ---------- */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Wholesale: featured Monoline Business Auto block */
.featured-panel {
  padding: 56px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  background: var(--surface);
}

.featured-head {
  max-width: 940px;
  margin-bottom: 48px;
}

.featured-head h2 {
  margin-bottom: 14px;
}

.featured-head .section-intro {
  max-width: 780px;
  margin-bottom: 0;
}

.featured-head .proof-list {
  margin-top: 28px;
}

.featured-part + .featured-part {
  margin-top: 40px;
}

.featured-panel .featured-subhead {
  margin: 0 0 16px;
  color: var(--purple);
  font: 500 11px "Roboto Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.featured-panel .program-card {
  background: white;
}

.featured-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.featured-fit .check-list-lg li {
  padding: 14px 0 14px 26px;
  font-size: 15px;
}

.featured-fit .check-list-lg li::before {
  top: 19px;
}

.featured-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-submit > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.featured-submit > p a {
  color: var(--purple);
  font-weight: 500;
}

.featured-submit .check-list {
  margin-bottom: 22px;
}

/* "Gets you a quote faster" tip under the required items (Business Auto) */
.featured-submit .submit-tip {
  margin: -8px 0 22px;
  padding: 12px 14px;
  border-left: 2px solid var(--purple);
  background: #f5f4fb;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.featured-submit .button {
  margin-top: auto;
}

.featured-panel .downloads {
  margin-top: 16px;
}

@media (max-width: 820px) {
  .featured-panel {
    padding: 36px 24px;
  }

  .featured-fit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .featured-panel {
    padding: 28px 18px;
  }

  .featured-head {
    margin-bottom: 36px;
  }
}

/* Payment Portal: two ways to pay */
.pay-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.pay-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  border: 1px solid var(--line);
  background: white;
}

.pay-option-primary {
  border-top: 3px solid var(--purple);
  background: var(--surface);
}

.pay-option h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pay-option > p:not(.micro-label) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pay-option .button {
  margin-top: auto;
}

.pay-help {
  margin-top: 28px;
}

@media (max-width: 820px) {
  .pay-grid {
    grid-template-columns: 1fr;
  }

  .pay-option {
    padding: 28px 24px;
  }
}

.line-row p a {
  color: var(--purple);
  font-weight: 500;
}

.line-row p a:hover {
  text-decoration: underline;
}

/* Header: Get Backstage Access + Go Backstage buttons sit together */
.nav-actions {
  gap: 10px;
}

/* Wholesale: "One submission" steps as a connected flow */
.steps-flow {
  gap: 36px;
  counter-reset: none;
}

.steps-flow li {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, white 62%);
}

/* big outlined step number in the corner */
.steps-flow .step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(55, 49, 163, 0.28);
  font: 900 56px/1 Roboto, Arial, sans-serif;
  letter-spacing: -0.04em;
}

.steps-flow .step-icon {
  margin-bottom: 26px;
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}

/* arrow connectors between the steps */
.steps-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(100% + 4px);
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.9 7h8.2M7 2.9 11.1 7 7 11.1' stroke='%233731A3' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
}

/* steps stack into one column at 1080px and below */
@media (max-width: 1080px) {
  .steps-flow {
    gap: 32px;
  }

  .steps-flow .step-num {
    font-size: 46px;
  }

  .steps-flow li:not(:last-child)::after {
    top: calc(100% + 2px);
    left: 50%;
    margin: 0 0 0 -14px;
    transform: rotate(90deg);
  }
}

/* General Liability: class codes grouped by trade, shown as chips */
.class-groups {
  border: 1px solid var(--line);
  background: white;
}

.class-group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  padding: 26px 28px;
}

.class-group + .class-group {
  border-top: 1px solid var(--line);
}

.class-group:nth-child(even) {
  background: var(--surface);
}

.class-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.class-group-head .feature-icon {
  flex: 0 0 42px;
  margin: 0;
  background: white;
}

.class-group-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.class-group-count {
  margin: 0;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.class-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.class-chips li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(55, 49, 163, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  line-height: 1.3;
}

.class-chips small {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .class-group {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
}

/* General Liability: footprint map */
.state-map-card {
  margin-bottom: 40px;
  padding: 36px 40px 28px;
  border: 1px solid var(--line);
  background: white;
}

.state-map {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
}

.state-map path {
  stroke: white;
  stroke-width: 1;
  stroke-linejoin: round;
  transition: fill 140ms ease;
}

.state-map .is-licensed {
  fill: var(--purple);
}

.state-map .is-licensed:hover {
  fill: #2c2789;
}

.state-map .is-out {
  fill: #e3e2f2;
}

.state-map .is-out:hover {
  fill: #d6d4ea;
}

.state-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.state-map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
}

.swatch-on {
  background: var(--purple);
}

.swatch-off {
  background: #e3e2f2;
}

.state-list-label {
  margin-bottom: 14px;
}

@media (max-width: 820px) {
  .state-map-card {
    margin-bottom: 32px;
    padding: 20px 14px 18px;
  }
}

/* Footer: keep the Montana address on one line */
@media (min-width: 821px) {
  .footer-grid {
    grid-template-columns: minmax(340px, 1.3fr) 1fr 1fr 1fr;
  }

  .footer-brand address small {
    white-space: nowrap;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .footer-grid {
    gap: 36px;
  }
}

@media (min-width: 821px) and (max-width: 940px) {
  .footer-grid {
    gap: 22px;
  }
}

/* Footer bottom: copyright and license numbers on one line */
.footer-bottom p {
  line-height: 1.7;
}

@media (max-width: 820px) {
  .footer-bottom p > .nowrap {
    display: block;
  }

  .footer-bottom .footer-sep {
    display: none;
  }
}

@media (max-width: 560px) {
  .quick-link {
    gap: 12px;
    padding: 16px 14px;
  }

  .quick-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .quick-title {
    font-size: 13px;
  }
}

/* Tighter vertical rhythm between sections (site-wide) */
.section,
.appointment {
  padding: 72px 0;
}

.hero {
  padding-bottom: 72px;
}

.section-head {
  margin-bottom: 32px;
}

@media (max-width: 820px) {
  .section,
  .appointment {
    padding: 56px 0;
  }

  .hero {
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 28px;
  }
}

/* ---------- Brand guide (brand.html) ---------- */

.page-header-copy a {
  color: var(--purple);
  font-weight: 500;
}

.brand-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.brand-jump a {
  padding: 7px 13px;
  border: 1px solid rgba(55, 49, 163, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  transition: border-color 160ms ease, color 160ms ease;
}

.brand-jump a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head-row .button {
  flex: 0 0 auto;
}

/* logos */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.logo-card {
  border: 1px solid var(--line);
  background: white;
}

.logo-stage {
  height: 200px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.logo-stage img {
  width: 220px;
  max-width: 70%;
  height: auto;
}

.logo-stage-dark {
  background: var(--night);
}

.logo-stage-tint {
  background: var(--surface);
}

.logo-card:last-child .logo-stage img {
  width: 96px;
}

.logo-card-body {
  padding: 22px 24px 24px;
}

.logo-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-link {
  padding: 6px 11px;
  border: 1px solid rgba(55, 49, 163, 0.25);
  color: var(--purple);
  font: 500 11px "Roboto Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.dl-link:hover {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

/* usage */
.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.usage-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.usage-card h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.usage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.clearspace {
  position: relative;
  height: 170px;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.clearspace-box {
  padding: 26px;
  border: 1px dashed rgba(55, 49, 163, 0.55);
  background:
    repeating-linear-gradient(45deg, rgba(55, 49, 163, 0.06) 0 6px, transparent 6px 12px);
}

.clearspace-box img {
  display: block;
  width: 180px;
  height: auto;
  background: white;
}

.clearspace-mark {
  position: absolute;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.08em;
}

.clearspace-mark-top {
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.clearspace-mark-left {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.minsize {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  background: var(--surface);
}

.minsize > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.minsize img {
  height: auto;
}

.minsize span {
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.donts-label {
  margin: 32px 0 14px;
}

.dont-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dont-card {
  margin: 0;
  border: 1px solid var(--line);
  background: white;
}

.dont-stage {
  position: relative;
  height: 130px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.dont-stage img {
  width: 120px;
  height: auto;
}

.dont-stage::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c2410c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}

.dont-stage-busy {
  background:
    repeating-linear-gradient(60deg, #a996ff 0 10px, #3731a3 10px 22px, #e3e2f2 22px 30px);
}

.dont-card figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

/* colors */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.swatch-card {
  border: 1px solid var(--line);
  background: white;
}

.swatch-chip {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.swatch-chip-light {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.swatch-values {
  margin: 0;
  padding: 14px 18px 4px;
}

.swatch-values > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
}

.swatch-values dt {
  width: 40px;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.1em;
}

.swatch-values dd {
  margin: 0;
  color: var(--ink);
  font: 400 13px "Roboto Mono", monospace;
}

.copy-chip {
  padding: 3px 7px;
  margin-left: -7px;
  border: 1px solid transparent;
  color: var(--ink);
  background: none;
  font: 400 13px "Roboto Mono", monospace;
  cursor: copy;
  transition: border-color 160ms ease, background 160ms ease;
}

.copy-chip:hover,
.copy-chip:focus-visible {
  border-color: rgba(55, 49, 163, 0.25);
  background: var(--surface);
}

.copy-chip.is-copied {
  border-color: var(--purple);
  color: var(--purple);
}

.swatch-card > p {
  margin: 0;
  padding: 6px 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* typography */
.type-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.type-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.type-meta {
  margin: 0 0 18px;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.type-sample {
  margin: 0 0 18px;
  color: var(--ink);
}

.type-sample-display {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.type-sample-body {
  font-size: 15px;
  line-height: 1.65;
}

.type-sample-mono {
  color: var(--purple);
  font: 500 12px "Roboto Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.type-use {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.type-card .card-link {
  margin-top: auto;
  padding-top: 18px;
}

/* writing */
.write-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.write-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
}

.write-dont {
  border-top-color: #c2410c;
  background: var(--surface);
}

.write-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.write-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.write-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.write-list b {
  color: var(--ink);
  font-weight: 700;
}

.write-dont .write-list li {
  color: var(--ink);
  text-decoration: line-through;
  text-decoration-color: rgba(194, 65, 12, 0.6);
}

.write-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* signature builder */
.sig-builder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.sig-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.form-fields.sig-form fieldset.sig-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.sig-toggles legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ink);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--purple);
}

.sig-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.sig-preview {
  overflow-x: auto;
  margin: 12px 0 20px;
  padding: 26px 24px;
  border: 1px dashed rgba(55, 49, 163, 0.25);
  background: white;
}

.sig-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sig-status {
  color: var(--purple);
  font-size: 13px;
  font-weight: 500;
}

.sig-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.sig-steps article {
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: white;
}

.sig-steps h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.sig-steps ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.sig-steps li + li {
  margin-top: 4px;
}

.sig-steps b {
  color: var(--ink);
  font-weight: 500;
}

/* other files */
.brand-files {
  grid-template-columns: repeat(3, 1fr);
}

.brand-files .feature-icon {
  color: var(--purple);
}

@media (max-width: 1080px) {
  .dont-grid,
  .swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-grid,
  .sig-builder,
  .sig-steps {
    grid-template-columns: 1fr;
  }

  .brand-files {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .section-head-row {
    display: block;
  }

  .section-head-row .button {
    margin-top: 20px;
  }

  .logo-grid,
  .usage-grid,
  .write-grid,
  .brand-files {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .swatch-grid,
  .dont-grid,
  .sig-form {
    grid-template-columns: 1fr;
  }

  .sig-form,
  .sig-panel,
  .usage-card,
  .type-card,
  .write-card {
    padding: 22px 20px;
  }

  .minsize {
    gap: 32px;
  }
}

.sig-builder > *,
.sig-form .field {
  min-width: 0;
}

/* Brand guide: templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.template-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  background: white;
}

.template-thumb {
  display: grid;
  place-items: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.template-thumb img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 24px -12px rgba(30, 30, 30, 0.35), 0 0 0 1px rgba(30, 30, 30, 0.06);
}

.template-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 24px;
}

.template-meta {
  margin: 0 0 8px;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.template-body > p:not(.template-meta):not(.template-tip) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.template-tip {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

@media (max-width: 560px) {
  .template-card {
    grid-template-columns: 1fr;
  }

  .template-thumb {
    padding: 22px 48px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Brand guide: business card builder */
.card-builder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  align-items: start;
}

.card-builder > * {
  min-width: 0;
}

.card-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.form-fields.card-form fieldset.sig-toggles {
  flex-direction: column;
  align-items: flex-start;
}

.card-address {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.card-address .field-label {
  display: block;
  margin-bottom: 4px;
}

.card-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.card-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 12px 0 22px;
}

.card-previews figure {
  margin: 0;
}

.card-previews canvas {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 4;
  border-radius: 3px;
  background: white;
  box-shadow: 0 14px 30px -16px rgba(30, 30, 30, 0.35), 0 0 0 1px rgba(30, 30, 30, 0.06);
}

.card-previews figcaption {
  margin-top: 10px;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-panel .button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.card-specs {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: white;
}

.card-specs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-specs-head .micro-label {
  margin: 0;
}

.card-specs-text p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .card-builder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .card-form,
  .card-panel {
    padding: 22px 18px;
  }

  .card-form {
    grid-template-columns: 1fr;
  }

  .card-previews {
    grid-template-columns: 1fr;
  }
}

.form-fields.card-form fieldset.card-design {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.card-design legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ink);
}

.design-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.design-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.design-choice:has(input:checked) {
  border-color: var(--purple);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--purple);
}

.design-choice:has(input:focus-visible) {
  outline: 3px solid rgba(55, 49, 163, 0.25);
}

.design-swatch {
  width: 30px;
  height: 18px;
  display: inline-block;
  border-radius: 2px;
}

.design-swatch-indigo {
  background: linear-gradient(90deg, #3731a3 50%, #080814 50%);
}

.design-swatch-light {
  background: linear-gradient(90deg, #ffffff 50%, #3731a3 50%);
  box-shadow: inset 0 0 0 1px #e3e2f2;
}

/* ---------- Brand guide: header shortcuts, grouped jump links, section groups ---------- */
.brand-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.brand-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 1px 2px rgba(30, 30, 30, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.brand-tile:hover,
.brand-tile:focus-visible {
  border-color: var(--purple);
  box-shadow: 0 14px 32px -18px rgba(55, 49, 163, 0.45);
  transform: translateY(-2px);
}

.brand-tile-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
}

.brand-tile-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-tile-text strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.brand-tile-text span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.brand-tile-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.brand-tile:hover .brand-tile-arrow,
.brand-tile:focus-visible .brand-tile-arrow {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.brand-jump {
  gap: 10px 28px;
  margin-top: 20px;
}

.brand-jump-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.brand-jump-label {
  margin-right: 2px;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* sections inside the same group sit on the same background; a hairline separates them */
.brand-group-logo:not(.brand-group-start),
.brand-group-tools:not(.brand-group-start),
.brand-group-basics:not(.brand-group-start) {
  border-top: 1px solid var(--line);
}

.section-alt .card-panel {
  background: white;
}

.section-alt .template-card,
.section-alt .card-specs {
  background: white;
}

.brand-contact {
  border-top: 1px solid var(--line);
}

.brand-contact-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.brand-contact-box .section-intro {
  margin-bottom: 0;
}

.brand-contact-box .section-intro a {
  color: var(--purple);
  font-weight: 500;
}

.brand-contact-box h2 {
  margin-bottom: 10px;
}

.brand-updated {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .brand-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .brand-contact-box {
    display: block;
    padding: 26px 22px;
  }

  .brand-updated {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .brand-tiles {
    grid-template-columns: 1fr;
  }
}

/* Brand guide: quieter header shortcut tiles */
.brand-tile {
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.brand-tile:hover,
.brand-tile:focus-visible {
  border-color: rgba(55, 49, 163, 0.45);
  background: white;
  box-shadow: none;
  transform: none;
}

.brand-tile-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  color: var(--purple);
  background: rgba(55, 49, 163, 0.07);
}

.brand-tile-icon svg {
  width: 17px;
  height: 17px;
}

.brand-tile-text strong {
  font-size: 13px;
  font-weight: 500;
}

.brand-tile-text span {
  font-size: 12px;
}

.brand-tile-arrow {
  width: auto;
  height: auto;
  flex-basis: auto;
  border: 0;
  color: var(--muted);
  background: none;
}

.brand-tile:hover .brand-tile-arrow,
.brand-tile:focus-visible .brand-tile-arrow {
  border: 0;
  color: var(--purple);
  background: none;
  transform: translateX(2px);
}

/* Home hero ends like the interior page headers: soft lavender fade and a hairline */
.hero:not(.page-hero):not(.login-hero) {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 244, 251, 0) 0%, rgba(245, 244, 251, 0) 45%, var(--surface) 100%);
}

/* Header: links sit next to the logo (left group), buttons on the right */
@media (min-width: 821px) {
  .nav-shell {
    justify-content: flex-start;
  }

  .nav-shell > .desktop-nav {
    margin-left: 40px;
  }

  .nav-shell > .nav-actions {
    margin-left: auto;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .nav-shell > .desktop-nav {
    margin-left: 20px;
  }
}

/* GL footprint: the map is the last thing in the section now */
.state-map-card:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Card style (Nov 19): one look for every card grid, taken from the Wholesale steps.
   Light border, subtle lavender-to-white top gradient; cards with an icon get a filled
   indigo icon square. Large outlined numbers stay on step sequences only (.steps-flow).
   ========================================================================== */
.feature-grid {
  gap: 16px;
  background: none;
}

.feature-grid article {
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
}

.feature-grid article,
.endorse-card,
.limit-card,
.product-card,
.contact-card,
.partner-card,
.program-card,
.featured-panel .program-card,
.submit-grid .program-card,
.pay-option:not(.pay-option-primary) {
  background: linear-gradient(180deg, var(--surface) 0%, white 62%);
}

.feature-grid .feature-icon,
.benefit-card .feature-icon {
  margin-bottom: 26px;
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}

@media (max-width: 900px) {
  .feature-grid article {
    padding: 26px;
  }
}

/* Item 27: tighter LinkedIn band (Contact page) and footer */
#follow {
  padding: 48px 0;
}

#follow h2 {
  margin-bottom: 12px;
}

#follow .page-cta-inner > p {
  margin-bottom: 0;
}

#follow .hero-actions {
  margin-top: 22px;
}

footer {
  padding: 40px 0 20px;
}

.footer-grid {
  padding-bottom: 30px;
}

.footer-bottom {
  padding-top: 16px;
}

@media (max-width: 900px) {
  #follow {
    padding: 40px 0;
  }

  .footer-grid {
    gap: 28px 20px;
  }
}

/* Payment Portal: one payment option (appointed agents), shown at a comfortable width */
.pay-grid:has(> .pay-option:only-child) {
  grid-template-columns: minmax(0, 760px);
}

/* Get Backstage Access: "Everything you need to be the star." fits on one line on desktop */
#what-you-get .section-head h2 {
  max-width: none;
}

/* Wholesale: placeholder cards beside the partner cards ("More markets on the way").
   Fills the rest of the row: two placeholders beside one partner, one beside two, gone at three. */
.partner-soon {
  position: relative;
  grid-column: span 2;
  min-height: 250px;
}

.partner-grid:has(article.partner-card:nth-of-type(2)) .partner-soon {
  grid-column: span 1;
}

.partner-grid:has(article.partner-card:nth-of-type(2)) .partner-ghost + .partner-ghost {
  display: none;
}

.partner-grid:has(article.partner-card:nth-of-type(3)) .partner-soon {
  display: none;
}

.partner-ghosts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
}

.partner-ghost {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  opacity: 0.7;
  filter: blur(1.2px);
  box-shadow: 8px 8px 0 -1px var(--surface), 8px 8px 0 0 rgba(55, 49, 163, 0.12);
}

.partner-ghost .g-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #e8e7f1;
}

.partner-ghost .g-line {
  width: 100%;
  height: 9px;
  border-radius: 5px;
  background: #eceaf4;
}

.partner-ghost .g-name {
  width: 55%;
  height: 18px;
  background: #e3e1ee;
}

.partner-ghost .g-tag {
  width: 38%;
  height: 7px;
  margin-bottom: 10px;
  background: #e3e1f5;
}

.partner-ghost .g-short {
  width: 62%;
}

.partner-soon-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse 62% 62% at 50% 50%, rgba(245, 244, 251, 0.96) 0%, rgba(245, 244, 251, 0.82) 45%, rgba(245, 244, 251, 0) 100%);
}

.partner-soon-label {
  margin: 0 0 12px;
  color: var(--purple);
  font: 500 10px "Roboto Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-soon-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.partner-soon-text {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .partner-soon {
    grid-column: span 1;
  }

  .partner-ghost + .partner-ghost {
    display: none;
  }
}

@media (max-width: 560px) {
  .partner-ghost {
    padding: 22px;
    box-shadow: 5px 5px 0 -1px var(--surface), 5px 5px 0 0 rgba(55, 49, 163, 0.12);
  }
}
