/* FOCUSLENS draft site — one stylesheet for every page. */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #0f1f33;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --accent: #0b6e8a;       /* deep teal, passes AA with white text */
  --accent-soft: #e6f3f7;
  --todo-bg: #fff4c2;
  --todo-ink: #6b4f00;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", "Heebo", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  direction: rtl;
}
a { color: var(--accent); }
.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 14px; padding-bottom: 14px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo .name { font-weight: 800; font-size: 20px; letter-spacing: 1.5px; direction: ltr; }
.logo .he { font-size: 13px; color: var(--muted); display: block; line-height: 1.2; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--ink); padding: 6px 0; }
nav.main a[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(160deg, #0b6e8a 0%, #0a3d5c 100%); color: #fff; padding: 56px 0; }
.hero h1 { font-size: 32px; line-height: 1.3; margin: 0 0 12px; }
.hero p { font-size: 18px; margin: 0; max-width: 640px; opacity: .92; }

main { padding: 32px 0 48px; }
section.block { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
section.block h2 { margin-top: 0; font-size: 22px; }
h1.page-title { font-size: 28px; margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal ol, .legal ul { padding-inline-start: 22px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--card); }
.tile h3 { margin: 0 0 6px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.details dt { font-weight: 700; }
dl.details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Draft placeholders — anything still to be filled in is yellow and impossible to miss. */
.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.draft-banner { background: var(--todo-bg); color: var(--todo-ink); text-align: center; font-size: 13px; padding: 6px 16px; }

/* Payment-security strip */
.secure-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; color: var(--muted); }
.cards { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.cards span {
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700;
  color: var(--ink); background: #fff; direction: ltr;
}

/* Footer */
.site-footer { background: #0a2236; color: #c9d6e3; font-size: 14px; padding: 28px 0; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer .bottom { border-top: 1px solid #1d3a52; margin-top: 20px; padding-top: 14px; }
.site-footer .todo { color: var(--todo-ink); }

@media (max-width: 576px) {
  .hero { padding: 36px 0; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 16px; }
  section.block { padding: 18px; }
  dl.details { grid-template-columns: 1fr; }
  dl.details dt { margin-top: 6px; }
}
