.welcome-body {
  background: #f4f7f2;
}

.welcome-page {
  min-height: 100vh;
  display: block;
  color: var(--ink);
}

.welcome-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.welcome-brand,
.welcome-links,
.welcome-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.welcome-brand,
.welcome-links a,
.welcome-btn {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 800;
}

.welcome-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: var(--radius);
}

.welcome-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.welcome-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.welcome-links a:hover {
  border-color: var(--line-strong);
  background: #ffffff;
}

.welcome-section,
.welcome-band,
.welcome-image-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.welcome-hero {
  position: relative;
  min-height: 520px;
  height: calc(100svh - 118px);
  max-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 36px clamp(18px, 5vw, 64px);
  background: var(--brand-dark);
}

.welcome-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 27, 24, 0.46);
}

.welcome-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-hero-copy {
  width: min(820px, 100%);
  display: grid;
  gap: 22px;
  color: #ffffff;
}

.welcome-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.welcome-hero .welcome-kicker {
  color: #f1c453;
}

.welcome-hero h1,
.welcome-section h2,
.welcome-band h2,
.welcome-cta h2 {
  margin: 0;
  color: var(--brand-dark);
  line-height: 1.04;
}

.welcome-hero h1 {
  font-size: 5.25rem;
  color: #ffffff;
}

.welcome-section h2,
.welcome-band h2,
.welcome-cta h2 {
  max-width: 900px;
  font-size: 3.45rem;
}

.welcome-lead,
.welcome-section-header p,
.welcome-band p,
.welcome-feature-card p,
.welcome-mode-grid p,
.welcome-split p,
.welcome-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.welcome-lead {
  max-width: 720px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.88);
}

.welcome-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
}

.welcome-btn.primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.welcome-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}

.welcome-proof div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.welcome-proof dt {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 900;
}

.welcome-proof dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.welcome-hero-media {
  margin: 0;
  display: grid;
  gap: 12px;
}

.welcome-hero-media img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-hero-media figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.welcome-section {
  padding: clamp(42px, 8vw, 86px) 0;
}

.welcome-section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

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

.welcome-feature-card,
.welcome-mode-grid article,
.welcome-story-card,
.welcome-cta {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-feature-card h3,
.welcome-mode-grid h3,
.welcome-story-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 1.05rem;
}

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

.welcome-story-card {
  display: grid;
  gap: 16px;
  padding: 12px;
}

.welcome-story-card img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.welcome-story-card div {
  padding: 0 8px 8px;
}

.welcome-story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.welcome-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: var(--radius);
}

.welcome-band .welcome-kicker,
.welcome-band h2 {
  color: #ffffff;
}

.welcome-band p {
  color: rgba(247, 250, 245, 0.78);
}

.welcome-mode-grid {
  display: grid;
  gap: 14px;
}

.welcome-mode-grid article {
  box-shadow: none;
}

.welcome-role-table {
  display: grid;
  gap: 10px;
}

.welcome-role-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.welcome-role-row strong {
  color: var(--brand-dark);
}

.welcome-role-row span {
  color: var(--muted);
  line-height: 1.55;
}

.welcome-split {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  gap: 24px;
  align-items: center;
}

.welcome-split > div {
  display: grid;
  gap: 14px;
}

.welcome-split img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-cta {
  margin-bottom: 48px;
  display: grid;
  gap: 14px;
}

.demo-request-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.demo-request-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 36px;
}

.demo-request-hero h1,
.demo-request-card h2 {
  margin: 0;
  color: var(--brand-dark);
  line-height: 1.04;
}

.demo-request-hero h1 {
  font-size: 4.2rem;
}

.demo-request-card h2 {
  font-size: 2rem;
}

.demo-request-hero p,
.demo-form-copy,
.demo-request-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.demo-request-hero > div {
  display: grid;
  gap: 18px;
}

.demo-request-hero img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-process-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.demo-process-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.demo-process-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 900;
}

.demo-process-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.demo-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.demo-request-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.muted-card {
  background: #eef4eb;
  box-shadow: none;
}

.demo-request-notice,
.demo-request-status {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf6;
  color: var(--brand-dark);
}

.demo-request-status {
  display: none;
}

.demo-request-status.pending,
.demo-request-status.success,
.demo-request-status.error {
  display: block;
}

.demo-request-status.success {
  border-color: rgba(13, 81, 63, 0.28);
  background: #e8f5ef;
}

.demo-request-status.error {
  border-color: rgba(177, 54, 54, 0.28);
  background: #fff0f0;
}

.demo-assurance-list {
  display: grid;
  gap: 10px;
}

.demo-assurance-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .welcome-band,
  .welcome-split,
  .demo-request-hero,
  .demo-request-grid {
    grid-template-columns: 1fr;
  }

  .welcome-hero h1 {
    font-size: 3.6rem;
  }

  .welcome-section h2,
  .welcome-band h2,
  .welcome-cta h2 {
    font-size: 2.55rem;
  }

  .demo-request-hero h1 {
    font-size: 3rem;
  }

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

@media (max-width: 660px) {
  .welcome-nav,
  .welcome-brand,
  .welcome-links,
  .welcome-actions {
    align-items: stretch;
  }

  .welcome-nav {
    position: static;
    flex-direction: column;
  }

  .welcome-links,
  .welcome-actions,
  .welcome-proof,
  .welcome-feature-grid,
  .welcome-image-grid,
  .welcome-role-row {
    grid-template-columns: 1fr;
  }

  .welcome-actions,
  .welcome-links {
    width: 100%;
  }

  .welcome-btn,
  .welcome-links a {
    width: 100%;
  }

  .welcome-hero h1 {
    font-size: 2.5rem;
  }

  .welcome-section h2,
  .welcome-band h2,
  .welcome-cta h2 {
    font-size: 2rem;
  }

  .welcome-lead {
    font-size: 1.02rem;
  }

  .demo-request-hero h1 {
    font-size: 2.35rem;
  }

  .demo-request-card h2 {
    font-size: 1.65rem;
  }
}

.welcome-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 22px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.welcome-footer > div {
  display: grid;
  gap: 4px;
}

.welcome-footer strong {
  color: var(--brand-dark);
}

.welcome-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.welcome-footer a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.legal-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 64px;
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: 28px;
  align-items: start;
}

.legal-sidebar,
.legal-document,
.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.legal-sidebar h1,
.legal-document h2,
.legal-document h3,
.legal-card h3 {
  margin: 0;
  color: var(--brand-dark);
  line-height: 1.08;
}

.legal-sidebar h1 {
  font-size: 2.2rem;
}

.legal-sidebar p,
.legal-intro,
.legal-card p,
.legal-document p,
.legal-document li,
.legal-document td {
  color: var(--muted);
  line-height: 1.68;
}

.legal-sidebar nav {
  display: grid;
  gap: 8px;
}

.legal-sidebar nav a,
.legal-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}

.legal-sidebar nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf6;
}

.legal-sidebar nav a.active,
.legal-sidebar nav a:hover,
.legal-card:hover {
  border-color: var(--line-strong);
  background: #eef4eb;
}

.legal-sidebar nav strong {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.legal-sidebar nav span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.legal-document {
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
}

.legal-document h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal-document h3 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.legal-document h4 {
  margin: 24px 0 8px;
  color: var(--brand-dark);
  font-size: 1.08rem;
}

.legal-document ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--brand-dark);
  font-weight: 800;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-document table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

.legal-document th,
.legal-document td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-document th {
  color: var(--brand-dark);
  background: #eef4eb;
}

@media (max-width: 980px) {
  .legal-shell,
  .legal-card-grid {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 660px) {
  .welcome-footer {
    flex-direction: column;
  }

  .welcome-footer nav {
    justify-content: flex-start;
  }
}

.welcome-links a[aria-current="page"] {
  border-color: var(--line-strong);
  background: #ffffff;
}

.public-intro-grid,
.public-split,
.public-page-hero,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: center;
}

.public-intro-grid p,
.public-split p,
.public-page-hero p,
.contact-card p,
.service-row p,
.plan-card li,
.plan-card p,
.link-tile span,
.phone-mockup p,
.notification-stack span,
.contact-form label {
  color: var(--muted);
  line-height: 1.65;
}

.public-page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 78px) 0 36px;
}

.public-page-hero h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 4.6rem;
  line-height: 1.02;
}

.public-page-hero > div,
.public-split > div,
.contact-form {
  display: grid;
  gap: 16px;
}

.public-page-hero img,
.public-split img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.public-home-hero {
  background: #17352f;
}

.section-actions,
.mode-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.section-actions.align-left,
.mode-links.align-left {
  justify-content: flex-start;
}

.mode-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.welcome-feature-card.accent-blue {
  border-top: 4px solid var(--blue);
}

.welcome-feature-card.accent-amber {
  border-top: 4px solid var(--amber);
}

.welcome-feature-card.accent-red {
  border-top: 4px solid var(--red);
}

.welcome-feature-card.accent-sage,
.welcome-feature-card.accent-green {
  border-top: 4px solid var(--green);
}

.public-flow-band {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

.flow-list,
.settings-grid,
.notification-stack,
.contact-list,
.service-list {
  display: grid;
  gap: 12px;
}

.flow-step,
.service-row,
.notification-stack article,
.contact-card,
.link-tile,
.plan-mini-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
}

.flow-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 900;
}

.flow-step p,
.flow-step strong {
  margin: 0;
}

.phone-row,
.phone-gallery {
  display: grid;
  gap: 16px;
}

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

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

.phone-mockup {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #1d2e29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-top span {
  width: 34px;
  height: 5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.phone-screen {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  background: #f8fbf7;
  border-radius: 14px;
}

.phone-screen small {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
}

.phone-row-item {
  padding: 10px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.phone-mockup p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.plan-strip,
.public-link-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

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

.plan-mini-card strong,
.link-tile strong,
.service-row strong,
.contact-card strong {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.plan-mini-card span {
  color: var(--brand);
  font-weight: 900;
}

.plan-mini-card small {
  color: var(--muted);
  line-height: 1.45;
}

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

.link-tile:hover,
.mode-links a:hover,
.service-row:hover,
.plan-mini-card:hover {
  border-color: var(--line-strong);
  background: #eef4eb;
}

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

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

.settings-grid span {
  padding: 13px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

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

.plan-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan-card-head {
  display: grid;
  gap: 8px;
}

.plan-card-head span {
  color: var(--brand);
  font-weight: 900;
}

.plan-card h2,
.plan-card h3,
.contact-form h2 {
  margin: 0;
  color: var(--brand-dark);
}

.plan-card h2 {
  font-size: 2rem;
}

.plan-card h3 {
  font-size: 1rem;
}

.plan-card strong {
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.plan-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.comparison-section {
  padding-top: 0;
}

.notification-stack article {
  background: rgba(255, 255, 255, 0.92);
}

.notification-stack strong {
  color: var(--brand-dark);
}

.contact-layout {
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf7;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-card a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.9fr));
  gap: 20px;
}

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

.footer-brand p,
.footer-brand span {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.welcome-footer nav {
  display: grid;
  justify-content: stretch;
  gap: 8px;
}

.welcome-footer nav strong {
  color: var(--brand-dark);
}

.welcome-footer .welcome-brand {
  justify-content: flex-start;
}

@media (max-width: 1100px) {
  .plan-strip,
  .public-link-grid,
  .phone-gallery,
  .compact-phones,
  .expanded-grid,
  .comparison-grid,
  .partner-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .public-intro-grid,
  .public-split,
  .public-page-hero,
  .public-flow-band,
  .contact-layout,
  .service-list,
  .plan-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .public-page-hero h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 660px) {
  .public-page-hero h1 {
    font-size: 2.35rem;
  }

  .plan-strip,
  .public-link-grid,
  .phone-gallery,
  .compact-phones,
  .expanded-grid,
  .comparison-grid,
  .partner-grid,
  .values-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 1fr;
  }
}
html[data-public-theme="dark"] {
  --bg: #061b2d;
  --surface: #0d263b;
  --surface-2: #102f49;
  --surface-3: #173a58;
  --ink: #f6fbff;
  --muted: #b8c7d9;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --brand-dark: #f6fbff;
  color-scheme: dark;
}

html[data-public-theme="dark"] body,
html[data-public-theme="dark"] .welcome-body {
  background: #061b2d;
}

html[data-public-theme="dark"] .welcome-nav,
html[data-public-theme="dark"] .welcome-feature-card,
html[data-public-theme="dark"] .welcome-story-card,
html[data-public-theme="dark"] .welcome-mode-grid article,
html[data-public-theme="dark"] .welcome-cta,
html[data-public-theme="dark"] .demo-request-card,
html[data-public-theme="dark"] .service-row,
html[data-public-theme="dark"] .plan-card,
html[data-public-theme="dark"] .plan-mini-card,
html[data-public-theme="dark"] .link-tile,
html[data-public-theme="dark"] .contact-card,
html[data-public-theme="dark"] .contact-form,
html[data-public-theme="dark"] .legal-sidebar,
html[data-public-theme="dark"] .legal-document,
html[data-public-theme="dark"] .legal-card,
html[data-public-theme="dark"] .demo-access-card,
html[data-public-theme="dark"] .demo-access-rules {
  background: var(--surface);
}

html[data-public-theme="dark"] .field input,
html[data-public-theme="dark"] .field select,
html[data-public-theme="dark"] .field textarea,
html[data-public-theme="dark"] .contact-form input,
html[data-public-theme="dark"] .contact-form textarea {
  color: #f6fbff;
  background: #071f34;
  border-color: var(--line);
}

.welcome-brand-mark {
  background: #ffffff url("../assets/app-logo-mark.png") center / cover no-repeat;
  color: transparent;
  overflow: hidden;
}

.public-theme-toggle {
  min-height: 36px;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 800;
}

.compact-public-nav .welcome-links,
.welcome-links.compact-links {
  gap: 8px;
}

.compact-public-nav .welcome-links a,
.welcome-links.compact-links a,
.public-theme-toggle {
  font-size: 0.9rem;
}

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

.demo-process-list li {
  min-height: 148px;
  align-content: start;
  background: #ffffff;
}

.demo-request-card {
  background: #ffffff;
}

.demo-request-card .field input,
.demo-request-card .field select,
.demo-request-card .field textarea {
  background: #ffffff;
  border-color: #aebfb5;
}

.demo-access-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 74px) 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.demo-access-card,
.demo-access-rules {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-access-card h1,
.demo-access-rules h2 {
  margin: 0;
  color: var(--brand-dark);
  line-height: 1.04;
}

.demo-access-card h1 {
  font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.demo-access-card p,
.demo-access-rules p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.demo-access-form {
  display: grid;
  gap: 14px;
}

.demo-access-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-card.recommended-plan {
  border-color: rgba(14, 124, 102, 0.55);
  box-shadow: 0 18px 44px rgba(14, 124, 102, 0.18);
}

.plan-card.recommended-plan::before {
  content: "Recommended";
  width: max-content;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.85fr));
}

@media (max-width: 980px) {
  .demo-process-list,
  .demo-access-shell {
    grid-template-columns: 1fr;
  }
}