/* zvonly.uz. Direction: a call log on warm paper. Playfair Display (serif) for headlines, Onest for text, mono for
   anything that is a time or a number, one accent (apricot), ink lines instead of shadows and cards.
   Fonts are served from this server. */

@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-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; }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-display: swap; src: url(fonts/playfairdisplay-500-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-display: swap; src: url(fonts/playfairdisplay-500-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; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(fonts/playfairdisplay-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(fonts/playfairdisplay-600-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; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jbmono-latin.woff2) format("woff2"); }

:root {
  --paper: #f4f1ea; --paper-2: #ebe6db; --ink: #141833; --ink-2: #4a4f6e; --rule: #d8d2c4;
  --cobalt: #2b45d4; --apricot: #ff8a3d; --teal: #12a594;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 Onest, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.num, time { font-family: var(--mono); font-size: .88em; letter-spacing: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.015em; margin: 0; font-weight: 500; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; max-width: 16em; }
h3 { font: 600 20px/1.3 Onest, system-ui, sans-serif; letter-spacing: -.01em; margin: 0 0 10px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-color: var(--apricot); }
.kicker { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt); margin: 0 0 14px; }
.kicker::before { content: "— "; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 0; background: var(--ink); color: var(--paper); font: 600 16px Onest, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s; }
.btn:hover { background: var(--cobalt); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-apricot { background: var(--apricot); color: var(--ink); }
.btn-apricot:hover { background: #ff9d5c; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--apricot); padding-bottom: 2px; }
.link:hover { color: var(--cobalt); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244,241,234,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 22px var(--display); letter-spacing: -.03em; }
.brand img { border-radius: 8px; }
.brand-sm { font-size: 16px; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; font: 500 13px var(--mono); color: var(--ink); padding: 6px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: 72px 0 0; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; font-weight: 600; }
h1 em { font-style: normal; color: var(--apricot); display: block; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 28px 0 32px; max-width: 28em; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }

/* the call ticket */
.ticket { margin: 0; background: #fff; color: var(--ink); padding: 22px 24px 54px; position: relative; transform: rotate(-1.5deg);
  box-shadow: 0 1px 0 var(--rule), 0 24px 40px -20px rgba(20,24,51,.35);
  -webkit-mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) -10px 100% / 20px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat;
          mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) -10px 100% / 20px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat; }
.ticket figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 14px var(--display); padding-bottom: 12px; border-bottom: 1.5px dashed var(--rule); }
.ticket figcaption .num { margin-left: auto; }
.replay { border: 1px solid var(--rule); background: none; border-radius: 999px; font: 500 11px var(--mono); color: var(--ink-2); padding: 4px 9px; cursor: pointer; }
.replay:hover { border-color: var(--ink); color: var(--ink); }
.ticket.play li, .ticket.play .stamp { animation: tk-in .5s both; }
.ticket.play li:nth-child(2) { animation-delay: .5s; } .ticket.play li:nth-child(3) { animation-delay: 1s; } .ticket.play li:nth-child(4) { animation-delay: 1.7s; }
.ticket.play li:nth-child(5) { animation-delay: 2.5s; } .ticket.play li:nth-child(6) { animation-delay: 3.3s; } .ticket.play .stamp { animation-delay: 4s; animation-name: stamp-in; }
@keyframes tk-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-8deg) scale(1.6); } to { opacity: .85; } }
.ticket ol { list-style: none; margin: 0; padding: 8px 0 0; }
.ticket li { display: grid; grid-template-columns: 62px 72px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #efece5; font-size: 14px; }
.ticket time { color: var(--ink-2); font-size: 12px; }
.ticket b { font-weight: 600; font-size: 13px; color: var(--ink-2); }
.ticket .ai { background: #fff6ee; margin: 6px -24px 0; padding: 10px 24px; border: 0; }
.ticket .ai b { color: #c45a0c; font-family: var(--mono); }
.wave { display: flex; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; background: var(--cobalt); border-radius: 2px; height: 30%; }
.wave i:nth-child(2n) { height: 70%; } .wave i:nth-child(3n) { height: 100%; } .wave i:nth-child(5n) { height: 45%; } .wave i:nth-child(7n) { height: 85%; }
.stamp { position: absolute; right: 22px; bottom: 22px; margin: 0; transform: rotate(-8deg); font: 700 13px var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: var(--teal); border: 2.5px solid var(--teal); border-radius: 6px; padding: 4px 9px; opacity: .85; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1.5px solid var(--ink); }
.facts p { margin: 0; padding: 18px 20px 18px 0; display: grid; gap: 2px; font-size: 15px; color: var(--ink-2); }
.facts p + p { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts b { font: 600 22px var(--display); color: var(--ink); letter-spacing: -.02em; }

/* steps */
.section { padding: 96px 0; }
.step { display: grid; grid-template-columns: 60px 1fr 320px; gap: 24px 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--rule); }
.step:first-of-type { margin-top: 40px; }
.step .n { font: 500 14px var(--mono); color: var(--cobalt); align-self: start; padding-top: 4px; }
.step p { margin: 0; color: var(--ink-2); max-width: 32em; }
.step-art { justify-self: end; width: 100%; max-width: 320px; }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 200px; }
.keypad i { font: 600 18px var(--display); font-style: normal; aspect-ratio: 1; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; }
.keypad i.on { background: var(--apricot); border-color: var(--apricot); }

.queue { border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px 16px; background: #fff; }
.queue p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.queue p b { margin-left: auto; font: 600 24px var(--display); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.queue ul, .missed ul { list-style: none; margin: 0; padding: 0; }
.queue li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px dashed var(--rule); font-size: 14px; }

.chat { display: grid; gap: 8px; }
.chat p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; max-width: 92%; line-height: 1.4; }
.chat .me { background: var(--ink); color: var(--paper); justify-self: end; border-bottom-right-radius: 4px; }
.chat .bot { background: #fff; border: 1.5px solid var(--rule); border-bottom-left-radius: 4px; }

.missed { background: #fff; border: 1.5px solid var(--rule); border-radius: 14px; padding: 14px 16px; }
.missed > p { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.missed li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--rule); font-size: 13.5px; }
.missed li b { font: 600 12.5px Onest, sans-serif; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; }

.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 56px 0 0; padding-top: 32px; border-top: 1.5px solid var(--ink); }
.more dt { font-weight: 700; margin-bottom: 6px; }
.more dd { margin: 0; color: var(--ink-2); font-size: 15px; }

/* server band */
.server { background: var(--ink); color: var(--paper); padding: 96px 0; }
.server-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.server h2 { color: #fff; max-width: 12em; }
.server h2::after { content: ""; display: block; width: 72px; height: 5px; background: var(--apricot); margin-top: 24px; }
.server p { margin: 0 0 18px; color: #c4c8e4; font-size: 18px; }

/* onboarding + price */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 28px 44px; counter-increment: t; }
.timeline li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 13px var(--mono); color: var(--cobalt); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: 6px; width: 1px; background: var(--rule); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 18px; margin-bottom: 4px; }
.timeline span { color: var(--ink-2); }
.price-box { background: var(--paper-2); border-radius: 22px; padding: 36px; margin-top: 24px; }
.price-big { font: 600 clamp(26px, 3vw, 34px) var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.price-box p { margin: 0 0 14px; color: var(--ink-2); }
.price-box .incl { font-size: 14.5px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.price-big .num { font: 700 clamp(34px, 4vw, 46px)/1 Onest, system-ui, sans-serif; letter-spacing: -.03em; }
.price-big { display: flex; align-items: baseline; gap: 10px; font: 500 18px var(--text); color: var(--ink-2); }
.price-box p b { color: var(--ink); font-weight: 600; }
.calc { list-style: none; margin: 4px 0 16px; padding: 0; }
.calc li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px dashed var(--rule); font-size: 15px; color: var(--ink-2); }
.calc .num { color: var(--ink); font-weight: 500; }
.price-box .btn { margin-top: 10px; }

/* faq */
.faq-sec { padding-top: 0; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-top: 72px; border-top: 1.5px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--apricot); font: 500 24px/1 var(--display); }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 36em; }

/* lead */
.lead-sec { background: var(--cobalt); color: #fff; padding: 96px 0; }
.lead-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.lead-in h2 { color: #fff; }
.lead-in > div > p { font-size: 18px; color: #d4daff; margin: 20px 0 0; }
.contacts a { color: #fff; font-weight: 600; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #d4daff; }
.form input, .form select { height: 50px; border: 0; border-bottom: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  font: 18px Onest, system-ui, sans-serif; padding: 0 2px; border-radius: 0; }
.form select option { color: var(--ink); }
.form input::placeholder { color: rgba(255,255,255,.4); }
.form input:focus, .form select:focus { outline: none; border-bottom-color: var(--apricot); }
.form input[aria-invalid="true"] { border-bottom-color: #ffb3b3; }
.form .btn { justify-self: start; margin-top: 8px; }
.form p { margin: 0; }
.form-msg { font-weight: 600; }
.form-msg.ok { color: #b8f2e6; }
.form-msg.err { color: #ffd0d0; }
.form-msg:empty { display: none; }
.note { font-size: 13.5px; color: #b9c2ff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot { padding: 32px 0 40px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 12px 0 0; row-gap: 8px; }
  .nav { order: 3; width: 100%; gap: 0; margin: 0 -24px; padding: 0 24px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--rule); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 18px 10px 0; white-space: nowrap; font-size: 14px; }
  .hero-in, .two, .server-in, .lead-in, .faq { grid-template-columns: 1fr; gap: 44px; }
  .ticket { transform: none; max-width: 520px; }
  .step { grid-template-columns: 48px 1fr; }
  .step-art { grid-column: 2; justify-self: start; }
  .more { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 10px; }
  .nav { margin: 0 -16px; padding: 0 16px; }
  .brand { font-size: 19px; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(34px, 11vw, 44px); }
  .lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .btn { min-height: 52px; }
  .section, .server, .lead-sec { padding: 64px 0; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  .facts p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .ticket { padding: 18px 18px 50px; }
  .ticket .ai { margin: 6px -18px 0; padding: 10px 18px; }
  .ticket li { display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .ticket time { flex: 0 0 58px; }
  .ticket li b { flex: 0 0 auto; }
  .ticket li span { flex: 1 1 140px; min-width: 0; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-art { grid-column: 1; }
  .more { grid-template-columns: 1fr; gap: 20px; }
  .price-box { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dot { animation: none; } }
