/* Autofill anything ! support site. One stylesheet, no scripts, no outside requests. */
:root {
  --sun: #FFD64A;
  --ink: #0C1B3D;
  --blue: #0A5BE6;
  --paper: #FFFDF6;
  --line: #E9E2C8;
  --soft: #4A5673;
  --key: #FFFFFF;
  --latin: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display: "American Typewriter", Rockwell, "Roboto Slab", Georgia, serif;
  --arabic: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--latin);
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--blue); text-underline-offset: 0.15em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* The yellow band: the same sun yellow as the first App Store images. */
.top { background: var(--sun); padding: 2rem 0 2.25rem; }
.top a { color: var(--ink); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 700; }
.brand img { width: 3rem; height: 3rem; border-radius: 22%; box-shadow: 0 2px 0 rgba(12, 27, 61, 0.18); }

.top h1 {
  font: 700 clamp(1.9rem, 6.2vw, 2.9rem)/1.12 var(--display);
  letter-spacing: -0.01em;
  margin: 1.5rem 0 1rem;
  max-width: 14em;
}

/* The shortcut spelled in key caps, as on the keyboard itself. */
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; font-weight: 600; }
.keys span { margin-inline-end: 0.35rem; }
kbd {
  font: 600 1.15rem/1 var(--latin);
  display: inline-grid; place-items: center;
  min-width: 2.5rem; height: 2.9rem; padding: 0 0.7rem;
  background: var(--key); color: var(--ink);
  border-radius: 0.55rem;
  box-shadow: 0 3px 0 rgba(12, 27, 61, 0.28);
}
kbd.space { min-width: 6.5rem; font-size: 0.95rem; font-weight: 500; color: var(--soft); }

.top nav { margin-top: 1.6rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }

main { padding: 0.5rem 0 3rem; }
section { padding-top: 2.5rem; }
section + section { margin-top: 2.5rem; border-top: 2px solid var(--line); }

h2 { font: 700 1.65rem/1.2 var(--display); margin: 0 0 0.6rem; }
h3 { font: 700 1.05rem/1.4 var(--latin); margin: 0 0 0.3rem; }
p { margin: 0 0 1rem; }
.small { color: var(--soft); font-size: 0.95rem; }

.mail {
  display: inline-block; margin: 0.25rem 0 1rem;
  padding: 0.7rem 1.1rem; border-radius: 0.8rem;
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none;
  direction: ltr;
}

.questions { margin: 2.25rem 0 0; }
.questions > h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.q { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.q p:last-child { margin-bottom: 0; }

.policy p strong { display: block; margin-bottom: 0.15rem; }

/* Arabic blocks read right to left in an Arabic face. Latin words inside keep their order. */
[lang="ar"] { font-family: var(--arabic); line-height: 1.9; }
[lang="ar"] h2, [lang="ar"] h3 { font-family: var(--arabic); font-weight: 800; letter-spacing: 0; }
[lang="ar"] h2 { font-size: 1.55rem; }

footer { border-top: 2px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--soft); font-size: 0.95rem; }
footer p { margin: 0 0 0.4rem; }

@media (prefers-color-scheme: dark) {
  :root { --paper: #0B1430; --ink: #F3F0E4; --line: #24305A; --soft: #A9B3CF; --blue: #6FA8FF; }
  .top { color: #0C1B3D; }
  .top a, kbd { color: #0C1B3D; }
  kbd.space { color: #4A5673; }
  .mail { background: #2C88FF; color: #fff; }
}
