/* Kol2Text (kol2text.com), the Hebrew site of the Hebrew transcription app, "מבית TaskFANG".
   Colours, sizes and building blocks come from the TaskFANG site (Website/public/assets/site.css),
   rewritten right-to-left with logical properties (inline-start = right in Hebrew).
   One stylesheet, no external fonts or scripts, no inline styles (the security policy blocks them).
   Static on purpose, like taskfang.com: no animations. */

/* ---------- Colours and sizes (same values as taskfang.com) ---------- */
:root {
  --brand: #00796b;
  --brand-2: #26a69a;
  --brand-ink: #00695c;
  --green: #4db6ac;
  --green-ink: #00695c;
  --ink: #17130f;
  --ink-2: #48423c;
  --ink-3: #6b645c;
  --paper: #ffffff;
  --paper-2: #faf7f3;
  --paper-3: #f3eee8;
  --line: #ebe4dc;
  --glass: rgba(255, 255, 255, .78);
  --brand-soft: color-mix(in srgb, var(--brand) 10%, var(--paper));
  --green-soft: color-mix(in srgb, var(--green) 10%, var(--paper));
  --grad: linear-gradient(240deg, var(--brand) 0%, var(--brand-2) 48%, var(--green) 100%);
  --grad-text: linear-gradient(240deg, #004d40 0%, #00695c 50%, #00796b 100%);
  --grad-warm: linear-gradient(225deg, #00796b 0%, #005b4f 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(23, 19, 15, .05), 0 4px 14px rgba(23, 19, 15, .05);
  --shadow-2: 0 2px 4px rgba(23, 19, 15, .06), 0 18px 40px -12px rgba(23, 19, 15, .18);
  --shadow-brand: 0 10px 28px -10px rgba(0, 121, 107, .5);
  --max: 1120px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #26a69a;
    --brand-2: #4db6ac;
    --green: #80cbc4;
    --brand-ink: #4db6ac;
    --grad-text: linear-gradient(240deg, #4db6ac 0%, #80cbc4 100%);
    --green-ink: #4db6ac;
    --grad-warm: linear-gradient(225deg, #4db6ac 0%, #26a69a 100%);
    --shadow-brand: 0 10px 28px -10px rgba(38, 166, 154, .45);
    --ink: #f5f1ec;
    --ink-2: #cdc6be;
    --ink-3: #a39b92;
    --paper: #12100e;
    --paper-2: #1a1714;
    --paper-3: #221e1a;
    --line: #2f2a25;
    --glass: rgba(18, 16, 14, .78);
    --brand-soft: color-mix(in srgb, var(--brand) 16%, var(--paper));
    --green-soft: color-mix(in srgb, var(--green) 14%, var(--paper));
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .3);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 40px -12px rgba(0, 0, 0, .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 18px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }

/* Hebrew headings: no negative letter spacing (it hurts Hebrew letters). */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }
ul, ol { padding-inline-start: 1.4em; }
li + li { margin-top: .35em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; }
.skip:focus { inset-inline-start: 16px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 50; border-radius: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header::after { content: ""; display: block; height: 3px; background: var(--grad); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; max-width: 1280px; }
.brand-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.wordmark {
  display: inline-flex; align-items: center; direction: ltr;
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.03em;
}
.wordmark::after {
  content: ""; width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); margin-left: 12px;
  background: var(--grad); box-shadow: 0 0 0 4px var(--brand-soft);
}
.wordmark span { color: var(--brand); }
.house { font-size: .95rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.house bdi { font-weight: 750; }
.house bdi b { color: var(--brand); }
a.house:hover { color: var(--ink); text-decoration: underline; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 1.02rem;
  padding: 8px 14px; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-3); }

/* ---------- The promise strip (every page) ---------- */
.brand-promise { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 12px 0; }
.brand-promise .wrap { max-width: 1280px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.promise-heading { margin: 0; font-size: 1rem; font-weight: 750; color: var(--ink); }
.brand-promise ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.brand-promise li {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  padding-block: 4px; padding-inline: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.brand-promise li::before {
  content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: .75rem; font-weight: 900; color: #fff; background: var(--green-ink);
}
@media (prefers-color-scheme: dark) { .brand-promise li::before { color: #06231d; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--paper-2); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46rem; line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 750; color: var(--ink);
  padding-block: 6px; padding-inline: 10px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-1); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.slogan { color: var(--ink-2); }
.slogan b { color: var(--brand); }
.slogan .en { font-style: italic; }
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

main > section > .wrap > h2::before {
  content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 16px;
}

/* ---------- The opening section ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0 64px; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; top: -220px; inset-inline-end: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); }
.hero::after { width: 460px; height: 460px; bottom: -260px; inset-inline-start: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--green) 45%, transparent), transparent 70%); }
.hero h1 { max-width: 15em; }
.hero .lead { margin-top: 18px; }
.hero .actions { margin-top: 30px; }
.page-hero { padding: 56px 0 40px; }
.page-hero h1 { margin-bottom: .35em; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.06rem; line-height: 1.2;
  padding: 14px 24px; border-radius: 14px; text-decoration: none;
  border: 1.5px solid var(--line); color: var(--ink); background: var(--paper);
  box-shadow: var(--shadow-1);
}
.btn-main { color: #fff; border-color: transparent; background: var(--grad-warm); box-shadow: var(--shadow-brand); }
.btn-main:hover { filter: saturate(1.15) brightness(.97); }
a.btn-main::after { content: "←"; font-weight: 800; }
.btn-soon {
  color: var(--ink-2); background: var(--paper-2); border: 1.5px dashed color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: none; cursor: default;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 750;
  padding-block: 4px; padding-inline: 10px 12px; border-radius: 999px; margin-bottom: 12px;
  color: var(--brand-ink); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid > * { min-width: 0; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-1);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad); opacity: 0;
}
.card:hover { box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  display: block; width: 48px; height: 48px; padding: 11px; margin-bottom: 16px; border-radius: 14px;
  color: var(--brand-ink); background: linear-gradient(135deg, var(--brand-soft), var(--green-soft));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
}

/* ---------- Lists, steps, tables, questions ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-inline-start: 36px; position: relative; margin: 0; }
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 900; color: #fff; background: var(--green-ink);
}
.nots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nots li { padding-inline-start: 36px; position: relative; margin: 0; }
.nots li::before {
  content: "–"; position: absolute; inset-inline-start: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; color: var(--ink-2); background: var(--paper-3); border: 1px solid var(--line);
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps > li { counter-increment: step; position: relative; padding-inline-start: 70px; min-height: 48px; margin: 0; }
.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: -4px;
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--grad-warm); box-shadow: var(--shadow-brand);
}
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 23px; top: 52px; bottom: -24px; width: 2px;
  background: linear-gradient(var(--brand), var(--green)); opacity: .35;
}
.steps h3 { margin-bottom: .25em; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .9rem; color: var(--ink-3); background: var(--paper-2); }
tbody tr:hover { background: var(--paper-2); }
td.num { white-space: nowrap; font-weight: 700; }

details { border: 1px solid var(--line); border-radius: 16px; padding: 2px 20px; background: var(--paper); }
details + details { margin-top: 12px; }
details:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
details[open] { box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
summary { cursor: pointer; font-weight: 700; padding-block: 14px; padding-inline: 0 36px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: var(--brand-ink); background: var(--brand-soft);
}
details[open] > summary::after { content: "−"; }
details[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

.note {
  border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line)); border-inline-start: 5px solid var(--green);
  background: var(--green-soft); padding: 18px 22px; border-radius: 16px;
}
.note > :last-child { margin-bottom: 0; }
.draft {
  border: 1.5px dashed color-mix(in srgb, var(--brand) 55%, var(--line)); background: var(--paper-2);
  padding: 18px 22px; border-radius: 16px; font-weight: 600;
}
.draft > :last-child { margin-bottom: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a {
  display: inline-block; font-weight: 650; font-size: .95rem; text-decoration: none; color: var(--ink);
  padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.toc a:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }

/* ---------- Prices ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.plan {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper);
  box-shadow: var(--shadow-1); display: grid; align-content: start; gap: 4px;
}
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: 4px 0 0; color: var(--ink); }
.plan .per { font-size: .95rem; color: var(--ink-3); margin: 0; }
.plan-full {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-2);
}
.plan-full .amount { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-line { font-size: 1.05rem; color: var(--ink-2); }
.price-line strong { color: var(--ink); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 26px 0 30px; background: #17130f; color: #c9c1b8; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; max-width: 1280px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: #f1ebe4; text-decoration: none; }
.site-footer a:hover { color: #80cbc4; text-decoration: underline; }

/* ---------- Small helpers ---------- */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--ink-3); font-size: .95rem; }

@media print {
  .site-header { position: static; }
}

/* ---------- Tablets and phones ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .site-header { position: relative; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 8px; gap: 2px 12px; }
  .wordmark { font-size: 1.4rem; }
  .site-nav { gap: 2px; margin: 0 -10px; }
  .site-nav a { font-size: .95rem; padding: 6px 10px; }
  .brand-promise { padding: 10px 0; }
  .brand-promise li { flex: 0 0 auto; font-size: .85rem; }
  .hero { padding: 36px 0 40px; }
  .page-hero { padding: 32px 0 24px; }
  section { padding: 48px 0; }
  .card { padding: 22px; }
  .steps > li { padding-inline-start: 62px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-color-scheme: dark) {
  .btn-main, .steps > li::before, .checks li::before { color: #111111; }
}

.table-wrap:focus-visible { outline-offset: -3px; }
@media (min-width: 701px) { html { scroll-padding-top: 100px; } }
