:root {
  --bg: #f7fbff;
  --bg-2: #eef6ff;
  --ink: #18213a;
  --muted: #4e5a77;
  --accent: #2cc5a9;
  --accent-2: #6c63ff;
  --accent-3: #ffd166;
  --card: #ffffff;
  --line: rgba(24, 33, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 700px at 10% -10%, #dff6ff, transparent 60%),
    radial-gradient(900px 600px at 85% 0%, #f8e9ff, transparent 55%),
    radial-gradient(800px 500px at 50% 110%, #fff5d8, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

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

.page {
  position: relative;
  overflow: hidden;
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-name {
  font-size: 1.2rem;
}

.frog-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, #2cc5a9, #67e8c5);
  position: relative;
  display: inline-block;
  box-shadow: 0 12px 30px rgba(44, 197, 169, 0.25);
}

.frog-mark::before,
.frog-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #122235;
  border-radius: 50%;
  top: 10px;
}

.frog-mark::before {
  left: 9px;
}

.frog-mark::after {
  right: 9px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #18213a;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(24, 33, 58, 0.15);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 28px 120px;
  display: grid;
  gap: 110px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.button {
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(120deg, #2cc5a9, #6c63ff);
  color: #fff;
  box-shadow: 0 18px 30px rgba(44, 197, 169, 0.2);
}

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

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(44, 197, 169, 0.12);
  color: #0e7563;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 70px rgba(24, 33, 58, 0.1);
  display: grid;
  gap: 20px;
}

.sheet-preview {
  border-radius: 18px;
  border: 1px solid rgba(24, 33, 58, 0.08);
  overflow: hidden;
  background: #f8fbff;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  background: #eef3ff;
}

.sheet-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2cc5a9;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
  font-size: 0.85rem;
}

.cell {
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(24, 33, 58, 0.05);
}

.cell.head {
  font-weight: 600;
  color: var(--muted);
  background: #f4f6fb;
}

.cell.success {
  color: #0e7563;
  background: rgba(44, 197, 169, 0.15);
}

.cell.warning {
  color: #936200;
  background: rgba(255, 209, 102, 0.2);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card-footer strong {
  display: block;
  color: var(--ink);
}

.pill {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(108, 99, 255, 0.12);
  color: #3b36a7;
  font-weight: 600;
}

.section {
  display: grid;
  gap: 28px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.section h2 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin: 0;
}

.section p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(24, 33, 58, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.plan-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.plan-toggle {
  display: inline-flex;
  gap: 8px;
  background: rgba(24, 33, 58, 0.06);
  border-radius: 999px;
  padding: 6px;
}

.plan-toggle-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plan-toggle-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(24, 33, 58, 0.12);
}

.plan-save {
  font-size: 0.75rem;
  background: rgba(44, 197, 169, 0.15);
  color: #0e7563;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.plan-helper {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.plan-price-value,
.plan-price strong {
  font-size: 1.6rem;
}

.plan-interval {
  color: var(--muted);
  font-size: 1rem;
}

.plan-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0e7563;
  background: rgba(44, 197, 169, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-note {
  color: var(--muted);
  margin: 0 0 12px;
}

.plan-fit {
  color: var(--muted);
  margin: 0 0 16px;
}

.plan-choice {
  display: grid;
  gap: 12px;
  margin: 16px 0 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.plan-choice.compact {
  gap: 10px;
  padding: 12px;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.plan-option {
  border: 1px solid rgba(24, 33, 58, 0.08);
  border-radius: 16px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
}

.plan-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option-title {
  font-weight: 600;
}

.plan-option-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-option-price {
  font-weight: 600;
  color: var(--ink);
}

.plan-option-input:checked + .plan-option-body .plan-option-title {
  color: var(--ink);
}

.plan-option-input:checked + .plan-option-body .plan-option-sub {
  color: var(--ink);
}

.plan-option-input:checked + .plan-option-body {
  display: grid;
  gap: 6px;
}

.plan-option-input:checked ~ .plan-option-body {
  display: grid;
}

.plan-option:has(.plan-option-input:checked) {
  border-color: rgba(108, 99, 255, 0.45);
  box-shadow: 0 14px 26px rgba(24, 33, 58, 0.14);
  background: linear-gradient(120deg, rgba(44, 197, 169, 0.18), rgba(108, 99, 255, 0.18));
}

.plan-option-body {
  display: grid;
  gap: 6px;
}

.plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  margin: 6px 0 4px;
}

.plan-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
}

.plan-name {
  font-weight: 600;
  margin-top: 6px;
}

.split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.split-copy {
  display: grid;
  gap: 14px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.steps strong {
  color: var(--ink);
}

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

.bubble {
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  border: 1px dashed rgba(24, 33, 58, 0.15);
  text-align: center;
  font-weight: 600;
  color: #3b36a7;
}

.use-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cta-card {
  background: linear-gradient(120deg, rgba(44, 197, 169, 0.12), rgba(108, 99, 255, 0.12));
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(24, 33, 58, 0.08);
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-form input {
  flex: 1 1 240px;
  border-radius: 12px;
  border: 1px solid rgba(24, 33, 58, 0.1);
  padding: 12px 14px;
  font-size: 0.95rem;
}

.cta-status {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.cta-status.success {
  background: rgba(44, 197, 169, 0.14);
  border-color: rgba(44, 197, 169, 0.35);
  color: #0e7563;
}

.cta-status.error {
  background: rgba(255, 209, 102, 0.18);
  border-color: rgba(255, 209, 102, 0.45);
  color: #6b4b00;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 32px 28px 50px;
}

.site-footer {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-blurb {
  margin: 0 0 10px;
  color: var(--muted);
}

.footer-contact {
  margin: 0;
}

.footer-contact a {
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h4,
.footer-newsletter h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--ink);
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-newsletter p {
  margin: 0 0 12px;
  color: var(--muted);
}

.footer-form {
  display: grid;
  gap: 10px;
}

.footer-form input {
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 58, 0.12);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.footer-form .button {
  justify-content: center;
}

.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 28px 120px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(24, 33, 58, 0.12);
  display: grid;
  gap: 20px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.auth-card p {
  color: var(--muted);
  margin: 0;
}

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

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.auth-form input,
.auth-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 58, 0.12);
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form textarea {
  resize: vertical;
}

.auth-form input::placeholder,
.auth-form textarea::placeholder {
  color: rgba(24, 33, 58, 0.45);
}

.auth-form input:focus,
.auth-form textarea:focus,
.card-element:focus-within {
  outline: none;
  border-color: rgba(108, 99, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.18);
}

.auth-submit {
  justify-content: center;
}

.auth-helper {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.auth-alert.error {
  background: rgba(255, 209, 102, 0.2);
  border-color: rgba(255, 209, 102, 0.5);
  color: #6b4b00;
}

.auth-alert.success {
  background: rgba(44, 197, 169, 0.18);
  border-color: rgba(44, 197, 169, 0.4);
  color: #0e7563;
}

.card-element {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 58, 0.12);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 10px;
}

.info-card-accent {
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.9), rgba(230, 249, 239, 0.8));
  border-color: rgba(247, 196, 104, 0.55);
  box-shadow: 0 14px 34px rgba(247, 196, 104, 0.22);
}

.info-card h3 {
  margin: 0;
}

.info-card code {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(24, 33, 58, 0.08);
  font-weight: 600;
}

.tab-row {
  display: inline-flex;
  gap: 8px;
  background: rgba(24, 33, 58, 0.06);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
}

.tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tab-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
}

.tab-link.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(24, 33, 58, 0.12);
}


.button-sites {
  background: #f2ecff;
  border-color: rgba(152, 118, 255, 0.45);
  color: #3e2b74;
}

.button-sites:hover {
  background: #e6dcff;
}

.invoice-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  padding: 4px 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 12px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 6px 12px;
  color: var(--muted);
}

.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 58, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.site-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.site-search {
  margin-top: 8px;
}

.site-empty {
  margin-top: 12px;
}

.upgrade-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.site-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 58, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(24, 33, 58, 0.06);
}

.site-url {
  font-weight: 600;
  word-break: break-word;
}

.site-main {
  display: grid;
  gap: 4px;
}

.site-name {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-seen {
  margin-top: 2px;
  width: fit-content;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: #49536f;
  background: rgba(24, 33, 58, 0.07);
  border: 1px solid rgba(24, 33, 58, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
}

.site-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-open-btn,
.site-remove-btn {
  min-width: 104px;
}

.site-open-btn {
  box-shadow: 0 10px 24px rgba(44, 197, 169, 0.2);
}

.site-pending {
  font-size: 0.82rem;
  color: #8a6100;
  background: rgba(255, 209, 102, 0.22);
  border: 1px solid rgba(247, 196, 104, 0.5);
  border-radius: 999px;
  padding: 5px 10px;
}

@media (max-width: 760px) {
  .site-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-actions {
    justify-content: flex-start;
  }

  .trial-banner {
    grid-template-columns: 1fr;
  }

  .trial-banner-actions .button {
    width: 100%;
  }
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.account-form.hidden {
  display: none;
}

.hidden {
  display: none;
}

.edit-account-toggle {
  margin-top: 12px;
  width: fit-content;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 12px 0 18px;
}

.billing-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.billing-value {
  font-weight: 600;
  margin-top: 6px;
}

.inline-card {
  margin-top: 16px;
}

.manage-subscription {
  border: 1px solid rgba(108, 99, 255, 0.35);
  background: linear-gradient(120deg, rgba(108, 99, 255, 0.12), rgba(44, 197, 169, 0.12));
  box-shadow: 0 18px 32px rgba(24, 33, 58, 0.12);
}

.manage-subscription .button.ghost {
  border-color: rgba(108, 99, 255, 0.35);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(24, 33, 58, 0.1);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table.compact th,
.admin-table.compact td {
  padding: 8px 6px;
}

.admin-detail h4 {
  margin: 0;
}

.admin-ua {
  min-width: 280px;
  word-break: break-word;
}

.trial-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-color: rgba(44, 197, 169, 0.45);
  background: linear-gradient(120deg, rgba(44, 197, 169, 0.12), rgba(108, 99, 255, 0.12));
  box-shadow: 0 14px 30px rgba(24, 33, 58, 0.1);
}

.trial-banner-copy {
  display: grid;
  gap: 6px;
}

.trial-banner-copy h3 {
  margin: 0;
}

.trial-banner-copy .auth-helper {
  margin: 0;
}

.trial-banner-actions {
  display: inline-flex;
  align-items: center;
}


.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(24, 33, 58, 0.35);
  z-index: 20;
}

.loading-overlay.active {
  display: flex;
}

.loading-card {
  background: #fff;
  padding: 24px 28px;
  border-radius: 18px;
  display: grid;
  gap: 12px;
  text-align: center;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(24, 33, 58, 0.15);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .button,
  .nav-actions .nav-cta {
    padding: 9px 14px;
    font-size: 0.86rem;
  }

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

@media (max-width: 600px) {
  .nav {
    padding: 18px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  main {
    padding: 10px 20px 90px;
    gap: 80px;
  }

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

  .hero-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

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