/* ===== ШРИФТЫ ===== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Unbounded-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
}

/* ===== ТОКЕНЫ — СВЕТЛАЯ ТЕМА ===== */
:root {
  --bg:            #faf9f6;
  --bg-2:          #f2f0ec;
  --surface:       #ffffff;
  --surface-2:     #f5f3ef;
  --surface-3:     #eae7e1;
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text:          #18150f;
  --text-mute:     #6b6762;
  --text-dim:      #aaa79f;
  --yellow:        #FFB800;
  --yellow-bright: #FFCC2E;
  --yellow-soft:   rgba(255, 184, 0, 0.12);
  --yellow-deep:   #e6a500;
  --radius-lg:     28px;
  --radius-md:     20px;
  --radius-sm:     12px;
  --radius-pill:   999px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 90% -5%,  rgba(255, 184, 0, 0.08), transparent 60%),
    radial-gradient(600px 500px at -5% 20%,  rgba(255, 184, 0, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.section { padding: 96px 0; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -48px; left: 0; z-index: 9999;
  padding: 10px 20px;
  background: var(--yellow); color: #15110a;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; outline: 3px solid #15110a; outline-offset: 2px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--text);
}
h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; }
h2 { font-size: clamp(32px, 3.8vw, 52px); }
h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
p  { color: var(--text-mute); }

.accent { color: var(--yellow-deep); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; white-space: nowrap;
}
.btn--yellow {
  background: var(--yellow); color: #15110a;
}
.btn--yellow:hover {
  background: var(--yellow-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,184,0,0.35), 0 3px 8px rgba(0,0,0,0.08);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-strong);
  padding: clamp(12px, 2vw, 16px) clamp(18px, 3vw, 26px);
  font-size: clamp(13px, 2.2vw, 15px);
}
.btn--ghost:hover {
  border-color: var(--yellow-deep); color: var(--yellow-deep);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.btn--lg { padding: clamp(14px, 1.6vw, 18px) clamp(20px, 2.4vw, 30px); font-size: clamp(14px, 1.4vw, 16px); }
.btn .arrow {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.10); border-radius: 50%;
}
.btn--ghost .arrow { background: var(--yellow); color: #15110a; }
.btn--dark {
  background: #18150f; color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn--dark:hover {
  background: #2e2a23;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn--dark .arrow { background: rgba(255,255,255,0.12); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
section[id] { scroll-margin-top: 88px; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; padding: 16px 32px;
  max-width: 1280px; margin: 0 auto; gap: 12px;
  font-family: 'Manrope', sans-serif; font-weight: 600;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em;
}
.nav__logo-mark { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.nav__logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav__logo-text { line-height: 0.45; letter-spacing: 0.4px; color: var(--text); }
.nav__logo-text small {
  display: block; font-family: 'Unbounded', sans-serif;
  font-size: 9px; letter-spacing: 2.6px; color: var(--text-mute);
  font-weight: 400; margin-top: 3px;
}
.nav__right { display: flex; gap: 10px; align-items: center; }
.nav__cta {
  padding: 11px 20px; font-size: 14px;
  background: var(--yellow); color: #15110a;
  border-radius: var(--radius-pill); font-weight: 600; white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
  background: var(--yellow-bright); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,184,0,0.3);
}
.nav__right .btn { padding: 11px 20px; font-size: 14px; }

/* ===== HERO ===== */
.hero {
  padding: 56px 0 32px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 65% 50%, rgba(255, 184, 0, 0.10), transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%,  rgba(255, 184, 0, 0.06), transparent 70%);
  pointer-events: none;
}
.hero__shell { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: 60px; align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5vw, 68px); text-transform: uppercase;
  margin-top: 20px; line-height: 1.0;
}
.hero__sub {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(16px, 1.8vw, 19px); color: var(--text-mute);
  max-width: 480px; line-height: 1.6;
}
.hero__cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__urgency { margin-top: 14px; font-size: 13px; color: var(--text-dim); }

.hero__visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  min-height: clamp(280px, 34vw, 420px);
}
.hero__visual-glow {
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 55%, rgba(255,184,0,0.15), transparent 70%);
  z-index: 1;
}
.hero__float-group {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  min-height: clamp(300px, 36vw, 460px);
}
.hero__printer {
  position: absolute;
  left: 0; top: 0;
  width: 62%;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.13));
  animation: float-a 6s ease-in-out infinite;
}
.hero__phone {
  position: absolute;
  right: 0; bottom: 0;
  max-height: 82%;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.13));
  animation: float-b 6s ease-in-out infinite;
}
@keyframes float-a {
  0%   { transform: translate(0, 0)        rotate(0deg); }
  20%  { transform: translate(-5px, -11px) rotate(-1deg); }
  50%  { transform: translate(-13px, -4px) rotate(-1.5deg); }
  80%  { transform: translate(-6px, 6px)   rotate(-0.5deg); }
  100% { transform: translate(0, 0)        rotate(0deg); }
}
@keyframes float-b {
  0%   { transform: translate(0, 0)        rotate(0deg); }
  20%  { transform: translate(5px, 11px)   rotate(1deg); }
  50%  { transform: translate(13px, 4px)   rotate(1.5deg); }
  80%  { transform: translate(6px, -6px)   rotate(0.5deg); }
  100% { transform: translate(0, 0)        rotate(0deg); }
}

/* ===== STATUS NOTICE ===== */
.notice-section { padding: 8px 0 0; }
.notice-card {
  display: flex; align-items: center; gap: 24px;
  background: #fffbf0;
  border: 1.5px solid rgba(255, 184, 0, 0.40);
  border-radius: var(--radius-md); padding: 28px 32px;
  box-shadow: 0 2px 16px rgba(255,184,0,0.08);
}
.notice-card__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 184, 0, 0.15);
  border-radius: 14px; color: var(--yellow-deep);
}
.notice-card__body { flex: 1; min-width: 0; }
.notice-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(15px, 2vw, 19px); font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.notice-card__text { font-size: 14px; color: var(--text-mute); line-height: 1.55; }
.notice-card__btn { flex-shrink: 0; }

/* ===== MARQUEE ===== */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 20px 0; overflow: hidden;
  background: var(--surface-2);
  margin-top: 48px;
}
.marquee__track {
  display: flex;
  animation: marquee 40s linear infinite; width: max-content;
}
.marquee__item {
  font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 20px;
  padding-right: 56px;
  white-space: nowrap;
}
.marquee__item::after { content: "★"; color: var(--yellow); font-size: 15px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION HEADS ===== */
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 40px; flex-wrap: wrap;
}
.section__head-left { max-width: 680px; }
.section__title { margin-top: 18px; }
.section__sub { margin-top: 16px; color: var(--text-mute); font-size: 16px; font-weight: 500; line-height: 1.6; max-width: 520px; }

/* ===== STEPS ===== */
.steps {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .2s, box-shadow .2s;
}
.step:hover {
  border-color: var(--yellow); transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.step__num-wrap { margin-bottom: 16px; }
.step__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--yellow-deep); text-transform: uppercase;
}
.step__header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.step__icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--yellow-deep);
  transition: background .25s, color .25s, border-color .25s;
}
.step:hover .step__icon { background: var(--yellow); color: #15110a; border-color: var(--yellow); }
.step__title { font-size: clamp(16px, 1.8vw, 20px); font-weight: 600; line-height: 1.25; }
.step__desc { font-size: 14px; color: var(--text-mute); line-height: 1.6; }
.step__hint {
  margin-top: 10px; font-size: 12px; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
}
.steps-cta { margin-top: 48px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--surface);
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-mute); max-width: 300px; }
.footer__col h4 { color: var(--text-dim); margin-bottom: 16px; font-size: 11px; }
.footer__col a { display: block; color: var(--text-mute); font-size: 14px; padding: 6px 0; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em;
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--text-mute); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { justify-content: center; min-height: 240px; }
  .hero__phone { max-height: 240px; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 56px; }
  .notice-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .notice-card__btn { width: 100%; justify-content: center; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}
