:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --ink-2: #454545;
  --grey: #767676;
  --soft: #F2F2EF;
  --line: #E3E3DF;
  --blue: #0038FF;
  --font: "Archivo", Arial, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
address { font-style: normal; }
[id] { scroll-margin-top: 80px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-stretch: 72%;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: .95;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #fff; color: var(--blue); }
.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.link:hover { color: var(--blue); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 36px; height: 68px; position: relative; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-stretch: 112%; font-size: 17px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.logo svg { width: 26px; height: 26px; flex: none; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.menu a:hover { color: var(--blue); }
.top__mail { font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: none; }
.top__mail:hover { text-decoration: underline; }
.burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--ink); border-radius: 3px;
  padding: 8px 14px; font: 600 14px var(--font); cursor: pointer; color: var(--ink);
}

/* Hero */
.hero { padding: 64px 0 104px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(50px, 6.6vw, 104px); }
.hero h1 span { color: var(--blue); }
.hero__text > p { max-width: 520px; margin: 28px 0 36px; font-size: 20px; color: var(--ink-2); }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.board {
  position: relative; height: 580px; overflow: hidden; border-radius: 6px;
  background-color: var(--soft);
  background-image: radial-gradient(#D3D3CE 1px, transparent 1px);
  background-size: 18px 18px;
}
.board__hint {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 12px; color: var(--grey); pointer-events: none;
}
.drag {
  position: absolute;
  transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg));
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transition: box-shadow .2s;
}
.drag.is-dragging {
  cursor: grabbing;
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 30px 60px -20px rgba(0,0,0,.35);
}

/* Mockups (shared) */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -18px rgba(0,0,0,.25);
  font-family: var(--ui);
  font-size: 13px; line-height: 1.4; color: #202124;
}
.fav, .av {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  font-weight: 700; font-size: 12px;
}
.fav { background: #EAEEFF; color: var(--blue); }
.av { background: var(--blue); color: #fff; }

/* Google search ad */
.gs { padding: 16px 18px; }
.gs__spon { display: block; margin-bottom: 8px; font-weight: 700; font-size: 12px; }
.gs__site { display: flex; align-items: center; gap: 10px; }
.gs__site b { display: block; font-size: 13px; font-weight: 500; }
.gs__site small { display: block; font-size: 12px; color: #4D5156; }
.gs__title { display: block; margin: 8px 0 4px; font-size: 18px; line-height: 1.3; color: #1A0DAB; }
.gs__desc { margin: 0; color: #4D5156; }
.gs__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: #1A0DAB; }
.gs--big { width: min(100%, 520px); padding: 22px 24px; }
.gs--big .gs__title { font-size: 20px; }

/* Social feed ad */
.ms { overflow: hidden; }
.ms__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ms__head b { display: block; font-size: 13px; }
.ms__head small { display: block; font-size: 11px; color: #65676B; }
.ms__dots { margin-left: auto; color: #65676B; letter-spacing: 1px; }
.ms__img {
  aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; background: var(--blue); color: #fff;
  font-family: var(--font); font-stretch: 72%; font-weight: 700;
  font-size: clamp(20px, 2vw, 28px); line-height: 1; letter-spacing: -.01em;
}
.ms__img svg { width: 70px; }
.ms__img--ink { background: var(--ink); }
.ms__cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #F0F2F5; }
.ms__cta span { font-size: 12px; color: #65676B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms__cta b { flex: none; padding: 6px 10px; border-radius: 6px; background: #E4E6EB; font-size: 12px; }
.ms__icons { display: flex; gap: 16px; padding: 10px 12px; }
.ms__icons svg { width: 22px; height: 22px; fill: none; stroke: #202124; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.ms--big { width: min(100%, 340px); }
.ms--big .ms__img { font-size: 32px; }

/* Notification */
.nt { display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; }
.nt__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--blue); }
.nt__icon svg { width: 20px; height: 20px; }
.nt__row { display: flex; justify-content: space-between; gap: 8px; }
.nt__row small { color: #8A8A8A; }
.nt p { margin: 2px 0 0; color: #4D5156; }

/* Chart */
.mc { padding: 14px 16px 16px; }
.mc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.mc__head small { color: #8A8A8A; font-size: 11px; }
.mc svg { display: block; width: 100%; height: 90px; }

/* SERP */
.sr { width: min(100%, 520px); padding: 18px 22px 22px; }
.sr__q {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; margin-bottom: 20px;
  border: 1px solid #DFE1E5; border-radius: 24px; font-size: 15px;
}
.sr__q svg { width: 18px; height: 18px; fill: none; stroke: #5F6368; stroke-width: 2; stroke-linecap: round; }
.sr__res { padding-bottom: 18px; border-bottom: 1px solid #EEE; }
.sr__res .gs__title { font-size: 20px; }
.sr__ghost { display: grid; gap: 7px; padding-top: 16px; }
.sr__ghost i { display: block; height: 9px; border-radius: 5px; background: #EDEDED; }
.sr__ghost i:nth-child(1) { width: 34%; }
.sr__ghost i:nth-child(2) { width: 72%; height: 12px; background: #E1E5F5; }
.sr__ghost i:nth-child(3) { width: 90%; }

/* Vertical video */
.vv {
  position: relative; width: 250px; aspect-ratio: 9 / 16; overflow: hidden;
  border: 0; border-radius: 22px; background: var(--ink); color: #fff;
}
.vv__top { display: flex; justify-content: center; gap: 16px; padding-top: 16px; font-size: 13px; }
.vv__top span { opacity: .6; }
.vv__big {
  position: absolute; left: 18px; right: 52px; top: 32%; margin: 0;
  font-family: var(--font); font-stretch: 72%; font-weight: 700; font-size: 30px; line-height: 1;
}
.vv__side { position: absolute; right: 12px; bottom: 120px; display: grid; gap: 16px; }
.vv__side i { display: block; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); }
.vv__foot { position: absolute; left: 14px; right: 14px; bottom: 16px; display: grid; gap: 2px; }
.vv__foot small { opacity: .7; font-size: 11px; }
.vv__btn { margin-top: 10px; padding: 9px; border-radius: 4px; background: var(--blue); text-align: center; font-weight: 600; font-size: 13px; }

/* Calendar */
.cal { width: min(100%, 520px); padding: 18px 20px 20px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal__head b { font-size: 16px; }
.cal__key { display: flex; gap: 12px; font-size: 11px; color: #666; }
.cal__key span { display: flex; align-items: center; gap: 5px; }
.cal__key i, .cal__day i { display: block; width: 10px; height: 4px; border-radius: 2px; }
.k1 { background: var(--blue); }
.k2 { background: var(--ink); }
.k3 { background: #B9C4FF; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { font-size: 10px; color: #8A8A8A; text-align: center; padding-bottom: 4px; }
.cal__day { min-height: 46px; padding: 5px; border-radius: 4px; background: #F6F6F4; font-size: 10px; color: #666; display: flex; flex-direction: column; gap: 3px; }
.cal__day--empty { background: transparent; }
.cal__day i { width: 100%; height: 5px; }

/* Dashboard */
.db { width: min(100%, 520px); padding: 20px 22px 24px; }
.db__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.db__head b { font-size: 15px; }
.db__tags { display: flex; gap: 6px; }
.db__tags span { padding: 3px 8px; border-radius: 4px; background: #F0F2F8; font-size: 11px; color: #444; }
.db__row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin-top: 12px; }
.db__row span { font-size: 12px; color: #444; }
.db__row i { display: block; width: var(--w); height: 14px; border-radius: 3px; background: var(--blue); }
.db__row:nth-child(n+4) i { background: #9EAEFF; }

/* Sections */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--soft { background: var(--soft); }
.sec__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end;
  margin-bottom: 56px;
}
.sec__head h2 { font-size: clamp(44px, 6vw, 88px); }
.sec__head p { margin: 0; max-width: 440px; font-size: 18px; color: var(--ink-2); }

/* Services */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.svc__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.svc__list button {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 16px 0;
  background: none; border: 0; border-top: 1px solid var(--line);
  font-family: var(--font); font-stretch: 72%; font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.015em;
  text-align: left; color: #B8B8B4; cursor: pointer;
  transition: color .2s;
}
.svc__list button:hover { color: var(--ink); }
.svc__list button[aria-selected="true"] { color: var(--ink); }
.svc__list button::after {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue); transform: scale(0); transition: transform .25s;
}
.svc__list button[aria-selected="true"]::after { transform: scale(1); }

.panel { animation: fade .35s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stage {
  display: grid; place-items: center; min-height: 500px; padding: 48px;
  border-radius: 6px;
  background-color: var(--soft);
  background-image: radial-gradient(#D3D3CE 1px, transparent 1px);
  background-size: 18px 18px;
}
.panel__text { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.panel__text p { margin: 0; }
.inc { color: var(--ink-2); font-size: 15px; }
.inc b { color: var(--ink); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { padding-top: 24px; border-top: 2px solid var(--ink); }
.step h3 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 14px; }
.step p { margin: 0; color: var(--ink-2); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.facts > div { padding: 36px; background: var(--soft); }
.facts h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.facts p { margin: 0; max-width: 460px; color: var(--ink-2); }

/* Contact */
.contact { padding: clamp(80px, 10vw, 140px) 0; background: var(--blue); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
.contact h2 { font-size: clamp(44px, 5.4vw, 80px); }
.contact__left > p { max-width: 440px; margin: 24px 0 40px; font-size: 18px; color: rgba(255,255,255,.85); }
.contact__mail {
  display: inline-block; margin-bottom: 32px;
  font-weight: 700; font-stretch: 80%; font-size: clamp(22px, 2.4vw, 32px);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.contact__mail:hover { text-decoration-color: transparent; }
.contact address { color: rgba(255,255,255,.85); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
fieldset.f { margin: 0; padding: 0; border: 0; }
.f label, .f legend { padding: 0; font-size: 14px; font-weight: 600; }
.f input, .f select, .f textarea {
  width: 100%; padding: 13px 14px;
  border: 2px solid transparent; border-radius: 3px;
  background: #fff; color: var(--ink);
  font: 16px var(--font);
  outline: none; -webkit-appearance: none; appearance: none;
}
.f select {
  cursor: pointer; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
}
.f textarea { resize: vertical; min-height: 130px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.checks label { position: relative; font-weight: 500; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span {
  display: inline-block; padding: 9px 14px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 3px; font-size: 14px;
  transition: background .15s, color .15s, border-color .15s;
}
.checks span:hover { border-color: #fff; }
.checks input:checked + span { background: #fff; color: var(--blue); border-color: #fff; }
.checks input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__foot p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.form__status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; }
.contact :focus-visible { outline-color: #fff; }

/* Footer */
.foot { padding: 72px 0 32px; background: var(--ink); color: #fff; }
.foot__grid { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #8C8C8C; }
.foot p, .foot address { margin: 0; color: #D6D6D6; font-size: 15px; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot a { text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { text-decoration: underline; }
.foot__legal { margin: 0; padding-top: 24px; border-top: 1px solid #2B2B2B; font-size: 13px; color: #8C8C8C; }

/* Legal pages */
.doc { max-width: 780px; padding-top: 72px; padding-bottom: 120px; }
.doc h1 { font-size: clamp(52px, 8vw, 104px); }
.doc__date { margin: 16px 0 40px; color: var(--grey); }
.toc { margin: 0 0 56px; padding: 24px 28px; background: var(--soft); border-radius: 4px; }
.toc b { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.doc h2 { margin: 56px 0 14px; font-size: clamp(30px, 3vw, 40px); }
.doc h3 { margin: 28px 0 8px; font-size: 22px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong { color: var(--ink); }
.box { margin: 20px 0; padding: 20px 24px; border-left: 4px solid var(--blue); background: var(--soft); }
.box p { margin: 0 0 4px; }
.box p:last-child { margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .top__mail { display: none; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--pad) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }

  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .board { height: 540px; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; }
  .svc { grid-template-columns: 1fr; gap: 32px; }
  .stage { min-height: 400px; padding: 28px 16px; }
  .panel__text { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__text > p { font-size: 18px; }
  .board { height: 500px; }
  .drag.gs { width: 88% !important; }
  .drag.ms { width: 52% !important; top: 30% !important; }
  .drag.nt { width: 64% !important; top: 58% !important; }
  .drag.mc { width: 60% !important; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 28px 24px; }
  .form { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .db__row { grid-template-columns: 90px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { animation: none; }
}