/* ==========================================================================
   Kepler · كيبلر  |  Landing page styles
   Design system sampled from the MISA pitch deck (Poppins + Cairo, lime on near black)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-dark: #121315;
  --card-dark: #1d1f22;
  --panel: #0c0d0f;
  --row: #17181b;
  --line-dark: #3a3d40;
  --line-soft: #282a2d;
  --blob-dark: #2f3421;

  --bg-light: #fafaf7;
  --card-light: #ffffff;
  --line-light: #e6e8e3;

  --lime: #c9e265;
  --lime-hover: #bfd95a;
  --lime-soft: #e6f2bb;
  --lime-deep: #8fb832;
  --lime-ink: #41501f;

  --ink: #17181a;
  --ink-2: #2b2c2e;
  --text-dark: #e4e7ea;      /* body text on dark */
  --muted-dark: #a8adb1;     /* captions on dark */
  --muted-light: #5f6165;    /* captions on light */
  --footer-gray: #7a7d81;

  --font-en: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 16px;
  --r-lg: 20px;
  --pill: 999px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--lime); color: var(--ink); font-weight: 700;
  padding: .6rem 1rem; border-radius: var(--pill); z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Arabic mode ---------- */
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] .title,
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .card h3,
html[lang="ar"] .roadmap__step h3,
html[lang="ar"] .panel__title { letter-spacing: 0; }
/* Latin-only pieces keep Poppins even in Arabic mode */
.brand, .stat__num, .num, .step__num, .status--pct, .lang__en, .ln--en, .contact__v[dir="ltr"] { font-family: var(--font-en); }
[lang="ar"] { font-family: var(--font-ar); }
[lang="en"] { font-family: var(--font-en); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.section--dark { background: var(--bg-dark); color: #fff; }
.section--light { background: var(--bg-light); color: var(--ink); }
.section--tight { padding-top: 0; }
.section--divider { border-top: 1px solid rgba(255, 255, 255, .06); }

.section__head { max-width: 860px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head .lead { margin-top: 1.25rem; }

.title {
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 1.1rem;
}
.hl { color: var(--lime); }
.title .hl, .hero__title .hl { display: inline-block; }
.section--light .hl { color: var(--lime-deep); }
.card--lime .hl { color: var(--lime-ink); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 62ch;
}
.section--light .lead { color: var(--muted-light); }

/* ---------- Pills, tags, chips, buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--pill);
  background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: .84rem; line-height: 1.1;
  letter-spacing: .01em;
}

.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag {
  display: inline-flex; align-items: center;
  padding: .6rem 1.15rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-dark);
  font-size: .92rem; font-weight: 500; line-height: 1.1;
  color: #fff;
}
.tag--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: var(--pill);
  font-weight: 700; font-size: .92rem; line-height: 1.1;
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); transform: translateY(-1px); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-dark);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.section--light .card {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  box-shadow: 0 1px 2px rgba(23, 24, 26, .03);
}
.card--lime, .section--light .card--lime, .section--dark .card--lime {
  background: var(--lime); color: var(--ink); border-color: transparent;
}
.card p { color: var(--text-dark); }
.section--light .card p { color: var(--ink-2); }
.card--lime p, .section--light .card--lime p { color: var(--ink); }
.card h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.25; margin-bottom: .75rem; letter-spacing: -.01em; }
.card__lead { font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.card__sub { margin-top: .9rem; font-size: .96rem; color: var(--lime-ink) !important; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Background blobs ---------- */
.blob {
  position: absolute; border-radius: 50%;
  background: var(--blob-dark);
  pointer-events: none; z-index: 0;
}
.section--light .blob { background: var(--lime-soft); opacity: .6; }
.blob--hero-1 { width: 520px; height: 520px; inset-inline-end: -180px; top: -260px; }
.blob--hero-2 { width: 240px; height: 240px; inset-inline-end: 12%; bottom: -150px; }
.blob--about { width: 360px; height: 360px; inset-inline-start: -190px; top: 22%; }
.blob--pillars { width: 320px; height: 320px; inset-inline-end: -150px; bottom: -170px; }
.blob--deliver { width: 380px; height: 380px; inset-inline-start: -200px; top: -120px; }
.blob--tech { width: 480px; height: 480px; inset-inline-end: -240px; top: 6%; }
.blob--vision { width: 260px; height: 260px; inset-inline-start: -130px; top: 30%; }
.blob--founder { width: 420px; height: 420px; inset-inline-end: -220px; top: 26%; }
.blob--contact { width: 460px; height: 460px; inset-inline-end: -240px; bottom: -240px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 21, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  font-family: var(--font-en);
  font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1;
  color: #fff;
  direction: ltr; unicode-bidi: isolate;
}
.brand__dot { color: var(--lime); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__links a {
  font-weight: 500; font-size: .95rem; color: #d6d9dc;
  padding: .35rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--lime); }
.nav__cta-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: .75rem; }

.lang {
  display: inline-flex; align-items: center; gap: .45rem;
  direction: ltr;
  padding: .45rem .8rem;
  border: 1px solid var(--line-dark); border-radius: var(--pill);
  color: #a8adb1; font-weight: 600; font-size: .85rem; line-height: 1;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang:hover { border-color: var(--lime); }
.lang__sep { opacity: .5; }
.lang__ar { font-family: var(--font-ar); font-weight: 700; font-size: 1rem; line-height: 1; }
html[lang="en"] .lang__en, html[lang="ar"] .lang__ar { color: var(--lime); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border-radius: 12px;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem); min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  margin-top: 1.5rem;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 1000px;
}
.hero__title .t2 {
  display: block;
  font-size: .68em;
  line-height: 1.12;
  margin-top: .3em;
  letter-spacing: -.02em;
}
html[lang="ar"] .hero__title .t2 { line-height: 1.35; letter-spacing: 0; }
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted-dark);
  max-width: 56ch;
}
.hero .tags { margin-top: 2rem; }
.hero__founder { margin-top: clamp(3rem, 7vw, 5rem); color: var(--muted-dark); font-size: .95rem; }
.hero__founder b { color: var(--lime); font-weight: 700; }
.sep { color: var(--muted-dark); margin-inline: .35em; }

/* ---------- Pillars ---------- */
.pillar { display: flex; flex-direction: column; align-items: flex-start; }
.num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  font-weight: 800; font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

/* ---------- Deliver ---------- */
.list { display: grid; gap: .55rem; }
.list li { position: relative; padding-inline-start: 1.25rem; color: var(--text-dark); }
.list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
}
.engine {
  margin-top: 1.25rem;
  display: flex; align-items: flex-start; gap: 1.25rem;
}
.engine__icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(23, 24, 26, .12); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.engine h3 { margin-bottom: .4rem; }
.engine p { font-size: 1.05rem; font-weight: 500; }

/* ---------- Technology panels ---------- */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.panel__bar { display: flex; align-items: center; gap: .9rem; padding: .25rem .25rem .9rem; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark); display: block; }
.panel__title { font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: -.005em; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .8rem; border-radius: var(--pill);
  border: 1px solid var(--line-dark); color: #d6d9dc;
  font-size: .8rem; font-weight: 500; line-height: 1.1;
}
.chip--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }

.steps, .findings { display: grid; gap: .6rem; }
.step, .finding {
  background: var(--row);
  border-radius: 12px;
  padding: .85rem 1rem;
  display: flex; align-items: center; gap: .9rem;
}
.step__num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--muted-dark);
  font-size: .78rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.step--live .step__num { border-color: var(--lime); color: var(--lime); }
.lines { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ln { display: block; font-size: .92rem; line-height: 1.5; color: #fff; }
.ln--en { direction: ltr; text-align: left; }
.ln--ar { direction: rtl; text-align: right; }
/* The other language shows as a muted secondary line, like the deck */
html[lang="en"] .ln--ar, html[lang="ar"] .ln--en { font-size: .82rem; color: var(--muted-dark); }
html[lang="ar"] .ln--ar { order: -1; }
.action .ln { color: var(--ink); }
html[lang="en"] .action .ln--ar, html[lang="ar"] .action .ln--en { color: var(--lime-ink); }
.ln .hl { font-weight: 700; }
.step .bar { display: block; height: 4px; border-radius: 4px; background: var(--line-soft); margin-top: .35rem; overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 4px; transition: width 1.4s var(--ease); }
.in .bar i, .no-js .bar i { width: var(--w); }

.status {
  flex: 0 0 auto;
  padding: .38rem .85rem; border-radius: var(--pill);
  background: var(--line-dark); color: #e6e8ea;
  font-size: .76rem; font-weight: 700; line-height: 1.1;
  white-space: nowrap;
}
.status--done, .status--pct { background: var(--lime); color: var(--ink); }
.action {
  margin-top: .6rem;
  background: var(--lime); color: var(--ink);
  border-radius: 12px; padding: .95rem 1.1rem;
}
.panels__note { margin-top: 1.25rem; font-size: .85rem; color: var(--muted-dark); }

/* ---------- Vision roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.roadmap__step { position: relative; padding-top: 2.75rem; }
.roadmap__step::before {
  content: ""; position: absolute; top: 15px; inset-inline-start: 0;
  width: calc(100% + 2rem); height: 2px; background: var(--line-soft);
}
.roadmap__step:last-child::before { width: 100%; }
.roadmap__dot {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 6px var(--bg-dark);
}
.roadmap__step h3 { color: var(--lime); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.roadmap__step p { color: var(--text-dark); font-size: .98rem; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: 1.25rem; align-items: start; }
.founder__photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card-dark); aspect-ratio: 3 / 5; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); }
.founder__body { display: grid; gap: 1.25rem; }
.stat { text-align: center; padding-block: 1.6rem; }
.stat__num { display: block; color: var(--lime); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; }
.stat__label { display: block; margin-top: .6rem; color: var(--muted-dark); font-size: .9rem; line-height: 1.4; }
.founder__bio p { font-size: 1.02rem; }
.founder__rare p { font-weight: 500; }
.founder__rare b { font-weight: 800; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__meta { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__meta li { display: grid; gap: .15rem; justify-items: start; }
.contact__k { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-light); }
html[lang="ar"] .contact__k { letter-spacing: 0; text-transform: none; }
.contact__v { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
a.contact__v:hover { color: var(--lime-deep); }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: .4rem; }
.form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-light); border-radius: 12px;
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #9a9da1; }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(201, 226, 101, .45);
}
.form textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: .25rem; }
.form__note { font-size: .82rem; color: var(--muted-light); max-width: 34ch; }
.form__status { font-size: .95rem; font-weight: 600; min-height: 1.4em; color: var(--ink); }
.form__status:empty { display: none; }
.form__status.is-ok { color: #4f7f0d; }
.form__status.is-error { color: #b42318; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--footer-gray); border-top: 1px solid rgba(255, 255, 255, .06); padding-block: 2.75rem; font-size: .9rem; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .6rem; }
.footer .brand { font-size: 1.35rem; }
.footer__ar { color: var(--lime); font-weight: 700; font-size: 1.1rem; }
.footer__ar::before { content: "·"; color: var(--footer-gray); margin-inline-end: .5rem; font-weight: 400; }
.footer__tag { flex-basis: 100%; color: var(--footer-gray); }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__links a:hover { color: var(--lime); }
.footer__meta { display: grid; gap: .35rem; justify-items: end; text-align: end; }
.footer__meta a:hover { color: var(--lime); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step .bar i { transition: none; }
  .btn, .lang, .burger span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__meta { grid-column: 1 / -1; justify-items: start; text-align: start; }
}

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__links a.nav__cta-mobile { display: inline-flex; margin-top: 1rem; align-self: flex-start; border-bottom: 0; padding: .8rem 1.4rem; color: var(--ink); font-size: .95rem; }
  .nav__links a.nav__cta-mobile:hover { color: var(--ink); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .founder { grid-template-columns: minmax(200px, 260px) 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .grid--2, .grid--3, .stats.grid--3 { grid-template-columns: 1fr; }
  .stats.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .stat { padding: 1.2rem .5rem; }
  .stat__label { font-size: .8rem; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 340px; aspect-ratio: 4 / 4.6; }
  .roadmap { grid-template-columns: 1fr; gap: 0; }
  .roadmap__step { padding: 0; padding-inline-start: 3rem; padding-bottom: 2rem; }
  .roadmap__step::before { top: 32px; bottom: 0; inset-inline-start: 15px; width: 2px; height: auto; }
  .roadmap__step:last-child::before { display: none; }
  .roadmap__step:last-child { padding-bottom: 0; }
  .engine { flex-direction: column; }
  .step, .finding { flex-wrap: wrap; }
  .step .status { order: 3; margin-inline-start: calc(26px + .9rem); }
  .step .lines { flex-basis: calc(100% - 26px - .9rem); }
  .form__foot { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .hero { min-height: 0; }
  .hero__title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .lang { padding: .4rem .65rem; }
  .card { padding: 1.25rem; }
  .panel { padding: .9rem .8rem 1rem; }
  .step, .finding { padding: .75rem .8rem; }
}
