/*
 * Kulino saytı.
 *
 * MÜŞTƏRİ RESTORAN SAHİBİDİR, proqramçı deyil. Ona görə səhifə funksiya
 * siyahısı ilə deyil, BİR AXŞAMIN GEDİŞİ ilə danışır: növbə açılır, zal dolur,
 * mətbəx gecikir, kassa bağlanır. Hər ekran öz anında göstərilir.
 *
 * Rənglər məhsulun öz tokenlərindəndir (`apps/terminal/src/styles/tokens.css`).
 * «Bir axşam» bölməsində fon alacakaranlıqdan gecəyə keçir — bölmənin özü
 * vaxtın keçdiyini göstərir, mətn bunu izah etməli olmur.
 */
:root {
  --paper: #f3f6f3;
  --surface: #fff;
  --surface-2: #e9eeea;
  --ink: #101815;
  --ink-2: #46554e;
  --ink-3: #74857c;
  --rule: #d8dfd9;
  --rule-soft: #e6ebe6;
  --accent: #0e6b56;
  --accent-deep: #0b5946;
  --accent-soft: #dcece6;
  --ember: #a9541f;
  --ember-soft: #f6e7db;
  --crit: #a5342a;
  --crit-soft: #f8e3e0;

  --n-ink: #e9efeb;
  --n-ink-2: #b3c1ba;
  --n-ink-3: #8b9c94;
  --n-rule: rgba(255, 255, 255, 0.14);
  --n-fill: rgba(255, 255, 255, 0.055);
  --n-accent: #4cbf9c;
  --n-warn: #e9a463;
  --n-crit: #e88679;

  --sans: "Familjen Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(18px, 4vw, 60px);
  --max: 1220px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -.025em;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gut);
}
.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.display {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  letter-spacing: -.042em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  letter-spacing: -.032em;
}
.h3 {
  font-size: 1.22rem;
  letter-spacing: -.015em;
}
.lead {
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  color: var(--ink-2);
  max-width: 48ch;
}
.small {
  font-size: .92rem;
  color: var(--ink-2);
}
.tiny {
  font-size: .82rem;
  color: var(--ink-3);
}
section {
  padding-block: clamp(64px, 8.5vw, 128px);
}
.shead {
  max-width: 58ch;
}
.shead .h2 {
  margin-top: 15px;
}
.shead p {
  margin-top: 18px;
}

/* ---- Başlıq ---- */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.top .bar {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.045em;
  font-size: 1.26rem;
}
.mark .logo {
  width: 26px;
  height: 26px;
  flex: none;
  display: block;
}
nav.links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
nav.links a {
  font-size: .94rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}
nav.links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 12px 21px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  transition: background .16s, transform .14s;
}
.btn:hover {
  background: var(--accent-deep);
}
.btn:active {
  transform: translateY(1px);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost:hover {
  background: var(--surface);
  border-color: var(--ink-3);
}
.btn.sm {
  padding: 9px 16px;
  font-size: .9rem;
}
/* Başlıqda iki yol: mövcud müştəri girir, yeni gələn demo istəyir. */
.top-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}
.top-cta .quiet {
  font-size: .94rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 6px;
  white-space: nowrap;
}
.top-cta .quiet:hover {
  color: var(--accent);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---- Hero ---- */
/*
 * Məhsul BİRİNCİ ekranda görünür.
 *
 * Əvvəl hero yalnız mətn və kiçik telefon maketi idi — ziyarətçi Kulino-nun
 * necə göründüyünü bilmək üçün üç bölmə aşağı sürüşdürməli olurdu. İndi əsl
 * kassa ekranı sağda durur və çərçivəsi səhifənin kənarından çıxır: şəkil
 * «yapışdırılmış» deyil, davam edən bir ekran kimi oxunur.
 */
/*
 * İlk ekran SAKİT OLMAMALIDIR.
 *
 * Əvvəl burada yalnız mətn və donmuş telefon maketi vardı — baxılası bir şey
 * olmadığı üçün göz aşağı getmirdi. İndi telefon işləyir: satış artır, masa
 * sayı dəyişir, çağırış gəlib keçir. Başlıq «ayın sonunda gecdir» deyir,
 * yanındakı ekran isə elə həmin an dəyişir — iddia özünü sübut edir.
 */
.hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 88px) clamp(30px, 3.5vw, 52px);
  overflow: hidden;
}
/* Sağ tərəf düz kağız kimi qalmasın — telefonun arxasında yüngül işıq. */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 62%;
  height: 118%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 107, 86, 0.1), rgba(14, 107, 86, 0) 72%);
}
.hero .wrap {
  position: relative;
}
.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

/*
 * Məhsul heronun DƏRHAL ALTINDA, tam enində.
 *
 * Əvvəl yan-yana sınadım: şəkil kiçilirdi və oxunmurdu — qara düzbucaqlıya
 * çevrilirdi. Ekran şəkli o qədər böyük olmalıdır ki, içindəki sətirlər
 * seçilsin, yoxsa sübut yox, bəzək olur. Aşağı kənarı kəsilir: səhifə davam
 * edir, şəkil isə «bitmiş kart» kimi deyil, açıq ekran kimi oxunur.
 */
.showcase {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.showcase .frame {
  position: relative;
  max-height: clamp(260px, 42vw, 520px);
  overflow: hidden;
  border: 1px solid var(--rule);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #0b100e;
  box-shadow: 0 2px 8px rgb(16 24 21 / 0.1), 0 44px 90px -50px rgb(16 24 21 / 0.6);
}
.showcase .frame img {
  display: block;
  width: 100%;
  height: auto;
}
/* Alt kənar yumşaq sönür ki, kəsik kəskin xətt kimi görünməsin. */
.showcase .frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 14, 0), rgba(11, 16, 14, 0.92));
}
.showcase .cap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  margin-top: 14px;
  font-size: .9rem;
  color: var(--ink-2);
}
.showcase .cap b {
  font-weight: 600;
  color: var(--ink);
}

/* Açılışda sətir-sətir qalxır — səhifə açılan kimi diqqət mətnə düşür. */
.js .enter {
  opacity: 0;
  transform: translateY(15px);
  animation: heroIn .7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.hero h1 {
  margin-top: 22px;
}
.hero .lead {
  margin-top: 24px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--ink-3);
  font-size: .87rem;
}
.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgb(14 107 86 / 0.35);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 7px rgb(14 107 86 / 0);
  }
}

/* ---- Sahibin telefonu ---- */
/* ---- Sifariş səhnəsi ---- */
/*
 * Bir sifarişin bütün yolu — ziyarətçinin ÖZ düyməsi ilə.
 *
 * Əvvəl burada özbaşına işləyən telefon vardı: rəqəm artır, bildiriş gəlirdi.
 * Canlı görünürdü, amma davamlı hərəkət mətn oxumağa mane olur və məhsulun
 * yalnız BİR ekranını göstərirdi. İndi səhnə dörd addımdır — masa, mətbəx,
 * ofisiant, sahib — və yalnız basılanda işə düşür. Beləcə ziyarətçi Kulino-nun
 * bir sifarişi uçdan-uca apardığını uzun mətn oxumadan görür.
 */
.scene {
  max-width: 392px;
  margin-inline: auto;
}
.screen {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgb(16 24 21 / 0.1), 0 34px 64px -38px rgb(16 24 21 / 0.55);
}
.screen .shead-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--surface-2);
}
.screen .shead-bar b {
  font-size: .92rem;
  font-weight: 600;
}
.screen .shead-bar .dev {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* Hündürlük sabitdir — addımlar dəyişəndə səhifə tullanmasın. */
.screen .body {
  height: 344px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.screen .body.fade {
  animation: swap .42s ease;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ln {
  flex: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule-soft);
  font-size: .92rem;
}
.ln:last-of-type {
  border-bottom: 0;
}
.ln .q {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-3);
  margin-right: 6px;
}
.ln .a {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .88rem;
}
.pill {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  font-weight: 600;
}
.pill.ok {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.pill.warn {
  background: var(--ember-soft);
  color: var(--ember);
}
.sum {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.sum .row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--ink-2);
  padding: 2px 0;
}
.sum .row.big {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  padding-top: 7px;
  margin-top: 5px;
  border-top: 1px solid var(--rule);
}
.act {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.act span {
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--ink-2);
}
.act span.go {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.kit {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  font-size: .88rem;
}
.kit .tick {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--ink-3);
  flex: none;
}
.kit.done {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.kit.done .tick {
  background: var(--accent);
  border-color: var(--accent);
}
.kit .t {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.big-num {
  font-family: var(--mono);
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: .8rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 500;
}
.mini {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 9px;
  overflow: hidden;
  margin-top: 10px;
}
.mini div {
  background: var(--surface);
  padding: 10px 12px;
}
.mini .v {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mini .k {
  font-size: .74rem;
  color: var(--ink-3);
  margin-top: 1px;
}

/* Addım relsi — səhnənin harada olduğu həmişə görünür. */
.rail {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.rail span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--rule);
  transition: background .3s;
}
.rail span.on {
  background: var(--accent);
}
.rail span.past {
  background: var(--accent-soft);
}
.scene-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.scene-foot .tiny {
  margin-left: auto;
}
#play {
  padding: 11px 18px;
  font-size: .92rem;
}

/* ---- Fakt zolağı ---- */
.facts {
  border-block: 1px solid var(--rule);
  background: var(--surface);
}
.facts .g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin-inline: auto;
}
.fact {
  padding: clamp(24px, 2.8vw, 36px) clamp(18px, 2.2vw, 30px);
  border-left: 1px solid var(--rule-soft);
}
.fact:first-child {
  border-left: 0;
}
.fact .v {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.fact .k {
  margin-top: 8px;
  font-weight: 500;
  font-size: .96rem;
}
.fact .d {
  margin-top: 4px;
  font-size: .84rem;
  color: var(--ink-3);
}
/* ---- Məhsul qalereyası ---- */
.shots {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(32px, 4vw, 52px);
}
.shots-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.shots-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
}
.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(16 24 21 / 0.05), 0 24px 48px -34px rgb(16 24 21 / 0.5);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--rule);
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.shot figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: -.012em;
}
.ph-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.phone-shot {
  margin: 0;
  max-width: 286px;
  width: 100%;
  background: #101815;
  border-radius: 30px;
  padding: 9px;
  box-shadow: 0 2px 6px rgb(16 24 21 / 0.14), 0 34px 60px -38px rgb(16 24 21 / 0.7);
}
.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}
.ph-cap {
  max-width: 320px;
  text-align: center;
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.ph-cap b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ---- Bir axşam: fon alacakaranlıqdan gecəyə ---- */
.evening {
  background: linear-gradient(
    180deg,
    #42372b 0%,
    #353127 15%,
    #282e26 36%,
    #1b261f 58%,
    #121b17 78%,
    #0b100e 100%
  );
  color: var(--n-ink);
  color-scheme: dark;
}
.evening .eyebrow {
  color: var(--n-ink-3);
}
.evening .lead {
  color: var(--n-ink-2);
}
.evening .tiny {
  color: var(--n-ink-3);
}
/*
 * Mərhələ zolağı — axşamın hansı saatında olduğunuz həmişə görünür.
 *
 * Bölmə şaquli və uzundur; ortasında adam «bu neçənin hadisəsidir» sualını
 * verir. Zolaq yuxarıda yapışıb qalır və sürüşdükcə özü işarələnir. Tablara
 * çevirmədim: fonun alacakaranlıqdan gecəyə keçməsi bu bölmənin ən yaxşı
 * fikridir və tablar onu öldürürdü.
 */
.ev-nav {
  position: sticky;
  top: 64px;
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: clamp(26px, 3vw, 40px);
  padding: 9px 0;
  /* Fon bölmənin özündən ASILI DEYİL: axşam irəlilədikcə səhnə qaralır,
     sabit rəng isə aşağıda yad görünürdü. Tünd şəffaf örtük hər iki ucda
     işləyir — yuxarıda zolaq kimi seçilir, aşağıda səhnəyə qarışır. */
  background: rgba(10, 14, 12, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--n-rule);
  scrollbar-width: none;
}
.ev-nav::-webkit-scrollbar {
  display: none;
}
.ev-nav a {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 13px;
  border: 1px solid var(--n-rule);
  border-radius: 9px;
  text-decoration: none;
  color: var(--n-ink-2);
  transition: border-color .2s, background .2s, color .2s;
}
.ev-nav a .tm {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ev-nav a .lb {
  font-size: .72rem;
  color: var(--n-ink-3);
  white-space: nowrap;
}
.ev-nav a:hover {
  border-color: var(--n-ink-3);
  color: var(--n-ink);
}
.ev-nav a.on {
  background: rgb(76 191 156 / 0.15);
  border-color: var(--n-accent);
  color: var(--n-ink);
}
.ev-nav a.on .lb {
  color: var(--n-accent);
}
.ev-step {
  scroll-margin-top: 124px;
}
.ev-list {
  margin-top: clamp(14px, 2vw, 22px);
}
.ev-step {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(28px, 3.8vw, 52px);
  border-top: 1px solid var(--n-rule);
}
.ev-when .tm {
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.ev-when .lb {
  font-size: .8rem;
  color: var(--n-ink-3);
  margin-top: 5px;
  line-height: 1.35;
}
.ev-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}
.ev-body h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  letter-spacing: -.025em;
}
.ev-body > div > p {
  margin-top: 12px;
  color: var(--n-ink-2);
  font-size: 1rem;
}
.ev-body .tiny {
  margin-top: 12px;
}

.nc {
  background: var(--n-fill);
  border: 1px solid var(--n-rule);
  border-radius: 13px;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.nc .nch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--n-rule);
}
.nc .nct {
  font-weight: 600;
  font-size: .99rem;
}
.ntag {
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgb(76 191 156 / 0.16);
  color: var(--n-accent);
  font-weight: 600;
}
.ntag.w {
  background: rgb(233 164 99 / 0.16);
  color: var(--n-warn);
}
.ntag.c {
  background: rgb(232 134 121 / 0.16);
  color: var(--n-crit);
}
.nrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: .92rem;
  color: var(--n-ink-2);
}
.nrow b {
  font-weight: 500;
  color: var(--n-ink);
}
.nrow .num {
  color: var(--n-ink);
}
.nrow.tot {
  margin-top: 7px;
  padding-top: 11px;
  border-top: 1px solid var(--n-rule);
  font-size: 1.12rem;
  color: var(--n-ink);
  font-weight: 600;
}
.nrow.bad .num {
  color: var(--n-crit);
}
.nrow.good .num {
  color: var(--n-accent);
}

.people {
  display: flex;
  gap: 7px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.who {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--n-rule);
  border-radius: 99px;
  font-size: .83rem;
}
.who i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(76 191 156 / 0.2);
  color: var(--n-accent);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
}

.ntab {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.tb {
  border: 1px solid var(--n-rule);
  border-radius: 8px;
  padding: 9px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}
.tb .n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .95rem;
}
.tb .s {
  font-size: .66rem;
  color: var(--n-ink-3);
  margin-top: 2px;
  font-family: var(--mono);
}
.tb.on {
  border-color: rgb(76 191 156 / 0.55);
  background: rgb(76 191 156 / 0.11);
}
.tb.on .s {
  color: var(--n-accent);
}
.tb.call {
  border-color: rgb(233 164 99 / 0.6);
  animation: cp 1.7s ease-in-out infinite;
}
.tb.call .s {
  color: var(--n-warn);
}
@keyframes cp {
  0%,
  100% {
    background: rgb(233 164 99 / 0.1);
  }
  50% {
    background: rgb(233 164 99 / 0.26);
  }
}

.kit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--n-rule);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: .91rem;
  margin-bottom: 7px;
}
.kit:last-child {
  margin-bottom: 0;
}
.kit .t {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .79rem;
  color: var(--n-ink-3);
  font-variant-numeric: tabular-nums;
}
.kit .tick {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--n-ink-3);
  flex: none;
}
.kit.late {
  border-color: rgb(232 134 121 / 0.5);
  background: rgb(232 134 121 / 0.08);
}
.kit.late .t {
  color: var(--n-crit);
}
.kit.ok .tick {
  background: var(--n-accent);
  border-color: var(--n-accent);
}
.kit.ok .t {
  color: var(--n-accent);
}

/* ---- İtki ---- */
.leaks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(34px, 4vw, 54px);
}
.leak {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 13px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.leak .lq {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--ember);
  text-transform: uppercase;
}
.leak h3 {
  margin-top: 13px;
}
.leak p {
  margin-top: 11px;
  color: var(--ink-2);
  font-size: .95rem;
}
.leak .ans {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
  font-size: .93rem;
}
.leak .ans b {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: .83rem;
  letter-spacing: .02em;
  margin-bottom: 5px;
}

/* ---- Suallar → hesabatlar ---- */
.qa {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--rule);
}
.qi {
  padding: 22px clamp(16px, 2vw, 28px) 22px 0;
  border-bottom: 1px solid var(--rule);
}
.qi:nth-child(2n) {
  padding-left: clamp(16px, 2vw, 28px);
  padding-right: 0;
  border-left: 1px solid var(--rule);
}
.qi .q {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -.018em;
  display: flex;
  gap: 10px;
}
.qi .q::before {
  content: "?";
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 600;
  flex: none;
}
.qi .a {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: .94rem;
  padding-left: 24px;
}
.qi .src {
  display: inline-block;
  margin-top: 9px;
  margin-left: 24px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 5px;
}

/* ---- Qonaq ---- */
.guest {
  background: var(--surface);
  border-block: 1px solid var(--rule);
}
.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  margin-top: clamp(34px, 4vw, 54px);
}
.phone .screen {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 246px;
}
.phone .cap {
  margin-top: 14px;
}
.phone .cap b {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}
.phone .cap span {
  display: block;
  color: var(--ink-2);
  font-size: .88rem;
  margin-top: 4px;
}
.mrow {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--rule-soft);
  border-radius: 9px;
  background: var(--surface);
}
.mrow .th {
  width: 33px;
  height: 33px;
  border-radius: 7px;
  background: var(--surface-2);
  flex: none;
}
.mrow .mt {
  font-size: .87rem;
  font-weight: 500;
  line-height: 1.25;
}
.mrow .mp {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .81rem;
  color: var(--ink-2);
}
.catbar {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.catbar span {
  font-size: .73rem;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  white-space: nowrap;
  background: var(--surface);
}
.catbar span.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.gbtn {
  margin-top: auto;
  text-align: center;
  padding: 11px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: .91rem;
  font-weight: 500;
}
.gbtn.soft {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.gbtn.line {
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
}

/* ---- Nə daxildir ---- */
.caps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 3.6vw, 46px);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 13px;
  overflow: hidden;
}
.cap-i {
  background: var(--surface);
  padding: 20px;
}
.cap-i b {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.012em;
}
.cap-i span {
  display: block;
  color: var(--ink-2);
  font-size: .88rem;
  margin-top: 6px;
  line-height: 1.45;
}

/* ---- Qiymət ---- */
.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  margin-top: clamp(30px, 3.6vw, 48px);
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(16 24 21 / 0.05), 0 26px 50px -34px rgb(16 24 21 / 0.45);
}
.pcard .ph {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--rule);
}
.pcard .amt {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 8px;
}
.pcard .amt .a {
  font-family: var(--mono);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
}
.pcard .amt .p {
  color: var(--ink-3);
  font-size: .98rem;
}
.pcard ul {
  list-style: none;
  margin: 0;
  padding: 20px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcard li {
  font-size: .95rem;
  padding-left: 25px;
  position: relative;
  color: var(--ink-2);
}
.pcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .36em;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: var(--accent-soft);
}
.pcard li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: .55em;
  width: 9px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(14% 48%, 38% 72%, 86% 20%, 96% 32%, 38% 92%, 4% 58%);
}
.pcard .pf {
  padding: 0 26px 26px;
}
.pcard .pf .btn {
  width: 100%;
}

/* ---- Son ---- */
.cta {
  background: #0b100e;
  color: var(--n-ink);
}
.cta .h2 {
  max-width: 20ch;
}
.cta p {
  color: var(--n-ink-2);
  margin-top: 18px;
  max-width: 50ch;
}
.cta .btn {
  background: var(--n-accent);
  border-color: var(--n-accent);
  color: #04120e;
}
.cta .btn:hover {
  background: #5fd0ad;
}
.cta .btn.ghost {
  background: transparent;
  color: var(--n-ink);
  border-color: var(--n-rule);
}
.cta .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(38px, 4.4vw, 60px);
  padding-top: clamp(28px, 3vw, 42px);
  border-top: 1px solid var(--n-rule);
}
.contact .ci {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  color: var(--n-ink-3);
  text-transform: uppercase;
}
.contact a,
.contact b {
  display: block;
  margin-top: 9px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}
.contact a:hover {
  color: var(--n-accent);
}
footer {
  background: #0b100e;
  color: var(--n-ink-3);
  border-top: 1px solid var(--n-rule);
  padding-block: 28px;
  font-size: .85rem;
}
footer .f {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

/* ---- Görünmə ---- */
.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}

/* ---- Dar ekran ---- */
@media (max-width: 1000px) {
  .hero .grid,
  .ev-body,
  .price {
    grid-template-columns: 1fr;
  }
  .leaks,
  .phones,
  .contact {
    grid-template-columns: 1fr;
  }
  .shots-2,
  .shots-3 {
    grid-template-columns: 1fr;
  }
  .qa {
    grid-template-columns: 1fr;
  }
  .qi,
  .qi:nth-child(2n) {
    padding-inline: 0;
    border-left: 0;
  }
  .facts .g {
    grid-template-columns: 1fr 1fr;
  }
  .fact {
    border-left: 0;
    border-top: 1px solid var(--rule-soft);
  }
  .fact:nth-child(2n) {
    border-left: 1px solid var(--rule-soft);
  }
  .fact:first-child,
  .fact:nth-child(2) {
    border-top: 0;
  }
  nav.links {
    display: none;
  }
  .device {
    margin-top: 8px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .ev-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ev-when {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .ev-when .lb {
    margin-top: 0;
  }
  .facts .g {
    grid-template-columns: 1fr;
  }
  .fact {
    border-left: 0 !important;
    border-top: 1px solid var(--rule-soft);
  }
  .fact:first-child {
    border-top: 0;
  }
  .ntab {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .pcard .amt .a {
    font-size: 2.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .toast {
    display: none;
  }
  .js .enter {
    opacity: 1;
    transform: none;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
}

/* ---- Alt səhifələr ---- */
/*
 * Hər mövzunun öz səhifəsi var: QR menyu, anbar, e-kassa, mətbəx, oflayn.
 * Səbəb SEO-dur — hamısı bir səhifədə əriyəndə heç biri öz sorğusu üçün
 * güclü siqnal vermir. Şablon ortaqdır, məzmun isə hər səhifədə fərqlidir:
 * eyni mətni təkrarlayan nazik səhifələr faydadan çox ziyan verir.
 */
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .84rem;
  color: var(--ink-3);
  padding-block: 18px 0;
}
.crumb a {
  text-decoration: none;
  color: var(--ink-2);
}
.crumb a:hover {
  color: var(--accent);
}
.page-head {
  padding-block: clamp(26px, 3.4vw, 44px) clamp(28px, 3.6vw, 48px);
}
.page-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -.035em;
  margin-top: 14px;
  max-width: 18ch;
}
.page-head .lead {
  margin-top: 18px;
  max-width: 56ch;
}
.prose {
  max-width: 62ch;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
  margin-top: clamp(36px, 4vw, 56px);
}
.prose h3 {
  font-size: 1.12rem;
  margin-top: 26px;
}
.prose p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.62;
}
.prose ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.prose li {
  font-size: .99rem;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.prose b {
  color: var(--ink);
}
.incl {
  margin-top: clamp(34px, 4vw, 52px);
  padding: 20px 22px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
}
.incl b {
  display: block;
  font-size: 1.05rem;
}
.incl span {
  display: block;
  margin-top: 5px;
  font-size: .94rem;
  color: var(--ink-2);
}
.more {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-top: clamp(30px, 3.6vw, 46px);
}
.more a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 11px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .16s;
}
.more a:hover {
  border-color: var(--accent);
}
.more a b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}
.more a span {
  display: block;
  margin-top: 4px;
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.45;
}
/* Cari səhifə menyuda görünür. */
nav.links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
