/*
 * The pages of the site that are not the marketing page: support, account deletion, privacy, thanks.
 * A plain, readable column in the marketing page's colours and type, with its header and footer
 * (site-shell.css). Nothing decorative: headings, text, a short list, one button.
 *
 * Two languages live in the same page: an element marked data-l="he" or data-l="en" shows only in its language.
 */
@import url("/site-shell.css");

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
}
a { color: var(--primary); font-weight: 500; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 28px 18px 48px; }
h1, h2 { color: var(--ink); margin: 0; }
h1 { font: 700 clamp(26px, 6vw, 34px)/1.2 var(--head); }
h2 { font: 600 20px/1.3 var(--body); }
p { margin: 0; }
.meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.lead { margin-top: 14px; }

/* A part of the page: a heading and what goes under it, set off from the part before by a thin line. */
section { padding: 22px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
main > section:first-of-type { margin-top: 22px; }
section ol, section ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }

form { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 500; color: var(--ink); margin-top: 8px; font-size: 16px; }
.hint { font-size: 14px; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #CFC6F5; border-radius: 10px; padding: 11px 12px; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 22px; margin-top: 12px; align-self: flex-start;
  border: 0; border-radius: 10px; cursor: pointer;
  font: 500 17px var(--body); color: #fff; background: var(--primary); text-decoration: none;
}
.btn:hover { background: var(--primary-hover); color: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }
.status { min-height: 26px; font-weight: 500; color: var(--ok); margin-top: 8px; }
.status[data-error] { color: var(--danger); }
.hp { position: absolute; inset-inline-start: -9999px; }

@media (min-width: 760px) {
  main { padding: 48px 24px 64px; }
}
@media (max-width: 759px) {
  .btn { align-self: stretch; }
}
