/* AI Caller: page styles.
   Direction (4.12.2026): the reference Netanel gave is mobbin.com. Measured there at 1512px:
   one typeface; ink #141414, muted #707070, white ground and no accent colour; surfaces
   rgba(64,64,64,.06) with 32px and 24px corners; h1 80/80, h2 44/48, closing h2 60/60,
   lead 20/26, body 16/24; pill buttons 44px high, dark primary and soft grey secondary;
   1100px content width; 160px between sections; colour changes in .15s, entrances 1s
   cubic-bezier(.19,1,.22,1) staggered by .1s.
   base.css (the shared Xtended Techs file, copied as is, do not edit) still supplies the reset,
   the skip link, the theme switch and the accessibility widget; its colour tokens are
   overridden below, and its glass panels and colour fields are not used.
   Hebrew: letter-spacing never below -.01em. Two weights: 400 and 700.
   CSP: external file only, no inline styles. Logical properties only (RTL first). */

:root {
  --ground: #FFFFFF; --surface: #FFFFFF; --glass-solid: #FFFFFF;
  --ink: #141414; --muted: #6B6B6B; --faint: #6B6B6B;
  --accent: #141414; --accent-hover: #2E2E2E; --accent-ink: #FFFFFF;
  --accent-soft: rgba(64, 64, 64, .12); --accent-line: rgba(64, 64, 64, .22);
  --edge: rgba(64, 64, 64, .10); --edge-strong: rgba(64, 64, 64, .24);
  --hover: rgba(64, 64, 64, .08); --shadow: rgba(0, 0, 0, .28);
  --tile: rgba(64, 64, 64, .06); --soft: rgba(64, 64, 64, .08); --soft-hover: rgba(64, 64, 64, .13);
  --foot: #141414;
  --out: cubic-bezier(.19, 1, .22, 1);
}
:root[data-theme="dark"] {
  --ground: #141414; --surface: #141414; --glass-solid: #1F1F1F;
  --ink: #F5F5F5; --muted: #A6A6A6; --faint: #A6A6A6;
  --accent: #F5F5F5; --accent-hover: #FFFFFF; --accent-ink: #141414;
  --accent-soft: rgba(255, 255, 255, .14); --accent-line: rgba(255, 255, 255, .26);
  --edge: rgba(255, 255, 255, .10); --edge-strong: rgba(255, 255, 255, .26);
  --hover: rgba(255, 255, 255, .09); --shadow: rgba(0, 0, 0, .7);
  --tile: rgba(255, 255, 255, .07); --soft: rgba(255, 255, 255, .10); --soft-hover: rgba(255, 255, 255, .16);
  --foot: #0A0A0A;
}

:lang(en) { letter-spacing: 0; }
/* A product name stays on one line, so "AI Caller" never splits across two rows. */
span[lang="en"] { white-space: nowrap; }
/* The hidden attribute must win over display rules below. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Flat page: switch off the colour fields base.css paints behind its glass panels. */
body::before { display: none; }

.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.75rem); line-height: 1.1; }
.section { padding-block: clamp(4.5rem, 10.5vw, 10rem); }

/* ── Pills ── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem;
  border: 0; border-radius: 9999px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease-out, transform .15s ease-out;
}
.pill:active { transform: scale(.98); }
.pill-dark { background: var(--accent); color: var(--accent-ink); }
.pill-dark:hover { background: var(--accent-hover); }
.pill-soft { background: var(--soft); color: var(--ink); }
.pill-soft:hover { background: var(--soft-hover); }
.pill-lg { min-height: 52px; padding-inline: 1.5rem; font-size: 1.0625rem; }
.pill[disabled] { opacity: .65; cursor: default; }

/* ── Top bar ── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--edge); }
.nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.nav-links { display: none; gap: .1rem; }
@media (min-width: 760px) { .nav-links { display: flex; } }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 9999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; transition: background-color .15s ease-out;
}
.nav-links a:hover { background: var(--hover); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: .4rem; }
.theme-toggle { width: 44px; height: 44px; border: 0; }

/* ── Hero: centred, one very large line, the sign-up right under it ── */
.hero { padding-block: clamp(3.5rem, 10vw, 8.5rem) clamp(3.5rem, 8vw, 6.5rem); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 9.4vw, 5rem); line-height: 1.05; }
/* The tile is an inline-block with no text inside, so its bottom edge sits on the baseline.
   Measured at 80px in Assistant 700: Hebrew letters are .57em tall and capitals .65em. A tile
   of .78em lowered by .105em has its centre on the centre of the Hebrew letters and its top
   at the top of the capitals. */
.h-tile {
  display: inline-block; position: relative; width: .78em; height: .78em; margin-inline: .06em;
  border-radius: 22%; background: var(--ink); color: var(--ground); vertical-align: -.105em;
}
.h-tile svg { position: absolute; inset: 0; margin: auto; width: 50%; height: 50%; }
.lead { margin: 1.5rem auto 0; max-width: 30em; font-size: clamp(1.125rem, 1.7vw, 1.25rem); line-height: 1.45; color: var(--muted); }

.hero .wrap > * { animation: rise .8s var(--out) both; }
.hero .wrap > :nth-child(2) { animation-delay: .08s; }
.hero .wrap > :nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ── Sign-up ── */
.signup { margin: 2.4rem auto 0; max-width: 32rem; text-align: start; }
.signup-row { display: grid; gap: .5rem; }
@media (min-width: 540px) { .signup-row { grid-template-columns: minmax(0, 1fr) auto; } }
.signup input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 1.3rem; border: 1px solid transparent; border-radius: 9999px;
  background: var(--tile); color: var(--ink); font: inherit; text-align: left;
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
/* Empty field: the Hebrew placeholder sits at the start edge. Once typing starts it is LTR. */
.signup input[type="email"]:placeholder-shown { direction: rtl; text-align: start; }
.signup input::placeholder { color: var(--muted); opacity: 1; }
.signup input[type="email"]:focus-visible { outline: none; border-color: var(--ink); background: var(--ground); border-radius: 9999px; }
.signup [aria-invalid="true"] { border-color: #C2362B; }
[data-theme="dark"] .signup [aria-invalid="true"] { border-color: #FF9C94; }
.signup-submit { min-height: 52px; padding-inline: 1.4rem; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin-top: 1.1rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--ink); }
.check label { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.check a { color: var(--ink); font-weight: 700; text-underline-offset: .2em; }
.signup-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; text-align: center; }

.field-error { color: #B3261E; font-size: .95rem; font-weight: 700; margin-top: .45rem; }
[data-theme="dark"] .field-error { color: #FF9C94; }
.form-status { min-height: 1.4em; margin-top: .5rem; color: var(--muted); text-align: center; }
.form-status-error { color: #B3261E; font-weight: 700; }
[data-theme="dark"] .form-status-error { color: #FF9C94; }
/* Honeypot: off screen for people, present for bots. */
.field-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup-done:focus, .signup-thanks:focus { outline: none; }
.signup-done-title { font-weight: 700; font-size: 1.3rem; text-align: center; }
.signup-more-note { color: var(--muted); margin-top: 1.6rem; }
.field { display: grid; gap: .4rem; margin-top: 1rem; }
.field label { font-weight: 700; }
.field input[type="text"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 16px;
  background: var(--tile); color: var(--ink); font: inherit; transition: border-color .15s ease-out, background-color .15s ease-out;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); background: var(--ground); border-radius: 16px; }
#waitlist-more .pill { margin-top: 1.2rem; }
.signup-thanks { margin-top: 1.2rem; color: var(--muted); text-align: center; }

/* ── The statement in two tones, then two grey tiles ── */
.two-tone { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.12; max-width: 19em; }
.two-tone .dim { display: block; margin-top: .85em; color: var(--muted); }
.tiles { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--tile); border-radius: 32px; padding: clamp(1.75rem, 4vw, 2.75rem); }
.tile h3 { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.tile ul { list-style: none; padding: 0; margin-top: .9rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
.tile li + li { margin-top: .5rem; }
.aside-note { margin-top: 1.6rem; color: var(--muted); max-width: 40em; }
.aside-note strong { color: var(--ink); }

/* ── How it works: text on one side, a grey panel with the example on the other ── */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.steps { margin-top: 1.8rem; padding-inline-start: 1.3rem; color: var(--muted); max-width: 30em; }
.steps li + li { margin-top: .85rem; }
.steps strong { color: var(--ink); }
.steps li::marker { color: var(--ink); font-weight: 700; }
.small { margin-top: 1.6rem; font-size: .95rem; color: var(--muted); }

.panel {
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  min-height: clamp(21rem, 42vw, 31rem); padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--tile); border-radius: 32px;
}
.bubble { align-self: flex-end; max-width: 21rem; padding: .85rem 1.1rem; border-radius: 20px; background: var(--ground); }
.status { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .98rem; }
.status-icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--ground); }
.status-icon svg { width: 54%; height: 54%; }
.status-icon-done { background: transparent; border: 2px solid var(--ink); border-radius: 50%; width: 14px; height: 14px; margin-inline: 5px; }
.answer { max-width: 21rem; font-size: clamp(1.15rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.35; }
.panel-cap { margin-top: .6rem; font-size: .9rem; color: var(--muted); }

/* ── The rules: a grey band with four ground-coloured cards ── */
.band { background: var(--tile); }
.band h2 { text-align: center; }
.band .lead { text-align: center; }
.cards { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 13.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px; background: var(--ground);
}
.card h3 { font-size: 1.375rem; line-height: 1.2; }
.card p { color: var(--muted); }

/* ── Questions ── */
.faq-grid { display: grid; gap: 2rem 4.5rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.7fr; } }
.terms > div { padding-block: 1.5rem; border-top: 1px solid var(--edge-strong); }
.terms > div:last-child { border-bottom: 1px solid var(--edge-strong); }
.terms dt { font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.terms dd { margin-top: .4rem; color: var(--muted); max-width: 36em; }

/* ── Closing ── */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 5.6vw, 3.75rem); line-height: 1.04; }
.closing-actions { margin-top: 2.2rem; }

/* ── Footer: dark, rounded at the top, the name very large and almost invisible ── */
.foot { overflow: hidden; background: var(--foot); color: #FFFFFF; border-start-start-radius: 32px; border-start-end-radius: 32px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(2.5rem, 6vw, 4rem); }
.foot .wordmark, .foot a { color: #FFFFFF; }
.foot-muted, .foot-muted a { color: #A6A6A6; }
.foot-muted a:hover, .foot-nav a:hover { color: #FFFFFF; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 1.8rem; }
.foot-nav a, .foot-muted a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.foot-nav a { text-decoration: none; }
.foot-copy { margin-top: 2.5rem; font-size: .95rem; text-align: end; }
.foot-mark {
  margin-top: clamp(2rem, 6vw, 4.5rem); margin-bottom: -.14em; text-align: center; white-space: nowrap;
  font-size: clamp(4rem, 20.5vw, 19rem); font-weight: 700; line-height: .8; color: rgba(255, 255, 255, .07);
  -webkit-user-select: none; user-select: none; pointer-events: none;
}

/* The accessibility button is dark on a dark footer, so it gets a light ring. */
.a11y-fab { border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 12px 26px -12px rgba(0, 0, 0, .5); }

/* ── Entrances: script.js adds .rv-wait only to blocks below the fold, and only in a visible
   tab without reduced motion. Without it everything is simply there. ── */
.rv-wait { opacity: 0; transform: translateY(20px); }
.rv-wait.rv-in { opacity: 1; transform: none; transition: opacity .8s var(--out), transform .8s var(--out); }
.rv-d1.rv-in { transition-delay: .08s; }
.demo-wait [data-step] { opacity: 0; transform: translateY(10px); }
.demo-wait [data-step].is-on { opacity: 1; transform: none; transition: opacity .6s var(--out), transform .6s var(--out); }

/* ── Text pages (privacy) ── */
.page { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); }
.page .wrap > * { max-width: 40rem; }
.page h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.06; }
.page .updated { color: var(--muted); margin-top: .8rem; }
.page h2 { font-size: 1.3rem; line-height: 1.3; margin-top: 2.4rem; }
.page p, .page ul { color: var(--muted); margin-top: .8rem; }
.page ul { padding-inline-start: 1.2rem; }
.page li { margin-top: .35rem; }
.page a { color: var(--ink); font-weight: 700; text-underline-offset: .2em; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1rem; }
.draft-note { background: var(--warn-bg); color: var(--warn-ink); border-radius: 16px; padding: .8rem 1rem; margin-top: 1.4rem; font-weight: 700; }

/* ── Icons: one family (Feather, MIT), 1.75 stroke, ink colour. The mark beside the name is
   the same phone tile as in the headline. ── */
.mark { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-inline-end: .5em; border-radius: 28%; background: var(--ink); color: var(--ground); }
.mark svg { width: 56%; height: 56%; }
.foot .mark { background: #FFFFFF; color: #141414; }
.card-icon { display: block; width: 28px; height: 28px; color: var(--ink); }
.card-icon svg, .tile-icon svg { width: 100%; height: 100%; }
.card h3 + p { margin-top: .5rem; }
.tile h3 { display: flex; align-items: center; gap: .5rem; }
.tile-icon { flex: none; width: 20px; height: 20px; }
