@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('fonts/manrope-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('fonts/manrope-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('fonts/manrope-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:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('fonts/manrope-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;}

/* ============ Fonect.uz — design tokens ============ */
:root {
  --ink: #0e1f19;
  --ink-soft: #163026;
  --bg: #f3f6f4;
  --surface: #ffffff;
  --text: #14231c;
  --text-2: #55665e;
  --text-3: #7d8c85;
  --accent: #0da56b;
  --accent-deep: #08865a;
  --accent-soft: #e2f5ec;
  --accent-lite: #56dfa4;
  --line: #e2e9e5;
  --line-dark: rgba(255, 255, 255, 0.1);
  --r-card: 20px;
  --r-btn: 12px;
  --shadow: 0 1px 2px rgba(14, 31, 25, 0.05), 0 8px 24px rgba(14, 31, 25, 0.06);
  --shadow-up: 0 2px 4px rgba(14, 31, 25, 0.06), 0 16px 36px rgba(14, 31, 25, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-optical-sizing: auto;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
code { font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ============ Dark shell (header + hero) ============ */
.shell { background: var(--ink); color: #eef5f1; }
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 82% -10%, rgba(13, 165, 107, 0.22), transparent 64%),
    radial-gradient(520px 300px at -8% 110%, rgba(13, 165, 107, 0.1), transparent 60%),
    var(--ink);
}

.shell__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.shell__right { display: flex; align-items: center; gap: 12px; }

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand i { font-style: normal; color: var(--accent-lite); }
.brand__mark { width: 26px; height: 26px; color: var(--accent-lite); }
.brand--sm { font-size: 18px; }
.brand--sm .brand__mark { width: 22px; height: 22px; }

.op-chip {
  font-size: 13px;
  font-weight: 600;
  color: #c3d4cc;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.lang {
  display: flex;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  overflow: hidden;
}
.lang a {
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  color: #c3d4cc;
  transition: background 0.18s, color 0.18s;
}
.lang a.is-on { background: var(--accent); color: #06130d; }
.lang a:not(.is-on):hover { color: #fff; }

/* ============ Hero ============ */
.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}
.hero__copy h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 15ch;
}
.hero__sub {
  margin-top: 16px;
  font-size: 17px;
  color: #b9cdc3;
  max-width: 46ch;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chips li {
  font-size: 13.5px;
  font-weight: 700;
  color: #d7e6de;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 7px 15px;
  font-variant-numeric: tabular-nums;
}

.hero__card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-card);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.hero__card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero__card-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2px 0 18px;
  font-variant-numeric: tabular-nums;
}
.hero__card-price span { font-size: 15px; font-weight: 600; color: #b9cdc3; }

/* ============ Sections ============ */
.section { padding: 56px 20px 8px; }
.section__h {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}

/* ============ Package grid ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card--pop { border: 2px solid var(--accent); padding: 21px 21px 17px; }

.badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--accent);
  color: #06130d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 4px 12px;
}
.badge--dark { position: static; background: var(--accent); }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.gb { display: flex; align-items: baseline; gap: 5px; color: var(--text); }
.gb__n {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gb__u { font-size: 16px; font-weight: 700; color: var(--text-3); }
.gb--hero { color: #fff; margin: 18px 0 6px; }
.gb--hero .gb__n { font-size: 58px; }
.gb--hero .gb__u { color: #b9cdc3; }

.pill {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.pill--dark { color: #d7e6de; background: rgba(255, 255, 255, 0.07); border-color: var(--line-dark); }

.card__desc { margin-top: 10px; font-size: 14.5px; color: var(--text-2); min-height: 2.9em; }
.card__price {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  margin: 8px 0 16px;
  font-variant-numeric: tabular-nums;
}
.card__price span { font-size: 14px; font-weight: 700; color: var(--text-3); }

.card__actions { display: grid; gap: 9px; margin-top: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-btn);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.005em;
  transition: background 0.16s, border-color 0.16s, transform 0.1s, color 0.16s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--accent); color: #06130d; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--text-2); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg); color: var(--text); }
.btn--ghost.is-done, .btn--ghost-dark.is-done { color: var(--accent-deep); border-color: var(--accent); }

.btn--ghost-dark { background: transparent; color: #d7e6de; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.btn--ghost-dark.is-done { color: var(--accent-lite); border-color: var(--accent-lite); }

.card__code {
  display: block;
  text-align: center;
  margin-top: 13px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.card__code--dark { color: #93a89f; }

/* ============ Note ============ */
.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 22px;
  margin-top: 46px;
  box-shadow: var(--shadow);
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); margin-top: 2px; }
.note p { font-size: 14.5px; color: var(--text-2); }

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.steps__item { border-top: 3px solid var(--accent); padding-top: 18px; }
.steps__item h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.steps__item p { margin-top: 7px; font-size: 14.5px; color: var(--text-2); }

/* ============ Prose (SEO) ============ */
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 34px 38px;
  box-shadow: var(--shadow);
}
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 26px 0 10px; }
.prose h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.015em; margin: 24px 0 8px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { font-size: 15px; color: var(--text-2); margin: 10px 0; max-width: 78ch; }
.prose strong { color: var(--text); font-weight: 750; }

/* ============ Footer ============ */
.footer { margin-top: 72px; padding: 44px 0 110px; }
.footer__in { display: grid; gap: 14px; }
.footer__note { font-size: 14px; color: #93a89f; max-width: 62ch; }
.footer__copy { font-size: 13px; color: #6d7f77; }

/* ============ Floating dock ============ */
.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(10, 22, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 7px;
  box-shadow: 0 12px 34px rgba(6, 15, 11, 0.4);
  z-index: 40;
}
.dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 750;
  border-radius: 999px;
  padding: 11px 20px;
  transition: filter 0.16s, transform 0.1s;
}
.dock__btn:active { transform: scale(0.97); }
.dock__btn:hover { filter: brightness(1.12); }
.dock__btn svg { width: 17px; height: 17px; }
.dock__btn--call { background: var(--accent); color: #06130d; }
.dock__btn--tg { background: #2f9fe8; color: #06131a; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink);
  color: #eef5f1;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  padding: 11px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(6, 15, 11, 0.35);
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Reveal ============ */
@media (prefers-reduced-motion: no-preference) {
  html.js .js-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
  html.js .js-reveal.is-in { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; padding-bottom: 46px; }
  .hero__card { max-width: 440px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .op-chip { display: none; }
  .section { padding-top: 42px; }
  .prose { padding: 24px 20px; }
  .dock { width: calc(100% - 24px); justify-content: stretch; }
  .dock__btn { flex: 1; justify-content: center; }
  .footer { padding-bottom: 96px; }
}
