/* Eshit's home page: its own parts. What every page shares is in /sayt.css, loaded first (colours, type, the privacy
   section). The page is bands of the brand's three grounds: black for the opening and the Mac, white for the captions
   app and privacy, cobalt for the close. The pictures (the phone, the Mac window, the key) are drawn from the apps'
   own look in fixed colours: they are pictures of a screen, so they stay as the screen is. */

.bosh-sahifa { background: #fff; color: #111418; }
.bosh-sahifa main { max-width: none; padding: 0; }
.ichki { max-width: var(--keng); margin-inline: auto; padding-inline: var(--chet); }

/* --- The opening: black, the headline, and the app at work under it. --- */
.sahna {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: #000;
  color: #f5f7fa;
  isolation: isolate;
}
/* One light, the icon's cobalt, behind the headline: depth, not decoration. */
.sahna::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto auto;
  width: 90vw;
  height: 90vw;
  max-width: 1200px;
  max-height: 1200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 73, 196, .55), rgba(10, 73, 196, 0));
  z-index: -1;
}
.sahna .ust { width: 100%; }
.sahna .nom { color: #fff; }
.menyu { display: flex; gap: 4px; }
.menyu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; font-size: var(--fs-kichik); font-weight: 600; text-decoration: none; }
.sahna .menyu a { color: rgba(255, 255, 255, .78); }
.sahna .menyu a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.sahna :focus-visible { outline-color: #9cc0ff; }

.sahna-ichi {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--keng);
  margin-inline: auto;
  padding: clamp(24px, 5vh, 72px) var(--chet) clamp(48px, 9vh, 112px);
}
.shior {
  max-width: 11.5em;
  font: 600 clamp(46px, 7.6vw, 118px)/.98 var(--serif);
  letter-spacing: -.026em;
  color: #fff;
  text-wrap: balance;
}

/* The live captions: a dark glass panel, as the app's caption area, at a size you read from across a room. */
.jonli {
  margin-top: clamp(32px, 5vh, 56px);
  max-width: 1040px;
  padding: clamp(20px, 2.6vw, 34px) clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}
.jonli-ust { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.jonli-belgi { display: inline-flex; align-items: center; gap: 8px; }
.jonli-belgi i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 4px rgba(255, 90, 79, .18); }
.jonli-joy { margin-left: auto; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; transition: opacity .3s; }
.tolqin-katta { display: flex; align-items: center; gap: 3px; height: 22px; }
.tolqin-katta i { width: 3px; height: 22px; border-radius: 2px; background: rgba(255, 255, 255, .85); transform: scaleY(.18); transform-origin: center; transition: transform .3s; }
.jonli.gapirmoqda .tolqin-katta i { animation: tebran .9s ease-in-out infinite; }
.tolqin-katta i:nth-child(3n) { animation-duration: .7s; }
.tolqin-katta i:nth-child(3n + 1) { animation-duration: 1.1s; animation-delay: -.3s; }
.tolqin-katta i:nth-child(4n) { animation-delay: -.5s; }
.tolqin-katta i:nth-child(5n + 2) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes tebran { 50% { transform: scaleY(1); } }
.jonli-matn {
  min-height: 2.5em;
  margin-top: clamp(14px, 2vw, 22px);
  font: 650 clamp(26px, 3.5vw, 50px)/1.22 var(--sans);
  letter-spacing: -.012em;
  color: #fff;
  transition: opacity .3s;
}
.jonli-matn .qism { color: rgba(255, 255, 255, .5); }
.jonli.ochmoqda .jonli-matn, .jonli.ochmoqda .jonli-joy { opacity: 0; }

.harakatlar { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(28px, 4vh, 44px); }
.tugma-oq, .tugma-chiziq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.tugma-oq { background: #fff; color: #000; }
.tugma-oq:hover { background: #dfe6f2; }
.tugma-chiziq { border: 1px solid rgba(255, 255, 255, .32); color: #fff; }
.tugma-chiziq:hover { border-color: #fff; }

/* --- A product band: its words and its features, and its picture. --- */
.mahsulot { padding-block: clamp(72px, 11vw, 144px); overflow: hidden; } /* the pictures' shadows stay in their band */
.mahsulot .ichki { display: grid; gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.oq-bant { background: #fff; color: #111418; }
.qora-bant { background: #000; color: #f5f7fa; }
.mahsulot h2 { font: 600 clamp(38px, 5vw, 72px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.mahsulot-kirish { margin-top: 22px; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.qora-bant .mahsulot-kirish { color: rgba(255, 255, 255, .78); }
.imkonlar { list-style: none; margin: 40px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 32px; }
.imkonlar li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
.imkonlar h3 { grid-column: 2; margin: 2px 0 2px; font-size: 17px; font-weight: 650; line-height: 1.3; }
.imkonlar p { grid-column: 2; font-size: 15px; line-height: 1.45; color: #4a5058; }
.qora-bant .imkonlar p { color: rgba(255, 255, 255, .64); }
.imkon-belgi {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef1f5;
  color: #0a49c4;
  font: 600 20px/1 var(--serif);
}
.qora-bant .imkon-belgi { background: rgba(255, 255, 255, .08); color: #9cc0ff; }
.izoh { margin-left: 14px; font-size: var(--fs-kichik); color: #4a5058; }
.qora-bant .izoh { color: rgba(255, 255, 255, .6); }
.havola { font-weight: 650; color: #0a49c4; text-underline-offset: 5px; }
.qora-bant .havola { color: #9cc0ff; }

.rasm { position: relative; display: grid; place-items: center; }

/* The phone: the captions app as it looks (public/eshit.css), in its dark scheme: the cobalt light, the glass panel,
   the live mark and the red «Töxtat». */
.telefon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(340px, 100%);
  height: 680px;
  padding: 26px 18px 18px;
  border: 12px solid #0b0c0e;
  border-radius: 56px;
  background: #000;
  color: #f5f7fa;
  box-shadow: 0 2px 0 1px #2a2d33 inset, 0 50px 90px rgba(17, 20, 24, .28), 0 12px 24px rgba(17, 20, 24, .12);
  font-family: var(--sans);
}
.telefon::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 73, 196, .5), rgba(10, 73, 196, 0));
}
.tel-ust { display: flex; align-items: center; gap: 9px; padding-inline: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.tel-ust svg { border-radius: 6px; }
.tel-subtitr {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.24;
  overflow: hidden;
}
.tel-izoh { margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #b4bac2; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.tel-qism { color: #b4bac2; }
.tel-holat { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .055); font-size: 15px; font-weight: 700; }
.tel-holat i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 3px rgba(255, 90, 79, .22); }
.tel-tugma { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; border-radius: 20px; background: linear-gradient(180deg, #c72a30, #a4161a); box-shadow: 0 14px 34px rgba(199, 42, 48, .4); color: #fff; font-size: 22px; font-weight: 750; }
.tel-tugma i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16) linear-gradient(#fff, #fff) center / 12px 12px no-repeat; }

/* The Mac: a message being written, the pill under it (mac/Eshit/Panel.swift), and the key that does it. */
.oyna {
  position: relative;
  width: min(580px, 100%);
  padding-bottom: 88px;
  border-radius: 16px;
  background: #fff;
  color: #111418;
  box-shadow: 0 50px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  font-family: var(--sans);
}
.oyna-ust { display: flex; gap: 8px; padding: 15px 16px; border-bottom: 1px solid rgba(17, 20, 24, .08); }
.oyna-ust i { width: 12px; height: 12px; border-radius: 50%; background: #d4d8de; }
.oyna-ichi { display: grid; gap: 26px; padding: 32px 28px 0; }
.xabar { justify-self: start; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 18px 5px; background: #eef1f5; font-size: 18px; }
.maydon { padding: 16px 18px; border: 1px solid rgba(17, 20, 24, .16); border-radius: 13px; font-size: 18px; line-height: 1.4; }
.maydon .kursor { height: 1.15em; vertical-align: -.22em; background: #0a49c4; }
.kapsula-rasm {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 23px;
  background: rgba(0, 0, 0, .92);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transform: translateX(-50%);
}
.tolqin-rasm { display: flex; align-items: center; gap: 3px; height: 18px; }
.tolqin-rasm i { width: 3px; border-radius: 2px; background: #fff; }
.tolqin-rasm i:nth-child(1) { height: 7px; }
.tolqin-rasm i:nth-child(2) { height: 14px; }
.tolqin-rasm i:nth-child(3) { height: 18px; }
.tolqin-rasm i:nth-child(4) { height: 11px; }
.tolqin-rasm i:nth-child(5) { height: 6px; }
.kalit {
  position: absolute;
  left: max(-12px, 50% - 340px);
  bottom: -56px;
  width: 132px;
  height: 132px;
  border: 2px solid #c5cad2;
  border-radius: 26px;
  background: #fff;
  color: #111418;
  box-shadow: 0 7px 0 #a9b0ba, 0 30px 50px rgba(0, 0, 0, .5);
  transform: rotate(-6deg);
}
.kalit-b { position: absolute; top: 16px; right: 20px; font: 500 38px/1 var(--sans); }
.kalit-s { position: absolute; right: 20px; bottom: 17px; font: 500 19px/1 var(--sans); color: #4a5058; }

/* --- Privacy (sayt.css draws it): on this page, with room around it. --- */
.bosh-sahifa .maxfiy { max-width: var(--keng); margin-inline: auto; padding: clamp(72px, 10vw, 128px) var(--chet); border-top: 0; }
.bosh-sahifa .maxfiy h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.bosh-sahifa .maxfiy h3 { font-size: 21px; }
.bosh-sahifa .maxfiy p { font-size: 17px; color: #4a5058; }

/* --- The close: cobalt, one line, the two ways in, and the plain facts. --- */
.yakun { padding-block: clamp(72px, 10vw, 128px); background: #0a49c4; color: #fff; }
.yakun h2 { max-width: 14em; font: 600 clamp(40px, 5.6vw, 84px)/1.0 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.yakun .tugma-oq { color: #0a49c4; }
.yakun .tugma-chiziq { border-color: rgba(255, 255, 255, .45); }
.faktlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 32px; margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .28); }
.faktlar dt { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.faktlar dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }

.ost-qora { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--chet) 40px; background: #000; color: rgba(255, 255, 255, .62); font-size: var(--fs-kichik); }
.ost-qora p { margin: 0; }
.ost-qora nav { display: flex; gap: 22px; }
.ost-qora a { color: inherit; text-decoration: none; }
.ost-qora a:hover { color: #fff; }

@media (min-width: 960px) {
  .mahsulot .ichki { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .qora-bant .rasm { order: -1; }
}

@media (max-width: 600px) {
  .menyu a { padding: 0 10px; }
  .harakatlar a { width: 100%; }
  .jonli-ust .tolqin-katta { display: none; }
  .telefon { height: 600px; }
  .tel-subtitr { font-size: 22px; }
  .kalit { display: none; } /* on a phone it would cover the pill */
  .izoh { display: block; margin: 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .jonli.gapirmoqda .tolqin-katta i { animation: none; transform: scaleY(.5); }
  .jonli-matn, .jonli-joy { transition: none; }
}
