/* sync.su · «Единый ритм» · самостоятельная статическая страница */
@font-face {
  font-family: "Manrope";
  src: url("./fonts/manrope-variable.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f6fbfe;
  --ink: #071d43;
  --muted: #697d99;
  --blue: #075bfa;
  --side: clamp(28px, 4.55vw, 118px);
  --header-height: clamp(70px, 9svh, 100px);
  --footer-height: clamp(60px, 9svh, 92px);
  --headline: clamp(64px, min(6.8vw, 10.7svh), 122px);
}

* { box-sizing: border-box; }
html { min-width: 280px; min-height: 100%; background: var(--page); }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse at 61% 76%, #e7f5fd66 0%, transparent 52%),
    linear-gradient(120deg, #f5fbfe 0%, #f8fcff 48%, #f4fbff 100%);
}
::selection { color: #fff; background: #075bfa; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-shell {
  min-height: 100vh;
  min-height: 100svh;
  height: 100svh;
  min-height: max(640px, 100svh);
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr) var(--footer-height);
  overflow: clip;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--side);
  padding-top: max(0px, env(safe-area-inset-top));
  position: relative;
  z-index: 3;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: clamp(27px, 2.3vw, 39px);
  height: clamp(33px, 2.65vw, 44px);
  stroke: url(#brand-gradient);
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-name { font-size: clamp(27px, 2.25vw, 37px); font-weight: 800; letter-spacing: -1.6px; line-height: 1; }
.project-status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #627795;
  font-size: clamp(9px, .73vw, 12px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #1edbf1; box-shadow: 0 0 0 3px #1edbf109; flex: none; }
.hero { min-height: 0; display: flex; flex-direction: column; position: relative; }
.hero-copy { flex: none; text-align: center; position: relative; z-index: 2; padding: clamp(7px, 1.3svh, 16px) 24px 0; }
.eyebrow {
  margin: 0 0 clamp(15px, 2svh, 25px);
  color: #667c99;
  font-size: clamp(11px, .91vw, 15px);
  font-weight: 500;
  letter-spacing: .29em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow span { margin-inline: .2em; }
h1 {
  margin: 0;
  font-size: var(--headline);
  font-weight: 800;
  line-height: 1.035;
  letter-spacing: -.052em;
}
h1 > span { display: block; }
.headline-accent { color: var(--blue); }
.hero-description {
  margin: clamp(20px, 2.5svh, 29px) auto 0;
  font-size: clamp(20px, min(1.85vw, 3svh), 31px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -.035em;
}
.hero-description span { display: block; }
.flow-stage {
  --card-width: clamp(142px, 11.75vw, 220px);
  --hub-size: clamp(174px, 13.9vw, 268px);
  flex: 1 1 auto;
  min-height: 235px;
  width: 100%;
  position: relative;
  margin-top: -8px;
  margin-bottom: clamp(15px, 2.3svh, 26px);
  isolation: isolate;
}
.flow-art { display: block; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.flow-art img { display: block; width: 100%; height: 100%; object-fit: fill; }
.flow-card {
  width: var(--card-width);
  min-height: calc(var(--card-width) * .51);
  display: flex;
  align-items: center;
  gap: clamp(9px, 1vw, 16px);
  padding: clamp(12px, 1.15vw, 21px) clamp(13px, 1.15vw, 21px);
  position: absolute;
  left: 5.4%;
  transform: translateY(-50%);
  border: 1.5px solid #dcebf5;
  border-radius: clamp(17px, 1.5vw, 27px);
  background: linear-gradient(140deg, #fffffffa, #f7fcffed 65%, #ebf7feeb);
  box-shadow: 0 15px 28px -14px #327eac38, 0 4px 9px -4px #7eb8d725, inset 0 1px 2px #fff;
}
.clients-card { top: 13.55%; --icon-color: #04bfee; }
.deals-card { top: 50%; --icon-color: #00b6f0; }
.tasks-card { top: 87.5%; --icon-color: #08b7c8; }
.card-icon { flex: none; width: 24%; aspect-ratio: 1; fill: none; stroke: var(--icon-color); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.card-content { flex: 1; min-width: 0; }
.card-content h2 { margin: 0 0 11px; font-size: clamp(13px, 1.1vw, 21px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.placeholder-line { display: block; width: 100%; height: clamp(5px, .46vw, 8px); border-radius: 99px; background: #d8e5ee; }
.placeholder-line.short { width: 76%; margin-top: 6px; background: #dfe9ef; }
.sync-hub {
  position: absolute;
  left: 66.85%;
  top: 55.2%;
  width: var(--hub-size);
  aspect-ratio: 1.055;
  transform: translate(-50%, -50%) perspective(900px) rotateY(-9deg) rotateX(4deg) rotateZ(-.8deg);
  border-radius: 24%;
  background: linear-gradient(125deg, #9ce4ffb0 0, #ffffffdf 12%, #d8f1ffbb 55%, #36b3f292 100%);
  border: 2px solid #a9e0ffbd;
  padding: 6px;
  box-shadow: -6px 4px 0 -3px #79d2f8b0, -10px 9px 10px -8px #1dbdfcaa, 0 25px 40px -21px #297aa987, inset 2px 1px 5px #fff, inset -3px -3px 6px #3fb9f47d;
}
.sync-hub::before { content: ""; position: absolute; inset: 1px; border-radius: 23%; border: 1px solid #fff9; pointer-events: none; }
.sync-hub::after {
  content: "";
  position: absolute;
  width: 51%;
  height: 5px;
  bottom: -3px;
  left: 10%;
  border-radius: 100%;
  background: #a3f5ff;
  box-shadow: 0 0 13px 2px #2ac6ff6b;
  transform: rotate(1deg);
}
.hub-face {
  width: 100%; height: 100%; border-radius: 22%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding-bottom: 2%;
  background: linear-gradient(145deg, #fffffff2 0%, #eff9ffd4 48%, #b8def3d1 100%);
  border: 1px solid #ffffffde;
  box-shadow: inset 2px 2px 7px #fff, inset -3px -3px 7px #78c6ee58;
}
.hub-wordmark { font-size: calc(var(--hub-size) * .315); font-weight: 800; letter-spacing: -.065em; line-height: 1.1; }
.hub-label { margin-top: 12px; margin-left: 5px; font-size: calc(var(--hub-size) * .071); letter-spacing: .43em; font-weight: 700; line-height: 1; }
.site-footer {
  margin: 0 var(--side);
  border-top: 1px solid #cddde8;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(17px, 2svh, 23px);
  padding-bottom: max(15px, env(safe-area-inset-bottom));
  color: #667b97;
  font-size: clamp(11px, .88vw, 15px);
  line-height: 1.5;
  letter-spacing: -.02em;
}
.site-footer p { margin: 0; }
.footer-note { white-space: nowrap; }

@media (min-width: 681px) and (max-height: 740px) {
  :root { --header-height: 66px; --footer-height: 56px; --headline: clamp(50px, 8.8svh, 72px); }
  .site-shell { min-height: max(560px, 100svh); }
  .hero-copy { padding-top: 0; }
  .eyebrow { margin-bottom: 10px; font-size: 10px; }
  .hero-description { margin-top: 16px; font-size: 19px; }
  .flow-stage { --card-width: clamp(125px, 10.7vw, 175px); --hub-size: clamp(145px, 12vw, 200px); min-height: 215px; margin-top: 0; margin-bottom: 16px; }
  .card-content h2 { font-size: 14px; margin-bottom: 8px; }
  .site-footer { padding-top: 14px; }
}

@media (min-width: 681px) and (max-width: 1024px) and (min-height: 900px) {
  :root { --headline: clamp(64px, 8vw, 84px); --header-height: 100px; --footer-height: 90px; }
  .hero-copy { padding-top: 4svh; }
  .eyebrow { font-size: 13px; margin-bottom: 28px; }
  .hero-description { font-size: 25px; margin-top: 30px; }
  .flow-stage { max-height: 520px; margin-block: auto; --hub-size: 185px; }
  .flow-card { left: 4%; }
}

@media (max-width: 680px) {
  :root {
    --side: 23px;
    --header-height: 82px;
    --footer-height: 85px;
    --headline: clamp(32px, 7.95vw, 53px);
  }
  .site-shell { min-height: max(690px, 100svh); height: auto; grid-template-rows: var(--header-height) minmax(523px, 1fr) auto; }
  .site-header { gap: 10px; padding-top: env(safe-area-inset-top); }
  .brand { gap: 7px; }
  .brand-mark { width: 24px; height: 30px; stroke-width: 4; }
  .brand-name { font-size: 25px; letter-spacing: -1.35px; }
  .project-status { max-width: 132px; gap: 7px; font-size: 9px; letter-spacing: .1em; line-height: 1.5; }
  .status-dot { width: 5px; height: 5px; }
  .hero-copy { padding: clamp(16px, 3svh, 38px) 16px 0; }
  .eyebrow { font-size: clamp(9px, 2.25vw, 12px); letter-spacing: .2em; margin-bottom: 22px; }
  h1 { line-height: 1.12; letter-spacing: -.055em; }
  .hero-description { font-size: clamp(16px, 4.05vw, 21px); line-height: 1.5; margin-top: 23px; letter-spacing: -.03em; }
  .flow-stage {
    --card-width: 25.5%;
    --hub-size: clamp(125px, 33.5vw, 182px);
    flex: 1 0 auto;
    min-height: 310px;
    max-height: 420px;
    margin-top: 30px;
    margin-bottom: 0;
  }
  .flow-art {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 82%, transparent);
  }
  .flow-card {
    top: 12.95%;
    left: auto;
    width: var(--card-width);
    min-height: 0;
    height: clamp(65px, 17vw, 96px);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 9px 5px;
    border-radius: 16px;
    transform: translate(-50%, -50%);
    border-width: 1px;
    box-shadow: 0 12px 22px -16px #4d89b04d, 0 3px 6px -4px #6fadc621, inset 0 1px 1px #fff;
  }
  .clients-card { left: 16.25%; }
  .deals-card { left: 50%; }
  .tasks-card { left: 83.75%; }
  .card-icon { width: clamp(22px, 5.8vw, 31px); }
  .card-content { flex: none; text-align: center; }
  .card-content h2 { font-size: clamp(12px, 3.4vw, 17px); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
  .placeholder-line { display: none; }
  .sync-hub { top: 64.7%; left: 50%; padding: 4px; }
  .hub-label { margin-top: 8px; }
  .site-footer {
    min-height: 85px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 16px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    font-size: 11px;
    line-height: 1.6;
    gap: 20px;
  }
  .site-footer p:first-child { max-width: 215px; }
  .footer-note { margin-left: auto !important; }
}

@media (max-width: 360px) {
  :root { --side: 18px; --header-height: 72px; --headline: 7.9vw; }
  .brand-name { font-size: 23px; }
  .project-status { font-size: 7px; max-width: 109px; gap: 5px; }
  .hero-copy { padding-top: 20px; padding-inline: 12px; }
  .eyebrow { font-size: 8px; margin-bottom: 18px; }
  .hero-description { font-size: 14px; margin-top: 18px; }
  .flow-stage { min-height: 290px; margin-top: 25px; }
  .site-shell { min-height: 640px; grid-template-rows: var(--header-height) minmax(480px, 1fr) auto; }
  .site-footer { font-size: 10px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-shell { height: auto; min-height: 0; }
  .hero { min-height: 690px; }
  .flow-stage { min-height: 380px; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
