/* talky.co.il: one stylesheet, served from our own origin. No fonts, scripts or images from anyone else. */
:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --page: #ffffff;
  --panel: #f0fdfa;
  --warn: #92400e;
  --warn-soft: #fef3c7;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

/* A visible focus ring for keyboard users (accessibility statement). */
a:focus-visible, button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 10;
}
.skip:focus { top: 0; color: #fff; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1rem; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.75rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.logo img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--brand-dark); text-decoration: underline; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
}
.button:hover { background: var(--brand); color: #fff; }

/* Home */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: 3.5rem 3rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.2; margin: 0 0 1rem; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.75rem; }
.hero .who { font-size: 0.95rem; margin: 1rem 0 0; }

main section { padding-block: 2.5rem; }
main section + section { border-top: 1px solid var(--line); }
main h2 { font-size: 1.5rem; margin: 0 0 1.25rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cards li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  background: #fff;
}
.cards h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.cards p { margin: 0; color: var(--muted); }
.step {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.note {
  background: var(--warn-soft);
  color: var(--warn);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0;
}

/* Legal pages */
.legal { max-width: 46rem; padding-block: 2rem 3rem; }
.legal h1 { font-size: 1.8rem; line-height: 1.3; }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal section { padding: 0; border: 0; }

/* Footer */
.bottom { border-top: 1px solid var(--line); background: #f9fafb; font-size: 0.92rem; color: var(--muted); }
.bottom .wrap { padding-block: 1.75rem; display: grid; gap: 0.6rem; }
.bottom nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.bottom p { margin: 0; }
