/* Yorsh app pages. The storefront's palette and faces, measured on
   https://yorsh.ua on 2026-11-05 and read from oli-mono (tailwind.css,
   yorsh-preset.ts, font-classes.css): primary #3267f5, navy #091129 (the
   header), accent #ffd500, body text #0d0d0e, muted text #7d8495, the
   dividers #eaebee, the footer #f0f2f7 over #eaebee; Montserrat for the
   text and the Yorsh face for the wordmark. Both faces are served from
   /assets/fonts by the proxy itself, so a privacy-policy page makes no
   request the policy would have to explain. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Var-subset.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Yorsh";
  src: url("/assets/fonts/Yorsh-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --primary: #3267f5;
  --primary-dark: #2c5bd8;
  --navy: #091129;
  --accent: #ffd500;
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --surface-3: #eaebee;
  --text: #0d0d0e;
  --muted: #7d8495;
  --line: #eaebee;
  --max: 56rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1d1e20;
    --surface-2: #2f3032;
    --surface-3: #454552;
    --text: #ffffff;
    --muted: #aeb6c8;
    --line: #454552;
    --primary: #769af8;
    --primary-dark: #3267f5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
}
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
header.top {
  background: var(--navy);
  color: #fff;
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.625rem 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}
/* The wordmark as the storefront draws it (yorsh-logo-text.vue): "YORSH" in
   the Yorsh face, whose Y is the arrow glyph, with the dot (the face's ©
   glyph) laid over the Y in the brand blue. */
.wordmark {
  position: relative;
  display: inline-block;
  margin: 0;
  font: 700 2rem/1 Yorsh, sans-serif;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0;
}
.wordmark::before {
  content: "©";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-dot, #3267f5);
}
nav.site a {
  color: #d9e0ee;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: #fff; text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
main { padding: 2rem 0 3rem; }
main .wrap > * + * { margin-top: 1rem; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.3; font-weight: 700; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
p.lead { font-size: 1.125rem; color: var(--muted); }
.hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}
.hero h1 { color: #fff; }
.hero p.lead { color: #d9e0ee; }
.hero .badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge.soon { background: transparent; border-color: #769af8; opacity: 0.85; cursor: default; }
.badge small { font-weight: 400; opacity: 0.8; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.card {
  background: var(--surface-2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.card h3 { margin-top: 0; }
.card p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.875rem; }
dl.contacts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; }
dl.contacts dt { font-weight: 600; }
dl.contacts dd { margin: 0; }
.note {
  border-left: 4px solid var(--accent);
  background: var(--surface-2);
  padding: 0.8rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}
ol.steps li + li { margin-top: 0.4rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; }
footer.bottom { background: var(--surface-2); border-top: 1px solid var(--line); color: var(--text); font-size: 0.875rem; font-weight: 500; padding: 1.5rem 0 2.5rem; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer.bottom a { color: var(--text); }
@media (max-width: 40rem) {
  nav.site a { margin-left: 0; margin-right: 0.9rem; }
  dl.contacts { grid-template-columns: 1fr; gap: 0.1rem; }
  dl.contacts dd { margin-bottom: 0.6rem; }
}
