/* Mental Brightness — brand site. Ink, white and red (red only as the accent). Hebrew, RTL.
   Typeface: Heebo (SIL Open Font License, see fonts/OFL-Heebo.txt), self-hosted variable font (weights 100-900): no external requests.
   One type system: headings 600-700 with tight tracking, text 400, generous spacing (--section). Dark and light bands alternate. */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/heebo-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/heebo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --red: #e4002b;
  --red-dark: #b80022;
  --max: 1140px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, "Arial Hebrew", Arial, sans-serif;
  --section: clamp(72px, 9vw, 136px);
  --soft: #f5f5f3;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bg: var(--ink);
  --fg: #ffffff;
  --muted: #a9a9a9;
  --line: #262626;
}
.on-light { --bg: var(--paper); --fg: var(--ink); --muted: #5f5f5f; --line: #e2e2e0; }
.on-dark { --bg: var(--ink); --fg: #ffffff; --muted: #a9a9a9; --line: #262626; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #fff; font-family: var(--font); font-weight: 400; line-height: 1.75; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; z-index: 200; text-decoration: none; font-weight: 500; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- header: solid on inner pages; on the home page it appears only after the hero ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 11, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #262626; }
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; min-height: 68px; }
.brand-link { display: inline-flex; align-items: center; margin-inline-end: clamp(28px, 4vw, 52px); padding-inline-end: clamp(28px, 4vw, 52px); border-inline-end: 1px solid #2a2a2a; }
.brand-link img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
/* menu */
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 6px 0; color: #e8e8e8; text-decoration: none; font-size: .95rem; font-weight: 400; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: rgba(255, 255, 255, .75); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; background: rgba(11, 11, 11, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; }
.nav-toggle-bars { width: 16px; height: 10px; background: linear-gradient(#fff, #fff) 0 0 / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) 0 100% / 100% 1.5px no-repeat; }
@media (max-width: 760px) {
  .site-header .wrap { justify-content: space-between; }
  .brand-link, .site-header--overlay.is-scrolled .brand-link { margin-inline-end: 0; padding-inline-end: 0; border-inline-end-width: 0; }
  .nav { position: static; margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 14px; background: rgba(11, 11, 11, .97); border-bottom: 1px solid #262626; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid #1d1d1d; }
  .nav-links li:last-child a { border-bottom: 0; }
}
/* home: the header is laid over the hero (menu visible, the logo joins after the hero) */
.site-header--overlay { position: fixed; inset-inline: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.site-header--overlay::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(to bottom, rgba(11, 11, 11, .72), rgba(11, 11, 11, 0)); pointer-events: none; transition: opacity .3s; }
.site-header--overlay .brand-link { max-width: 0; margin-inline-end: 0; padding-inline-end: 0; border-inline-end-width: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: max-width .35s var(--ease), margin .35s var(--ease), padding .35s var(--ease), opacity .3s; }
.site-header--overlay.is-scrolled { background: rgba(11, 11, 11, .94); border-bottom-color: #262626; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header--overlay.is-scrolled::before { opacity: 0; }
.site-header--overlay.is-scrolled .brand-link { max-width: 260px; margin-inline-end: clamp(28px, 4vw, 52px); padding-inline-end: clamp(28px, 4vw, 52px); border-inline-end-width: 1px; opacity: 1; pointer-events: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 2px; font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn[hidden] { display: none; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.btn-outline:hover { border-color: var(--fg); }
.site-header .btn-outline { --fg: #fff; }
.btn-small { min-height: 40px; padding: 0 20px; font-size: .95rem; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- 1. hero: the coach photo, the logo, one line (nothing else) ---------- */
.hero { position: relative; min-height: min(84svh, 720px); min-height: max(min(84svh, 720px), 540px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to left, rgba(11, 11, 11, .94) 0%, rgba(11, 11, 11, .76) 24%, rgba(11, 11, 11, .18) 50%, rgba(11, 11, 11, 0) 66%),
  linear-gradient(to top, rgba(11, 11, 11, .55) 0%, rgba(11, 11, 11, 0) 16%); }
.hero-inner { padding-block: 72px; }
.hero-copy { width: min(500px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-logo { width: 84px; height: auto; align-self: center; }
h1 { margin: 0; font-size: clamp(2.15rem, 3.9vw, 3.3rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.hero-sub { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 400; color: #dcdcdc; line-height: 1.6; max-width: 22em; }

@media (max-width: 800px) {
  /* phone: the photo on top (the coach and the shirt logo fully in view), the copy on solid ink below */
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: min(54svh, 440px); min-height: 330px; }
  .hero-media img { object-position: 30% 0%; }
  .hero-shade { height: min(54svh, 440px); min-height: 330px; bottom: auto; background: linear-gradient(to top, var(--ink) 0%, rgba(11, 11, 11, 0) 36%); }
  .hero-inner { padding-block: 0 36px; margin-top: -56px; position: relative; }
  .hero-copy { gap: 16px; width: fit-content; max-width: 100%; }
  .hero-logo { width: 72px; }
}

/* ---------- bands ---------- */
.band { padding-block: var(--section); background: var(--bg); color: var(--fg); }
.kicker { margin: 0 0 14px; color: var(--red); font-weight: 600; font-size: .9rem; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.14; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.lede { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.8; text-wrap: pretty; max-width: 36em; }
.on-light .lede { color: #3d3d3d; }
.on-dark .lede { color: #cfcfcf; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* 2. the process */
.anchor { display: block; height: 0; overflow: hidden; }
.process-title { max-width: 16em; margin: 0 0 clamp(28px, 3.5vw, 48px); }
.process-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.process-intro p { margin: 0; max-width: 31em; color: #3d3d3d; font-size: clamp(1.04rem, 1.4vw, 1.14rem); line-height: 1.9; text-wrap: pretty; }
.process-intro p:first-child { color: var(--ink); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.6; font-weight: 500; letter-spacing: -.01em; }
.process-sub { margin: clamp(56px, 7vw, 96px) 0 24px; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 36px); background: var(--soft); border-radius: 4px; }
.feature-num { color: var(--red); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.feature h4 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin: 0; color: #4a4a4a; font-size: 1.03rem; line-height: 1.75; }
.process-goal { margin: clamp(48px, 6vw, 80px) 0 0; max-width: 24em; font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.4; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.process-goal strong { color: var(--red); font-weight: 600; }

/* 3. professional tools: two equal columns, the real app screens and the real workbook covers */
.tools-title { max-width: 16em; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.tool { display: flex; flex-direction: column; gap: 14px; }
.tool-visual { position: relative; display: grid; justify-items: center; align-items: end; height: 440px; margin-bottom: 14px; overflow: hidden; }
.tool-visual--books { align-items: center; }
.tool-visual--books img { width: 100%; max-width: 540px; height: auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
.tool h3 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.tool p { margin: 0; max-width: 30em; color: #cfcfcf; font-size: 1.04rem; line-height: 1.8; text-wrap: pretty; }
.tool .tool-note { color: var(--muted); font-size: .95rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores[hidden], .stores a[hidden] { display: none; }
.stores .btn { min-height: 44px; max-width: 100%; padding: 0 24px; font-size: .98rem; }
.devices { position: relative; width: 405px; height: 440px; isolation: isolate; }
.devices::before { content: ""; position: absolute; inset: -10% -14% -4%; z-index: -1; background: radial-gradient(58% 52% at 50% 62%, rgba(228, 0, 43, .2), rgba(228, 0, 43, 0) 72%); }
.device { position: absolute; bottom: 0; width: 230px; padding: 8px 8px 0; border-radius: 40px 40px 0 0; background: linear-gradient(160deg, #323232, #101010 55%, #1c1c1c); box-shadow: inset 0 0 0 1px #4a4a4a, 0 28px 70px rgba(0, 0, 0, .55); -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent); mask-image: linear-gradient(to bottom, #000 84%, transparent); }
.device::before, .device::after { content: ""; position: absolute; width: 3px; background: #2c2c2c; border-radius: 2px; }
.device::before { inset-inline-start: -3px; top: 84px; height: 38px; }
.device::after { inset-inline-end: -3px; top: 108px; height: 56px; }
.screen { position: relative; overflow: hidden; height: 100%; border-radius: 32px 32px 0 0; background: #000; }
.screen::before { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 68px; height: 20px; margin-left: -34px; border-radius: 12px; background: #000; }
.screen img { width: 100%; height: auto; }
.device--back { left: 0; height: 370px; filter: brightness(.8); }
.device--front { left: 175px; height: 420px; z-index: 2; }
@media (max-width: 1060px) {
  .tool-visual { height: 390px; }
  .devices { width: 340px; height: 390px; }
  .device { width: 190px; padding: 7px 7px 0; border-radius: 34px 34px 0 0; }
  .screen { border-radius: 27px 27px 0 0; }
  .screen::before { top: 7px; width: 58px; height: 17px; margin-left: -29px; }
  .device::before { top: 70px; height: 32px; } .device::after { top: 90px; height: 48px; }
  .device--back { height: 320px; }
  .device--front { left: 150px; height: 360px; }
}

/* 6. contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 88px); align-items: center; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-mail { margin: 0; color: var(--muted); font-size: 1rem; }
.contact-mail a { color: var(--fg); font-weight: 500; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--fg) 45%, transparent); text-decoration-thickness: 1px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } .contact .cta-row, .contact .cta-row .btn { width: 100%; } }

/* 4. home contact: one clear message and one clear action */
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 760px; text-align: center; }
.cta-inner h2 { max-width: 15em; }
.cta-inner .lede { max-width: 26em; }
.cta .cta-row { justify-content: center; margin-top: 8px; }
.cta .btn { min-height: 58px; padding: 0 40px; font-size: 1.1rem; }
.cta .cta-row:has(> [data-whatsapp]:not([hidden])) .btn-mail { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.cta .cta-row:has(> [data-whatsapp]:not([hidden])) .btn-mail:hover { border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid #262626; padding: 24px 0 30px; background: #060606; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; color: #a9a9a9; font-size: .88rem; max-width: 46em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #a9a9a9; text-decoration: none; font-weight: 400; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.site-footer img { height: 38px; width: auto; margin-bottom: 10px; }

/* ---------- subtle reveal (only when JS runs; the page is fully visible without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- legal pages (privacy / terms): unchanged markup, shares the type and colours ---------- */
.legal { padding: 48px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); margin-bottom: 6px; line-height: 1.25; font-weight: 500; }
.legal h2 { font-size: 1.22rem; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid #262626; line-height: 1.4; letter-spacing: 0; font-weight: 500; }
.legal p, .legal li { color: #e6e6e6; font-size: 1.02rem; }
.legal li { margin: 6px 0; }
.legal .muted { color: #a9a9a9; font-size: .92rem; }
.legal a { color: #ff5a78; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .96rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid #262626; padding: 9px 12px; text-align: right; vertical-align: top; }
.legal th { background: #161616; }
.legal .en { direction: ltr; text-align: left; border-top: 3px solid var(--red); margin-top: 56px; padding-top: 16px; }
.legal .en h1, .legal .en h2, .legal .en p, .legal .en li { text-align: left; }
.legal .brand::after { content: "."; color: var(--red); }
.legal .todo { background: rgba(228, 0, 43, .18); outline: 1px dashed var(--red); padding: 0 4px; }
.center { text-align: center; }
.logo-404 { height: 72px; width: auto; margin: 48px auto 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- about page: a small portrait beside the text, restrained editorial type ---------- */
.about { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.about-grid { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; border-radius: 2px; }
.about-name { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.about-role { margin: 8px 0 0; color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1.5; }
.about-cred { margin: 22px 0 0; max-width: 34em; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.7; text-wrap: pretty; }
.about-text { margin-top: 28px; }
.about-text p { margin: 0 0 1.25em; max-width: 34em; color: #2f2f2f; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.about-text p:last-child { margin-bottom: 0; }
.about-closing { margin: 36px 0 0; max-width: 30em; padding-inline-start: 20px; border-inline-start: 3px solid var(--red); font-size: 18px; line-height: 1.7; font-weight: 500; text-wrap: pretty; }

.nowrap { white-space: nowrap; }

/* the brand name never breaks across lines */
bdi[dir="ltr"] { white-space: nowrap; }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  :root { --section: 60px; }
  .lede { font-size: .98rem; line-height: 1.72; }
  .stack { gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-name { font-size: 26px; }
  .about-text { margin-top: 24px; }
  .about-cred { font-size: 16px; margin-top: 18px; }
  .about-text p { font-size: 16px; }
  .about-closing { font-size: 17px; margin-top: 28px; }
  .about-photo { width: 75%; }
  .process-intro, .tools-grid, .features { grid-template-columns: 1fr; }
  .process-intro { gap: 18px; }
  .features { gap: 12px; }
  .feature { padding: 22px 20px; }
  .process-sub { margin: 44px 0 18px; }
  .tools-grid { gap: 56px; }
  .tool-visual { height: 300px; margin-bottom: 8px; }
  .tool-visual--books { height: auto; }
  .devices { width: 316px; max-width: 100%; height: 300px; }
  .device { width: 176px; padding: 7px 7px 0; border-radius: 32px 32px 0 0; }
  .screen { border-radius: 26px 26px 0 0; }
  .screen::before { top: 7px; width: 54px; height: 16px; margin-left: -27px; }
  .device::before { top: 64px; height: 30px; } .device::after { top: 84px; height: 44px; }
  .device--back { height: 250px; }
  .device--front { left: 140px; height: 290px; }
  .cta-inner { gap: 16px; }
  .cta .cta-row, .cta .cta-row .btn { width: 100%; }
  .site-footer { padding: 20px 0 24px; }
  .site-footer img { height: 32px; margin-bottom: 8px; }
  .footer-links a, .contact-mail a { position: relative; }
  .footer-links a::after { content: ""; position: absolute; inset: -9px -8px; }
  .contact-mail a::after { content: ""; position: absolute; inset: -11px -8px; }
}
