:root {
  --bg: #f4f6f8;
  --bg-soft: #edf1f5;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --paper-tint: #f8fbff;
  --line: #d8e0e8;
  --line-strong: #c3ced9;
  --text: #0f1728;
  --text-soft: #526071;
  --text-faint: #7b8798;
  --accent: #1f6feb;
  --accent-strong: #174db3;
  --accent-soft: #e8f1ff;
  --accent-soft-strong: #d9e8ff;
  --teal: #0f766e;
  --gold: #8b6a2b;
  --danger: #b45309;
  --shadow-sm: 0 10px 24px rgba(15, 23, 40, 0.05);
  --shadow-lg: 0 22px 56px rgba(15, 23, 40, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --tracking-heading: -0.028em;
  --tracking-heading-tight: -0.035em;
  --tracking-brand: -0.028em;
  --tracking-kicker: clamp(0.08em, 0.2vw, 0.12em);
  --lh-body: 1.62;
  --lh-heading-lg: 1.02;
  --lh-heading-md: 1.08;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fafbfd 0%, var(--bg) 48%, #eef2f6 100%);
  font-family: "DM Sans", sans-serif;
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 6%, rgba(31, 111, 235, 0.08), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(15, 118, 110, 0.06), transparent 22%);
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 40, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 40, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -4;
  animation: drift 20s ease-in-out infinite alternate;
}

.ambient-one {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  top: 10rem;
  background: rgba(31, 111, 235, 0.09);
}

.ambient-two {
  width: 16rem;
  height: 16rem;
  right: -4rem;
  top: 20rem;
  background: rgba(15, 118, 110, 0.08);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 92px;
}

.section-contrast {
  position: relative;
  isolation: isolate;
}

.section-contrast::before {
  content: "";
  position: absolute;
  inset: 1rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
  border-top: 1px solid rgba(15, 23, 40, 0.04);
  border-bottom: 1px solid rgba(15, 23, 40, 0.04);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(250, 251, 253, 0.82);
  border-bottom: 1px solid rgba(15, 23, 40, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 8px rgba(31, 111, 235, 0.08);
}

.brand-word {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: var(--tracking-brand);
  line-height: 1.12;
}

h1,
h2,
h3 {
  font-family: "DM Sans", sans-serif;
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.nav-cta {
  text-decoration: none;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding-top: 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.hero-copy {
  min-width: 0;
  max-width: 40rem;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.eyebrow,
.signal-pill,
.section-kicker,
.persona-tag,
.micro-label,
.resource-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.resource-label {
  color: var(--accent-strong);
}

.signal-pill {
  color: var(--gold);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 106, 43, 0.16);
  background: rgba(139, 106, 43, 0.08);
}

h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: var(--lh-heading-lg);
  letter-spacing: var(--tracking-heading-tight);
  max-width: 11ch;
}

h2 {
  margin: 0.45rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: var(--lh-heading-md);
  max-width: 14ch;
}

h3 {
  line-height: 1.24;
}

.hero-text,
.section-copy,
.feature-card p,
.persona-card p,
.flow-card p,
.compare-card p,
.compare-list,
.faq-item p,
.result-card p,
.quote-copy,
.footer-copy {
  color: var(--text-soft);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ui-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
  background: var(--accent-strong);
}

.ghost-btn {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.ghost-btn:hover {
  border-color: var(--line-strong);
  background: var(--paper-solid);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.trust-row li {
  position: relative;
  padding-left: 1rem;
}

.trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.stat-card,
.feature-card,
.persona-card,
.flow-card,
.compare-card,
.result-card,
.quote-card,
.cta-panel,
.panel-window,
.resource-card,
.content-card,
.aside-card,
.detail-card,
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.stat-card,
.feature-card,
.persona-card,
.flow-card,
.result-card,
.quote-card,
.content-card,
.aside-card,
.detail-card {
  padding: 1.45rem;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-panel {
  position: relative;
}

.panel-window {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.94));
}

.window-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.window-top p {
  margin: 0 0 0 0.45rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-dot.coral {
  background: #f59e0b;
}

.window-dot.gold {
  background: #fbbf24;
}

.window-dot.mint {
  background: #34d399;
}

.panel-body {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.practice-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.practice-chip {
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.code-card {
  margin: 0;
  padding: 1.15rem;
  border-radius: 20px;
  background: #0f1728;
  border: 1px solid rgba(148, 163, 184, 0.16);
  overflow-x: auto;
  color: #e6eef8;
  font-size: 0.94rem;
  line-height: 1.62;
}

.token-accent {
  color: #8fd4ff;
}

.feedback-stack {
  display: grid;
  gap: 0.8rem;
}

.micro-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid var(--line);
}

.micro-label {
  color: var(--accent);
}

.micro-card p {
  margin: 0.65rem 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.run-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.88rem 1.1rem;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  justify-self: start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.run-btn:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.run-btn:disabled {
  cursor: wait;
  opacity: 0.8;
}

.run-output {
  margin: 0;
  min-height: 2.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.market-strip {
  padding: 0 0 0.8rem;
}

.logo-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 40, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.logo-pill {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  background: transparent;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.section-copy {
  max-width: 60ch;
  line-height: 1.66;
}

.feature-grid,
.audience-grid,
.flow-grid,
.results-grid,
.resource-grid,
.page-hero-grid,
.content-grid,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-icon,
.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.feature-card h3,
.persona-card h3,
.flow-card h3,
.compare-card h2,
.result-card h2,
.quote-card h2 {
  margin: 1rem 0 0.7rem;
}

.feature-card p,
.persona-card p,
.flow-card p,
.result-card p,
.quote-card p {
  margin: 0;
  line-height: 1.65;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.persona-tag {
  color: var(--teal);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compare-card {
  padding: 1.6rem;
}

.compare-card h2 {
  max-width: 13ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.compare-list li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.compare-list.negative li::before {
  background: var(--danger);
}

.positive {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.95), rgba(255, 255, 255, 0.9));
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-start;
}

.language-pill {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--text-soft);
  padding: 0.88rem 1rem;
  min-width: 9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.language-pill:hover,
.language-pill.active {
  border-color: var(--accent-soft-strong);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.language-output {
  margin: 1rem 0 0;
  color: var(--accent-strong);
  font-size: 1rem;
}

.results-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.quote-card {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.quote-mark {
  display: none;
}

.quote-copy {
  margin: 0.2rem 0 1rem;
  font-size: 1.05rem;
}

.quote-role {
  margin: 0;
  color: var(--text-faint);
}

.compact-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
}

.compact-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-soft);
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1rem 1.15rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.85rem 0 0;
  line-height: 1.65;
}

.faq-item[open] {
  border-color: var(--accent-soft-strong);
  box-shadow: var(--shadow-sm);
}

.cta-band {
  padding-top: 2.4rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.cta-panel h2 {
  max-width: 13ch;
}

.cta-panel p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.66;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer {
  padding: 1.6rem 0 2.6rem;
  border-top: 1px solid rgba(15, 23, 40, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 23, 40, 0.08);
}

.footer-copy {
  margin: 0.45rem 0 0;
}

.footer-note {
  margin: 0.65rem 0 0;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.footer-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--text);
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 14.5rem;
  padding: 1.45rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft-strong);
  box-shadow: 0 18px 42px rgba(15, 23, 40, 0.09);
}

.resource-card h3 {
  margin: 0;
}

.resource-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.resource-arrow {
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 700;
}

.secondary-page .page-hero {
  padding-top: 2.8rem;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: start;
}

.page-title {
  max-width: 12ch;
}

.page-meta {
  margin: 0.9rem 0 0;
  color: var(--text-faint);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.content-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: start;
}

.content-main,
.aside-stack {
  display: grid;
  gap: 1rem;
}

.content-card h2,
.aside-card h2,
.content-card h3,
.aside-card h3,
.detail-card h3 {
  max-width: 100%;
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.45rem;
}

.aside-card {
  align-self: start;
  height: fit-content;
}

.content-card p,
.aside-card p,
.content-card li,
.aside-card li,
.detail-card p {
  color: var(--text-soft);
  line-height: 1.65;
}

.page-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
}

.page-list li + li {
  margin-top: 0.55rem;
}

.page-note {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-soft-strong);
  background: var(--accent-soft);
  color: var(--text-soft);
  line-height: 1.65;
}

.inline-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.inline-link:hover {
  color: var(--accent);
}

.hero-text,
.section-copy,
.content-card p,
.aside-card p,
.detail-card p,
.content-card li,
.aside-card li,
.detail-card li,
.faq-item p,
.footer-copy,
.footer-note,
.legal-content p,
.legal-content li {
  overflow-wrap: anywhere;
}

.section p,
.section li,
.section a {
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient {
    animation: none;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -8px, 0) scale(1.03);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .comparison-grid,
  .audience-grid,
  .page-hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  body::before,
  body::after {
    content: none;
  }

  .section {
    padding: 4.25rem 0;
  }

  .ambient,
  .grid-overlay {
    display: none;
  }

  .site-header,
  .stat-card,
  .feature-card,
  .persona-card,
  .flow-card,
  .compare-card,
  .result-card,
  .quote-card,
  .cta-panel,
  .panel-window,
  .resource-card,
  .content-card,
  .aside-card,
  .detail-card,
  .faq-item {
    backdrop-filter: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-shell {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 40, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-shell.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    display: block;
  }

  .nav-cta {
    text-align: center;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(1.72rem, 7.8vw, 2.25rem);
    line-height: 1.14;
    letter-spacing: -0.018em;
  }

  h3 {
    line-height: 1.3;
  }

  .brand-word {
    letter-spacing: -0.018em;
  }

  .eyebrow,
  .signal-pill,
  .section-kicker,
  .persona-tag,
  .micro-label,
  .resource-label {
    font-size: 0.7rem;
    letter-spacing: 0.095em;
  }

  .hero-text,
  .section-copy,
  .cta-panel p,
  .content-card p,
  .aside-card p,
  .content-card li,
  .aside-card li,
  .detail-card p {
    line-height: 1.6;
  }

  .stat-grid,
  .feature-grid,
  .resource-grid,
  .flow-grid,
  .detail-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    display: grid;
    gap: 0.75rem;
  }

  .logo-line {
    border-radius: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 0.62rem;
  }

  .brand-word {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .hero-text,
  .section-copy,
  .quote-copy,
  .footer-copy,
  .footer-note {
    line-height: 1.56;
  }

  .logo-pill,
  .language-pill,
  .nav-links a {
    letter-spacing: 0.01em;
  }

  .language-pill {
    width: 100%;
    min-width: 0;
  }
}
