/* incy-nastroyka.cfd. Dark shop look: one violet accent, centred hero, term cards, question cards.
   No outside resources: system fonts, shapes drawn with borders and gradients. */
:root {
  color-scheme: dark;
  --bg: #0c0e14;
  --bg-2: #10131c;
  --card: #151926;
  --card-2: #1c2132;
  --line: #2a3046;
  --text: #eef0f7;
  --soft: #aab0c4;
  --accent: #6f5cf0;
  --accent-hi: #8a7bff;
  --link: #b9afff;
  --r: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.62 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(111, 92, 240, .45); }
h1, h2, h3 { text-wrap: balance; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .9em;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

.box { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 18px; padding-right: 18px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(111, 92, 240, .35);
  transition: background-color .15s, border-color .15s;
}
.pill:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.pill--line { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; }
.pill--line:hover { background: var(--card-2); border-color: var(--accent-hi); }
.pill--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; box-shadow: none; }
.pill--wide { display: flex; width: 100%; }

/* top bar and the row of sections */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 14, 20, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: 15px; text-decoration: none; white-space: nowrap; }
.logo svg { flex: 0 0 auto; }
.logo b { color: var(--text); font-size: 19px; letter-spacing: .03em; }
.logo__s { display: none; }
.chips { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.chips__in { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.chips__in::-webkit-scrollbar { display: none; }
.chips a {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
}
.chips a:hover { color: var(--text); border-color: var(--accent-hi); }
.chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* hero */
.hero {
  padding: 30px 0 30px;
  text-align: center;
  background: radial-gradient(90% 120% at 50% -20%, rgba(111, 92, 240, .36), rgba(111, 92, 240, 0) 62%);
}
.hero--home { padding-top: 44px; }
.path { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; color: var(--soft); font-size: 13.5px; }
.path a { color: var(--soft); }
.hero h1 { max-width: 880px; margin: 0 auto; font-size: clamp(27px, 6.2vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.hero__lead { max-width: 700px; margin: 16px auto 0; color: var(--soft); font-size: clamp(16px, 2.3vw, 18.5px); }
.hero__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: 14.5px; }
.hero__facts li, .ticks li { position: relative; padding-left: 24px; }
.hero__facts li::before, .ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent-hi);
  border-bottom: 2px solid var(--accent-hi);
  transform: rotate(-45deg);
}

/* text column */
.doc { max-width: 800px; padding-top: 6px; padding-bottom: 10px; }
.doc h2 { margin: 38px 0 12px; font-size: clamp(22px, 4vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.doc p { margin: 12px 0; }
.doc a { text-underline-offset: 3px; }
.doc ul:not(.tiles) { display: grid; gap: 9px; margin: 14px 0; padding: 0; list-style: none; }
.doc ul:not(.tiles) > li { position: relative; padding-left: 22px; }
.doc ul:not(.tiles) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); }

.flow { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; counter-reset: step; }
.flow li {
  position: relative;
  padding: 14px 16px 14px 58px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  counter-increment: step;
}
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.sheet { margin: 18px 0; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--card-2); color: var(--soft); font-size: 13.5px; font-weight: 600; }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.prices th, .prices td { vertical-align: middle; }
.prices .per { display: block; color: var(--soft); font-size: 13px; font-weight: 400; }
.prices .act { text-align: right; white-space: nowrap; }
.dim { color: var(--soft); }
.only-wide { display: none; }

/* cards that link to the other pages */
.tiles { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.tile { position: relative; display: block; height: 100%; padding: 16px 44px 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.tile::after { content: ""; position: absolute; right: 20px; top: 24px; width: 9px; height: 9px; border-top: 2px solid var(--accent-hi); border-right: 2px solid var(--accent-hi); transform: rotate(45deg); }
.tile b { display: block; font-size: 16.5px; line-height: 1.3; }
.tile span { display: block; margin-top: 4px; color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.tile:hover { border-color: var(--accent-hi); }

/* terms */
.tariffs, .asks, .others { padding: 46px 0 8px; }
.tariffs h2, .asks h2, .others h2 { margin: 0 0 8px; text-align: center; font-size: clamp(23px, 4.4vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.tariffs__sub { margin: 0 0 28px; text-align: center; color: var(--soft); }
.tariffs__grid { display: grid; gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
.tariff { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.tariff--top { border-color: var(--accent); background: linear-gradient(180deg, rgba(111, 92, 240, .2), rgba(111, 92, 240, 0) 55%), var(--card); }
.tariff__badge { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.tariff__term { font-size: 17px; }
.tariff__price { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tariff__per { color: var(--soft); font-size: 14px; }
.ticks { display: grid; gap: 7px; margin: 10px 0 18px; padding: 0; list-style: none; font-size: 14.5px; }
.tariff .pill { margin-top: auto; }
.tariffs__note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--soft); font-size: 14.5px; }

/* questions */
.asks__grid { display: grid; gap: 12px; margin-top: 22px; }
.ask { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.ask h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.ask p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* closing call to action */
.final { padding: 46px 0 56px; }
.final__card {
  padding: 34px 22px;
  text-align: center;
  border: 1px solid var(--accent);
  border-radius: 24px;
  background: radial-gradient(120% 140% at 50% 0, rgba(111, 92, 240, .32), rgba(111, 92, 240, .04) 70%), var(--card);
}
.final__card h2 { margin: 0; font-size: clamp(22px, 4.2vw, 30px); font-weight: 800; line-height: 1.2; }
.final__card p { max-width: 620px; margin: 12px auto 0; color: var(--soft); }
.final__card .final__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: none; margin-top: 22px; }

/* footer */
.ftr { padding: 34px 0 40px; background: var(--bg-2); border-top: 1px solid var(--line); color: var(--soft); font-size: 14.5px; }
.ftr__grid { display: grid; gap: 26px; }
.ftr__note { max-width: 520px; margin: 14px 0 0; }
.ftr__date { margin: 8px 0 0; }
.ftr__links { display: grid; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.ftr__links a { color: var(--text); text-decoration: none; }
.ftr__links a:hover { color: var(--link); text-decoration: underline; }

@media (max-width: 420px) {
  table { font-size: 14px; }
  th, td { padding: 10px 10px; }
  .flow li { padding: 13px 14px 13px 52px; }
  .flow li::before { left: 11px; }
}
@media (min-width: 360px) {
  .logo__s { display: inline; }
}
@media (min-width: 480px) {
  .ftr__links { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 560px) {
  .only-wide { display: table-cell; }
}
@media (min-width: 600px) {
  .tariffs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 42px 0 40px; }
  .hero--home { padding-top: 60px; }
}
@media (min-width: 860px) {
  .asks__grid { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 900px) {
  .chips__in { justify-content: center; }
}
@media (min-width: 1000px) {
  .tariffs__grid { grid-template-columns: repeat(4, 1fr); }
  .others .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}
