/* eslatuvchi.uz landing.
   Paper ground, serif headlines at weight 400, one warm accent - the Steep
   system, which was extracted from a marketing site and belongs on this page
   more than anywhere else in the product.
   No build step and no dependencies - the same rule the rest of the project
   follows, so a deploy is still a file copy. */

:root {
  /* Steep (steep.app), applied as given. Near-monochrome on white paper with
     one warm peach accent; the page was dark and gradient-led before, and the
     gradient is gone rather than lightened - the guide is explicit that any
     chromatic colour beyond the peach/brown pair breaks the restraint. */
  --ink: #17191c;
  --ink-2: #3f434b;
  --ink-3: #777b86;
  --ash: #979799;
  --line: #ececec;

  /* On black these were translucent lifts. On paper the same job is done by
     Steep's two quiet surfaces, so they are opaque now. */
  --glass: #f2f2f3;
  --glass-strong: #fafafb;
  --rim: #dcdcdd;

  --peach: #fbe1d1;
  --sienna: #5d2a1a;

  --r: 24px;
  --r-lg: 24px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1200px;

  --font: 'Sohne', 'Söhne', Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Signifier and Söhne are Klim faces and are not licensed here; these are
     the substitutes the guide itself names, then system serifs. Nothing
     reaches for a font server. */
  --font-display: 'Signifier', 'Source Serif 4', ui-serif, Georgia,
    "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
/* The signature of this system: the serif stays at 400 at every size. The
   guide calls the restraint the point - it whispers authority rather than
   shouting in bold. */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── the vertical rhythm the page is drawn on ──────────────────────────── */
.grid-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  pointer-events: none;
}
.grid-lines i { border-left: 1px solid rgba(23, 25, 28, 0.045); }
.grid-lines i:first-child { border-left: 0; }

/* ── glass spheres — switched off ──────────────────────────────────────
   These worked because there was something dark behind them to bend: a
   backdrop-filter that refracts and desaturates, plus a radial highlight so
   the sphere had a light source rather than looking like a grey circle. On
   paper there is nothing to bend and the highlight has nothing to sit on, so
   the same CSS renders as four grey circles - which is what the last sentence
   of that explanation was warning about.

   Steep also has no abstract graphics at all; its imagery is product
   surfaces. So .orbs is display:none below rather than deleted - the markup
   is five empty divs, and bringing the dark page back is one line. */
.orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 30% 22%, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.03) 40%, transparent 62%),
    radial-gradient(90% 90% at 72% 78%, rgba(255,255,255,0.05), transparent 60%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -18px 40px rgba(0,0,0,0.45),
    0 40px 90px rgba(0,0,0,0.55);
  will-change: transform;
}

.orb--1 { width: 46vmax; height: 46vmax; top: -14vmax; right: -12vmax; }
.orb--2 { width: 28vmax; height: 28vmax; top: 46vh;  left: -10vmax; }
.orb--3 { width: 20vmax; height: 20vmax; top: 128vh; right: 4vw; }
.orb--4 { width: 34vmax; height: 34vmax; top: 210vh; left: -8vmax; }

/* ── shared bits ───────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}

em {
  font-style: italic;
  color: inherit;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

main { position: relative; z-index: 2; }

.band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 14vh, 170px) var(--pad);
}

.band__title {
  font-size: clamp(34px, 6vw, 76px);
  max-width: 16ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
}

.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }

.nav__mark {
  width: 30px; height: 30px;
  display: block;
  background: url("/app/icons/icon.svg") center / contain no-repeat;
}

/* ── language switch ───────────────────────────────────────────────────── */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.06em;
}
.lang a, .lang__on {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-3);
  transition: color 0.2s, background 0.2s;
}
.lang a:hover { color: var(--ink); }
.lang__on { color: var(--ink); background: #ffffff; box-shadow: 0 0 0 1px var(--line); }

.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; }

@media (min-width: 860px) {
  .nav__links { display: flex; margin-left: auto; }
  .lang { margin-left: 0; }
  .nav__cta { margin-left: 0; }
}

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--rim);
  font-size: 15px;
  font-weight: 590;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: var(--glass);
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), background 0.22s, border-color 0.22s;
}

.btn:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: var(--rim); }
.btn:active { transform: translateY(0); }

/* The one filled element on the page, so the eye always knows where to go. */
.btn--primary {
  position: relative;
  border-color: var(--ink);
  color: #ffffff;
  background: var(--ink);
  box-shadow: none;
}
.btn--primary:hover { background: var(--ink); opacity: 0.88; }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--glass); }
.btn--block { width: 100%; }
.btn--lg { height: 62px; padding: 0 38px; font-size: 17px; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(50px, 9vh, 110px) var(--pad) clamp(70px, 10vh, 130px);
}

.hero__title {
  font-size: clamp(46px, 11vw, 132px);
  letter-spacing: -0.055em;
  margin-bottom: 30px;
}
.hero__title span { display: block; }

.hero__sub {
  max-width: 44ch;
  font-size: clamp(16px, 2.1vw, 21px);
  color: var(--ink-2);
  margin-bottom: 40px;
}

.hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__note { font-size: 13px; color: var(--ink-3); }

/* ── the product, shown ────────────────────────────────────────────────── */
.phone { margin-top: clamp(60px, 9vw, 110px); display: flex; justify-content: center; }

.phone__glass {
  width: min(420px, 100%);
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rim);
  background: var(--glass);
  box-shadow: rgba(4, 23, 43, 0.05) 0 0 0 1px,
    rgba(0, 0, 0, 0.1) 0 20px 25px -5px, rgba(0, 0, 0, 0.1) 0 8px 10px -6px;
}

.chat { display: flex; flex-direction: column; gap: 12px; }

.chat__bubble {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  background: var(--surface-paper, #ffffff);
  border: 1px solid var(--line);
}
.chat__bubble--out {
  align-self: flex-end;
  max-width: 82%;
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.chat__bubble--tight { padding: 11px 14px; }

.chat__head { font-size: 13px; letter-spacing: 0.02em; margin-bottom: 8px; }
.chat__row { color: var(--ink-2); font-size: 13px; }
.chat__amount { font-size: 27px; font-weight: 620; letter-spacing: -0.035em; margin: 4px 0 6px; }
.chat__amount small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.chat__meta { font-size: 12.5px; color: var(--ink-3); }

.chat__actions { display: flex; gap: 8px; margin-top: 12px; }
.chip {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  background: var(--surface-paper, #ffffff);
  border: 1px solid var(--line);
}

/* ── cards ─────────────────────────────────────────────────────────────── */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: 1fr; margin-top: 20px; }

@media (min-width: 760px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  padding: 30px 28px 34px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--rim); }

.card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 30px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -0.03em; }
.card p { color: var(--ink-2); font-size: 15px; }

/* ── steps ─────────────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 14px; }

.step {
  display: flex;
  gap: 22px;
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
}

.step__num {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 620;
  color: var(--sienna);
  background: var(--peach);
}
/* A flex item will not shrink below its content unless told to, and the code
   line below is deliberately un-wrapped - without this the whole page gains a
   horizontal scrollbar on a phone. */
.step__body { min-width: 0; }
.step__body h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.03em; }
.step__body p { color: var(--ink-2); font-size: 15px; }

.step__code {
  display: block;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-paper, #ffffff);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--ink-2);
  overflow-x: auto;
  white-space: nowrap;
}

/* ── tags ──────────────────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.tag {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: color 0.24s, border-color 0.24s, transform 0.24s;
}
.tag:hover { color: var(--ink); border-color: var(--rim); transform: translateY(-2px); }

/* ── pricing ───────────────────────────────────────────────────────────── */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  /* the recommended plan leads, so it sits first and stands taller */
  .plan--featured { order: -1; }
}

.plan {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass);
}

.plan--featured {
  /* Marked by a firmer edge rather than a coloured glow - the pink one was
     the last chromatic thing on the page. */
  border-color: var(--ink);
  background: var(--glass-strong);
}

.plan__badge {
  position: absolute;
  top: -11px; left: 30px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
  background: var(--peach);
}

.plan h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.plan__price { font-size: 42px; font-weight: 620; letter-spacing: -0.05em; margin: 14px 0 26px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }

.plan ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.plan li { font-size: 15px; color: var(--ink-2); padding-left: 26px; position: relative; }
.plan li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.plans__note { margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.plans__note b { color: var(--ink-2); font-weight: 600; }

/* ── final ─────────────────────────────────────────────────────────────── */
.final {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(110px, 18vh, 220px) var(--pad);
  text-align: center;
}
.final__title { font-size: clamp(38px, 8vw, 96px); letter-spacing: -0.05em; }
.final__sub { margin: 24px auto 44px; max-width: 40ch; color: var(--ink-2); font-size: clamp(16px, 2vw, 20px); }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 60px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.foot__brand { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 590; }
.foot__links { display: flex; gap: 22px; margin-left: auto; }
.foot__links a:hover { color: var(--ink); }

/* ── reveal on scroll ────────────────────────────────────────────────────
   Content is visible by default and only hidden once JS has confirmed it can
   bring it back. Written the other way round, any failure - a blocked script,
   an observer that never fires, an old browser - leaves a blank page, which is
   the worst thing a landing page can be. */
.reveal { opacity: 1; }

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(.2,.8,.2,1), transform 0.75s cubic-bezier(.2,.8,.2,1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none !important; }
  .btn, .card, .tag { transition: none; }
}
