/* Pick Often: shared styles for the landing, privacy, terms and support pages.
   Palette matches the iOS app (Suzan's brand). */
:root {
  --bg: #FCFCFA; --ink: #37411F; --primary: #37411F; --primary-ink: #FFFFFF;
  --muted: #5F6650; --lavender: #C4BBDD; --butter: #FDF3C9;
  --line: #E4E4DC; --field: #FFFFFF; --error: #8E2F2F; --radius: 14px;
  --display: "Gilda Display", "Iowan Old Style", Georgia, serif;
  --serif: "PT Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 17px/1.6 var(--serif); -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
main { max-width: 560px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 20px 48px; }
a { color: var(--ink); text-decoration-color: var(--lavender); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 22px/1 var(--display); color: var(--ink);
  text-decoration: none; margin: 0 0 32px; }
.brand::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--lavender);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lavender) 35%, transparent); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); }
h1 { font-size: 36px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.005em; }
h2 { font-size: 24px; line-height: 1.25; margin: 36px 0 10px; }
h3 { font-size: 19px; line-height: 1.3; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 0 0 6px; }
strong { font-weight: 700; }

.lede { color: var(--muted); margin: 0 0 20px; }
.badge { display: inline-block; background: var(--butter); color: var(--ink); font-size: 15px; line-height: 1.3;
  padding: 7px 12px; border-radius: 999px; margin: 0 0 28px; }
.note { font-size: 14px; color: var(--muted); margin: 0 0 10px; font-style: italic; }
.meta { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.summary { background: var(--butter); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 8px; }
.summary ul { margin: 0; }
.summary li:last-child { margin-bottom: 0; }

/* Waitlist form */
form { display: grid; gap: 22px; }
label.field, fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.q { font: 700 16px/1.3 var(--serif); }
legend.q { padding: 0; margin-bottom: 8px; }
input[type=email], select {
  width: 100%; font: inherit; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus-visible, select:focus-visible, .chip input:focus-visible + span, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--lavender); outline-offset: 2px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); font-size: 16px; line-height: 1.25; cursor: pointer; }
.chip input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--lavender) 30%, var(--field));
  box-shadow: inset 0 0 0 1px var(--primary); }
.hint { font-size: 14px; font-weight: 400; color: var(--muted); margin: 0; }
button { font: 700 17px/1 var(--serif); color: var(--primary-ink); background: var(--primary); border: 0; border-radius: var(--radius);
  min-height: 54px; padding: 0 20px; cursor: pointer; }
button[disabled] { opacity: .6; cursor: default; }
.msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.msg.err { color: var(--error); }
.done { display: none; padding: 22px; border-radius: var(--radius); background: var(--butter); }
.done h2 { font-size: 26px; margin: 0 0 8px; }
.done p { margin: 0; color: var(--ink); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font: 400 20px/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); color: var(--muted); }
details[open] summary::after { content: "–"; }
details > :not(summary) { margin-top: 10px; }
.contact { background: var(--butter); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 32px; }
.contact p { margin: 0; }
.contact a { font-size: 19px; }

footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 12px; }
footer nav a { color: var(--ink); }

/* /method ("How we decide") */
.method-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 32px; }
.method-top .brand { margin: 0; }
.lang { font-size: 16px; }
.verdicts { list-style: none; padding: 0; }
.verdicts li { margin: 0 0 12px; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 15px; line-height: 1.4; font-weight: 700;
  margin-inline-end: 6px; background: var(--line); color: var(--ink); }
.pill.v-often { background: var(--lavender); }
.pill.v-sometimes { background: var(--butter); }
.pill.v-less_often { background: var(--field); box-shadow: inset 0 0 0 1px var(--ink); }
.pill.v-none { background: var(--line); }
.rule { border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); padding: 16px 18px; margin: 0 0 14px; }
.rule h4 { font: 700 18px/1.35 var(--serif); margin: 10px 0 8px; }
.rule p { margin: 0 0 8px; }
.rule p:last-child { margin-bottom: 0; }
.rule .names, .rule .src { font-size: 15px; color: var(--muted); }
.draft-note { display: block; }
[dir=rtl] body, [dir=rtl] .q, [dir=rtl] button, [dir=rtl] .rule h4 { font-family: "Noto Naskh Arabic", "Geeza Pro", "PT Serif", serif; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] .brand { font-family: "Noto Naskh Arabic", "Geeza Pro", var(--display); }
[dir=rtl] ul, [dir=rtl] ol { padding-left: 0; padding-right: 22px; }
