/* About, in "The Deck" look and in the family of the landing page: a big title, the pledge as a letter with a wax
   seal, the promises with big outlined numerals (the first on its own card), the rules ticked off in gold. */
main { max-width: 1200px; padding-top: 34px; }
.ic { width: 56px; height: 56px; color: var(--accent); flex: none; }

/* ---- Title block ---- */
.about-head { padding: 26px 0 46px; border-bottom: 1px solid var(--line); margin-bottom: 46px; }
.about-head h1 { margin: 0; max-width: 11em; font: 800 clamp(3rem, 9vw, 6.4rem)/.9 var(--display); letter-spacing: -.05em; text-wrap: balance; }

/* ---- Jump to: chips on a phone, a numbered list that stays in view on a wide screen ---- */
.jump { font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.about-nav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.about-nav li { counter-increment: s; }
.about-nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--text); text-decoration: none; font: 600 .9rem/1.2 var(--display);
  transition: border-color .2s, color .2s;
}
.about-nav a::before { content: counter(s, decimal-leading-zero); font: 700 .72rem/1 var(--display); color: var(--accent); letter-spacing: .04em; }
.about-nav a:hover { border-color: var(--accent); }

.about-text { min-width: 0; }
.about-section { padding-top: 72px; scroll-margin-top: 70px; }
.about-section > h2 {
  margin: 0 0 34px; max-width: 13em; font: 800 clamp(2.2rem, 5.2vw, 3.6rem)/.95 var(--display); letter-spacing: -.045em; text-wrap: balance;
}
.about-section > h2:focus { outline: none; }
.about-section > h2:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.about-section > h2 .accent-word { display: block; margin-top: .1em; font-size: 1.08em; line-height: 1; }

/* ---- The pledge: a letter on paper, in both looks ---- */
.letter {
  position: relative; max-width: 46rem; padding: 74px 64px 56px; border-radius: 6px;
  background: linear-gradient(180deg, #f5f0e6, #ebe3d3); color: #0e0d0b;
  box-shadow: 0 50px 90px -40px #000, 0 0 0 1px rgba(14, 13, 11, .08); transform: rotate(-.5deg);
}
.letter::before { content: ""; position: absolute; right: 0; top: 0; width: 52px; height: 52px; background: linear-gradient(225deg, var(--bg) 50%, #d8cfbd 50%); border-radius: 0 0 0 6px; box-shadow: -4px 4px 8px -2px rgba(0, 0, 0, .25); }
.letter p { margin: 0 0 20px; font-size: 1.1rem; line-height: 1.72; color: #3b362e; text-wrap: pretty; }
.letter strong { color: #0e0d0b; font: 800 1.02em/1 var(--display); letter-spacing: -.01em; }
.letter .sign { margin: 30px 0 0; font: italic 400 2rem/1.1 var(--serif); color: #0e0d0b; text-align: right; }
.wax {
  position: absolute; left: 50%; top: -36px; translate: -50% 0; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd978, #ffc53d 55%, #c99520); color: #6b4a08;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6), inset 0 0 0 5px #e8b02f;
}
.wax .ic { width: 30px; height: 30px; color: #6b4a08; }
.pledge { padding-bottom: 20px; }

/* ---- The film: at the letter's measure ---- */
.about-section.film { max-width: 46rem; }
.about-section.film > h2 { margin-bottom: 14px; }
.film-lede { margin: 0 0 26px; max-width: 36em; font-size: 1.06rem; line-height: 1.65; color: var(--text-dim); text-wrap: pretty; }
.about-section .film-box { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 12px 12px 0 color-mix(in srgb, var(--accent-fill) 20%, transparent), 0 40px 80px -40px #000; }
.about-section .film-alt { margin-top: 22px; }

/* ---- Six promises: big outlined numerals; the first on a card of its own ---- */
.plist { counter-reset: none; }
.promise { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) 64px; gap: 0 32px; padding: 40px 0 44px; border-top: 1px solid var(--line); }
.promise:last-child { border-bottom: 1px solid var(--line); }
.promise .no {
  position: absolute; left: -4px; top: 32px;
  font: 800 clamp(6.4rem, 12vw, 9.5rem)/.78 var(--display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 2px var(--accent); transition: color .3s;
}
.promise .no .pt { color: var(--accent); }
.promise:hover .no { color: color-mix(in srgb, var(--accent) 14%, transparent); }
.promise h3 { grid-column: 2; grid-row: 1; margin: 0; font: 800 clamp(1.6rem, 2.8vw, 2.25rem)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.promise p { grid-column: 2; grid-row: 2; margin: 16px 0 0; font-size: 1.06rem; line-height: 1.65; color: var(--text-dim); max-width: 36em; text-wrap: pretty; }
.promise p.more { grid-row: 3; margin-top: 12px; }
.promise .more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 1rem/1.2 var(--display); text-decoration: none; color: var(--accent); }
.promise .more a:hover { text-decoration: underline; }
.promise .more .ic { width: 18px; height: 18px; transform: none; }
.promise .ic { grid-column: 3; grid-row: 1 / span 2; width: 60px; height: 60px; justify-self: end; transform: rotate(-6deg); }
.promise:nth-child(odd) .ic { transform: rotate(6deg); }
.promise.first {
  display: block; margin: 40px 0 72px; padding: 52px 52px 52px 200px; border-radius: 28px;
  background: var(--panel); border: 2px solid var(--accent-fill); transform: rotate(-1deg);
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--accent-fill) 24%, transparent);
}
.promise.first .no {
  left: -4px; top: -40px; display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%;
  background: var(--accent-fill); color: var(--on-accent); -webkit-text-stroke: 0; font: 800 2.2rem/1 var(--display); letter-spacing: -.04em;
  transform: rotate(-8deg); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7);
}
.promise.first .no .pt { color: var(--on-accent); }
.promise.first .ic { position: absolute; left: 44px; top: 56px; width: 112px; height: 112px; transform: none; }
.promise.first h3 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: .95; letter-spacing: -.045em; }
.promise.first p { margin-top: 18px; font-size: 1.12rem; color: var(--text-dim); }

/* ---- What we keep and why ---- */
.prose { max-width: 40rem; }
.prose p { font-size: 1.06rem; line-height: 1.72; color: var(--text-dim); text-wrap: pretty; }
.prose p + p { margin-top: 1.05em; }
.prose .data-what { font-size: 1.2rem; line-height: 1.6; color: var(--text); }
.prose .data-backup { padding: 16px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent-fill); color: var(--text); }
.prose .go { margin-top: 26px; }
.prose .go .ic { width: 18px; height: 18px; color: currentColor; }

/* ---- The rules: ticked off ---- */
.rules { list-style: none; max-width: 40rem; }
.rules li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); font: 600 clamp(1.1rem, 1.9vw, 1.3rem)/1.35 var(--display); letter-spacing: -.012em; }
.rules li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.rules .tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent); margin-top: -2px; }
.rules .tick .ic { width: 18px; height: 18px; color: currentColor; }

/* ---- The licence ---- */
.licence-box { display: flex; gap: 20px; align-items: flex-start; max-width: 40rem; padding: 24px 26px; border-radius: var(--radius); border: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.licence-box .ic { width: 44px; height: 44px; }
.licence-box p { font-size: 1.06rem; line-height: 1.65; }
.licence { padding-bottom: 30px; }

@media (min-width: 960px) {
  .about-wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
  .about-nav { position: sticky; top: 100px; padding-top: 72px; }
  .about-nav ol { flex-direction: column; gap: 2px; }
  .about-nav a { border: 0; padding: 8px 0; border-radius: 6px; color: var(--text-dim); }
  .about-nav a:hover { color: var(--text); }
}
@media (max-width: 700px) {
  main { padding-top: 16px; }
  .about-head { padding: 18px 0 30px; margin-bottom: 26px; }
  .about-section { padding-top: 60px; }
  .letter { padding: 60px 22px 36px; transform: none; }
  .letter::before { width: 36px; height: 36px; }
  .letter p { font-size: 1.02rem; line-height: 1.66; }
  .letter .sign { font-size: 1.7rem; }
  .promise { grid-template-columns: minmax(0, 1fr); padding: 128px 0 36px; }
  .promise .no { top: 30px; font-size: 6.6rem; }
  .promise h3, .promise p { grid-column: 1; }
  .promise h3 { grid-row: auto; }
  .promise p { grid-row: auto; font-size: 1rem; }
  .promise .ic { position: absolute; grid-area: auto; right: 0; top: 46px; width: 52px; height: 52px; }
  .promise.first { padding: 132px 22px 34px; margin: 46px 0 50px; transform: none; box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent-fill) 24%, transparent); }
  .promise.first .no { left: 18px; top: -28px; width: 66px; height: 66px; font-size: 1.9rem; font-size: 1.9rem; }
  .promise.first .ic { left: auto; right: 22px; top: 28px; width: 88px; height: 88px; }
  .licence-box { padding: 20px; gap: 14px; }
  .about-section .film-box { box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent-fill) 20%, transparent), 0 30px 60px -30px #000; }
  .licence-box .ic { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .promise .no, .about-nav a { transition: none; }
}
