/* uyda landing — values taken 1:1 from "uyda Landing.dc.html" (desktop 1440 / mobile 390). */
:root {
  --burgundy: #7C2D42;
  --burgundy-dark: #5E1F31;
  --rose: #D9B8A8;
  --rose-tint: #F5E6DE;
  --rose-light: #F1D9CE;
  --cream: #FFF8F0;
  --ink: #2B1A1F;
  --muted: #7A6560;
  --line: #EFE2D9;
  --sidebar: #2E1219;
  --ph-a: #F2E6DD;
  --ph-b: #EADBD0;
  --ph-text: #A38E86;
  --placeholder: #B8A49C;
  --white: #fff;
  --ok: #2F7D4F;
  --err: #B3261E;

  --font: 'Onest', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: 96px;
  --section-y: 96px;
  --gap-section: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }

.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: var(--gap-section); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}
.btn--primary { background: var(--burgundy); color: var(--white); }
.btn--primary:hover { background: var(--burgundy-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { height: 52px; padding: 0 22px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 240, .94); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { height: 84px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.brand__logo { display: block; height: 34px; width: auto; }
.footer__logo { display: block; height: 38px; width: auto; margin: 0 0 8px; align-self: flex-start; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--burgundy); }
.lang { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang__btn { padding: 4px 2px; color: var(--muted); }
.lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__sep { color: var(--muted); }
.nav__burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; margin-right: -8px; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; height: 52px; font-size: 16px; }

/* ── hero ── */
.hero { padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--rose-tint); color: var(--burgundy-dark); font-size: 14px; font-weight: 600; }
.pill .i { color: var(--burgundy); }
.hero__title { font: 500 76px/1.02 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.hero__title i { color: var(--burgundy); }
.hero__lead { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 560px; text-wrap: pretty; }

.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { height: 52px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; gap: 10px; flex: none; transition: transform .1s ease, opacity .15s; }
.store:hover { opacity: .9; }
.store__icon { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .2); }
.store__text { display: flex; flex-direction: column; line-height: 1.1; }
.store__text small { font-size: 11px; opacity: .75; }
.store__text b { font-size: 17px; font-weight: 600; }
.store--light { background: var(--white); color: var(--ink); }
.store--light .store__icon { background: var(--rose-tint); }

.signup { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.signup__hint { font-size: 14px; color: var(--muted); }
.signup__row { display: flex; gap: 8px; }
.field { flex: 1; min-width: 0; height: 52px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 16px; transition: box-shadow .15s; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--burgundy); }
.field[data-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.field__prefix { color: var(--muted); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); letter-spacing: .02em; }
.field input::placeholder { color: var(--placeholder); }
.signup__status { min-height: 20px; font-size: 14px; }
.signup__status[data-state="ok"] { color: var(--ok); }
.signup__status[data-state="error"] { color: var(--err); }
.signup__captcha:empty { display: none; }

/* ── placeholders (replace inner span with <img> when assets are ready) ── */
.ph {
  position: relative; overflow: hidden; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 12px, var(--ph-b) 12px 24px);
  font: 500 11px var(--mono); color: var(--ph-text);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--app { background: radial-gradient(120% 90% at 50% 10%, #f7e9e4 0%, #efdcd6 100%); }
.ph--app img { inset: 32px 0 0; height: calc(100% - 32px); object-fit: contain; object-position: top center; filter: drop-shadow(0 24px 40px rgba(60, 20, 30, .22)); }
.ph--hero { height: 620px; border-radius: 36px; }
.ph--students { height: 480px; border-radius: 28px; }
.ph--listing { height: 280px; border-radius: 22px; }

/* ── features ── */
.features { padding-bottom: var(--section-y); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--white); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rose-tint); color: var(--burgundy); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ── headings ── */
.heading { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.eyebrow { font: 600 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); }
.eyebrow--rose { color: var(--rose); }
.h2 { font: 500 52px/1.08 var(--serif); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.h2--light { color: var(--cream); }
.h3 { font: 500 44px/1.12 var(--serif); text-wrap: balance; }
.sub { font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sub--light { color: var(--rose-light); }
.sub--sm { font-size: 18px; max-width: 620px; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.link-arrow { font-size: 16px; font-weight: 600; color: var(--burgundy); display: flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--burgundy-dark); }

/* ── bands ── */
.band--burgundy { background: var(--burgundy); }
.band--rose { background: var(--rose-tint); }
.band--white { background: var(--white); }

/* ── compare ── */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare__card { padding: 32px; border-radius: 24px; display: flex; flex-direction: column; gap: 18px; }
.compare__card--dark { background: rgba(255, 255, 255, .06); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(217, 184, 168, .3); }
.compare__card--light { background: var(--cream); color: var(--ink); }
.compare__title { font: 500 32px var(--serif); }
.checks { display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; background-repeat: no-repeat; background-size: 20px 20px; }
.checks--x li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B8A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.checks--ok li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C2D42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ── verification steps ── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--burgundy); }
.step__num { font: 500 15px var(--mono); color: var(--burgundy); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ── students ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 24px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags li { height: 40px; padding: 0 16px; border-radius: 12px; background: var(--white); display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.note { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--white); }
.note .i { color: var(--burgundy); }
.note p { font-size: 16px; line-height: 1.45; }

/* ── how ── */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.how__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.how__top { display: flex; justify-content: space-between; align-items: center; color: var(--burgundy); }
.how__num { font: 500 14px var(--mono); color: var(--muted); }
.how__card h3 { font-size: 20px; font-weight: 700; }
.how__card p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ── commission ── */
/* Text is in Russian in the markup and Uzbek by default: hide the page until main.js applied the language (no flash). */
html:not([data-i18n-ready]) body { visibility: hidden; animation: i18n-reveal 0s 1.2s forwards; } /* safety net if JS fails */
@keyframes i18n-reveal { to { visibility: visible; } }
.prices { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line, #EFE2D9); }
.prices > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line, #EFE2D9); }
.prices dt { color: var(--muted, #7A6560); }
.prices dd { margin: 0; font-weight: 700; text-align: right; }
.commission { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.commission__big { font: 500 260px/0.9 var(--serif); letter-spacing: -0.04em; color: var(--burgundy); }
.commission__text { display: flex; flex-direction: column; gap: 18px; }

/* ── listings ── */
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.listing { display: flex; flex-direction: column; gap: 14px; }
.listing__body { display: flex; flex-direction: column; gap: 4px; }
.verified { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--burgundy); }
.listing__price { font-size: 24px; font-weight: 700; }
.listing__title { font-size: 16px; }
.listing__loc { font-size: 14px; color: var(--muted); }

/* ── faq ── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq__list { display: flex; flex-direction: column; }
.qa { padding: 22px 0; border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; }
.qa summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { width: 22px; height: 22px; flex: none; position: relative; transition: transform .2s ease; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--burgundy); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 640px; }

/* ── footer ── */
.footer { background: var(--sidebar); color: var(--rose-light); }
.footer__top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: flex-end; }
.footer__cta { display: flex; flex-direction: column; gap: 24px; }
.footer__title { font: 500 64px/1.04 var(--serif); letter-spacing: -0.02em; color: var(--cream); text-wrap: balance; }
.contacts { display: flex; flex-direction: column; gap: 14px; font-size: 16px; font-style: normal; }
.contacts__row { display: flex; gap: 10px; align-items: center; }
.contacts__row .i { color: var(--rose); }
a.contacts__row:hover { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(217, 184, 168, .25); font-size: 14px; color: var(--rose); }
.footer__bottom a:hover { color: var(--cream); }
.footer .section { gap: 48px; }

/* ───────── tablet ───────── */
@media (max-width: 1180px) {
  :root { --pad-x: 48px; --section-y: 80px; }
  .nav__inner { gap: 24px; }
  .nav__links { gap: 20px; }
  .hero__title { font-size: 60px; }
  .features, .steps, .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commission__big { font-size: 200px; }
  .footer__title { font-size: 52px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .hero { grid-template-columns: 1fr; }
  .ph--hero { height: 480px; }
  .split, .faq, .footer__top { grid-template-columns: 1fr; }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── mobile (design: 390) ───────── */
@media (max-width: 760px) {
  :root { --pad-x: 20px; --section-y: 48px; --gap-section: 28px; }
  .nav__inner { height: 64px; gap: 16px; }
  .lang { gap: 2px; }
  .hero { padding-top: 36px; padding-bottom: 48px; gap: 36px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 17px; }
  .ph--hero { height: 420px; border-radius: 28px; }
  .features { padding-bottom: 48px; grid-template-columns: 1fr; }
  .feature { padding: 20px; }
  .h2 { font-size: 30px; }
  .h3 { font-size: 28px; }
  .sub, .sub--sm { font-size: 16px; }
  .compare { grid-template-columns: 1fr; }
  .compare__card { padding: 22px; }
  .compare__title { font-size: 26px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .split { gap: 28px; }
  .ph--students { height: 300px; border-radius: 22px; }
  .how { grid-template-columns: 1fr; }
  .how__card { padding: 22px; }
  .commission { grid-template-columns: 1fr; gap: 20px; }
  .commission__big { font-size: 140px; }
  .listings { grid-template-columns: 1fr; }
  .ph--listing { height: 220px; }
  .faq { gap: 24px; }
  .qa summary { font-size: 17px; }
  .footer__title { font-size: 36px; }
  .footer__top { gap: 36px; }
}
@media (max-width: 400px) {
  .btn--lg { padding: 0 16px; }
}
@media (max-width: 340px) {
  .signup__row { flex-direction: column; }
  .signup__row .field { flex: none; }
  .signup__row .btn { width: 100%; }
}
