/* Virdexis · site stylesheet · v2 */

/* fonts */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-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;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* design tokens */
:root {
  --c-night: #0a0f38;
  --c-mist: #e7f5f9;
  --c-plum: #1e0a38;
  --c-plum-80: rgba(30, 10, 56, 0.8);
  --c-go: #3cb800;
  --c-go-hover: rgba(60, 184, 0, 0.9);
  --c-go-deep: #308935;
  --c-snow: #f9f8f8;
  --c-hair: #edebeb;
  --c-slate: #111827;
  --c-ash: #bcbcbc;
  --c-text: #1c1c1c;
  --ff: "Public Sans", "Heebo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell-max: 1280px;
  --ease: 0.15s ease;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--ff);
  line-height: 1.5;
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2 { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--c-go); outline-offset: 3px; }
.ico { flex: none; width: 24px; height: 24px; }

.shell { width: 100%; max-width: 100%; margin-inline: auto; padding-inline: 16px; }

/* call-to-action buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 24px 32px;
  border-radius: 9999px;
  background: var(--c-go);
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color var(--ease);
}
.cta:hover { background: var(--c-go-hover); }
.cta--xl { font-size: 22px; letter-spacing: 0.44px; }

/* masthead */
.masthead {
  background: var(--c-night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.masthead .shell { padding-block: 16px; }
.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.brand { flex: none; }
.brand svg { width: 122px; height: 24px; }
.menu { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.menu__link {
  display: none;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--ease);
}
.menu__link:hover { color: #fff; }
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  background: var(--c-go);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  transition: background-color var(--ease);
}
.pill:hover { background: var(--c-go-hover); }

/* bands (full-width sections) */
.band { padding-block: 40px; }
.band--night { background: var(--c-night); color: #fff; }
.band--mist { background: var(--c-mist); color: var(--c-plum); }
.band--snow { background: var(--c-snow); color: var(--c-plum); }
.band__title { font-weight: 600; font-size: 32px; line-height: 40px; }
.band__text { font-size: 18px; line-height: 26px; }

/* two-column composition: picture + text. Source order is text first; areas place the picture. */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "pic" "txt";
  gap: 24px;
  align-items: center;
}
.duo__pic { grid-area: pic; }
.duo__txt { grid-area: txt; }
.duo__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* lede (hero) */
.lede { padding-block: 24px 40px; }
.lede .duo { row-gap: 24px; }
.lede__pic img { border-radius: 8px; }
.lede__body { display: flex; flex-direction: column; gap: 24px; }
.lede__head { display: flex; flex-direction: column; gap: 16px; }
.lede__title { font-size: 32px; line-height: 40px; font-weight: 700; }
.lede__sub { font-size: 18px; line-height: 28px; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks span { font-size: 16px; line-height: 1.5; }

/* worry (problem) */
.worry__stack { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.worry .duo { width: 100%; }
.worry__txt { display: flex; flex-direction: column; gap: 16px; }
.worry__title { font-weight: 600; font-size: 32px; line-height: 42px; }
.worry__kicker { font-size: 18px; line-height: 26px; font-weight: 700; }
.worry__body { display: flex; flex-direction: column; gap: 26px; }
.worry__body p { font-size: 18px; line-height: 26px; }
.worry__pic { background: #fff; border-radius: 16px; overflow: hidden; }
.worry__pic img { aspect-ratio: 580 / 504; }

/* phase (stages) */
.phase__body { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.phase__text { display: flex; flex-direction: column; gap: 16px; }

/* promise (guarantee) */
.promise__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 968px;
  margin-inline: auto;
}
.promise__seal { flex: none; width: 164px; height: auto; }
.promise__copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; text-align: center; }
.promise__title { font-weight: 600; font-size: 28px; line-height: 36px; }
.promise__text { font-size: 18px; line-height: 26px; color: var(--c-plum-80); }

/* qa (faq) */
.qa-block { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.qa-block__title { text-align: center; font-weight: 600; font-size: 32px; line-height: 40px; }
.qa-block__grid { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.qa-block__pic { width: 100%; flex: none; }
.qa-block__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.qa-list { flex: 1; min-width: 0; width: 100%; display: flex; flex-direction: column; gap: 24px; }
.qa-list::after { content: ""; border-top: 1px solid var(--c-hair); }
.qa { border-top: 1px solid var(--c-hair); padding-top: 24px; }
.qa__q { font: inherit; }
.qa__btn { width: 100%; display: flex; align-items: center; gap: 16px; text-align: start; }
.qa__label { flex: 1; min-width: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.qa__mark { position: relative; display: block; flex: none; width: 18px; height: 18px; }
.qa__mark::before,
.qa__mark::after { content: ""; position: absolute; background: var(--c-go-deep); }
.qa__mark::before { left: 0; top: 50%; width: 18px; height: 2px; transform: translateY(-50%); }
.qa__mark::after { left: 50%; top: 0; width: 2px; height: 18px; transform: translateX(-50%); transition: opacity 0.3s ease; }
.qa[data-open] .qa__mark::after { opacity: 0; }
.qa__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}
.qa[data-open] .qa__panel { grid-template-rows: 1fr; }
.qa__inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.3s; }
.qa[data-open] .qa__inner { visibility: visible; transition-delay: 0s; }
.qa__inner p { padding-top: 16px; font-size: 18px; line-height: 26px; color: var(--c-plum-80); }

/* colophon (footer) */
.colophon { padding-block: 40px; background: var(--c-slate); color: #fff; }
.colophon__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.colophon__menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
}
.colophon__menu a,
.colophon__menu button { color: #fff; font-size: 14px; line-height: 20px; text-align: start; }
.colophon__menu a:hover,
.colophon__menu button:hover { text-decoration: underline; }
.colophon__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 40px;
  font-size: 12px;
  line-height: 18px;
  color: var(--c-ash);
}
.colophon__legal strong { color: #fff; font-weight: 600; }
.colophon__legal a { color: #fff; text-decoration: underline; }
.colophon__sub { margin-top: 4px; color: #fff; font-weight: 600; }
.colophon__copy { margin-top: 4px; }

/* consent banner */
.consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 50;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--c-plum);
  box-shadow: 0 8px 32px rgba(10, 15, 56, 0.28);
}
.consent[hidden] { display: none; }
.consent__text { font-size: 14px; line-height: 20px; }
.consent__row { display: flex; gap: 8px; }
.consent__btn {
  flex: 1;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--c-go);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.consent__btn--ghost { background: transparent; color: var(--c-plum); box-shadow: inset 0 0 0 1px rgba(30, 10, 56, 0.35); }

/* home (country selector) */
.page-home { background: var(--c-night); color: #fff; }
.picker { flex: 1 0 auto; display: flex; justify-content: center; padding: 40px 16px 56px; }
.picker__inner { width: 100%; max-width: 920px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.picker__logo { width: 148px; height: 29px; margin-bottom: 32px; }
.picker__product { width: min(100%, 380px); aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.picker__title { margin-top: 28px; font-size: 40px; line-height: 48px; font-weight: 700; }
.picker__sub { margin-top: 8px; font-size: 18px; line-height: 26px; color: rgba(255, 255, 255, 0.72); }
.geo-grid {
  width: 100%;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.geo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: start;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease);
}
.geo:hover, .geo:focus-visible { background: rgba(60, 184, 0, 0.18); border-color: var(--c-go); transform: translateY(-1px); }
.geo__flags { display: flex; gap: 4px; flex: none; }
.geo__flags img { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.geo__name { font-size: 16px; line-height: 22px; font-weight: 500; }

/* document pages (legal / info) */
.doc { background: #fff; color: var(--c-plum); }
.doc__wrap { max-width: 820px; margin-inline: auto; padding: 40px 16px 64px; }
.doc__crumbs { font-size: 14px; line-height: 20px; color: var(--c-plum-80); }
.doc__crumbs a { text-decoration: underline; }
.doc__title { margin-top: 12px; font-size: 36px; line-height: 44px; font-weight: 700; }
.doc__date { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--c-plum-80); }
.doc__body { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 26px; }
.doc__body h2 { margin-top: 16px; font-size: 24px; line-height: 32px; font-weight: 600; }
.doc__body ul { list-style: disc; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc__body a { color: var(--c-go-deep); text-decoration: underline; }
.doc__body code { font-size: 14px; background: var(--c-snow); padding: 1px 6px; border-radius: 4px; }
.doc__scroll { overflow-x: auto; }
.doc__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.doc__table th, .doc__table td { padding: 10px 12px; border: 1px solid var(--c-hair); text-align: start; vertical-align: top; }
.doc__table th { background: var(--c-snow); font-weight: 600; }
.doc__card { padding: 20px; border: 1px solid var(--c-hair); border-radius: 12px; background: var(--c-snow); display: flex; flex-direction: column; gap: 14px; }
.menu--doc .menu__link { display: block; }

/* breakpoints */
@media (max-width: 853px) {
  h1, h2 { hyphens: auto; }
}

@media (min-width: 640px) {
  .colophon__menu { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; }
  .consent { flex-direction: row; align-items: center; }
  .consent__row { flex: none; }
  .consent__btn { flex: none; }
}

@media (min-width: 854px) {
  .shell { padding-inline: 40px; }

  .brand svg { width: 147.2px; height: 28.86px; }
  .masthead { border-bottom-color: rgba(177, 177, 177, 0.2); }
  .menu { gap: 40px; }
  .menu__link { display: block; }
  .pill { padding-block: 16px; white-space: nowrap; }

  .band { padding-block: 80px; }
  .band__title { font-size: 48px; line-height: 64px; }

  .cta { width: fit-content; min-width: 480px; white-space: nowrap; }

  .duo { grid-template-columns: repeat(2, 1fr); grid-template-areas: "pic txt"; gap: 80px; }
  .duo--flip { grid-template-areas: "txt pic"; }

  .lede { padding-block: 40px 80px; }
  .lede__body { gap: 29px; }
  .lede__title { font-size: 48px; line-height: 60px; }
  .lede .cta { width: auto; min-width: 372px; }

  .worry__stack { gap: 40px; }
  .worry__txt { gap: 24px; }
  .worry__title { font-size: 48px; line-height: 64px; }

  .phase { padding-block: 64px; }
  .phase__body { gap: 40px; }
  .phase__title { font-size: 48px; line-height: normal; }

  .promise__row { flex-direction: row; gap: 48px; }
  .promise__seal { width: 218.4px; }
  .promise__copy { text-align: start; }
  .promise__title { font-size: 36px; line-height: 44px; }

  .qa-block { gap: 40px; }
  .qa-block__title { font-size: 48px; line-height: 56px; }
  .qa-block__grid { flex-direction: row; gap: 80px; }
  .qa-block__pic { width: 600px; }

  .picker { padding-top: 64px; }
  .picker__title { font-size: 48px; line-height: 56px; }

  .doc__wrap { padding-block: 64px 96px; }
  .doc__title { font-size: 44px; line-height: 52px; }
}

@media (min-width: 1110px) {
  .colophon__top { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; }
  .colophon__menu { margin-top: 0; justify-content: flex-end; gap: 12px 32px; max-width: 720px; }
}

@media (min-width: 1281px) {
  .shell { max-width: var(--shell-max); }
}

@media (min-width: 1440px) {
  .shell { padding-inline: 0; }
}

/* right-to-left (Hebrew) */
[dir="rtl"] .cta .ico { transform: scaleX(-1); }
[dir="rtl"] .cta,
[dir="rtl"] .pill,
[dir="rtl"] .menu__link { letter-spacing: 0; text-transform: none; }
@media (min-width: 854px) {
  [dir="rtl"] .promise__copy { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .qa__panel, .qa__mark::after, .cta, .pill, .geo { transition: none; }
}

/* consent banner row on wider screens */
@media (min-width: 640px) {
  .consent__row { flex-shrink: 0; }
}
