/* Sofia one-pager — plain CSS, system font stack, zero external requests. */
:root {
  --ink: #0b3d2e;
  --ink-2: #1f5c47;
  --ink-active: #07281e;
  --mint: #4fd1a1;
  --accent-warm: #ff9300;
  --accent-warm-dark: #e86a4f;
  --band: #e6f2ee;
  --footer-bg: #efefef;
  --text: #343434;
  --muted: #5b6560;
  --line: #d7e2dc;
  --card-border: #bebebe;
  --card-border-hover: #949494;
  --card-shadow: 0 4px 6px rgba(190, 190, 190, 0.33), 0 1px 3px rgba(190, 190, 190, 0.33);
  --card-shadow-hover: 0 7px 14px rgba(190, 190, 190, 0.33), 0 3px 6px rgba(190, 190, 190, 0.33);
  --error: #b42318;
  --gutter: max(16px, calc((100vw - 1212px) / 2));
  --hero-strip: clamp(36px, 6vw, 114px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text);
  background: #fff;
  overflow-wrap: break-word;
}
/* Top brand gradient bar */
body::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 55%, var(--mint) 100%);
}
img, svg { max-width: 100%; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { inset-block-start: 8px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 11;
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 40px; width: 40px; display: block; border-radius: 50%; }
.lang-switch { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.lang-switch li + li::before { content: "|"; color: #bebebe; margin-inline-end: 6px; }
.lang-switch li { display: flex; align-items: center; }
.lang-switch a { padding: 8px 6px; text-decoration: none; font-weight: 500; color: var(--text); border-radius: 3px; }
.lang-switch a:hover { color: var(--ink); text-decoration: underline; }
.lang-switch [aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(390px, 40vw, 490px);
  background: linear-gradient(90deg, var(--band) calc(100% - var(--hero-strip)), #fff var(--hero-strip));
  overflow: hidden;
}
.hero__media {
  grid-area: 1 / 1;
  margin-inline-start: var(--gutter);
  border-bottom-left-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #dcebe4;
}
.hero__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(390px, 40vw, 490px);
  object-fit: cover;
  object-position: 78% center;
  display: block;
}
.hero__card {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  margin-inline-start: calc(var(--gutter) + 40px);
  margin-block: 36px;
  max-width: min(440px, calc(100% - 32px));
  background: #fff;
  border-radius: 4px;
  padding: 36px 36px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}
.hero__kicker { margin: 0 0 6px; font-size: 0.875rem; color: var(--ink-2); font-weight: 600; line-height: 1.25rem; }
.hero__title { margin: 0; color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
.hero__lead { margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.625; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }

/* Buttons & text links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5rem;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover, .button:focus-visible {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--card-shadow-hover);
}
.button:active {
  background: var(--ink-active);
  border-color: var(--ink-active);
  transform: translateY(1px);
  box-shadow: none;
}
.button:focus-visible { outline-color: var(--ink); outline-offset: 3px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.text-link:hover { color: var(--ink-2); }
.text-link:hover .chevron { transform: translateX(2px); }
.chevron {
  flex: none;
  width: 10px;
  height: 16px;
  color: var(--accent-warm-dark);
  transition: transform 0.15s ease, color 0.15s ease;
}

/* Promo band */
.band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px 40px;
  background: linear-gradient(90deg, var(--band) calc(100% - var(--hero-strip)), #fff var(--hero-strip));
  padding: 24px calc(var(--gutter) + var(--hero-strip)) 28px var(--gutter);
}
.promo {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.promo__media {
  flex: none;
  display: grid;
  place-items: center;
  height: 112px;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.promo__media svg { width: 52px; height: 52px; transition: transform 0.2s ease; }
a.promo:hover .promo__media img,
a.promo:hover .promo__media svg { transform: scale(1.05); }
a.promo:hover .promo__title { text-decoration: underline; text-underline-offset: 0.15em; }
a.promo:hover .chevron { transform: translateX(4px); }
.promo__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.promo__kicker { font-size: 0.875rem; line-height: 1.25rem; color: var(--text); }
.promo__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.35;
}
.promo__note { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }

/* Body sections */
.body { padding: 48px var(--gutter) 56px; }
.heading {
  margin: 48px 0 22px;
  color: var(--ink);
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  scroll-margin-top: 16px;
}
.body > .heading:first-child { margin-top: 0; }

/* Feature tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 136px;
  height: 100%;
  padding: 20px 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25rem;
  color: var(--text);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile svg { width: 52px; height: 52px; flex: none; color: var(--ink); }
.tile:hover, .tile:focus-visible {
  border-color: var(--card-border-hover);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--card-shadow-hover);
}
.tile:active {
  box-shadow: none;
  border-color: var(--card-border-hover);
  transform: translateY(1px);
}

/* Help cards */
.help {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.help__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  padding: 21px 16px 21px 24px;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35rem;
  color: var(--text);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.help__item .chevron { width: 12px; height: 18px; }
.help__item:hover, .help__item:focus-visible {
  border-color: var(--card-border-hover);
  transform: translateY(-1px);
  box-shadow: var(--card-shadow-hover);
}
.help__item:hover .chevron {
  color: var(--ink);
  transform: translateX(3px);
}
.help__item:active {
  box-shadow: none;
  border-color: var(--card-border-hover);
  transform: translateY(1px);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  padding: 24px 24px 26px;
  position: relative;
}
.step::before {
  content: "";
  display: block;
  width: 66px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent-warm);
  margin-bottom: 16px;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--band);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
}
.step__title { margin: 12px 0 6px; color: var(--ink); font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.step__text { margin: 0; line-height: 1.625; color: var(--text); }

/* Waitlist */
.waitlist {
  background: var(--band);
  padding: 48px var(--gutter) 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}
.waitlist .heading { margin-top: 0; }
.waitlist__text { margin: 0 0 20px; max-width: 40rem; font-size: 1.0625rem; }
.waitlist__form {
  display: grid;
  gap: 16px;
  max-width: 540px;
  background: #fff;
  padding: 28px 28px 30px;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #757575;
  border-radius: 4px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:hover { border-color: var(--text); }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__form .button { justify-self: start; }
.form-status { margin: 0; font-weight: 600; color: var(--ink); }
.form-status[data-state="error"] { color: var(--error); }

/* Floating WhatsApp button */
.float {
  position: fixed;
  inset-inline-end: 20px;
  inset-block-end: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.float:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}
.float svg { width: 24px; height: 24px; color: var(--mint); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--text); border-top: 1px solid #dedede; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(260px, 1.35fr);
  gap: 28px 36px;
  padding: 48px var(--gutter) 0;
  align-items: start;
}
.site-footer__brand { margin: 0 0 8px; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.site-footer__about { margin: 0 0 28px; max-width: 24rem; }
.site-footer__heading { margin: 0 0 8px; color: var(--ink); font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 28px; }
.site-footer__links { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 4px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; }
.site-footer .chevron { width: 8px; height: 13px; color: var(--accent-warm-dark); }
.site-footer__links a:hover .chevron { color: var(--ink); transform: translateX(2px); }
.site-footer__art { align-self: end; display: flex; justify-content: flex-end; }
.site-footer__art img {
  display: block;
  width: 100%;
  max-width: 420px;
  min-height: 220px;
  max-height: 300px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}
.site-footer__bottom {
  background: #fff;
  padding: 18px var(--gutter);
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid #e5e5e5;
}

/* Legal pages */
.legal { padding: 48px var(--gutter) 72px; max-width: calc(52rem + 2 * var(--gutter)); }
.legal h1 { margin: 0 0 6px; color: var(--ink); font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.15; }
.legal__updated { margin: 0 0 28px; color: var(--muted); font-size: 0.9375rem; }
.legal h2 { margin: 32px 0 8px; color: var(--ink); font-size: 1.3125rem; }
.legal section { min-height: 1.5rem; }

@media screen and (max-width: 989px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__art {
    grid-column: 2;
  }
}

@media screen and (max-width: 749px) {
  .hero { min-height: 0; background: var(--band); }
  .hero__media { margin: 0; border-radius: 0; }
  .hero__media img { min-height: 0; height: clamp(220px, 56vw, 300px); object-position: 75% center; }
  .hero__card {
    grid-area: 2 / 1;
    justify-self: stretch;
    margin: -32px 16px 8px;
    max-width: none;
    padding: 22px 20px 24px;
  }
  .band {
    background: var(--band);
    padding: 16px 16px 24px;
  }
  .promo__media { height: 88px; }
  .promo__title { font-size: 1.125rem; }
  .waitlist__form { padding: 20px 18px 22px; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 36px;
  }
  .site-footer__about,
  .site-footer address,
  .site-footer__links { margin-bottom: 12px; }
  .site-footer__art {
    grid-column: 1;
    justify-content: center;
  }
  .site-footer__art img {
    max-width: 340px;
    min-height: 200px;
    object-position: bottom center;
  }
  .body { padding-block-end: 72px; }
}

@media screen and (max-width: 380px) {
  .promo__media { height: 74px; }
  .promo { gap: 12px; }
}
