:root {
  color-scheme: light;
  --ink: #12201f;
  --muted: #63706e;
  --line: #dfe8e5;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --soft: #ecf5f2;
  --teal: #12615c;
  --teal-dark: #0b403d;
  --coral: #d76f4b;
  --gold: #b98a34;
  --blue: #376b8f;
  --shadow: 0 24px 70px rgba(18, 32, 31, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(223, 232, 229, 0.86);
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--teal);
  color: white;
  font-size: 14px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 20px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #30413f;
  font-size: 15px;
}

.nav-links a {
  padding: 8px 0;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.primary-btn,
.ghost-btn,
.dark-btn {
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-btn {
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 24px rgba(215, 111, 75, 0.24);
}

.dark-btn {
  background: var(--teal-dark);
  color: white;
  box-shadow: 0 12px 24px rgba(11, 64, 61, 0.24);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.primary-btn:hover,
.ghost-btn:hover,
.dark-btn:hover {
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero-shell {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 243, 0.96) 0%, rgba(251, 248, 243, 0.84) 42%, rgba(251, 248, 243, 0.32) 78%),
    linear-gradient(0deg, rgba(251, 248, 243, 0.92) 0%, rgba(251, 248, 243, 0.08) 34%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: end;
  gap: clamp(22px, 4vw, 46px);
  min-height: calc(100svh - 72px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 54px) 52px;
}

.request-panel {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 670px;
  margin: 20px 0 0;
  color: #344744;
  font-size: 19px;
  line-height: 1.6;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) auto;
  align-items: end;
  gap: 10px;
  max-width: 880px;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid rgba(223, 232, 229, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  outline: 0;
}

textarea {
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 97, 92, 0.14);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-metrics div {
  min-width: 140px;
  padding: 15px 18px;
  border: 1px solid rgba(223, 232, 229, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 14px;
}

.provider-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.provider-card h2 {
  margin-top: 14px;
  font-size: 29px;
}

.provider-card p,
.section-heading p,
.provider-layout p,
.trust-grid p,
.workflow-grid p,
.feature-grid p,
.site-footer p,
.pricing-card p {
  color: var(--muted);
  line-height: 1.62;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf6f4;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #2d4240;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.section-band,
.content-wrap {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 54px);
}

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

.content-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 690px;
  margin-bottom: 20px;
}

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

.workflow-grid article,
.trust-grid article,
.feature-grid article,
.category-card,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.workflow-grid article,
.trust-grid article {
  padding: 24px;
}

.workflow-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--coral);
  font-weight: 900;
}

.category-toolbar,
.pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.segmented button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 750;
}

.segmented button.active {
  background: var(--teal);
  color: white;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  display: grid;
  gap: 16px;
  min-height: 226px;
  padding: 20px;
}

.category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  color: var(--teal);
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.category-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4f0e8;
  color: #5d5140;
  font-size: 12px;
  font-weight: 750;
}

.category-meta a {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4f0e8;
  color: #5d5140;
  font-size: 12px;
  font-weight: 750;
}

.category-meta button {
  border: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4f0e8;
  color: #5d5140;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.category-card h3 a {
  color: inherit;
}

.category-title-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.category-title-btn:hover,
.category-meta button:hover {
  color: var(--teal);
}

.category-page-grid {
  margin-top: 24px;
}

.provider-section {
  background: #eef4f1;
}

.provider-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  max-width: 1240px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

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

.dashboard-preview {
  padding: 22px;
  border-radius: 8px;
  background: #12201f;
  color: white;
  box-shadow: var(--shadow);
}

.dash-top,
.dash-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dash-top strong {
  color: #9ed9d3;
}

.dash-row span {
  color: rgba(255, 255, 255, 0.68);
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 160px;
  margin-top: 26px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-chart span {
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #f4a06c, #77c6bd);
}

.billing-toggle {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.billing-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #d8e5e1;
  cursor: pointer;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(18, 32, 31, 0.22);
  transition: transform 180ms ease;
}

.billing-toggle input:checked + .toggle-track {
  background: var(--teal);
}

.billing-toggle input:checked + .toggle-track::after {
  transform: translateX(26px);
}

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

.pricing-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.pricing-card.featured {
  border-color: rgba(18, 97, 92, 0.38);
  box-shadow: 0 18px 48px rgba(18, 97, 92, 0.14);
}

.pricing-card .plan-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0e9;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.price {
  font-size: 40px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-card li {
  color: #30413f;
}

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

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

.guide-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.guide-card a {
  align-self: end;
  color: var(--teal);
  font-weight: 850;
}

.guide-tag {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.trust-section {
  background: #172624;
  color: white;
}

.trust-section .eyebrow,
.trust-section p {
  color: #a8d9d3;
}

.trust-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 4vw, 54px);
  background: #0f1b1a;
  color: white;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-brand .brand-mark {
  background: white;
  color: var(--teal);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 14px 22px;
  color: rgba(255, 255, 255, 0.78);
}

.modal {
  width: min(680px, calc(100vw - 24px));
  border: 0;
  padding: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(18, 32, 31, 0.58);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  background: white;
}

.modal-card h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.icon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wide {
  grid-column: 1 / -1;
}

.full-btn {
  width: 100%;
  margin-top: 16px;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 750;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.static-header {
  position: sticky;
}

.legal-page,
.error-page,
.article-page {
  min-height: calc(100svh - 72px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 54px);
}

.legal-content,
.error-box,
.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(18, 32, 31, 0.08);
}

.legal-content h1,
.error-box h1,
.article-content h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.legal-content h2,
.article-content h2 {
  margin: 28px 0 8px;
  font-size: 24px;
}

.legal-content p,
.error-box p,
.article-content p {
  color: var(--muted);
  line-height: 1.68;
}

.article-content .lead {
  color: #344744;
  font-size: 19px;
}

.article-cta {
  margin-top: 30px;
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
}

.error-page {
  display: grid;
  align-content: start;
  gap: 28px;
}

.error-box {
  margin-left: 0;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.panel-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(18px);
}

.panel-top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-top-links a,
.panel-top-links button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #334744;
  font-weight: 750;
  cursor: pointer;
}

.panel-top-links a.active {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.panel-top-links button {
  color: var(--coral);
}

.panel-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  min-height: calc(100svh - 72px);
  padding: 24px clamp(18px, 4vw, 44px);
}

.panel-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.panel-sidebar strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.panel-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #415552;
  font-weight: 750;
}

.panel-sidebar a:hover {
  background: var(--soft);
  color: var(--teal);
}

.panel-main {
  display: grid;
  gap: 18px;
}

.panel-title-row,
.panel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-title-row h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.panel-stats article,
.panel-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.panel-stats article {
  padding: 18px;
}

.panel-stats span,
.panel-stats small {
  display: block;
  color: var(--muted);
}

.panel-stats strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.panel-section {
  padding: 20px;
}

.panel-section h2 {
  font-size: 24px;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.panel-row strong,
.subscription-box strong {
  display: block;
  margin-bottom: 5px;
}

.panel-row span,
.subscription-box small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.panel-row p,
.subscription-box p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.panel-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
}

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

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

.account-form button {
  justify-self: start;
}

.review-form button {
  justify-self: start;
}

.rating-stars {
  color: var(--gold);
  font-weight: 900;
}

.panel-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.subscription-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.analytics-summary div,
.analytics-source,
.analytics-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.analytics-summary span,
.analytics-row span,
.analytics-source p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.analytics-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.analytics-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.analytics-row strong {
  text-align: right;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8e5;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.auth-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(251, 248, 243, 0.98), rgba(238, 244, 241, 0.92)),
    url("assets/hero-services.png") center / cover;
}

.auth-card {
  width: min(560px, 100%);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 7vw, 54px);
}

.auth-form,
.provider-fields {
  display: grid;
  gap: 13px;
}

.provider-fields {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.auth-switch {
  margin: 16px 0 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--teal);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
    justify-self: end;
  }

  .site-header.menu-active .nav-links,
  .site-header.menu-active .header-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: flex;
    z-index: 70;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
  }

  .site-header.menu-active .nav-links {
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 8px 8px 0 0;
  }

  .site-header.menu-active .nav-links a {
    padding: 13px 10px;
  }

  .site-header.menu-active .header-actions {
    top: 258px;
    gap: 10px;
    padding: 12px;
    border-radius: 0 0 8px 8px;
  }

  .hero-content,
  .provider-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .provider-card {
    max-width: 560px;
  }

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

  .pricing-grid,
  .workflow-grid,
  .trust-grid,
  .guide-grid,
  .panel-stats,
  .panel-grid-two {
    grid-template-columns: 1fr;
  }

  .panel-shell {
    grid-template-columns: 1fr;
  }

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

  .panel-sidebar strong {
    grid-column: 1 / -1;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-shell,
  .hero-content {
    min-height: auto;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(251, 248, 243, 0.97) 0%, rgba(251, 248, 243, 0.9) 55%, rgba(251, 248, 243, 0.72) 100%),
      rgba(251, 248, 243, 0.45);
  }

  .hero-content {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .quick-search {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-toolbar,
  .pricing-head,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
    overflow-x: auto;
  }

  .segmented button {
    flex: 1 0 auto;
  }

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

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

  .modal {
    width: calc(100vw - 16px);
  }

  .panel-header,
  .panel-title-row,
  .panel-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-top-links {
    width: 100%;
  }

  .panel-top-links a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .panel-sidebar {
    grid-template-columns: 1fr;
  }

  .panel-row {
    grid-template-columns: 1fr;
  }

  .analytics-summary,
  .analytics-row {
    grid-template-columns: 1fr;
  }

  .analytics-row strong {
    text-align: left;
  }
}
