/* Bereshit site — one light look, matched to tech.bereshitacademy.com.
   Layout: full-width bands alternating white / mist, 1200px inner wrap, pill buttons, one blue for action. */
:root {
  --navy: #0B1B3F;
  --ink: #4B5675;
  --blue: #1F5EFF;
  --blue-d: #1648C9;
  --blue-soft: #EEF3FF;
  --mist: #F5F8FF;
  --line: #E3E9F7;
  --white: #FFFFFF;
  --green: #15803D;
  --sky: #9DB8FF;
  --sans: "Plus Jakarta Sans", Rubik, "Segoe UI", system-ui, sans-serif;
  --he: Rubik, "Plus Jakarta Sans", Arial, sans-serif;
  --radius: 24px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[lang="he"] { font-family: var(--he); }
h1, h2, h3 { color: var(--navy); margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: 900px; }
.band { padding-block: 88px; }
.band--mist { background: var(--mist); }
.band--blue { background: var(--blue); }
.band--navy { background: var(--navy); }
.band--tight { padding-block: 56px; }

.h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -1.5px; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.6px; }
.h3 { font-size: 21px; line-height: 1.3; }
.lead { font-size: 19px; max-width: 600px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; }
.blue-word { color: var(--blue); }
.muted { font-size: 15px; }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--sm { gap: 12px; }
.center { text-align: center; align-items: center; }
.center .lead { margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.section-head { margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.2; padding: 17px 28px; text-decoration: none; border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s; cursor: pointer; font-family: inherit; }
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(31, 94, 255, .28); }
.btn--primary:hover { background: var(--blue-d); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: #D5DEF2; }
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { color: var(--blue-d); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.btn--sm { font-size: 15px; padding: 12px 20px; }
.btn--block { width: 100%; }

.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid #DCE5FA; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--navy); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #E6ECF8; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand strong { font-size: 20px; font-weight: 800; }
.brand span { font-size: 13px; font-weight: 500; color: var(--ink); }
.brand img.brand-logo { width: auto; height: 36px; border-radius: 0; object-fit: contain; }
.brand .brand-tag { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; padding-left: 12px; border-left: 1px solid #D5DEF2; line-height: 1.2; }
.nav a, .site-header .btn { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1320px) {
  .site-header .wrap { gap: 20px; }
  .nav { gap: 20px; }
}
@media (min-width: 921px) and (max-width: 1260px) {
  .brand .brand-tag { display: none; }
}
@media (max-width: 520px) {
  .site-header .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand img.brand-logo { height: 28px; }
  .brand .brand-tag { font-size: 12px; padding-left: 0; border-left: 0; }
}
.nav { display: flex; gap: 28px; margin-left: auto; padding-left: 16px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-header .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px max(24px, env(safe-area-inset-right, 0px)) 20px max(24px, env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--mist); }
  .nav .nav-cta { display: flex; margin-top: 14px; border: 0; }
}
.nav .nav-cta { display: none; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--raised { box-shadow: 0 8px 24px rgba(11, 27, 63, .06); }
.card--flat { border: 0; }
a.card { text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: #C9D6F5; box-shadow: 0 14px 30px rgba(11, 27, 63, .09); color: var(--ink); }
.card-link { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--blue); }

/* Hero */
.hero { background: var(--mist); }
.hero .split { padding-block: 72px 56px; }
.trust { display: flex; align-items: center; gap: 12px; }
.trust img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.trust strong { display: block; color: var(--navy); font-size: 15px; }
.trust span { font-size: 14px; }
.facts { padding-bottom: 64px; --min: 200px; gap: 12px; }
.fact { background: var(--white); border: 1px solid #E6ECF8; border-radius: 16px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.45; }
.fact strong { font-size: 34px; color: var(--blue); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.fact svg { flex-shrink: 0; }

/* Doors */
.door { border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .15s; }
.door:hover { transform: translateY(-2px); }
.door--light { background: var(--mist); border: 1px solid var(--line); color: var(--ink); }
.door--light:hover { color: var(--ink); }
.door--dark { background: var(--navy); color: #D2DCF2; }
.door--dark:hover { color: #D2DCF2; }
.door .eyebrow { font-size: 13px; }
.door--dark .eyebrow { color: var(--sky); }
.door-title { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.door--dark .door-title, .door--dark .card-link { color: var(--white); }

/* Levels */
.level-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.level-step { font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.level-he { font-family: var(--he); font-size: 18px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 4px 12px; border-radius: 999px; }
.level-name { font-size: 22px; font-weight: 800; color: var(--navy); }
.level-meta { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--navy); }
.callout { background: var(--mist); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; }
.callout strong { display: block; color: var(--navy); font-size: 18px; }

/* Steps */
.step img { width: 100%; height: 150px; object-fit: contain; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Mor */
.portrait { position: relative; display: flex; justify-content: center; }
.portrait img { width: 100%; max-width: 440px; height: 500px; object-fit: cover; border-radius: 32px; }
.portrait-badge { position: absolute; bottom: 24px; left: 24px; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: 0 12px 30px rgba(11, 27, 63, .15); }
.portrait-badge strong { display: block; font-size: 26px; color: var(--blue); font-weight: 800; line-height: 1.2; }
.portrait-badge span { font-size: 13px; color: var(--navy); font-weight: 600; }
.quote-big { font-size: 22px; line-height: 1.5; color: var(--navy); font-weight: 600; }

/* Testimonials */
.testimonial { margin: 0; }
.t-cols { columns: 3 300px; column-gap: 24px; }
.t-cols > .testimonial { break-inside: avoid; margin: 0 0 24px; width: 100%; }
.testimonial blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--navy); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #E6EDFF; color: var(--blue); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial figcaption strong { display: block; color: var(--navy); font-size: 15px; }
.testimonial figcaption span span { font-size: 13px; }

/* Pricing */
.price-card { position: relative; border-radius: 28px; padding: 32px; gap: 16px; }
.price-card--featured { border: 2px solid var(--blue); }
.price-tag { position: absolute; top: -14px; left: 32px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price strong { font-size: 44px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.price s { font-size: 18px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%231F5EFF' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.band--blue .ticks li { color: var(--white); font-size: 16px; }
.band--blue .ticks li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23FFFFFF' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band--blue .h2 { color: var(--white); }
.band--blue .eyebrow { color: #D6E2FF; }
.art-box { background: var(--white); border-radius: 28px; padding: 20px; }
.art-box img { width: 100%; height: 280px; object-fit: contain; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 20px; padding: 0 26px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; font-size: 16px; }

/* Final CTA */
.cta-final img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 24px rgba(11, 27, 63, .15); }

/* Footer */
.site-footer { background: var(--navy); color: #C9D3EA; font-size: 14px; }
.site-footer .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer a { color: #C9D3EA; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand strong { color: var(--white); font-size: 18px; }
.footer-by { margin: -4px 0 0; font-size: 13px; color: #C9D3EA; }
.footer-by strong { font-size: 13px; color: var(--white); font-weight: 700; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 48px; }
@media (max-width: 560px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px; text-align: center; font-size: 13px; }

/* Floating WhatsApp */
.wa-float { position: fixed; z-index: 40; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; padding: 7px 20px 7px 7px; border-radius: 999px; box-shadow: 0 10px 24px rgba(11, 27, 63, .25); }
.wa-float:hover { color: var(--white); background: #116B33; }
.wa-float img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }

/* Inner page hero */
.page-hero { background: var(--mist); padding-block: 64px 56px; }

@media (max-width: 640px) {
  .band { padding-block: 64px; }
  .hero .split { padding-block: 40px 32px; gap: 32px; }
  .btn { width: 100%; }
  .row .btn { flex: 1 1 100%; }
  .portrait img { height: 380px; }
  .door { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .door { transition: none; }
}

/* start-free funnel cards */
.start-free { background: linear-gradient(180deg, #EEF3FF 0%, var(--white) 100%); }
.free-card { position: relative; gap: 12px; padding: 32px; border: 2px solid #DCE5FA; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.free-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.free-card img, .free-icon { width: 96px; height: 72px; object-fit: contain; display: flex; align-items: center; justify-content: center; background: #EEF3FF; border-radius: 12px; }
.free-badge { position: absolute; top: 20px; right: 20px; background: #FFD27A; color: var(--navy); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; }
.price-card--team { background: var(--mist); }
