:root {
  --accent: #237fbd;
  --accent-dark: #175d8d;
  --navy-950: #07111f;
  --navy-900: #0d1b2c;
  --navy-800: #172a40;
  --ink: #172334;
  --muted: #111820;
  --soft: #eef1f4;
  --line: #d3d9df;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #e8eaec;
}

body {
  min-height: 100dvh;
  margin: 0;
  padding:
    max(42px, env(safe-area-inset-top))
    max(30px, env(safe-area-inset-right))
    max(46px, env(safe-area-inset-bottom))
    max(30px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(145deg, #f5f6f7 0%, #e2e5e8 100%);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.site-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 1280px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  grid-template-rows: minmax(680px, auto) auto;
  overflow: hidden;
  border: 1px solid rgba(16, 31, 48, 0.08);
  border-radius: 32px;
  background: var(--white);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 3px 8px rgba(18, 34, 52, 0.07),
    0 26px 54px rgba(18, 34, 52, 0.13),
    0 60px 120px rgba(18, 34, 52, 0.12);
}

.site-card::before {
  position: absolute;
  z-index: -1;
  inset: 18px -18px -22px 18px;
  border-radius: 34px;
  background: rgba(13, 27, 44, 0.18);
  content: "";
}

.company-panel {
  min-width: 0;
  padding: 42px 50px 38px;
  display: flex;
  flex-direction: column;
  background: #f3f4f5;
}

.company-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.domain-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-monogram,
.company-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 15px;
}

.company-monogram {
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, white);
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow:
    0 8px 20px color-mix(in srgb, var(--accent) 24%, transparent),
    inset 0 1px rgba(255, 255, 255, 0.3);
  font-size: 16px;
  font-weight: 800;
}

.company-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
}

.domain-brand small,
.domain-brand strong {
  display: block;
}

.domain-brand small {
  margin-bottom: 4px;
  color: #0b0f14;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.domain-brand strong {
  max-width: 250px;
  overflow: hidden;
  color: #0b0f14;
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-status {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #cdebdc;
  border-radius: 999px;
  color: #176b45;
  background: #effaf4;
  font-size: 12px;
  font-weight: 750;
}

.domain-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31a970;
  box-shadow: 0 0 0 3px rgba(49, 169, 112, 0.13);
}

.company-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 54px 0 42px;
}

.work-label {
  min-height: 32px;
  margin: 0 0 22px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #dfe4e9);
  border-radius: 999px;
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 7%, white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-label > span {
  width: 8px;
  height: 8px;
  border: 2px solid color-mix(in srgb, var(--accent) 35%, white);
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 5.8vw, 82px);
  font-weight: 760;
  line-height: 0.94;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: var(--accent);
}

.company-name {
  margin: 27px 0 0;
  color: #0b0f14;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
}

.company-name strong {
  color: #0b0f14;
}

.lead {
  max-width: 570px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  text-wrap: pretty;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out;
}

.primary-action {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 23%, transparent);
}

.primary-action:hover {
  background: var(--accent-dark);
}

.secondary-action {
  border-color: #d5dce3;
  color: #0b0f14;
  background: #ffffff;
}

.secondary-action:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, #d5dce3);
  color: var(--accent-dark);
}

.primary-action svg,
.secondary-action svg {
  width: 19px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.company-details {
  margin: 0;
  padding-top: 25px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.75fr);
  gap: 24px;
  border-top: 1px solid var(--line);
}

.company-details > div {
  min-width: 0;
}

.company-details dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0b0f14;
  font-size: 12px;
  font-weight: 800;
}

.company-details dd {
  margin: 8px 0 0 39px;
  color: #0b0f14;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.detail-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.detail-icon svg {
  width: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-panel {
  position: relative;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
  padding: 44px 44px 36px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 42% 52%, rgba(62, 112, 162, 0.34), transparent 38%),
    linear-gradient(145deg, #203851 0%, #11253a 60%, #0b1a2b 100%);
}

.visual-panel::before,
.visual-panel::after,
.visual-lines::before,
.visual-lines::after {
  position: absolute;
  border: 1px solid rgba(194, 219, 241, 0.18);
  content: "";
  transform: rotate(45deg);
}

.visual-panel::before {
  top: -110px;
  right: -44px;
  width: 250px;
  height: 250px;
}

.visual-panel::after {
  right: -88px;
  bottom: 142px;
  width: 176px;
  height: 176px;
}

.visual-lines::before {
  top: 195px;
  left: -58px;
  width: 106px;
  height: 106px;
}

.visual-lines::after {
  right: 76px;
  bottom: -128px;
  width: 250px;
  height: 250px;
}

.visual-copy {
  position: relative;
  z-index: 2;
  max-width: 450px;
}

.visual-copy p,
.visual-copy h2 {
  margin: 0;
}

.visual-copy p {
  color: #9fb6cc;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.visual-copy h2 {
  margin-top: 11px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  text-wrap: balance;
}

.visual-art {
  position: absolute;
  z-index: 1;
  inset: 112px 0 40px;
  display: grid;
  place-items: center;
}

.visual-art::before {
  position: absolute;
  bottom: 22px;
  width: 68%;
  height: 15%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  filter: blur(22px);
  content: "";
}

.visual-art img {
  position: relative;
  width: auto;
  height: 590px;
  max-width: calc(100% + 26px);
  object-fit: contain;
  filter: drop-shadow(0 25px 24px rgba(1, 9, 18, 0.34));
}

.progress-card {
  position: relative;
  z-index: 3;
  width: min(100%, 338px);
  min-height: 72px;
  margin-top: auto;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.86);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.progress-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #8ad6ff;
  background: rgba(94, 190, 244, 0.11);
}

.progress-card__icon svg {
  width: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-card small,
.progress-card strong {
  display: block;
}

.progress-card small {
  margin-bottom: 4px;
  color: #8197ac;
  font-size: 12px;
}

.progress-card strong {
  color: #fff;
  font-size: 14px;
}

.progress-card i {
  width: 10px;
  height: 10px;
  justify-self: center;
  border-radius: 50%;
  background: #43d396;
  box-shadow: 0 0 0 4px rgba(67, 211, 150, 0.12);
}

.partner-footer {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 25px 34px;
  display: grid;
  grid-template-columns: 235px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  background: var(--navy-950);
}

.partner-intro > span {
  display: block;
  margin-bottom: 10px;
  color: #afbfcd;
  font-size: 12px;
  font-weight: 700;
}

.partner-brand {
  width: 172px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.partner-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.partner-description {
  max-width: 390px;
  margin: 0;
  color: #c0ccd7;
  font-size: 13px;
  line-height: 1.55;
  text-wrap: pretty;
}

.partner-description span {
  display: block;
}

.partner-contacts {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 18px;
}

.partner-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d3dee8;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease-out;
}

.partner-link:first-child {
  grid-column: 1 / -1;
}

.partner-link:hover {
  color: #7ed4ff;
}

.partner-link svg {
  width: 16px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.partner-brand:focus-visible,
.partner-link:focus-visible {
  outline: 3px solid #69c9f8;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1040px) {
  body {
    padding-inline: max(20px, env(safe-area-inset-left));
  }

  .site-card {
    grid-template-columns: 1fr 0.92fr;
  }

  .company-panel {
    padding-inline: 38px;
  }

  .partner-footer {
    grid-template-columns: 220px 1fr;
  }

  .partner-contacts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, max-content);
  }

  .partner-link:first-child {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  body {
    padding-top: max(22px, env(safe-area-inset-top));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .site-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(560px, auto) auto;
    border-radius: 26px;
  }

  .company-panel {
    padding: 32px 34px 30px;
  }

  .company-content {
    padding: 52px 0 40px;
  }

  .visual-panel {
    min-height: 560px;
  }

  .visual-art {
    inset: 102px 0 42px;
  }

  .partner-footer {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 580px) {
  body {
    padding-inline: max(12px, env(safe-area-inset-left));
  }

  .site-card {
    grid-template-rows: auto minmax(500px, auto) auto;
    border-radius: 22px;
  }

  .site-card::before {
    inset: 10px -7px -12px 8px;
    border-radius: 24px;
  }

  .company-panel {
    padding: 24px 22px 26px;
  }

  .company-topbar {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
  }

  .company-monogram,
  .company-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .domain-brand {
    gap: 10px;
  }

  .domain-brand small {
    font-size: 11px;
  }

  .domain-brand strong {
    max-width: 150px;
    font-size: 13px;
  }

  .domain-status {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .company-content {
    padding: 42px 0 34px;
  }

  .work-label {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .company-name {
    margin-top: 23px;
    font-size: 16px;
  }

  .contact-actions {
    width: 100%;
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .company-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visual-panel {
    min-height: 500px;
    padding: 30px 24px 24px;
  }

  .visual-copy h2 {
    font-size: 30px;
  }

  .visual-art {
    inset: 88px 0 34px;
  }

  .visual-art img {
    height: 440px;
    max-width: 116%;
  }

  .progress-card {
    min-height: 68px;
  }

  .partner-footer {
    padding: 26px 24px 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .partner-contacts {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .partner-link:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
