:root {
  --ink: #081728;
  --paper: #f4fbff;
  --muted: #5c6d80;
  --line: rgba(8, 23, 40, 0.14);
  --mint: #16ead2;
  --amber: #ffb545;
  --rose: #ff5b61;
  --cyan: #16b8ff;
  --violet: #2378ff;
  --green: #35e768;
  --orange: #ff8f3d;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(22, 184, 255, 0.34), transparent 28%),
    radial-gradient(circle at 68% 78%, rgba(53, 231, 104, 0.2), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(255, 143, 61, 0.2), transparent 30%),
    linear-gradient(135deg, #061323 0%, #082f5f 52%, #05243c 100%);
}

.brand {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 850;
}

.brandMark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(22, 184, 255, 0.28));
}

h1,
h2,
.portfolioBody h3,
.portfolioEmpty h3 {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.12;
}

.button.primary {
  background: linear-gradient(135deg, var(--mint), var(--green));
  box-shadow: 0 14px 34px rgba(22, 234, 210, 0.24);
}

.showcase {
  display: grid;
  min-height: 540px;
  place-items: center;
}

.heroImage {
  width: min(100%, 560px);
  max-height: 720px;
  object-fit: contain;
  filter: drop-shadow(0 38px 70px rgba(0, 0, 0, 0.38));
}

.portfolioTrack {
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.portfolioTrack.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.portfolioTrack.dragging a {
  pointer-events: none;
}

.portfolioTags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.portfolioBody h3 {
  display: -webkit-box;
  min-height: 43px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolioBody > span {
  display: -webkit-box;
  min-height: 58px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.storeBadge {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.storeLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.storeLink {
  flex: 1 1 132px;
  min-height: 40px;
  margin-top: 0;
  padding: 0 12px;
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: start;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 34px clamp(18px, 4vw, 46px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 234, 210, 0.16), transparent 34%),
    linear-gradient(135deg, #071728, #0a2d57);
  color: #fffaf1;
}

.footerMain {
  display: grid;
  gap: 20px;
}

.footerBrand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footerBrand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.footer h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.8vw, 38px);
}

.footer p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 18px;
  line-height: 1.5;
}

.footerActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footerRequisites {
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 241, 0.06);
}

.footerRequisites .eyebrow {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 12px;
}

.footerRequisites dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.footerRequisites div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.footerRequisites dt,
.footerRequisites dd {
  margin: 0;
}

.footerRequisites dt {
  color: rgba(255, 250, 241, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footerRequisites dd {
  color: rgba(255, 250, 241, 0.9);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 32px;
  }

  .footerRequisites div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .showcase {
    min-height: 390px;
  }

  .heroImage {
    width: min(110%, 430px);
  }
}
