/* ==========================================================================
   CIAS launch update - 10 September 2026
   Scoped helpers for /privacy/, /work/cias-website/, /apps/propfolio/
   and their pt-BR counterparts.

   Every new selector is prefixed `launch-`. Existing global styles
   (.wrap, .section, .page-hero, .notice, .btn, .purple, .ghost, .sr-only)
   are reused as-is and are deliberately NOT redefined in this file.
   ========================================================================== */

/* Tokens are scoped to the fragment root so nothing leaks into the site. */
.launch-main {
  --launch-ink: #071526;
  --launch-purple: #533afd;
  --launch-cyan: #12b5cb;
  --launch-muted: #46586d;
  --launch-line: #e2e7f0;
  --launch-tint: #f6f8fd;
  --launch-radius: 14px;
}

/* --------------------------------------------------------------------------
   Text blocks - readable measure
   -------------------------------------------------------------------------- */

.launch-prose {
  max-width: 75ch;
}

.launch-prose > * + * {
  margin-top: 0.9rem;
}

.launch-lede {
  max-width: 68ch;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--launch-muted);
}

.launch-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--launch-purple);
}

.launch-updated {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--launch-muted);
}

.launch-fineprint {
  max-width: 75ch;
  font-size: 0.9rem;
  color: var(--launch-muted);
}

/* Bulleted list with a cyan marker. Marker is decorative only. */
.launch-list {
  max-width: 75ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-list > li {
  position: relative;
  margin-top: 0.5rem;
  padding-left: 1.15rem;
}

.launch-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--launch-cyan);
}

/* --------------------------------------------------------------------------
   Long-form document (privacy notice)
   -------------------------------------------------------------------------- */

.launch-doc__body > section {
  margin-top: 2.25rem;
  scroll-margin-top: 5rem;
}

.launch-doc__body > section:first-child {
  margin-top: 1.75rem;
}

.launch-doc__body h2 {
  margin-bottom: 0.45rem;
}

.launch-doc__body h3 {
  margin: 1.4rem 0 0.35rem;
  font-size: 1.02rem;
}

.launch-toc {
  max-width: 46rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--launch-line);
  border-radius: var(--launch-radius);
  background: var(--launch-tint);
}

.launch-toc h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.launch-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 1.75rem;
}

.launch-toc li {
  margin-bottom: 0.25rem;
  break-inside: avoid;
}

@media (max-width: 34rem) {
  .launch-toc ol {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.launch-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.launch-card {
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--launch-line);
  border-top: 3px solid var(--launch-cyan);
  border-radius: var(--launch-radius);
  background: #fff;
}

.launch-card--purple {
  border-top-color: var(--launch-purple);
}

.launch-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.launch-card p {
  margin: 0;
  color: var(--launch-muted);
}

.launch-card .launch-list {
  margin-top: 0.2rem;
  color: var(--launch-muted);
}

/* Definition list used for project metadata. */
.launch-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 0.94rem;
}

.launch-meta dt {
  color: var(--launch-muted);
}

.launch-meta dd {
  margin: 0;
}

/* Counts of automated checks. */
.launch-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.launch-stat {
  padding-left: 0.85rem;
  border-left: 3px solid var(--launch-purple);
}

.launch-stat__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--launch-ink);
}

.launch-stat__label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  color: var(--launch-muted);
}

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */

.launch-figure {
  margin: 0;
}

.launch-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--launch-line);
  border-radius: var(--launch-radius);
}

.launch-figure figcaption {
  max-width: 70ch;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--launch-muted);
}

/* Phone captures: 642 x 1389 source, capped so they never dominate. */
.launch-shot {
  margin: 0;
}

.launch-shot img {
  display: block;
  width: 100%;
  max-width: 16.5rem;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--launch-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(7, 21, 38, 0.1);
}

.launch-shot figcaption {
  max-width: 22rem;
  margin-inline: auto;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--launch-muted);
}

/* --------------------------------------------------------------------------
   Walkthrough steps (text beside a phone capture)
   -------------------------------------------------------------------------- */

.launch-steps {
  display: grid;
  gap: 2.5rem;
}

.launch-step {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.launch-step h3 {
  margin: 0 0 0.4rem;
}

.launch-step p {
  max-width: 60ch;
  margin: 0;
  color: var(--launch-muted);
}

@media (min-width: 48rem) {
  .launch-step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
    gap: 2.25rem;
  }

  .launch-step--flip {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  }

  .launch-step--flip .launch-step__media {
    grid-column: 1;
    grid-row: 1;
  }

  .launch-step--flip .launch-step__body {
    grid-column: 2;
    grid-row: 1;
  }
}

/* --------------------------------------------------------------------------
   App header and calls to action
   -------------------------------------------------------------------------- */

.launch-applead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.launch-applead h1 {
  margin: 0;
}

.launch-appicon {
  flex: none;
  width: 72px;
  height: 72px;
  border: 1px solid var(--launch-line);
  border-radius: 16px;
}

.launch-availability {
  max-width: 60ch;
}

.launch-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

/* Modifiers layered on the global .notice block. */
.launch-notice p:last-child,
.launch-preview p:last-child {
  margin-bottom: 0;
}

.launch-preview {
  max-width: 75ch;
}

/* --------------------------------------------------------------------------
   Fallback for the visually hidden helper.

   The email obfuscation markup relies on a global `.sr-only` utility. This
   file does not redefine it, to avoid clashing with the site's own rule.
   If the base stylesheet does NOT already ship `.sr-only`, uncomment the
   block below - without it the literal words " at " / " arroba " render
   visibly next to every email address.

.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;
}

   -------------------------------------------------------------------------- */
