/* The product site (ohm.by): quiet and light, with a few technical accents (the dark admin
   window, the mono details, mint). Its own look, separate from the clients' themed base.css. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-5.2.5.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-5.2.5.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: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-cyrillic-5.2.5.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-5.2.5.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;
}

:root {
  color-scheme: light;              /* one look on every device; the dark window is the contrast */
  --bg: #ffffff;
  --alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: rgb(0 0 0 / 0.08);
  --mint: #12c79d;
  --on-mint: #032019;
  --mint-ink: #078a6f;              /* mint for text and icons, readable on white */
  --night: #0d1114;                 /* the admin window */
  --night-line: rgb(255 255 255 / 0.07);
  --night-text: #eef2f3;
  --night-muted: #87949a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.muted { color: var(--muted); }
.center { text-align: center; }

.wrap { max-width: 61.25rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 43rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.375rem; } }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mark { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.045em; text-decoration: none; display: inline-flex; align-items: baseline; }
.mark__dot { width: 0.28em; height: 0.28em; margin-left: 0.07em; border-radius: 50%; background: var(--mint); }
.nav { display: flex; align-items: center; gap: 1.9rem; font-size: 0.8rem; }
.nav__link { display: none; color: rgb(29 29 31 / 0.8); text-decoration: none; }
.nav__link:hover { color: var(--text); }
@media (min-width: 760px) { .nav__link { display: inline; } }

/* Buttons and links */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 48px;
  padding: 0 1.6rem;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.pill:active { transform: scale(0.98); }
.pill--mint { background: var(--mint); color: var(--on-mint); box-shadow: 0 10px 26px -12px var(--mint); }
.pill--mint:hover { background: #10b590; }
.pill--small { min-height: 30px; padding: 0 0.85rem; font-size: 0.8rem; font-weight: 500; background: var(--text); color: #fff; }
.more { font-size: 1.05rem; font-weight: 500; text-decoration: none; }
.more:hover { text-decoration: underline; }
.pill:focus-visible, .more:focus-visible, .nav__link:focus-visible, .mark:focus-visible, summary:focus-visible { outline: 3px solid rgb(18 199 157 / 0.5); outline-offset: 3px; }

/* Shared type: a centred two-tone headline, the mono eyebrow, the lead */
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 0.6rem; font: 500 0.95rem var(--mono); letter-spacing: 0.01em; color: var(--mint-ink); }
.eyebrow__dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.headline {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  text-align: center;
  text-wrap: balance;
}
.headline span { display: block; color: var(--soft); }
.headline--hero { font-size: clamp(2.5rem, 8vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; margin-top: 0.6rem; }
.headline--left { text-align: left; }
.lead { max-width: 38rem; margin: 1.1rem auto 0; text-align: center; font-size: clamp(1.1rem, 2.5vw, 1.3rem); line-height: 1.38; color: var(--muted); letter-spacing: -0.015em; }
.lead--small { font-size: 1.15rem; }

/* Hero */
.hero { padding: 2.5rem 0 4.5rem; text-align: center; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 3.5rem 0 6rem; } }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 1.6rem; }

/* The admin window: dark, on the light page, with a mint glow under it */
.window {
  position: relative;
  max-width: 47.5rem;
  margin: 3rem auto 0;
  border-radius: 22px;
  background: var(--night);
  color: var(--night-text);
  text-align: left;
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.12), 0 40px 100px -30px rgb(11 61 50 / 0.65);
  overflow: hidden;
}
.window__bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.8rem 1.1rem; background: #11171b; border-bottom: 1px solid var(--night-line); }
.window__bar i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgb(255 255 255 / 0.14); }
.window__bar span { margin: 0 auto; padding: 0.2rem 1.5rem; border-radius: 6px; background: rgb(255 255 255 / 0.05); font: 500 0.75rem var(--mono); color: var(--night-muted); }
.window__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--night-line); }
.window__name { font-size: 1.05rem; font-weight: 600; }
.window__meta { margin-top: 0.2rem; font: 500 0.8rem var(--mono); color: var(--night-muted); }
.state { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.72rem var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: #c9d3d6; }
.state::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.state--new { --tone: #3fe0bf; }
.state--ok { --tone: #62d26f; }
.state--wait { --tone: #ffcb6b; }
.window__status { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; padding: 0.95rem 1.5rem; background: #0b0f11; font: 500 0.75rem var(--mono); color: #7d8a90; }
.window__live { display: inline-flex; align-items: center; gap: 0.45rem; color: #62d26f; }
.window__live::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #62d26f; box-shadow: 0 0 8px #62d26f; }
@media (max-width: 520px) {
  .window__row { padding: 1rem 1.1rem; align-items: flex-start; flex-direction: column; gap: 0.6rem; }
  .window__status { padding: 0.9rem 1.1rem; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 47.5rem; margin: 4rem auto 0; }
.stats b { display: block; font-size: clamp(1.6rem, 6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { display: block; margin-top: 0.35rem; font: 500 clamp(0.7rem, 2.6vw, 0.82rem) var(--mono); color: var(--muted); }

/* Sections */
.section { padding: 5rem 0; scroll-margin-top: 52px; }
@media (min-width: 900px) { .section { padding: 7rem 0; } }
.section--alt { background: var(--alt); }
.section .headline + * { margin-top: 3.5rem; }
.section .headline + .lead { margin-top: 1.25rem; }

/* What you get: tiles, the first one wide */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile:first-child { grid-column: span 2; }
}
.tile { padding: 2rem 1.75rem 2.1rem; border-radius: 22px; background: var(--bg); }
.tile__icon { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--mint-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__title { margin-top: 2rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.tile__text { margin-top: 0.5rem; color: var(--muted); }

/* How to start */
.steps { display: grid; gap: 2.5rem; text-align: center; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step__number { font: 500 0.9rem var(--mono); color: var(--mint-ink); }
.step__title { margin-top: 0.75rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.step__text { margin-top: 0.5rem; color: var(--muted); max-width: 18rem; margin-left: auto; margin-right: auto; }

/* Who it is for, and the example */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split .headline + * { margin-top: 1rem; }
.split__lead { font-size: 1.2rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 1.5rem; }
.chips li { padding: 0.5rem 1rem; border-radius: 980px; background: var(--bg); font-size: 0.95rem; }
.example { padding: 2.25rem 2rem; border-radius: 22px; background: var(--night); color: var(--night-text); box-shadow: 0 40px 80px -40px rgb(11 61 50 / 0.6); }
.example__label { font: 500 0.8rem var(--mono); color: #3fe0bf; letter-spacing: 0.05em; text-transform: uppercase; }
.example__name { margin-top: 0.9rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.example__text { margin: 0.75rem 0 1.75rem; color: var(--night-muted); }

/* Price */
.price { text-align: center; }
.price__amount { margin-top: 1rem; font-size: clamp(4rem, 15vw, 6.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price__period { margin-top: 0.9rem; font: 500 0.95rem var(--mono); color: var(--muted); }
.price__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; margin: 2.5rem auto 2.5rem; max-width: 46rem; color: var(--muted); }

/* Questions */
.faq { border-top: 1px solid rgb(0 0 0 / 0.12); }
.faq details { border-bottom: 1px solid rgb(0 0 0 / 0.12); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--font); color: var(--soft); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }

/* Contacts and footer */
.contact-list { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--alt); }
.contact-list span { font: 500 0.82rem var(--mono); color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.contacts .muted { margin-top: 2rem; }
.foot { border-top: 1px solid var(--line); padding: 1.75rem 0; color: var(--soft); font: 500 0.78rem var(--mono); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
