/* Styles for about.html only. Shared tokens and components live in css/styles.css. */
.page-hero .eyebrow:empty { display: none; }

.about-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: start; }
.about-copy { display: grid; gap: var(--s4); max-width: 56ch; }
.about-copy p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.6; }
.about-copy .about-org { font-size: var(--t-sm); color: var(--muted); padding-top: var(--s2); }
.values { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.values > div { padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s2); align-content: start; }
.values > div:nth-child(even) { padding-left: var(--s5); padding-right: 0; border-left: 1px solid var(--line); }
.values dt { font: 600 var(--t-lg)/1.3 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.values dd { margin: 0; color: var(--ink-2); }

.about-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding: var(--s6); background: var(--surface); border-radius: var(--radius); }
.about-cta > div { display: grid; gap: var(--s1); }
.about-cta p { color: var(--ink-2); }

@media (max-width: 1023px) { .about-layout { grid-template-columns: 1fr; gap: var(--s6); } }
@media (max-width: 620px) {
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div:nth-child(even) { padding: var(--s4) 0; border-left: 0; }
  .about-cta { padding: var(--s5); }
  .about-cta .btn { width: 100%; min-height: 48px; }
  /* Phone polish: 18px body copy is a lot on a 390px screen; 16px reads better and keeps line length sane. */
  .about-copy p { font-size: var(--t-md); }
  .about-copy .about-org { font-size: var(--t-sm); }
  .values dt { font-size: var(--t-md); }
}
@media (max-width: 1023px) { .about-layout { grid-template-columns: minmax(0, 1fr); } }

/* Fact list, steps, "what's different" grid and Q&A (about rewrite for clear, quotable facts). */
.about-facts dt { font-size: var(--t-md); }
.values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values--3 > div, .values--3 > div:nth-child(even) { padding: var(--s5); border-left: 1px solid var(--line); }
.values--3 > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.about-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
.about-steps li { counter-increment: step; display: grid; gap: var(--s2); align-content: start; padding-top: var(--s4); border-top: 1px solid var(--ink); }
.about-steps li::before { content: counter(step); font: 500 var(--t-sm)/1 var(--font-mono); color: var(--muted); }
.about-steps h3 { font-size: var(--t-lg); }
.about-steps p { color: var(--ink-2); }
.about-qa-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s8); align-items: start; }
.about-qa-list { display: grid; gap: var(--s5); }
.about-qa-list > div { display: grid; gap: var(--s2); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.about-qa-list h3 { font-size: var(--t-lg); }
.about-qa-list p { color: var(--ink-2); line-height: 1.6; max-width: 68ch; }
/* With card payments on, one of the four steps is hidden: three columns. */
@media (min-width: 1024px) { html.payments-on .about-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values--3 > div:nth-child(3n+1) { padding-left: var(--s5); border-left: 1px solid var(--line); }
  .values--3 > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .about-qa-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
}
@media (max-width: 620px) {
  .about-steps, .values--3 { grid-template-columns: minmax(0, 1fr); }
  .values--3 > div, .values--3 > div:nth-child(even), .values--3 > div:nth-child(3n+1) { padding: var(--s4) 0; border-left: 0; }
}
