/* ============================================================
   PORTALIA — Landing Page Stylesheet
   Design system: parchment tones, brass accents, editorial type
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --paper:        #f5f2ea;
  --paper-2:      #efeae0;
  --surface:      #fdfcf7;
  --surface-2:    #faf7f0;
  --ink:          #23201a;
  --ink-2:        #564f44;
  --ink-3:        #8c8475;
  --ink-4:        #b4ab99;
  --line:         #e6e0d3;
  --line-2:       #d6cebd;
  --brass:        #9c7c41;
  --brass-deep:   #836636;
  --brass-tint:   #efe6d2;
  --brass-tint-2: #e7dabf;
  --sage:         #5e7757;
  --sage-tint:    #e4ebdf;
  --clay:         #a96440;
  --serif:        'Newsreader', Georgia, serif;
  --sans:         'Mulish', system-ui, sans-serif;
  --mono:         'IBM Plex Mono', ui-monospace, monospace;

  --shadow-sm: 0 1px 3px rgba(35,32,26,0.08), 0 1px 2px rgba(35,32,26,0.04);
  --shadow-md: 0 4px 16px rgba(35,32,26,0.10), 0 2px 6px rgba(35,32,26,0.06);
  --shadow-lg: 0 12px 40px rgba(35,32,26,0.12), 0 4px 16px rgba(35,32,26,0.08);
  --shadow-brass: 0 24px 64px -20px rgba(156,124,65,0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.15s ease;
  --transition-med: 0.3s ease;

  --content-max: 1160px;
  --nav-h: 72px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  line-height: 1.18;
  font-feature-settings: "liga" 1, "kern" 1;
  font-weight: 500;
}

.section-h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-h2--light { color: #fff; }

.section-sub {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 580px;
}

.section-sub--light { color: var(--ink-3); max-width: 580px; }

.italic { font-style: italic; font-family: var(--serif); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.text-center { text-align: center; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-header .section-h2 { margin-bottom: 16px; }

.section-header--light {
  text-align: center;
}

@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .section-header { margin-bottom: 64px; }
}

@media (min-width: 1160px) {
  .section { padding: 120px 0; }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--brass {
  background: var(--brass);
  color: #fff;
  border: 1.5px solid var(--brass);
}

.btn--brass:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  box-shadow: 0 4px 16px rgba(156,124,65,0.28);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
  transform: translateY(-1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
}

.btn--ink:hover {
  background: #3a342b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--sm { font-size: 14px; padding: 9px 18px; }
.btn--lg { font-size: 16px; padding: 14px 28px; }
.btn--xl { font-size: 17px; padding: 16px 36px; }
.btn--full { width: 100%; }

/* ---- LOGO ---- */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-arch {
  display: block;
  width: 18px;
  height: 22px;
  border: 2px solid var(--ink);
  border-bottom: none;
  border-radius: 11px 11px 0 0;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--ink);
  text-transform: uppercase;
  padding-left: 2px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition-med), box-shadow var(--transition-med),
              border-color var(--transition-med);
  border-bottom: 1px solid transparent;
}

.nav.scrolled,
.nav--solid {
  background: rgba(245,242,234,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(35,32,26,0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav__links {
  display: none; /* shown via media queries below */
  flex: 1;
  justify-content: center;
  gap: 6px;
}

.nav__link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink);
  background: var(--paper-2);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--transition);
  letter-spacing: 0.06em;
}

.lang-toggle:hover { color: var(--ink); }

.lang-toggle__option {
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
}

.lang-toggle__option.active {
  color: var(--brass);
  background: var(--brass-tint);
}

.lang-toggle__sep { color: var(--line-2); }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  margin-left: auto;
  margin-right: 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 899px) {
  .nav__links {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--transition-med), transform var(--transition-med),
                visibility var(--transition-med);
  }

  .nav__links.mobile-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav__link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav__actions .btn--brass { display: none; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero__h1 {
  font-size: clamp(44px, 6vw, 72px);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}

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

/* CSS Phone Mockup */
.hero__visual {
  display: none;
  justify-content: center;
  align-items: center;
}

/* Real iPhone screenshot */
.hero__phone-shot {
  width: 300px;
  height: auto;
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(35,32,26,0.07),
    0 32px 80px -16px rgba(35,32,26,0.35),
    0 8px 28px -4px rgba(35,32,26,0.14);
  display: block;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .hero__visual { display: flex; }
}

@media (min-width: 1160px) {
  .hero__inner { gap: 80px; }
  .hero__phone-shot { width: 340px; }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .trust-bar__inner { gap: 8px 48px; flex-wrap: nowrap; justify-content: space-between; }
}

/* ---- PAIN SECTION ---- */
.pain {
  background: var(--ink);
}

.pain .section-header { text-align: center; }
.pain .section-sub { margin: 0 auto; }

.pain-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid #2e2820;
  border-radius: var(--radius-md);
  padding: 28px 28px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.pain-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--brass);
}

.pain-card__icon svg {
  width: 40px;
  height: 40px;
}

.pain-card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.pain-card__body {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .pain-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .pain-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---- ARIANE INTRO ---- */
.ariane {
  background: var(--paper);
  text-align: center;
}

.ariane__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}

.ariane-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(156,124,65,0.28);
}

.ariane__inner .section-h2 { margin-bottom: 12px; }
.ariane__inner .section-sub { margin-bottom: 24px; font-style: italic; }

.ariane-body {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 620px;
  text-align: center;
}

/* ---- BENEFITS GRID ---- */
.benefits {
  background: var(--paper-2);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 28px 32px;
  transition: transform var(--transition-med), box-shadow var(--transition-med),
              border-color var(--transition-med);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-tint-2);
}

.benefit-card__icon {
  width: 40px;
  height: 40px;
  color: var(--brass);
  margin-bottom: 18px;
  padding: 8px;
  background: var(--brass-tint);
  border-radius: var(--radius-sm);
}

.benefit-card__icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.benefit-card__body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---- HOW IT WORKS ---- */
.how {
  background: var(--paper);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
}

.step-connector {
  width: 1px;
  height: 32px;
  background: var(--line-2);
  margin-left: 36px;
}

.step__number {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 88px);
  font-weight: 300;
  color: var(--brass-tint);
  line-height: 1;
  min-width: 72px;
  letter-spacing: -0.04em;
  user-select: none;
}

.step__content {
  padding-top: 8px;
  flex: 1;
}

.step__label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}

.step__body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 560px;
}

@media (min-width: 900px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    flex-direction: column;
    flex: 1;
    padding: 0 32px;
    border-right: 1px solid var(--line);
    gap: 16px;
  }

  .step:last-child { border-right: none; }
  .step:first-child { padding-left: 0; }

  .step-connector { display: none; }

  .step__number { font-size: clamp(72px, 7vw, 96px); }
}

/* ---- MODULES ---- */
.modules {
  background: var(--paper-2);
}

.modules-section { }

.modules-group-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
  margin-top: 40px;
}

.modules-group-label:first-child { margin-top: 0; }

.modules-group-label--soon {
  color: var(--clay);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.module-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.module-card--soon {
  opacity: 0.72;
}

.module-card__header {
  margin-bottom: 10px;
}

.module-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.module-badge--included {
  background: var(--sage-tint);
  color: var(--sage);
}

.module-badge--soon {
  background: var(--brass-tint);
  color: var(--brass);
}

.module-card__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.module-card__desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 900px) {
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: var(--ink);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-md);
  padding: 32px 32px 28px;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--brass);
}

.testimonial-role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- PRICING ---- */
.pricing {
  background: var(--paper);
  text-align: center;
}

.pricing .container {
  max-width: 1240px;
}

.pricing .section-header .section-sub { margin: 0 auto; }

.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  overflow: visible;
  padding: 12px 4px 14px;
}

.pricing-card {
  position: relative;
  width: 100%;
  min-width: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  padding: 28px 24px 28px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--brass-tint-2);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px rgba(156, 124, 65, 0.16), 0 18px 48px -24px rgba(156, 124, 65, 0.38), var(--shadow-md);
  background:
    linear-gradient(180deg, rgba(156, 124, 65, 0.06) 0%, rgba(253, 252, 247, 0) 38%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.pricing-card__header {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.pricing-plan-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 14px;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.pricing-amount {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-period {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.pricing-annual {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.35;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.pricing-card--featured .feature-check {
  color: var(--brass);
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}

.feature-check {
  width: 17px;
  height: 17px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.pricing-note {
  font-size: 13px;
  color: var(--ink-3);
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 2px auto 0;
  text-align: center;
  font-style: italic;
}

@media (min-width: 900px) {
  .pricing-card--featured:hover {
    transform: translateY(-3px);
  }

  .pricing-amount {
    font-size: 50px;
  }
}

@media (max-width: 899px) {
  .pricing-wrapper {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    gap: 18px;
    overflow-x: visible;
    margin: 0;
    padding: 4px 0 16px;
  }

  .pricing-card {
    min-width: 0;
    padding: 30px 22px 28px;
  }
}

@media (max-width: 520px) {
  .pricing {
    text-align: left;
  }

  .pricing .section-header,
  .pricing .section-header .section-sub {
    text-align: left;
    margin-left: 0;
  }

  .pricing-note {
    text-align: left;
  }
}

/* ---- SCARCITY ---- */
.scarcity {
  background: var(--brass-tint);
  border-top: 2px solid var(--brass-tint-2);
  border-bottom: 2px solid var(--brass-tint-2);
}

.scarcity__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.scarcity__accent {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: var(--brass);
  opacity: 0.35;
  pointer-events: none;
}

.scarcity__h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.scarcity__body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FAQ ---- */
.faq {
  background: var(--paper-2);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

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

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--transition), color var(--transition);
}

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

.faq-summary:hover {
  background: var(--paper);
  color: var(--brass);
}

.faq-item[open] .faq-summary {
  background: var(--paper);
  color: var(--brass);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-med);
  color: var(--ink-3);
}

.faq-chevron svg { width: 20px; height: 20px; }

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--brass);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faq-open 0.25s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---- FOOTER CTA ---- */
.footer-cta {
  background: var(--ink);
  text-align: center;
}

.footer-cta__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-cta__h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.footer-cta__sub {
  font-size: 17px;
  color: var(--ink-3);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 480px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer__logo .logo-wordmark { color: rgba(255,255,255,0.85); }
.footer__logo .logo-arch { border-color: var(--brass); }

.footer__tagline {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 240px;
}

.footer__col-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: var(--ink-3);
  transition: color var(--transition);
  text-decoration: none;
}

.footer__link:hover { color: var(--paper); }
.footer__link--text { cursor: default; }
.footer__link--text:hover { color: var(--ink-3); }

.footer__col--legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 10px;
}

.footer__legal-links {
  display: flex;
  gap: 16px;
}

.footer__legal-links .footer__link {
  font-size: 13px;
}

@media (min-width: 640px) {
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__col--legal { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .footer__col--legal {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    text-align: right;
  }
  .footer__col--legal .footer__legal-links { justify-content: flex-end; }
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- SELECTION COLOR ---- */
::selection {
  background: var(--brass-tint-2);
  color: var(--ink);
}

/* ---- SCROLLBAR (WebKit) ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

/* ---- SMOOTH SECTION TRANSITIONS ---- */
/* Hero elements get staggered reveal on page load via JS;
   pre-apply a small initial delay so they don't flash invisible */
.hero .reveal { transition-delay: 0s; }
.hero .hero__h1.reveal  { transition-delay: 0.05s; }
.hero .hero__sub.reveal { transition-delay: 0.15s; }
.hero .hero__ctas.reveal { transition-delay: 0.25s; }

/* ---- SECTION DIVIDERS ---- */
.pain   { position: relative; }
.ariane { position: relative; }

/* Subtle top arc on dark sections */
.pain::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  opacity: 0.18;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.testimonials::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  opacity: 0.18;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.testimonials { position: relative; }
.footer-cta   { position: relative; }
.footer-cta::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  opacity: 0.18;
  position: absolute;
  top: 0; left: 0; right: 0;
}

/* ---- ARIANE AVATAR SUBTLE RING ---- */
.ariane-avatar {
  position: relative;
}
.ariane-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  opacity: 0.25;
}

/* ---- MODULE CARD NAME STYLE ---- */
.module-card__name {
  letter-spacing: -0.01em;
}

/* ---- STEP NUMBER GRADIENT ---- */
.step__number {
  background: linear-gradient(180deg, var(--brass-tint-2) 0%, var(--line) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- TESTIMONIALS SECTION HEADER ---- */
.testimonials .section-header {
  margin-bottom: 48px;
}

/* ---- FOOTER BOTTOM SPACING ---- */
.footer { padding-bottom: 56px; }

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