/* Page basics. Most styling is inline in index.html for now, carried over from the design. */
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; }
a { color: #1f7a5c; }
a:hover { color: #17604a; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1f7a5c; outline-offset: 3px; }

/* "From a list of names to the wall": step tabs */
.step-tab { min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 1px solid #c9cec7; background: #ffffff; color: #111815; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.step-tab[aria-selected="true"] { background: #111815; border-color: #111815; color: #ffffff; }
.step-panel[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Smaller headings on phones */
@media (max-width: 600px) {
  h1 { font-size: 44px !important; }
  h2 { font-size: 30px !important; }
}

/* Right-to-left pages: mirror the carousel arrows */
[dir="rtl"] [data-dir] svg { transform: scaleX(-1); }

/* Privacy and terms pages */
.legal-page { font-family: 'Readex Pro', system-ui, sans-serif; color: #111815; }
.legal-header { max-width: 760px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.legal-brand { font-size: 23px; font-weight: 700; color: #111815; text-decoration: none; margin-inline-end: auto; }
.legal-header nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15.5px; }
.legal-header nav a { padding: 12px 0; color: #333a36; text-decoration: none; }
.legal { max-width: 760px; margin: 0 auto; padding: 24px 24px 72px; font-size: 17px; line-height: 1.65; color: #333a36; }
.legal h1 { margin: 0 0 4px; font-size: 44px; font-weight: 600; line-height: 1.1; color: #111815; }
.legal h2 { margin: 36px 0 8px; font-size: 22px !important; font-weight: 600; color: #111815; }
.legal .updated { margin: 0 0 24px; font-size: 15px; color: #59625d; }
.legal ul { margin: 0 0 16px; padding-inline-start: 22px; }
.legal li { margin-bottom: 8px; }
.legal-footer { border-top: 1px solid #e3e6e0; padding: 28px 24px; text-align: center; font-size: 14.5px; color: #59625d; }
