/* ==========================================================================
   PassPartoo — Feuille de style unifiée (Pages SEO, FAQ & Pages Légales)
   Modèle strict aligné sur la DA éditoriale de la landing page principale.
   ========================================================================== */

:root {
  --primary: #9e003f;
  --primary-hover: #7d0032;
  --primary-soft: #fae8ef;
  --on-primary-soft: #75002e;
  --success: #047857;
  --success-soft: #ecfdf5;

  --background: #faf8f5;
  --surface-muted: #f2eee9;
  --surface: #ffffff;

  --ink: #18181b;
  --ink-muted: #44444d;

  --border-subtle: rgba(24, 24, 27, 0.12);
  --border-strong: rgba(24, 24, 27, 0.28);

  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Menlo, monospace;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-card: 0 2px 10px rgba(24, 24, 27, 0.05);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  background-color: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--background);
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  min-height: 100vh;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px var(--primary);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 99999;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
}

/* ==========================================================================
   Header Fixe Unifié (identique à FloatingDock)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  --nav-scroll-progress: 0;
  background-color: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 24, 27, calc(0.12 * var(--nav-scroll-progress)));
  transition:
    border-color 0.16s var(--ease-out),
    background-color 0.2s var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(250, 248, 245, 0.96);
}

.nav-content {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-full {
  height: 28px;
  width: 134px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.16s var(--ease-out);
}

.nav-link.is-current {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--ink);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-login-label-mobile {
  display: none;
}

.nav-login-label-desktop {
  display: inline;
}

/* ==========================================================================
   Boutons Unifiés (Créer mon compte identique partout)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.25;
  transition:
    background-color 0.16s var(--ease-out),
    border-color 0.16s var(--ease-out),
    color 0.16s var(--ease-out),
    transform 0.14s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover svg {
    transform: translateX(3px);
  }
}

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

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--primary-hover);
  }
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background-color: var(--surface-muted);
    border-color: var(--ink);
  }
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background-color: var(--primary-soft);
    color: var(--primary);
  }
}

.btn-sm {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .site-header,
  .nav-content {
    height: 60px;
  }

  .brand-logo-full {
    height: 22px;
    width: 104px;
  }

  .nav-login-label-desktop {
    display: none;
  }

  .nav-login-label-mobile {
    display: inline;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-cta-btn {
    padding: 0.45rem 0.72rem;
    font-size: 0.8125rem;
  }

  .nav-login-btn {
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .nav-content {
    gap: 0.4rem;
  }

  .brand-logo-full {
    height: 20px;
    width: 86px;
  }

  .nav-actions {
    gap: 0.25rem;
  }

  .nav-login-btn {
    padding: 0.4rem 0.45rem;
    font-size: 0.75rem;
  }

  .nav-cta-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Sections, Typographie & Grilles 7 / 5 (alignées à gauche)
   ========================================================================== */
.section-band {
  padding: 4.5rem 0;
  background-color: var(--background);
}

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

@media (max-width: 959px) {
  .section-band {
    padding: 3.75rem 0;
  }
}

.hero-section {
  background-color: var(--background);
  padding: 5.5rem 0 3.25rem;
}

@media (max-width: 640px) {
  .hero-section {
    padding: 5.25rem 0 3rem;
  }
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .split-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 1.5rem;
    align-items: start;
  }

  .split-layout > :first-child {
    grid-column: 1 / span 7;
  }

  .split-layout > :last-child {
    grid-column: 8 / span 5;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.15rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.9vw, 3.25rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 590px;
  text-align: left;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
  text-align: left;
}

.hero-highlight {
  background-color: var(--primary-soft);
  color: var(--on-primary-soft);
  font-weight: 600;
  padding: 0.06em 0.34em;
  border-radius: 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding-top: 0.15rem;
}

.hero-meta-line {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.hero-mockup-img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (min-width: 960px) {
  .hero-mockup-img {
    max-width: 100%;
  }
}

.mockup-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mockup-img {
  display: block;
  width: 100%;
  max-width: 268px;
  height: auto;
}

@media (min-width: 960px) {
  .mockup-img {
    max-width: 350px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.h2-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.85rem;
  max-width: 28ch;
}

.h3-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 60ch;
}

.section-header {
  margin-bottom: 2.25rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .inline-link:hover {
    color: var(--primary-hover);
  }

  .inline-link:hover svg {
    transform: translateX(3px);
  }
}

/* Liste de temps terrain */
.moments-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.25rem 0 1rem;
}

.moment-row {
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.95rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.moment-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.moment-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.moment-body {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* Grille 3 outils réels avec mockups */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .tool-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }

  .tool-row > :first-child {
    grid-column: 1 / span 7;
  }

  .tool-row > :last-child {
    grid-column: 8 / span 5;
  }
}

.tool-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.feature-speed-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 54ch;
  margin-top: 0.35rem;
  border-top: 1px solid var(--border-subtle);
}

.feature-point-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Accordéon FAQ
   ========================================================================== */
.faq-list {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-row {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-row:last-child {
  border-bottom: none;
}

.faq-trigger-btn {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .faq-trigger-btn:hover {
    color: var(--primary);
  }
}

.faq-question-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-chevron {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.faq-row.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s var(--ease-out);
}

.faq-row.is-open .faq-collapse {
  grid-template-rows: 1fr;
}

.faq-collapse-inner {
  overflow: hidden;
}

.faq-answer-text {
  padding-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ==========================================================================
   Formulaire d'inscription Beta Direct (#contact-beta)
   ========================================================================== */
.beta-single-col {
  max-width: 100%;
}

.beta-register-card {
  width: 100%;
  background-color: transparent;
  border-radius: 0;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--border-subtle);
  box-shadow: none;
  margin-top: 1.35rem;
}

.beta-register-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.beta-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.beta-register-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.beta-register-input-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 680px;
}

@media (min-width: 600px) {
  .beta-register-input-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.beta-register-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.beta-register-input-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--ink-muted);
  pointer-events: none;
  transition: color 0.16s ease;
}

.beta-register-input-wrap:focus-within .beta-register-input-icon {
  color: var(--primary);
}

.craft-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background-color: var(--surface-muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.craft-input::placeholder {
  color: var(--ink-muted);
  opacity: 0.9;
}

.craft-input:focus {
  background-color: var(--surface);
  border-color: var(--primary);
}

.craft-input.is-invalid {
  background-color: var(--primary-soft);
  border-color: var(--primary);
}

.beta-register-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
}

.beta-register-hint {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.beta-register-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.beta-register-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--success-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Pages Légales (.legal-doc)
   ========================================================================== */
.legal-hero {
  padding: 6.5rem 0 2.5rem;
  background-color: var(--background);
}

.legal-hero .h2-title {
  font-size: clamp(2.05rem, 3.9vw, 3.25rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.028em;
}

.legal-doc {
  padding: 0 0 4.5rem;
  background-color: var(--background);
}

.legal-article {
  max-width: 78ch;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-section {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .legal-section {
    padding: 1.25rem 1.25rem;
  }
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.35rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.legal-section ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-section a {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   Footer Éditorial Élégant (3 colonnes synchronisées)
   ========================================================================== */
.footer {
  background-color: var(--surface-muted);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.15fr 1.65fr 0.85fr;
    gap: 2.5rem;
  }

  .footer-grid > div:nth-child(2) .footer-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 0.2rem;
  }
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-mini-logo {
  height: 28px;
  width: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  max-width: 38ch;
  line-height: 1.6;
}

.footer-col-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.16s var(--ease-out);
}

@media (min-width: 960px) {
  .footer-links-list a {
    min-height: 32px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-links-list a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* GEO Direct Answer Box & Comparison Table */
.geo-summary-box {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.55;
}

.geo-summary-box strong {
  color: var(--ink);
  font-weight: 600;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

@media (max-width: 640px) {
  .comparison-table {
    font-size: 0.84rem;
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.65rem 0.6rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .comparison-table th {
    font-size: 0.86rem;
  }
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--surface-muted);
  color: var(--ink);
}

.comparison-table th.is-passpartoo {
  background: var(--primary-soft);
  color: var(--on-primary-soft);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.is-passpartoo {
  font-weight: 500;
  color: var(--ink);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.profile-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.profile-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }
}

/* Editorial typography balance & wrap polish */
.hero-title,
.h2-title,
.h3-title,
.moment-title {
  text-wrap: balance;
}

.hero-subtitle,
.hero-meta-line,
.section-desc,
.moment-body,
.feature-point-item,
.profile-card p,
.faq-answer-text {
  text-wrap: pretty;
}

/* Breadcrumb navigation (semantic replacement for eyebrow chips) */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.breadcrumb-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb-nav a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.breadcrumb-sep {
  color: var(--border-strong);
  user-select: none;
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 600;
}

/* Clean GEO Direct-Answer Card (full border, readable measure <= 66ch) */
.geo-answer-box {
  margin-top: 0.5rem;
  padding: 1.15rem 1.35rem;
  max-width: 64ch;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.6;
  text-wrap: pretty;
}

.geo-answer-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-primary-soft);
  background: var(--primary-soft);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-right: 0.45rem;
  vertical-align: baseline;
}

/* Padded editorial card wrappers for clean inner breathing room */
.faq-list.is-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.35rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.comparison-table-wrap.is-padded {
  padding: 0.35rem;
}

/* Keep prose links flowing smoothly inside multi-line paragraphs */
.geo-answer-box .inline-link,
.geo-summary-box .inline-link,
.profile-card .inline-link,
.section-desc .inline-link {
  display: inline;
  min-height: 0;
}

/* Portrait phone hero mockup proportions: clean above-the-fold framing on desktop & mobile */
.hero-mockup-img.is-portrait {
  max-width: 240px;
}

@media (min-width: 960px) {
  .hero-mockup-img.is-portrait {
    max-width: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
