/* נטו מייל - the public site. Layout concept: a phone keypad is the visual system - keys are the
   brand mark, the section markers and the guide itself; everything else stays quiet and readable. */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #12203a;
  --muted: #55627a;
  --line: #dfe5ee;
  --brand: #0b5fa5;
  --brand-ink: #ffffff;
  --key: #f3c64f;
  --key-ink: #2a2105;
  --key-soft: #fdf4d6;
  --extra: rgb(0, 150, 210);
  --font-display: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --s-1: 0.92rem;
  --s0: 1.075rem;
  --s1: 1.3rem;
  --s2: clamp(1.6rem, 2.4vw + 0.9rem, 2.2rem);
  --s3: clamp(2.5rem, 5.2vw + 1rem, 4.4rem);
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1422; --surface: #141d30; --ink: #e8edf6; --muted: #9aa7bf; --line: #253149;
    --brand: #5cb2f0; --brand-ink: #07213a; --key: #e8bb43; --key-ink: #231b03; --key-soft: #2a2614;
    --extra: #5ccaf5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1422; --surface: #141d30; --ink: #e8edf6; --muted: #9aa7bf; --line: #253149;
  --brand: #5cb2f0; --brand-ink: #07213a; --key: #e8bb43; --key-ink: #231b03; --key-soft: #2a2614;
  --extra: #5ccaf5; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--s0); line-height: 1.7; font-weight: 400; }
img { max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--s3); }
h2 { font-size: var(--s2); }
h3 { font-size: var(--s1); }
p { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); direction: ltr; unicode-bidi: isolate; }
.eyebrow { display: inline-block; font-size: var(--s-1); font-weight: 700; letter-spacing: 0.05em; color: var(--muted); }

/* keys - the brand's one motif */
.k { display: inline-grid; place-items: center; min-width: 2.05rem; height: 2.05rem; padding-inline: 0.35rem; border-radius: 9px;
  background: var(--key-soft); border: 1px solid var(--key); color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: 0.98rem; direction: ltr; line-height: 1; vertical-align: middle; }
.k.solid { background: var(--key); color: var(--key-ink); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.5rem; }
.brand .mark { width: 2.2rem; height: 2.2rem; border-radius: 10px; background: var(--key); color: var(--key-ink); display: grid; place-items: center; font-size: 1.25rem; font-family: var(--font-mono); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--key-soft); }
.nav .cta { background: var(--brand); color: var(--brand-ink); }
.nav .cta:hover { background: var(--brand); filter: brightness(1.08); }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; font-weight: 700; background: var(--key-soft); color: var(--ink); border: 1px solid var(--key); border-radius: 10px; padding: 0.45rem 0.8rem; cursor: pointer; }
  .nav { display: none; position: absolute; inset-inline: 12px; top: 72px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem; box-shadow: 0 20px 40px -20px rgba(18,32,58,.35); }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 1rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 600; text-decoration: none; border-radius: 999px; padding: 0.8rem 1.4rem; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.key { background: var(--key); color: var(--key-ink); }
.btn:hover { filter: brightness(1.06); }

/* sections */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }
.head { display: grid; gap: 0.6rem; max-width: 44rem; margin-bottom: 2.25rem; }
.head p { color: var(--muted); font-size: 1.12rem; }

/* hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); background: radial-gradient(900px 480px at 88% -8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), radial-gradient(760px 420px at 4% 108%, color-mix(in srgb, var(--key) 26%, transparent), transparent 70%), var(--surface); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lead { font-size: clamp(1.15rem, 1vw + 0.9rem, 1.35rem); color: var(--muted); max-width: 36rem; margin-top: 1.1rem; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 2rem; }
.dial { font-family: var(--font-body); font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.copied { font-size: var(--s-1); color: var(--muted); min-height: 1.4em; }
.address-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 24px 48px -32px rgba(18,32,58,.4); }
.address-card .addr { font-family: var(--font-mono); direction: ltr; text-align: left; font-size: clamp(1.05rem, 2.2vw, 1.4rem); word-break: break-all; }
.address-card .addr b { color: var(--brand); font-weight: 500; }
.address-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.address-card li { display: flex; gap: 0.6rem; align-items: baseline; }
.address-card li::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--key); transform: translateY(-0.1rem); }

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s); width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--key); color: var(--key-ink); font-family: var(--font-mono); font-size: 1.1rem; }
.steps p { color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.feature { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.feature .ico { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--key-soft); color: var(--ink); display: grid; place-items: center; }
.feature .ico svg { width: 1.4rem; height: 1.4rem; }
.feature p { color: var(--muted); }

/* key table */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2.5rem; }
.keyrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: start; padding-block: 0.6rem; border-bottom: 1px solid var(--line); }
.keyrow p { color: var(--muted); font-size: 0.98rem; }
.keyrow strong { display: block; }

/* extra mail band */
.extra-band { background: linear-gradient(135deg, color-mix(in srgb, var(--extra) 14%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--extra) 35%, var(--line)); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem; align-items: center; }
.extra-band h2 span { color: var(--extra); }
.extra-band p { color: var(--muted); margin-top: 0.5rem; max-width: 40rem; }

/* two cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 0.7rem; align-content: start; min-width: 0; }
.card p { color: var(--muted); }

/* faq */
.faq { display: grid; max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--brand); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { color: var(--muted); margin-top: 0.6rem; display: grid; gap: 0.5rem; }

/* page head for inner pages */
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.page-head p { color: var(--muted); font-size: 1.15rem; margin-top: 0.75rem; max-width: 44rem; }
.prose { max-width: 48rem; display: grid; gap: 1rem; }
.prose h2 { margin-top: 1.5rem; }
.prose ul { margin: 0; padding-inline-start: 1.3rem; display: grid; gap: 0.4rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.toc a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 600; }
.toc a:hover { border-color: var(--key); }
.table-wrap { overflow-x: auto; }
table.kt { width: 100%; border-collapse: collapse; }
table.kt th, table.kt td { text-align: right; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kt th { font-size: var(--s-1); color: var(--muted); letter-spacing: 0.04em; }
table.kt td:first-child { width: 4.5rem; white-space: nowrap; }
.guide-block { display: grid; gap: 1rem; padding-block: 2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.note { background: var(--key-soft); border: 1px solid var(--key); border-radius: 14px; padding: 1rem 1.2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.contact-grid .card .big { font-family: var(--font-mono); direction: ltr; text-align: right; font-size: 1.3rem; color: var(--ink); text-decoration: none; word-break: break-all; }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 2.75rem; }
footer h4 { margin: 0 0 0.6rem; font-size: 1rem; }
footer li { overflow-wrap: anywhere; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--muted); font-size: var(--s-1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }

@media (max-width: 860px) {
  .hero-grid, .duo, .extra-band { grid-template-columns: minmax(0, 1fr); }
  .steps, .features, .keys, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
.steps p { overflow-wrap: anywhere; }
