:root {
  --black: #111111;
  --black-2: #191919;
  --white: #ffffff;
  --paper: #f7f7f4;
  --orange: #ff5a2f;
  --orange-dark: #e64922;
  --blue-fog: #e8f1f8;
  --blue-line: rgba(103, 151, 187, 0.18);
  --gray: #9d9d9d;
  --line: rgba(17, 17, 17, 0.14);
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section-dark { background: var(--black); color: var(--white); }
.section-light { position: relative; }
.section-light { background: var(--paper); color: var(--black); }
.section-orange { background: var(--orange); color: var(--black); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--black);
  font-size: 12px; font-weight: 900;
  transform: rotate(-4deg);
}
.brand-mark span { transform: rotate(4deg); }
.brand-name { font-size: 17px; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; color: rgba(255,255,255,0.72); }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--white); }

.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-outline { border: 1px solid rgba(255,255,255,.24); }
.button-outline:hover { border-color: rgba(255,255,255,.6); }
.button-primary { background: var(--orange); color: var(--black); }
.button-primary:hover { background: #ff6e49; }
.button-white { background: var(--white); color: var(--black); }
.button-white:hover { background: #f0f0f0; }

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center center;
  opacity: .64;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,16,.88) 0%, rgba(7,11,16,.74) 36%, rgba(12,18,25,.52) 58%, rgba(12,18,25,.68) 100%),
    linear-gradient(180deg, rgba(195,220,239,.14) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.12) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -15vw -38vw auto;
  width: 72vw; height: 72vw;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
}
.hero-grid {
  min-height: 684px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding: 64px 0 76px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .13em;
  font-weight: 800;
  color: rgba(255,255,255,.64);
}
.eyebrow span { width: 24px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: rgba(17,17,17,.56); }
.hero h1, .app-copy h2, .contacts h2, .intro h2, .services h2, .statement h2 {
  margin: 0;
  letter-spacing: -0.055em;
}
.hero h1 { font-size: clamp(52px, 6.4vw, 92px); line-height: .96; font-weight: 570; }
.hero h1 strong { color: var(--orange); font-weight: 780; }
.hero-note {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(14px);
}
.hero-lead {
  max-width: 600px;
  margin: 30px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,.68);
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: rgba(255,255,255,.74); font-size: 14px; }
.text-link span { color: var(--orange); font-size: 17px; }

.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.hero-visual-caption {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 280px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.45;
  backdrop-filter: blur(14px);
  z-index: 6;
}
.hero-card {
  position: relative; z-index: 5;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(18,25,32,.88) 0%, rgba(15,17,20,.84) 82%);
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
}
.card-topline { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.48); }
.card-topline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-card-title { margin-top: 55px; font-size: 44px; line-height: 1.02; font-weight: 800; letter-spacing: -.05em; }
.hero-card-title::after { content: ""; display: block; width: 44px; height: 8px; background: var(--orange); margin-top: 24px; }
.hero-card-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-card-grid > div { padding: 18px 8px 0 0; display: flex; flex-direction: column; gap: 7px; }
.hero-card-grid > div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.08); }
.mini-icon { color: var(--orange); font-size: 18px; }
.hero-card-grid b { font-size: 11px; }
.hero-card-grid small { color: rgba(255,255,255,.42); font-size: 9px; line-height: 1.35; }

.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at center, rgba(255,255,255,.06), transparent 68%); }
.orbit-one { width: 490px; height: 490px; }
.orbit-two { width: 390px; height: 390px; }
.accent-disc { position: absolute; width: 128px; height: 128px; border-radius: 50%; background: var(--orange); right: 4%; top: 8%; box-shadow: 0 20px 60px rgba(255,90,47,.18); }
.floating-chip { position: absolute; z-index: 8; padding: 10px 14px; border-radius: 999px; background: var(--white); color: var(--black); font-size: 11px; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.chip-one { left: 2%; top: 34%; transform: rotate(-7deg); }
.chip-two { right: 2%; bottom: 24%; transform: rotate(8deg); background: var(--orange); }

.intro { padding: 120px 0 90px; }
.intro::before, .services::before, .contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(186,214,236,.28), transparent 30%);
}
.intro-grid { display: grid; grid-template-columns: 120px 1fr; gap: 58px; }
.section-number { font-size: 13px; font-weight: 800; color: rgba(17,17,17,.42); padding-top: 4px; }
.intro h2, .services h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1; }
.section-lead { max-width: 840px; font-size: 24px; line-height: 1.45; margin: 28px 0 0; color: rgba(17,17,17,.65); }

.services { padding: 30px 0 120px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 44px; }
.section-head > p { max-width: 330px; margin: 0 0 4px; line-height: 1.5; color: rgba(17,17,17,.55); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.service-card {
  min-height: 390px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,17,17,.06);
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(17,17,17,.06);
  backdrop-filter: blur(8px);
}
.service-card-accent { background: var(--orange); }
.service-card-dark { background: var(--black); color: var(--white); }
.service-index { font-size: 12px; color: rgba(17,17,17,.45); }
.service-card-dark .service-index { color: rgba(255,255,255,.45); }
.service-symbol { margin-top: auto; font-size: 42px; line-height: 1; }
.service-card h3 { margin: 30px 0 14px; font-size: 27px; letter-spacing: -.035em; }
.service-card p { margin: 0; line-height: 1.55; color: rgba(17,17,17,.58); font-size: 15px; }
.service-card-dark p { color: rgba(255,255,255,.58); }

.statement { padding: 100px 0; }
.statement-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.statement-kicker { margin: 8px 0 0; max-width: 290px; font-size: 15px; line-height: 1.5; font-weight: 700; }
.statement h2 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.04; }

.app-section { padding: 120px 0; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.app-copy h2 { font-size: clamp(48px, 5.7vw, 78px); line-height: .98; }
.app-copy p { max-width: 530px; margin: 28px 0 34px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.62); }
.play-icon { color: var(--orange); font-size: 13px; }
.phones { position: relative; min-height: 650px; }
.phone {
  width: 285px;
  height: 590px;
  border-radius: 42px;
  background: #050505;
  border: 7px solid #2b2b2b;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  overflow: hidden;
  position: absolute;
}
.phone-front { right: 4%; top: 0; transform: rotate(3deg); z-index: 3; }
.phone-back { left: 7%; bottom: 0; transform: rotate(-7deg) scale(.92); opacity: .88; }
.phone-notch { position: absolute; z-index: 5; top: 8px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; background: #050505; border-radius: 0 0 16px 16px; }
.phone-screen { width: 100%; height: 100%; background: #f6f6f6; color: var(--black); overflow: hidden; }
.mock-status { height: 32px; padding: 10px 14px 0; background: #111; color: #fff; font-size: 8px; }
.mock-header { background: #111; color: #fff; padding: 11px 18px; font-size: 10px; }
.mock-hero { background: linear-gradient(150deg, #fd754f, #f14b24); color: #fff; text-align: center; padding: 24px 12px 19px; font-size: 18px; line-height: 1.1; font-weight: 720; }
.mock-hero span { display: block; width: 18px; height: 4px; background: #fff; margin: 14px auto 0; }
.mock-tabs { display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border-bottom: 1px solid #ddd; }
.mock-tabs div { padding: 12px 6px; text-align: center; border-right: 1px solid #eee; }
.mock-tabs i { display: block; font-style: normal; color: var(--orange); margin-bottom: 5px; }
.mock-tabs small { font-size: 6px; line-height: 1.2; }
.mock-content { padding: 16px; }
.mock-content > b { font-size: 10px; }
.mock-content p { margin: 18px 0 3px; font-size: 8px; font-weight: 700; }
.mock-content span { display: block; font-size: 7px; line-height: 1.45; color: #777; }
.white-screen { background: #f8f8f8; }
.appbar { background: #111; color: #fff; padding: 36px 16px 13px; font-size: 9px; }
.lesson-card { margin: 12px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.12); }
.lesson-card b { display: block; font-size: 8px; }
.lesson-card span { display: block; margin-top: 8px; font-size: 6px; line-height: 1.4; color: #777; }
.lesson-card small { display: block; margin-top: 8px; font-size: 6px; color: var(--orange); }

.contacts { padding: 120px 0; background: linear-gradient(180deg, rgba(232,241,248,.32) 0%, rgba(255,255,255,0) 100%); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contacts h2 { font-size: clamp(44px, 5.3vw, 70px); line-height: 1; }
.contact-panel { border: 1px solid rgba(17,17,17,.08); border-radius: 24px; padding: 6px 28px 28px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); box-shadow: 0 18px 50px rgba(17,17,17,.06); }
.contact-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-row > span { font-size: 12px; color: rgba(17,17,17,.48); }
.contact-row a, .contact-row strong, .contact-row address { font-size: 17px; line-height: 1.45; font-style: normal; font-weight: 670; }
.contact-row a:hover { color: var(--orange-dark); }
.contact-button { margin-top: 28px; }

.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer p, .footer > .container > a:last-child { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .app-grid, .contacts-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 80px; }
  .hero-visual { min-height: 500px; }
  .section-head { align-items: start; flex-direction: column; gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .statement-grid { grid-template-columns: 1fr; gap: 30px; }
  .app-grid { gap: 35px; }
  .phones { width: min(100%, 660px); margin: 0 auto; }
  .contacts-grid { gap: 45px; }
}

@media (max-width: 680px) {
  .hero-bg { background-position: 68% center; }
  .container { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { height: 66px; }
  .header-inner .button { display: none; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 72px 0 50px; gap: 28px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-note { min-height: auto; padding: 10px 14px; font-size: 12px; line-height: 1.35; }
  .hero-visual-caption { max-width: 210px; padding: 13px 14px; font-size: 12px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 410px; }
  .hero-card { padding: 22px; border-radius: 24px; width: 92%; }
  .hero-card-title { font-size: 34px; margin-top: 38px; }
  .hero-card-grid { margin-top: 42px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 305px; height: 305px; }
  .accent-disc { width: 86px; height: 86px; }
  .chip-one { left: 0; top: 25%; }
  .chip-two { right: 0; bottom: 16%; }
  .intro { padding: 84px 0 60px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-lead { font-size: 20px; }
  .services { padding-bottom: 84px; }
  .statement { padding: 72px 0; }
  .app-section { padding: 84px 0 70px; }
  .phones { min-height: 530px; }
  .phone { width: 225px; height: 470px; border-radius: 34px; border-width: 5px; }
  .phone-front { right: 0; }
  .phone-back { left: -12px; }
  .phone-notch { width: 74px; height: 18px; }
  .contacts { padding: 84px 0; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
