/* the editors' pages (upload.html, instructions.html), in the look of hameshiv.com/about: one reading column, gold rules */
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(assets/fonts/frank-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(assets/fonts/frank-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fdfaf0; --surface: #ffffff; --surface2: #faf3e0; --border: #e8d9b0; --border2: #d9c89a;
  --gold: #8a6320; --gold-soft: #b08a45; --ink: #2e2410; --text: #3a2f1a; --muted: #7d6d4c; --btn-text: #fff;
  --bad: #a23b2a; --font: 'Frank Ruhl Libre', 'Arial Hebrew', 'Times New Roman', serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1a1712; --surface: #26201a; --surface2: #2d261c; --border: #3d3424; --border2: #4e4330;
    --gold: #d4a84a; --gold-soft: #b8924a; --ink: #f3ead5; --text: #e8dcc4; --muted: #a89878; --btn-text: #1a1712;
    --bad: #e0806c; color-scheme: dark; }
}
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.8;
       -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hidden { display: none !important; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; max-width: 1120px; }
.top img { width: 34px; height: 34px; border-radius: 50%; }
.top .name { font-size: 20px; font-weight: 800; color: var(--gold); text-decoration: none; }
.top .sub { color: var(--muted); font-size: 15px; }
.top .enter { margin-inline-start: auto; border: 1px solid var(--border2); border-radius: 6px; padding: 5px 15px;
              color: var(--gold); font-weight: 600; font-size: 15px; text-decoration: none; }

.intro { padding: 64px 0 8px; }
h1 { font-size: 42px; font-weight: 800; line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.lead { font-size: 20px; line-height: 1.7; color: var(--ink); }
.facts { margin-top: 16px; font-size: 15px; color: var(--muted); }

section { padding-top: 60px; }
h2 { font-size: 25px; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 16px; }
h2::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold-soft); margin-bottom: 14px; }
section p + p { margin-top: 10px; }
.less { margin-top: 16px; font-size: 15.5px; color: var(--muted); }
.less b { color: var(--text); }

.tips { list-style: none; border-top: 1px solid var(--border); }
.tips li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.tips b { color: var(--ink); }

.ex { margin-top: 20px; background: var(--surface2); border-radius: 8px; padding: 14px 18px; font-size: 15.5px; }
.ex p + p { margin-top: 8px; }
.ex .k { color: var(--muted); font-size: 14px; display: block; }

.quiet { border-inline-start: 2px solid var(--gold-soft); padding-inline-start: 18px; }

.ways { border-top: 1px solid var(--border); }
.way { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.way .k { font-weight: 700; color: var(--gold); }
.way .k small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.addr { direction: ltr; unicode-bidi: embed; }

/* the tool */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.tool + .tool { margin-top: 14px; }
.row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.row input[type=text] { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--border2); border-radius: 6px;
                        background: var(--bg); color: inherit; font: inherit; font-size: 16px; }
.drop { border: 2px dashed var(--border2); border-radius: 8px; padding: 28px 14px; text-align: center; cursor: pointer;
        color: var(--ink); }
.drop:hover, .drop.on { border-color: var(--gold); background: var(--surface2); }
.drop .fname { display: block; color: var(--muted); font-size: 15px; }
.opt { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 15.5px; color: var(--muted); }
.btn, .cta { display: inline-block; background: var(--gold); color: var(--btn-text); text-decoration: none; font: inherit;
             font-weight: 700; font-size: 16.5px; border: 0; border-radius: 7px; padding: 10px 26px; cursor: pointer; }
.btn:hover, .cta:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: default; filter: none; }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid var(--border2); padding: 8px 16px; font-size: 15.5px; }
.go { margin-top: 16px; }
.small { font-size: 14.5px; color: var(--muted); }
.stage { display: flex; gap: 10px; color: var(--ink); }
.stage .t { margin-inline-start: auto; color: var(--muted); font-size: 15px; }
.bar { height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; margin: 10px 0; }
.bar div { height: 100%; width: 2%; background: var(--gold-soft); transition: width .8s; }
.done h3 { color: var(--ink); font-size: 20px; }
.done .btn { margin-top: 12px; }

.toast { position: fixed; inset-inline: 16px; bottom: 20px; max-width: 520px; margin: 0 auto; background: var(--ink);
         color: var(--bg); border-radius: 8px; padding: 10px 16px; font-size: 15.5px; opacity: 0; transform: translateY(8px);
         transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast.err { background: var(--bad); color: #fff; }

.who { text-align: center; padding-top: 72px; }
.who h2::before { margin-inline: auto; }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; margin-top: 56px; font-size: 14.5px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .top .sub { display: none; }
  .intro { padding-top: 40px; }
  h1 { font-size: 32px; }
  .lead { font-size: 18px; }
  section { padding-top: 46px; }
  h2 { font-size: 22px; }
  .way { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tool { padding: 16px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.cta-row .small a, .cta-row + .small a { color: var(--gold); }
.cta.alt { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 9px 24px; }
.steps { padding-inline-start: 22px; }
.steps li { padding: 6px 0; }
.end { text-align: center; padding: 64px 0 8px; }
.end .or { margin-top: 18px; color: var(--muted); font-size: 15.5px; }

/* plans.html */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px; display: flex;
        flex-direction: column; gap: 6px; }
.plan.pick { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan h3 { font-size: 19px; color: var(--ink); }
.plan .price { font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1.2; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; font-size: 15.5px; flex: 1; }
.plan .btn { margin-top: 8px; text-align: center; }
.plan .tag { font-size: 13px; color: var(--muted); }
.form { margin-top: 22px; display: grid; gap: 10px; max-width: 420px; }
.form input { padding: 9px 11px; border: 1px solid var(--border2); border-radius: 6px; font: inherit; font-size: 16px;
              background: var(--surface); color: var(--text); }
.notice { margin-top: 18px; padding: 14px 18px; border-radius: 8px; background: var(--surface2); }
.notice.err { color: var(--bad); }
.extra { margin-top: 14px; background: var(--surface); border: 1px dashed var(--border2); border-radius: 10px;
         padding: 14px 18px; display: flex; align-items: center; gap: 16px; }
.extra.pick { border: 1px solid var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.extra h3 { font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.extra p { font-size: 15px; margin: 0; }
.extra .btn { flex-shrink: 0; }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); }
  .extra { flex-direction: column; align-items: stretch; text-align: start; } }
