/* The landing page's sections under the first screen: how it works, facts, your page, the LinkedIn gift, footer. Same cards, pills and
   two-tone headlines as the hero; no colour but ink, greys and a dot of orange. */
/* Space follows proximity: much more above a heading than under it, so a heading belongs to its own text */
.section { padding: clamp(64px, 11vh, 120px) 0 0; scroll-margin-top: 24px; }
.section h2 { margin: 0 0 12px; font-size: var(--fs-h2); line-height: 1.08; }
.section h3 { margin: 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.section p { margin: 0; max-width: 34em; color: var(--muted); }
/* a section's one line under its heading is its subheading: about half the heading's size */
.gift-text p { font-size: var(--fs-h3); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }

/* How it works: a real sequence, so it is numbered */
.section h2 + .steps { margin-top: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { padding: 24px; counter-increment: step; display: flex; align-items: center; gap: 16px; }
.steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fafafa; font-size: 14px; font-weight: 500; }

/* Facts: two cards, each one number and one line: the languages (with their names), the voices */
.facts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.facts > div { padding: 24px; display: flex; flex-direction: column; }
.facts .num { margin-bottom: 10px; font-size: clamp(56px, 6vw, 80px); line-height: .9; font-variant-numeric: tabular-nums; }
.facts .sign { margin-bottom: 14px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.chips span { height: 32px; padding: 0 12px; border-radius: 9999px; box-shadow: 0 0 0 1px var(--hair); display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink); }

/* The LinkedIn gift: its own block, one line and one button */
.gift-card { padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.gift-text { flex: 1 1 320px; min-width: 0; }
.gift-text h2 { margin-bottom: 8px; }
.gift-card .pill { flex: none; }
.gift-card .li-mark { background: #fff; color: #0A66C2; }

/* Footer: a hairline and one quiet line */
.foot { margin-top: clamp(56px, 9vh, 96px); border-top: 1px solid var(--hair); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
.foot img { height: 22px; width: auto; display: block; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .end { margin-inline-start: auto; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts .wide { grid-column: auto; }
  .foot .end { margin-inline-start: 0; }
}

/* Apple's «Download on the App Store» badge (site/app-store.js): under the hero's lead and in the footer */
.store { display: inline-flex; border-radius: 8px; }
.store[hidden] { display: none; }
.store img { display: block; height: 40px; width: auto; }
.store-hero { margin-top: 22px; }
.store-hero img { height: 48px; }
