/* Activation-code journey: links to Instagram, the code field at sign-up and the
   activation screen. Loaded after typography.css on every public page. */

/* Links inside short helper lines keep the brand colour and a clear underline. */
.hero-reassurance a,
.price-payment a,
.how-card p a,
.faq-list details p a,
.auth-code-hint a,
.auth-code-help a,
.auth-trial-note small a {
  color: var(--brand);
  font-weight: var(--font-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-reassurance { max-width: 46ch; }

/* Closing band: main button with the Instagram route beside it. */
.final-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; flex-shrink: 0; }
.final-cta-actions .public-button { margin: 0; text-align: center; justify-content: center; }
.final-cta .final-cta-link {
  align-self: center;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.final-cta .final-cta-link:hover { text-decoration-thickness: 2px; }
.final-cta .final-cta-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }

.footer-social {
  display: inline-block;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-social:hover { color: var(--brand); }

/* Demo video slot (hidden inside a <template> until a video exists). */
.demo-video-player {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: #14213A;
}

/* Sign-up: activation code. */
.auth-code-field { margin-top: 2px; }
.auth-code-field[hidden] { display: none; }
.auth-code-field input { text-transform: uppercase; letter-spacing: .04em; }
.auth-code-field input::placeholder { text-transform: none; letter-spacing: 0; }
.auth-code-hint { margin: 8px 0 0; color: var(--secondary); font-size: var(--text-xs); line-height: 1.6; }

/* Activation screen. */
.auth-access .auth-promo { margin-top: 20px; }
.auth-access .auth-promo input::placeholder { text-transform: none; font-weight: var(--font-regular); }
.auth-code-help { margin: 16px 0 0; color: var(--secondary); font-size: var(--text-sm); line-height: 1.6; }
.auth-plan-summary {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.auth-plan-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.auth-plan-summary-head strong { font-size: var(--text-base); font-weight: var(--font-semibold); }
.auth-plan-summary-head span { color: var(--secondary); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.auth-plan-summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.auth-plan-summary li { padding-left: 22px; background: url('/icons/check.svg') left 3px / 15px 15px no-repeat; }
.auth-access-note { margin: 16px 0 0; color: var(--secondary); font-size: var(--text-xs); line-height: 1.6; }
.auth-access .auth-legal-links { margin-top: 12px; }

@media (max-width: 767px) {
  .final-cta-actions { width: 100%; }
  .auth-plan-summary ul { grid-template-columns: 1fr; }
}

/* The status line under "Active ton accès" is guidance, not an alert. */
.auth-access > #accessStatus { color: var(--secondary); font-weight: var(--font-regular); }
.auth-code-field { margin-bottom: 18px; }

/* Section headlines on the public pages: large enough to be read while scrolling. */
.public-page :is(.section-head, .studio-cnc-copy, .feature-copy) h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: var(--font-bold);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.public-page .final-cta h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; }
.public-page .section-head > p { font-size: var(--text-base); max-width: 56ch; }
