/* yousee.uz — typography only.
   One family (Onest), ink on white, one blue. No icons, cards, badges or drawn interfaces. */
:root {
  --bg: #ffffff;
  --ink: #111214;
  --ink-2: #4b4f56;
  --muted: #6b7079;
  --soft: #a3a8b0;
  --line: #e7e8eb;
  --blue: #1e40af;
  --blue-text: #c9d4ff;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.logo img { height: 26px; width: auto; }
.header-link { font-size: 16px; font-weight: 500; text-decoration: none; }
.header-link:hover { color: var(--blue); }

/* Type */
h1 {
  font-weight: 600;
  font-size: clamp(44px, 8.4vw, 108px);
  line-height: .98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 16em;
  text-wrap: balance;
}
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

/* Links and buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 28px; border-radius: 12px;
  font: 500 17px/1 var(--font); text-decoration: none;
  transition: background-color .15s ease;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2d33; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #e9eeff; }
.link {
  font-size: 17px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
  text-decoration-color: var(--line);
  transition: text-decoration-color .15s ease;
}
.link:hover { text-decoration-color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(48px, 9vw, 128px) clamp(88px, 12vw, 168px); }
.kicker { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.hero .lead { margin-top: 32px; }

/* Sections */
.section { padding-block: clamp(80px, 11vw, 150px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section .lead { margin-top: 24px; }

/* How it works */
.steps { display: grid; gap: 44px 40px; margin-top: 64px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-n { display: block; margin-bottom: 18px; font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--soft); }
.step h3 { margin-bottom: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 17px; color: var(--ink-2); }
.note { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 40em; font-size: 19px; color: var(--ink-2); }
.note b { font-weight: 600; color: var(--ink); }

/* Two figures */
.figures { display: grid; gap: 48px; margin-top: 64px; }
@media (min-width: 860px) { .figures { grid-template-columns: 1fr 1fr; gap: 72px; } }
.figure b { display: block; font-size: clamp(48px, 7vw, 82px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.figure span { display: block; margin-top: 16px; max-width: 22em; font-size: 18px; color: var(--ink-2); }
.figure.them b { color: var(--soft); }

/* Prices */
.prices { margin-top: 56px; border-top: 1px solid var(--ink); }
.price-row { display: grid; gap: 6px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .price-row { grid-template-columns: 240px 1fr auto; align-items: baseline; } }
.price-row h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.price-row .main { margin-left: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--blue); }
.price-row p { font-size: 17px; color: var(--ink-2); }
.price-row .sum { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.price-row .sum small { margin-left: 8px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.price-note { margin-top: 32px; max-width: 42em; font-size: 17px; color: var(--ink-2); }

.note + .note { margin-top: 24px; }

/* Lead form */
.form-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.form-grid .lead { margin-top: 24px; }
.lead-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.field input {
  height: 60px; padding: 0 18px; border: 1px solid #d3d6dc; border-radius: 12px;
  font: 400 18px var(--font); color: var(--ink); background: #fff;
  transition: border-color .15s ease;
}
.field input::placeholder { color: var(--soft); }
.field input:focus { outline: none; border-color: var(--ink); }
.lead-form .btn { border: 0; cursor: pointer; justify-self: start; }
.lead-form .btn:disabled { opacity: .6; cursor: default; }
.lead-form .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; font-size: 16px; color: var(--ink-2); }

/* Call to action */
.cta { background: var(--blue); color: #fff; padding-block: clamp(88px, 12vw, 160px); scroll-margin-top: 0; }
.cta .lead { margin-top: 24px; color: var(--blue-text); }
.cta .lead a { color: #fff; text-underline-offset: 4px; }
.link-white { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.link-white:hover { text-decoration-color: #fff; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px; font-size: 15px; color: var(--muted); }
.site-footer img { height: 20px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { text-decoration: none; color: var(--ink-2); }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
