/* Sharon Service — variant C shared design system.
   Home-only pieces (hero, bento, mid CTA) live in home.css. Load this file first. */

@font-face {
  font-family: "Roundo Cyr";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/c/fonts/RoundoCyr-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Roundo Cyr";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/c/fonts/RoundoCyr-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Roundo Cyr";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/c/fonts/RoundoCyr-Bold.woff2") format("woff2");
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --ring {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --rx {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --ry {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --lift {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

:root {
  --bg: #07090c;
  --text: #e8eef4;
  --text-soft: #c5ced8;
  --muted: #8a94a3;
  --mint: #3ddc97;
  --cyan: #38bdf8;
  --accent: var(--mint);
  --accent-ink: #062117;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.05);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --amber: #f2b75a;
  --amber-text: #f4e6d0;
  --star: #e2b15a;
  --danger: #ffb4b4;
  --header-h: 4.5rem;
  --max: 1200px;
  --gutter: 40px;
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Onest", "Manrope", "Segoe UI", sans-serif;
  --display: "Roundo Cyr", var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 700ms;
  --mx: 0px;
  --my: 0px;
  --scroll: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 220, 151, 0.45) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(61, 220, 151, 0.38);
  border-radius: 99px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(56, 189, 248, 0.06), transparent 60%),
    radial-gradient(800px 420px at 10% 0%, rgba(61, 220, 151, 0.07), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: var(--mint);
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(61, 220, 151, 0.32);
  color: #04140d;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: var(--max);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.86rem;
  line-height: 1.55;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Scroll progress + grain */

.fx-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  transform: scaleX(var(--scroll, 0));
  transform-origin: left center;
}

.fx-grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* Status */

.status-banner {
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0.7rem 1rem 0;
  background: transparent;
}

.status-banner-inner {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.55rem;
  row-gap: 0.05rem;
  align-items: center;
  width: fit-content;
  max-width: min(100%, 42rem);
  padding: 0.32rem 0.85rem 0.32rem 0.65rem;
  border: 1px solid rgba(242, 183, 90, 0.38);
  border-radius: 999px;
  background: rgba(242, 183, 90, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.status-banner-inner::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(242, 183, 90, 0.55);
  grid-column: 1;
  grid-row: 1 / span 2;
  animation: status-pulse 1.8s var(--ease) infinite;
}

.status-banner-title,
.status-banner-inner > p {
  grid-column: 2;
}

.status-banner-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--amber);
}

.status-banner p {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--amber-text);
}

.status-countdown {
  display: inline-block;
  min-width: 5.8em;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 183, 90, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(242, 183, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 183, 90, 0); }
}

/* Header */

.site-header {
  position: sticky;
  top: 0.65rem;
  z-index: 50;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0.65rem auto 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    padding var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 9, 12, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.55rem;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  transition: min-height var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 3rem;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.logo {
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo-muted {
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-right: 0.15rem;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1rem 0.55rem;
    background-color: #0b0e12;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 48%);
    border: 1px solid var(--hairline-strong);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: calc(100vh - var(--header-h) - 5.5rem);
    max-height: calc(100dvh - var(--header-h) - 5.5rem);
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.1rem;
    border-bottom: 1px solid var(--hairline);
    font-size: 1rem;
    color: var(--text);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }
}

/* Buttons */

.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-decoration: none;
  text-align: center;
  transform: translate3d(var(--mx), var(--my), 0);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  overflow: hidden;
  color: var(--accent-ink);
  background:
    linear-gradient(var(--mint), var(--mint)) padding-box,
    conic-gradient(from var(--ring), var(--mint), var(--cyan), var(--mint), #7cf0c0, var(--mint)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 8px 28px rgba(61, 220, 151, 0.18);
  animation: ring-spin 8s linear infinite;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(130%);
}

.btn-primary:hover {
  color: var(--accent-ink);
  box-shadow: 0 12px 36px rgba(61, 220, 151, 0.28);
}

.btn-primary:focus-visible {
  outline-color: #f4fff9;
}

.btn-ghost,
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-strong);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover,
.btn-secondary:hover {
  border-color: rgba(61, 220, 151, 0.45);
  color: var(--mint);
  background: rgba(61, 220, 151, 0.06);
}

.btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-block {
  width: 100%;
}

@keyframes ring-spin {
  to { --ring: 360deg; }
}

/* Type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(61, 220, 151, 0.7);
}

.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

/* Sections */

.section {
  padding: clamp(3.2rem, 6vw, 5.25rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 80px);
  border-block: 1px solid var(--hairline);
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1.section-title {
  font-weight: 700;
}

main {
  counter-reset: c-section;
}

.section-title::before {
  counter-increment: c-section;
  content: counter(c-section, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-right: 3.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--mint);
  background-image: linear-gradient(var(--mint), var(--mint));
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 2.35rem 1px;
  transition: background-size 800ms var(--ease);
}

/* Home numbers stay on these IDs so the label text matches the approved page. */
#about .section-title::before,
#legal-note .section-title::before,
#tariffs .section-title::before,
#how .section-title::before,
#reviews .section-title::before,
#contacts .section-title::before {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-right: 3.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--mint);
  background-image: linear-gradient(var(--mint), var(--mint));
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 2.35rem 1px;
  transition: background-size 800ms var(--ease);
}

#about .section-title::before { content: "01"; }
#legal-note .section-title::before { content: "02"; }
#tariffs .section-title::before { content: "03"; }
#how .section-title::before { content: "04"; }
#reviews .section-title::before { content: "05"; }
#contacts .section-title::before { content: "06"; }

html.js-motion .section:not(.is-in) .section-title::before {
  background-size: 0 1px;
}

.section-intro {
  max-width: 44rem;
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.crumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.crumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--mint);
}

/* Glass primitives */

.c-glass {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.feature-grid > li,
.c-card {
  --x: 50%;
  --y: 40%;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  min-width: 0;
  padding: 1.3rem 1.25rem 1.4rem;
  background:
    radial-gradient(380px circle at var(--x) var(--y), rgba(61, 220, 151, 0.16), transparent 46%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition:
    transform 500ms var(--ease),
    border-color 500ms var(--ease),
    box-shadow 500ms var(--ease);
  transform-style: preserve-3d;
}

.feature-grid > li::before,
.c-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--x) var(--y), rgba(61, 220, 151, 0.9), rgba(255, 255, 255, 0.02) 55%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.feature-grid > li:hover,
.c-card:hover {
  --lift: -4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin-top: 1.8rem;
}

.feature-grid h3,
.c-card h3 {
  position: relative;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.feature-grid p,
.c-card p {
  position: relative;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Tariffs — classes script.js renders */

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.8rem;
  align-items: stretch;
}

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem 1.15rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}

.tariff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 220, 151, 0.35);
  box-shadow: 0 18px 48px rgba(61, 220, 151, 0.1);
}

.tariff-featured {
  background:
    linear-gradient(180deg, rgba(61, 220, 151, 0.08), rgba(255, 255, 255, 0.03) 42%),
    rgba(255, 255, 255, 0.04);
  border-color: transparent;
  box-shadow: 0 0 40px rgba(61, 220, 151, 0.08);
}

.tariff-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), var(--mint), transparent 25%, var(--cyan), transparent 70%, var(--mint));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: border-spin 8s linear infinite;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

.badge {
  position: absolute;
  top: 0.95rem;
  right: 0.85rem;
  z-index: 1;
  max-width: calc(100% - 7rem);
  padding: 0.26rem 0.5rem;
  border: 1px solid rgba(61, 220, 151, 0.35);
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.12);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-align: center;
}

.tariff-card .badge + h3 {
  padding-right: 5.6rem;
}

.tariff-card h3 {
  position: relative;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.price {
  position: relative;
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.tariff-featured .price {
  color: var(--mint);
}

.tariff-card > ul,
.tariff-details-list {
  list-style: none;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tariff-card > ul {
  flex: 1;
}

.tariff-card > ul li,
.tariff-details-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 0.85rem;
  border-top: 1px solid var(--hairline);
}

.tariff-card > ul li::before,
.tariff-details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.tariff-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.tariff-spec {
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
}

.tariff-spec b {
  color: var(--text);
  font-weight: 500;
}

.tariff-desc {
  margin-top: 0.75rem;
  color: var(--muted);
}

.btn-tariff-more {
  align-self: flex-start;
  margin-top: 0.75rem;
}

.tariff-details {
  margin-top: 0.35rem;
}

.tariff-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tariffs-repay-note {
  max-width: 52rem;
  margin-top: 1.15rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  backdrop-filter: blur(12px);
}

.tariffs-repay-note strong {
  color: var(--text);
  font-weight: 600;
}

body.home-public-loading #cms-tariffs-grid {
  position: relative;
}

body.home-public-loading #cms-tariffs-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 35%,
    rgba(61, 220, 151, 0.08) 50%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: home-shimmer 1.2s var(--ease) infinite;
}

@keyframes home-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

/* Steps */

.steps {
  --progress: 0;
  position: relative;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
}

.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.steps::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
  transform: scaleY(var(--progress, 0));
  transform-origin: top center;
  transition: transform 800ms var(--ease);
}

.steps li {
  position: relative;
  padding: 0.15rem 0 1.9rem 3.2rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  transition: background 600ms var(--ease), color 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}

.steps li.is-lit::before {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--accent-ink);
  box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.14);
}

.steps a {
  color: var(--mint);
}

/* Contacts */

.contacts {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.contacts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 0.85rem 1rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 500ms var(--ease), color 500ms var(--ease), background 500ms var(--ease);
}

.contacts a::after {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1.5px solid var(--mint);
  border-right: 1.5px solid var(--mint);
  transform: translateX(0) rotate(45deg);
  transition: transform 600ms var(--ease);
}

.contacts a:hover {
  border-color: rgba(61, 220, 151, 0.4);
  color: var(--mint);
  background: rgba(61, 220, 151, 0.05);
}

.contacts a:hover::after {
  transform: translateX(6px) rotate(45deg);
}

.connect-clients {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.connect-clients li {
  padding: 0.9rem 1rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.connect-clients strong {
  color: var(--text);
}

/* Reviews */

.reviews-disclaimer {
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.public-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.public-reviews-list:empty {
  display: none;
}

.public-review-card {
  min-width: 0;
  padding: 1.2rem 1.25rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.public-review-card:first-child {
  box-shadow: inset 3px 0 0 var(--mint);
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.16);
}

.review-star.is-on {
  color: var(--star);
}

.review-body {
  margin-top: 0.7rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.review-author {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.review-date {
  font-family: var(--mono);
  font-size: 0.75rem;
}

.reviews-empty,
.home-loading-hint {
  color: var(--muted);
}

/* News list */

.public-news-list {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.home-news-loading-item,
.home-news-item {
  list-style: none;
}

.home-news-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
}

.home-news-item:last-child {
  border-bottom: 0;
}

.home-news-date,
.news-article-date,
.news-index-list time {
  display: block;
  margin-bottom: 0.28rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.home-news-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
}

.home-news-title a,
.news-index-list a,
.news-article-back a {
  color: inherit;
  text-decoration: none;
}

.home-news-title a:hover,
.news-index-list a:hover {
  color: var(--mint);
}

.home-news-body {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.home-news-loading,
.home-news-empty,
.home-loading-hint {
  margin: 0;
  padding: 0.35rem 0 0.55rem;
  color: var(--muted);
}

.home-news-all {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
}

.home-news-all a {
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
}

.home-news-all a:hover {
  text-decoration: underline;
}

.news-index-list {
  list-style: none;
  margin-top: 1.5rem;
}

.news-index-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
}

.news-index-list a {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.news-index-list p {
  margin-top: 0.4rem;
  color: var(--muted);
  line-height: 1.5;
}

.news-article h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.news-article-body {
  max-width: 44rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.news-article-body a,
.news-article-back a {
  color: var(--mint);
  font-weight: 600;
}

.news-article-back {
  margin-top: 1.75rem;
}

/* Legal prose — agreement, privacy, legal use .legal-disclaimer.cms-rich */

.legal-disclaimer {
  margin-top: 0.9rem;
  max-width: 52rem;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.7;
}

.prose,
.cms-rich,
.legal-disclaimer,
.news-article-body {
  overflow-wrap: anywhere;
}

.prose h2,
.prose h3,
.cms-rich h2,
.cms-rich h3,
.cms-rich h4,
.legal-disclaimer h2,
.legal-disclaimer h3,
.legal-disclaimer h4 {
  margin: 1.35rem 0 0.45rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.prose h2,
.cms-rich h2,
.legal-disclaimer h2 {
  font-size: 1.28rem;
}

.prose h3,
.cms-rich h3,
.legal-disclaimer h3 {
  font-size: 1.08rem;
}

.cms-rich h4,
.legal-disclaimer h4,
.prose h4 {
  font-size: 1rem;
}

.prose p,
.cms-rich p,
.legal-disclaimer p {
  margin: 0 0 0.7rem;
}

.prose p:last-child,
.cms-rich p:last-child,
.legal-disclaimer p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol,
.cms-rich ul,
.cms-rich ol,
.legal-disclaimer ul,
.legal-disclaimer ol {
  margin: 0.3rem 0 0.85rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.prose li + li,
.cms-rich li + li,
.legal-disclaimer li + li {
  margin-top: 0.35rem;
}

.prose a,
.cms-rich a,
.legal-disclaimer a {
  color: var(--mint);
}

.cms-rich ul.cms-check-list {
  list-style: none;
  padding-left: 0;
}

.cms-rich ul.cms-check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.cms-rich ul.cms-check-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.48em;
  width: 0.55em;
  height: 0.32em;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.lead.cms-rich,
.section-intro.cms-rich,
.legal-disclaimer.cms-rich {
  margin-top: 0.85rem;
}

.lead.cms-rich { margin-top: 1.15rem; }

body:not(.page-home) .wrap > h2:not(.section-title):not(.panel-title) {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body:not(.page-home) .wrap > p:not([class]) {
  margin-top: 0.9rem;
  max-width: 44rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
}

caption {
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
}

th,
td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

/* Forms */

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]):not([type="file"]),
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus,
input:not([type="checkbox"]):not([type="radio"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(61, 220, 151, 0.75);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.2);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: rgba(255, 140, 140, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.16);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--mint);
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
}

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-soft);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%),
    linear-gradient(135deg, var(--mint) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.panel-msg,
.form-error,
.form-success,
.form-ok {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.panel-msg-error,
.form-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 120, 120, 0.35);
  color: var(--danger);
}

.panel-msg-ok,
.form-success,
.form-ok {
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.35);
  color: var(--mint);
}

.page-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel-main {
  flex: 1;
  padding: clamp(1.6rem, 4vw, 2.8rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.panel-page-head {
  margin-bottom: 1.4rem;
}

.panel-title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.panel-auth-placeholder {
  max-width: 440px;
  padding: 1.2rem 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-auth-placeholder .panel-auth-placeholder {
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.panel-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.panel-tab {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.panel-tab-active {
  color: var(--accent-ink);
  background: var(--mint);
  border-color: var(--mint);
}

.panel-auth-forms {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 360px;
}

.panel-auth-forms label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.panel-auth-forms label span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.panel-auth-forms label span.password-field {
  position: relative;
  display: block;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.panel-auth-forms .password-field input {
  padding-right: 6.2rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.55);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: var(--mint);
  border-color: rgba(61, 220, 151, 0.45);
}

.panel-auth-switch {
  margin: 0.2rem 0 0;
  text-align: center;
}

.panel-auth-switch-link {
  padding: 0;
  color: var(--mint);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.panel-reg-note,
.panel-repay-note {
  line-height: 1.45;
}

.panel-guest-selected {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(61, 220, 151, 0.35);
  border-radius: 14px;
  background: rgba(61, 220, 151, 0.06);
}

/* Footer */

.site-footer {
  position: relative;
  background: #05070a;
  border-top: 1px solid var(--hairline);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding: 2.4rem 0 2rem;
}

.footer-inner > p {
  grid-column: 1 / -1;
}

.footer-inner > p:first-child {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-legal-line {
  margin-top: -0.45rem;
}

.footer-legal-line a {
  color: var(--text-soft);
}

.footer-legal-line a:hover {
  color: var(--mint);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mint);
}

/* Sticky mobile actions */

.home-sticky-cta {
  display: none;
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem;
  background: rgba(7, 9, 12, 0.78);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-sticky-cta-btn {
  flex: 1 1 0;
  min-height: 42px;
}

@media (max-width: 759px) {
  .page-home .home-sticky-cta {
    display: flex;
  }

  body.page-home {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  }

  .public-reviews-list:not(:empty) {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    gap: 0.75rem;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0.35rem;
  }

  .public-review-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
}

/* Reveal */

html.js-motion [data-reveal],
html.js-motion .tariff-grid > * {
  transition:
    opacity 750ms var(--ease),
    transform 750ms var(--ease);
}

html.js-motion [data-reveal]:not(.is-in),
html.js-motion .tariff-grid > *:not(.is-in) {
  opacity: 0;
  transform: translateY(20px);
}

html.js-motion [data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: 80ms; }
html.js-motion [data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: 160ms; }
html.js-motion [data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: 240ms; }
html.js-motion [data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: 320ms; }

html.js-motion .tariff-grid > *:nth-child(2) { transition-delay: 80ms; }
html.js-motion .tariff-grid > *:nth-child(3) { transition-delay: 160ms; }
html.js-motion .tariff-grid > *:nth-child(4) { transition-delay: 240ms; }

@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .tariff-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .footer-links + .footer-links {
    padding-top: 0.85rem;
    border-top: 1px solid var(--hairline);
  }

  .status-banner-inner {
    width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.js-motion [data-reveal]:not(.is-in),
  html.js-motion .tariff-grid > *:not(.is-in) {
    opacity: 1;
    transform: none;
  }

  html.js-motion .section:not(.is-in) .section-title::before {
    background-size: 2.35rem 1px;
  }

  .steps::after {
    transform: scaleY(1);
  }

  .feature-grid > li,
  .c-card,
  .tariff-card,
  .btn {
    transform: none;
  }
}
