/* Fuentes + Seguridad subpages. Builds on the tokens and components in styles.css;
   only the pieces these two pages need live here. */

/* Larger hit area for inline arrow links without moving the underline */
main .link-arrow {
  position: relative;
}

main .link-arrow::after {
  content: "";
  position: absolute;
  inset: -11px -6px;
}

/* ---------- page hero ---------- */

.fs-hero {
  padding-top: clamp(48px, 8vw, 120px);
  padding-bottom: clamp(88px, 10vw, 152px);
}

.fs-hero .display {
  margin-top: 22px;
  font-size: clamp(2.75rem, 6.4vw, 6.1rem);
  max-width: 12em;
}

.fs-hero .lead {
  margin-top: clamp(22px, 2.6vw, 34px);
}

.fs-hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.fs-stage {
  margin-top: clamp(52px, 7vw, 104px);
}

.fs-stage .window {
  max-width: 1080px;
  margin-inline: auto;
}

/* ---------- ledger: one detailed row per source / guarantee ---------- */

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px clamp(32px, 5vw, 88px);
  padding: clamp(34px, 4.2vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

.ledger-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ledger .tile,
.ledger-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.ledger .tile svg,
.ledger-icon svg {
  width: 22px;
  height: 22px;
}

.ledger-icon {
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}


.ledger-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.ledger-sub {
  margin-top: 8px;
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.45;
}

.ledger-body > p {
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}

.ledger-body > p + p {
  margin-top: 14px;
}

.ledger-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  margin-top: 26px;
}

.ledger-meta div {
  display: grid;
  gap: 4px;
}

.ledger-meta dt {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.ledger-meta dd {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}

.ledger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 28px;
}

.ledger-links .link-arrow svg {
  width: 14px;
  height: 14px;
}

.ledger-links .link-arrow:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 820px) {
  .ledger-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ledger-head {
    gap: 16px;
  }

  .ledger .tile,
  .ledger-icon {
    width: 40px;
    height: 40px;
  }

  .ledger .tile svg,
  .ledger-icon svg {
    width: 20px;
    height: 20px;
  }

  .ledger-meta {
    gap: 16px 32px;
  }
}

/* ---------- how it searches: three steps on the night band ---------- */

.fs-how {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-night);
}

.fs-how li {
  padding: 28px 28px 8px 0;
}

.fs-how li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line-night);
}

.fs-how svg {
  width: 22px;
  height: 22px;
  color: var(--on-night);
}

.fs-how h3 {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.fs-how p {
  margin-top: 12px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--on-night-muted);
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .fs-how {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .fs-how li,
  .fs-how li + li {
    padding: 24px 0 28px;
    border-left: 0;
    border-top: 1px solid var(--line-night);
  }

  .fs-how h3 {
    margin-top: 18px;
  }
}

/* ---------- feature extras ---------- */

.feature-copy .fs-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-ui);
  background: var(--white);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.fs-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--muted);
}

.fs-extras {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  max-width: 30em;
}

.fs-extras li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.fs-extras .tile {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.fs-extras .tile svg {
  width: 19px;
  height: 19px;
}

.fs-extras b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.fs-extras span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.55;
}

.fs-extras a {
  text-underline-offset: 3px;
}

/* ---------- faq ---------- */

.faq-list .answer a {
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Inline links inside running text: taller hit area, same line layout */
.faq-list .answer a,
.fs-extras a {
  padding-block: 11px;
}
