/* Global colors and reusable design variables follow the DX Pulse brand. */
:root {
  color-scheme: dark;
  --color-page: #080c14;
  --color-panel: #101c2b;
  --color-panel-muted: rgba(15, 23, 42, 0.55);
  --color-text: #e2e8f0;
  --color-text-bright: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-accent: #a5f3fc;
  --color-accent-strong: #67e8f9;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-soft: #334155;
  --content-width: 80rem;
  --page-gutter: 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* Consistent sizing and readable defaults make each page section easier to style. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--color-text-bright);
}

.page-container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.35rem;
  background: var(--color-accent-strong);
  color: #07111a;
  font-weight: 700;
}

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

.noscript-notice {
  margin: 0;
  padding: 0.75rem var(--page-gutter);
  background: #78350f;
  color: #fffbeb;
  text-align: center;
  font-size: 0.875rem;
}

/* Main navigation keeps section links and both application actions together. */
.site-header {
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand menu"
    "navigation navigation"
    "actions actions";
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 1rem;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-bright);
  white-space: nowrap;
}

.brand__mark {
  width: 1.5rem;
  height: 1.5rem;
}

.brand__name {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.brand__byline {
  display: none;
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.primary-navigation {
  grid-area: navigation;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.4rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.primary-navigation a,
.footer-navigation a,
.footer-navigation button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.3rem;
  transition: color 150ms ease;
}

.primary-navigation a:hover,
.footer-navigation a:hover,
.footer-navigation button:hover,
.text-link:hover {
  color: var(--color-text-bright);
}

.mobile-nav-toggle {
  grid-area: menu;
  display: none;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-nav-toggle__icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mobile-nav-toggle__icon--close {
  display: none;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__icon--menu {
  display: none;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__icon--close {
  display: block;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-actions__sign-in {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.5rem;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.9rem;
  cursor: pointer;
}

.footer-navigation button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button--outline {
  border-color: rgba(103, 232, 249, 0.4);
  background: transparent;
  color: var(--color-accent);
}

.button--outline:hover {
  background: rgba(103, 232, 249, 0.1);
}

.button--primary {
  min-height: 3.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--color-accent-strong);
  color: #07111a;
  font-size: 1rem;
}

.button--primary:hover {
  background: var(--color-accent);
}

.button__icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 150ms ease;
}

/* Hero layout introduces the product beside an illustrative briefing preview. */
.hero-section {
  padding-block: 3.25rem 4rem;
  scroll-margin-top: 1.5rem;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.18em;
}

.status-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent-strong);
}

.hero-copy h1 {
  max-width: 44rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.hero-copy h1 span {
  color: var(--color-accent);
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-description {
  max-width: 34rem;
  margin-block: 1rem 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
}

.hero-sample-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding-inline: 0.25rem;
}

.read-only-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-block: 1.5rem 0;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.read-only-note__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* The light briefing card contrasts with the dark page and labels its data clearly. */
.sample-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 1.75rem 5rem -2rem rgba(0, 0, 0, 0.8);
  scroll-margin-top: 1.5rem;
}

.sample-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  color: #475569;
  font-size: 0.75rem;
}

.sample-card__mail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.sample-card__mail-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sample-badge {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  color: #475569;
  font-weight: 600;
}

.sample-card__body {
  padding: 1.5rem 1.25rem;
}

.sample-card__eyebrow {
  margin-bottom: 0.7rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sample-card__title {
  margin-bottom: 0.65rem;
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.sample-card__summary {
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.65;
}

.sample-observations {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
  list-style: none;
}

.sample-observation {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.9rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid #e2e8f0;
}

.sample-observation__number {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: #fef3c7;
  color: #78350f;
  font-size: 0.7rem;
  font-weight: 700;
}

.sample-observation h3 {
  margin-bottom: 0.15rem;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
}

.sample-observation__status {
  margin-bottom: 0.5rem;
  color: #78350f;
  font-size: 0.8rem;
  font-weight: 650;
}

.sample-observation__description {
  margin-bottom: 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.6;
}

.sample-card__disclaimer {
  margin: 1rem 0 0;
  color: #64748b;
  font-size: 0.7rem;
  line-height: 1.5;
}

/* The native dialog gives the sample CTA a focused, keyboard-accessible view. */
.sample-dialog {
  width: min(56rem, calc(100% - 2rem));
  max-width: none;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  border: 1px solid var(--color-border-soft);
  border-radius: 1rem;
  background: #0b101d;
  padding: 1rem;
  color: var(--color-text);
  box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, 0.65);
}

.sample-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
}

.sample-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.sample-dialog__header h2 {
  margin: 0;
  color: var(--color-text-bright);
  font-size: 1rem;
  font-weight: 700;
}

.sample-dialog__close {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.5rem 0.65rem;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.875rem;
}

.sample-dialog__close:hover {
  background: #1e293b;
  color: #ffffff;
}

.sample-dialog__close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.sample-dialog__report {
  box-shadow: none;
}

.sample-report-overall {
  margin-block: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
}

.sample-report-overall h4 {
  margin-bottom: 0.25rem;
  color: #0f172a;
  font-size: 0.875rem;
}

.sample-report-overall p {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
}

.sample-report-module {
  border-top: 1px solid #e2e8f0;
  padding-block: 1rem;
}

.sample-report-module > h4 {
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
}

.sample-report-observation + .sample-report-observation {
  margin-top: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.sample-report-observation h5 {
  margin-bottom: 0.25rem;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
}

.sample-report-observation p {
  margin-bottom: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
}

.sample-report-observation .sample-report-observation__status {
  margin-bottom: 0.4rem;
  color: #155e75;
  font-weight: 650;
}

.sample-report-observation a {
  display: inline-block;
  min-height: 2.5rem;
  padding-block: 0.55rem;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sample-report-limitation,
.sample-report-empty {
  margin: 0.65rem 0 0;
  border-radius: 0.5rem;
  background: #f8fafc;
  padding: 0.7rem 0.8rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.sample-report-empty {
  margin-top: 0;
  color: #475569;
}

/* The benefit band provides three quick reasons to use a scheduled briefing. */
.benefit-strip,
.trust-section {
  border-block: 1px solid var(--color-border);
  background: var(--color-panel-muted);
}

.benefit-grid {
  display: grid;
  gap: 2rem;
  padding-block: 2.25rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.benefit-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  fill: none;
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.benefit-item h2 {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.benefit-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Shared section spacing keeps the long landing page calm and easy to scan. */
.content-section {
  padding-block: 4rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-heading > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-heading--narrow {
  max-width: 45rem;
}

.process-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  border-top: 1px solid var(--color-border-soft);
  padding-top: 1.35rem;
}

.process-step__number {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 650;
}

.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.process-step > p:last-child {
  max-width: 24rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Signal cards describe the source areas and keep their known limits visible. */
.signal-section {
  border-top: 1px solid var(--color-border);
}

.signal-layout {
  display: grid;
  gap: 2.5rem;
}

.signal-section .section-heading {
  max-width: 34rem;
}

.signal-section .section-heading h2 {
  margin-top: -0.1rem;
}

.signal-section .section-heading .section-note {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.signal-grid {
  display: grid;
  gap: 0 2rem;
}

.signal-item {
  min-width: 0;
  border-top: 1px solid var(--color-border-soft);
  padding-block: 1.35rem;
}

.signal-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 650;
}

.signal-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Read-only positioning is emphasized between coverage and plan information. */
.trust-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-block: 2.75rem;
}

.trust-content__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.trust-content h2 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.trust-content p {
  max-width: 56rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Plan cards separate the published Free and Paid plan descriptions. */
.plans-section {
  padding-bottom: 3.5rem;
}

.section-heading--centered {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading--centered p {
  font-size: 1rem !important;
}

.plan-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 2.5rem auto 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-panel);
  padding: 1.5rem;
}

.plan-card h3 {
  margin-bottom: 0.4rem;
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 650;
}

.plan-card__description {
  margin-bottom: 0;
  color: #e2e8f0;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.65rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  content: "✓";
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1rem;
}

/* FAQ entries use native details and summary elements for simple interaction. */
.questions-layout {
  display: grid;
  gap: 2rem;
}

.questions-layout .section-heading {
  max-width: 28rem;
}

.question-list {
  border-block: 1px solid var(--color-border-soft);
}

.question-item {
  border-bottom: 1px solid var(--color-border-soft);
}

.question-item:last-child {
  border-bottom: 0;
}

.question-item summary {
  position: relative;
  min-height: 3.5rem;
  padding: 1.1rem 2.4rem 1.1rem 0;
  color: var(--color-text-bright);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

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

.question-item summary::after {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  color: var(--color-accent);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.question-item[open] summary::after {
  content: "−";
}

.question-answer {
  display: grid;
  gap: 0.75rem;
  padding: 0 2.5rem 1.25rem 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.question-answer p {
  margin-bottom: 0;
}

.question-answer ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding-left: 1.25rem;
}

/* Final callout returns visitors to the setup action after reading the page. */
.final-cta-section {
  padding-bottom: 4rem;
}

.final-cta {
  display: grid;
  gap: 1.75rem;
  border: 1px solid rgba(165, 243, 252, 0.2);
  border-radius: 1rem;
  background: var(--color-panel);
  padding: 1.5rem;
}

.final-cta .eyebrow {
  margin-bottom: 0;
}

.final-cta h2 {
  margin-block: 0.85rem 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.final-cta p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.final-cta__button {
  width: 100%;
  justify-self: start;
}

/* Footer links provide another path to the public information and sign-in. */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand--footer .brand__mark {
  width: 1.25rem;
  height: 1.25rem;
}

.brand--footer .brand__name {
  font-size: 1rem;
}

.footer-brand-block p {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-navigation a {
  padding-inline: 0;
}

/* Tablet and desktop layouts reuse the same content with wider columns. */
@media (min-width: 48rem) {
  :root {
    --page-gutter: 2rem;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand navigation actions";
    gap: 1.5rem;
    padding-block: 1.1rem;
  }

  .primary-navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.15rem;
    padding: 0;
  }

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

  .header-actions {
    gap: 0.75rem;
  }

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

  .benefit-grid {
    gap: 2rem;
    padding-block: 2.25rem;
  }

  .content-section {
    padding-block: 5rem;
  }

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

  .plan-card {
    padding: 2rem;
  }

  .questions-layout {
    grid-template-columns: minmax(13rem, 1fr) minmax(0, 1.65fr);
    gap: 3rem;
  }

  .final-cta {
    grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 1fr);
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
  }

  .final-cta__button {
    width: auto;
    justify-self: end;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .brand__byline {
    display: inline;
  }

  .hero-section {
    padding-block: 6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .signal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 4rem;
  }

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

  .trust-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .final-cta-section {
    padding-bottom: 6rem;
  }

  .final-cta {
    padding: 3.5rem;
  }
}

@media (max-width: 30rem) {
  :root {
    --page-gutter: 1rem;
  }

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

  .hero-actions .button,
  .hero-sample-link {
    justify-content: center;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .button {
    flex: 1;
  }

  .sample-card__topline {
    padding-inline: 1rem;
  }

  .sample-card__body {
    padding-inline: 1rem;
  }

  .sample-card__title {
    font-size: 1.45rem;
  }

  .sample-dialog {
    width: calc(100% - 1rem);
    max-height: 92vh;
    padding: 0.75rem;
  }

  .footer-navigation {
    column-gap: 0.75rem;
  }
}

/* Small-screen navigation stays visible without JavaScript and can collapse with it. */
@media (max-width: 47.99rem) {
  .js-enabled .mobile-nav-toggle {
    display: inline-flex;
  }

  .js-enabled .primary-navigation {
    display: none;
  }

  .js-enabled .primary-navigation.is-open {
    display: flex;
  }
}

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

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

/* The native modal reuses the landing palette and blocks the page beneath it. */
.preparation-dialog {
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: auto;
  border: 0;
  padding: 0;
  background: var(--color-page);
  color: var(--color-text);
  overscroll-behavior: contain;
}

.preparation-dialog[open] {
  display: block;
}

.preparation-dialog::backdrop {
  background: var(--color-page);
}

.preparation-dialog__page {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  background-image: radial-gradient(ellipse at 78% 38%, rgba(8, 145, 178, 0.1), transparent 36rem);
}

.connecting-header__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.connecting-header__note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.connecting-header__note .status-dot,
.connecting-eyebrow .status-dot,
.connecting-wait__topline .status-dot {
  box-shadow: 0 0 1rem rgba(103, 232, 249, 0.45);
}

.connecting-main {
  display: grid;
  flex: 1 0 auto;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(3rem, 9vh, 7rem);
}

.connecting-intro {
  max-width: 44rem;
  min-width: 0;
}

.connecting-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.connecting-title {
  max-width: 42rem;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.connecting-lead {
  max-width: 35rem;
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.connecting-status,
.connecting-error {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 0.85rem;
  background: rgba(16, 28, 43, 0.82);
  padding: 1.2rem 1.25rem;
}

.connecting-status[hidden],
.connecting-error[hidden],
.connecting-retry[hidden] {
  display: none;
}

.connecting-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.connecting-status__spinner {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  border: 2px solid rgba(165, 243, 252, 0.24);
  border-right-color: var(--color-accent-strong);
  border-radius: 50%;
  animation: connecting-spinner 850ms linear infinite;
}

.connecting-status__title {
  margin-bottom: 0.2rem;
  color: var(--color-text-bright);
  font-size: 0.95rem;
  font-weight: 650;
}

.connecting-status__detail {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.825rem;
  line-height: 1.6;
}

.connecting-error {
  align-items: center;
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(69, 46, 17, 0.34);
}

.connecting-error__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(252, 211, 77, 0.45);
  border-radius: 50%;
  color: #fde68a;
  font-size: 0.95rem;
  font-weight: 700;
}

.connecting-error__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.connecting-error__copy h3 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.connecting-error__copy p {
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 0.825rem;
  line-height: 1.6;
}

.connecting-retry {
  flex: 0 0 auto;
  min-height: 2.5rem;
  border-color: rgba(252, 211, 77, 0.42);
  color: #fde68a;
  cursor: pointer;
}

.connecting-retry:hover:not(:disabled) {
  background: rgba(252, 211, 77, 0.1);
}

.connecting-retry:disabled {
  cursor: wait;
  opacity: 0.7;
}

.connecting-return-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.5);
  text-underline-offset: 0.2em;
  text-align: left;
  cursor: pointer;
}

.connecting-return-link:hover {
  color: var(--color-text-bright);
}

.connecting-wait {
  min-width: 0;
}

.connecting-wait__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 27rem;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(165, 243, 252, 0.16);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(16, 28, 43, 0.96), rgba(10, 18, 30, 0.94));
  padding: clamp(1.4rem, 4vw, 2.25rem);
  box-shadow: 0 1.75rem 5rem -3rem rgba(0, 0, 0, 0.8);
}

.connecting-wait__panel::before {
  position: absolute;
  z-index: -1;
  top: -8rem;
  right: -7rem;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.connecting-wait__topline,
.connecting-wait__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.connecting-wait__topline .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.connecting-wait__label {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.connecting-wait__feature {
  display: grid;
  gap: 1.5rem;
  margin-block: 2rem;
}

.connecting-wait__visual {
  position: relative;
  display: grid;
  width: 8rem;
  height: 8rem;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1), rgba(8, 12, 20, 0.14) 68%);
}

.connecting-wait__visual img {
  z-index: 1;
  width: 2.6rem;
  height: 2.6rem;
  filter: drop-shadow(0 0 1.3rem rgba(103, 232, 249, 0.35));
}

.connecting-wait__orbit {
  position: absolute;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 50%;
}

.connecting-wait__orbit--outer {
  inset: 0.8rem;
}

.connecting-wait__orbit--inner {
  inset: 1.65rem;
  border-color: rgba(103, 232, 249, 0.24);
}

.connecting-wait__feature h3 {
  max-width: 23rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.connecting-wait__feature p {
  max-width: 27rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.connecting-wait__footer {
  justify-content: flex-start;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.connecting-wait__footer-mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 0.45rem;
  color: var(--color-accent);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.connecting-wait__footer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

@keyframes connecting-spinner {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 64rem) {
  .connecting-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(23rem, 0.85fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

@media (min-width: 80rem) {
  .connecting-wait__panel {
    min-height: 31rem;
  }

  .connecting-wait__feature {
    justify-items: start;
  }
}

@media (max-width: 35rem) {
  .connecting-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .connecting-header__note {
    padding-left: 0.1rem;
  }

  .connecting-main {
    gap: 2rem;
    padding-block: 2.5rem 3rem;
  }

  .connecting-status,
  .connecting-error {
    padding: 1rem;
  }

  .connecting-error {
    flex-wrap: wrap;
  }

  .connecting-error__copy {
    flex-basis: calc(100% - 3rem);
  }

  .connecting-retry {
    width: 100%;
  }

  .connecting-wait__panel {
    min-height: 25rem;
    padding: 1.35rem;
  }

  .connecting-wait__topline {
    align-items: flex-start;
  }

  .connecting-wait__label {
    max-width: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connecting-status__spinner {
    animation: none;
  }
}
