@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --color-ink: #111111;
  --color-muted: #52525b;
  --color-line: #d7d7dc;
  --color-surface: #ffffff;
  --color-soft: #f6f5f7;
  --color-accent: #7a206c;
  --color-accent-dark: #5e1553;
  --content-width: 1240px;
  --shadow-card: 0 12px 34px rgba(18, 18, 22, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--color-accent);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #f4a6e7;
  outline-offset: 4px;
}

.content-width {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.hero {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero img {
  width: min(100%, 1200px);
}

.intro {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.intro__title {
  max-width: 1050px;
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.intro__subtitle {
  max-width: 920px;
  margin: -0.75rem 0 2rem;
  color: var(--color-accent);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.intro__copy {
  max-width: 1150px;
  font-size: clamp(1.125rem, 1.65vw, 1.5rem);
}

.intro__copy p {
  margin: 0 0 1.25rem;
}

.intro__callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 5px solid var(--color-accent);
  background: var(--color-soft);
}

.intro__callout p {
  max-width: 800px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.intro__callout .button {
  flex: 0 0 auto;
}

.editorial-section,
.requirements,
.insights {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.editorial-title {
  max-width: 950px;
  margin: 0 0 2rem;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.editorial-copy {
  max-width: 1080px;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.editorial-copy p {
  margin: 0 0 1.25rem;
}

.ai-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.ai-section--soft {
  background: var(--color-soft);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid--challenges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 18, 22, 0.06);
}

.feature-card__number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card__title,
.benefit-card__title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  line-height: 1.25;
}

.feature-card p,
.benefit-card p {
  margin: 0 0 1rem;
}

.feature-card p:last-child,
.benefit-card p:last-child {
  margin-bottom: 0;
}

.requirements {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: clamp(3rem, 7vw, 7rem);
}

.requirements .editorial-title,
.requirements__intro,
.requirements__lead,
.requirements__conclusion {
  grid-column: 1;
}

.requirements__intro {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.requirements__lead {
  margin: 0;
  font-weight: 700;
}

.requirements__list {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements__list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.8rem;
  border-bottom: 1px solid var(--color-line);
  font-weight: 700;
}

.requirements__list li::before {
  position: absolute;
  top: 0.95rem;
  left: 0;
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-accent);
  content: "✓";
  font-size: 0.9rem;
}

.requirements__conclusion {
  margin: 2rem 0 0;
  font-weight: 700;
}

.ai-section--dark {
  color: #fff;
  background: #151317;
}

.feature-grid--benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.75rem;
  border-top: 4px solid #b44ca4;
  background: #252127;
}

.insights {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.insights .editorial-title,
.insights__lead,
.insights__list {
  grid-column: 1;
}

.insights__lead {
  margin: -0.75rem 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.insights__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.3rem;
}

.insights__list li::marker {
  color: var(--color-accent);
}

.download-callout {
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  background: var(--color-accent);
  box-shadow: var(--shadow-card);
}

.download-callout__title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}

.download-callout p {
  margin: 0 0 1.75rem;
}

.download-callout .button {
  border-color: #fff;
  color: var(--color-accent);
  background: #fff;
}

.download-callout .button:hover {
  color: #fff;
  background: transparent;
}

.server-family {
  padding-bottom: 4.5rem;
}

.server-family__banner {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.server-family__description {
  margin: 2.5rem 0;
  font-size: clamp(1.125rem, 1.65vw, 1.5rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 250px 1fr auto;
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.product-card__heading {
  min-height: 152px;
  padding: 2rem 2rem 1rem;
}

.product-card__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.product-card__processor {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.35;
}

.product-card__image {
  width: 100%;
  height: 250px;
  padding: 0 2rem 1rem;
  object-fit: contain;
}

.product-card__details {
  padding: 0 2rem 1.5rem;
}

.product-card__summary {
  margin: 0 0 1.5rem;
}

.product-card__spec-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.product-card__specs {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1rem;
}

.product-card__specs li + li {
  margin-top: 0.45rem;
}

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.product-card > .button {
  width: 100%;
}

.windows-block {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.section-title {
  margin: 0 0 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--color-accent);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.section-title--secondary {
  margin-top: 3rem;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.license-group {
  padding: 1.25rem;
  background: var(--color-soft);
  border-top: 4px solid #111;
}

.license-group__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.license-list {
  margin: 0;
  font-size: 0.92rem;
}

.license-list__sku {
  margin-top: 0.85rem;
  font-weight: 700;
}

.license-list__sku:first-child {
  margin-top: 0;
}

.license-list__description {
  margin: 0.15rem 0 0;
  color: var(--color-muted);
}

.button--wide {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 2rem auto 0;
}

.image-modal {
  width: min(94vw, 1300px);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.image-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
}

.image-modal__panel {
  position: relative;
  background: #fff;
}

.image-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 54px;
  padding: 0.35rem 0.5rem;
  color: #fff;
  background: #1b1b1d;
}

.image-modal__control {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.image-modal__control svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-modal__control svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.image-modal__share-menu {
  position: absolute;
  top: 62px;
  right: 0.75rem;
  z-index: 5;
  width: 250px;
  padding: 0.75rem 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.image-modal__share-menu[hidden] {
  display: none;
}

.image-modal__share-menu::before {
  position: absolute;
  top: -10px;
  right: 48px;
  width: 20px;
  height: 20px;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.image-modal__share-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  padding: 0.55rem 1.4rem;
  color: #242429;
  font-size: 0.95rem;
  text-decoration: none;
}

.image-modal__share-option:hover {
  color: #242429;
  background: #f3f3f5;
}

.image-modal__share-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
}

.image-modal__share-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.image-modal__share-icon--facebook {
  color: #4267a9;
}

.image-modal__share-icon--twitter {
  color: #1da1f2;
}

.image-modal__share-icon--pinterest {
  color: #c91524;
}

.image-modal__share-icon--pinterest span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c91524;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.image-modal__share-icon--download {
  color: #9ca3af;
}

.image-modal__share-icon--download svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-modal__control:hover {
  color: #f0b7e7;
  background: rgba(255, 255, 255, 0.08);
}

.image-modal__stage {
  max-height: calc(92vh - 54px);
  padding: 1.25rem;
  overflow: auto;
  background: #fff;
}

.image-modal__image {
  width: 100%;
  max-height: calc(92vh - 79px);
  margin: auto;
  object-fit: contain;
  transform-origin: top left;
}

.image-modal__image.is-zoomed {
  width: 175%;
  max-width: none;
  max-height: none;
}

.image-modal__panel:fullscreen {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.image-modal__panel:fullscreen .image-modal__stage {
  height: calc(100vh - 54px);
  max-height: none;
}

.image-modal__panel:fullscreen .image-modal__image {
  max-height: calc(100vh - 79px);
}

.partners {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.partners__lead,
.partners__note {
  margin: 0 auto 1.25rem;
  font-size: clamp(1.125rem, 1.65vw, 1.5rem);
}

.partners__note {
  margin-top: 2rem;
}

.partners__title {
  margin: 4rem 0 2rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.distributor-card {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.distributor-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.distributor-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-soft);
}

.site-footer__inner {
  padding-block: 3.5rem 2.5rem;
}

.site-footer__brands {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.site-footer__promo {
  width: 216px;
}

.site-footer__windows {
  text-align: right;
}

.site-footer__windows h2 {
  margin: 0;
  font-size: 1.35rem;
}

.site-footer__windows p {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
}

.site-footer__trademark {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__trademark p {
  margin: 0.25rem 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.site-footer__legal a {
  color: var(--color-ink);
}

.noscript-message {
  margin: 2rem auto;
  padding: 1rem;
  max-width: var(--content-width);
  background: #fff2cc;
}

@media (max-width: 900px) {
  .requirements,
  .insights {
    grid-template-columns: 1fr;
  }

  .requirements .editorial-title,
  .requirements__intro,
  .requirements__lead,
  .requirements__list,
  .requirements__conclusion,
  .insights .editorial-title,
  .insights__lead,
  .insights__list,
  .download-callout {
    grid-column: 1;
    grid-row: auto;
  }

  .requirements__list {
    margin-top: 2rem;
  }

  .download-callout {
    margin-top: 1rem;
  }

  .feature-grid--benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 210px 1fr;
    grid-template-rows: auto auto auto;
  }

  .product-card__heading {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .product-card__image {
    grid-column: 1;
    grid-row: 2;
    height: 270px;
  }

  .product-card__details {
    grid-column: 2;
    grid-row: 2;
  }

  .product-card > .button {
    grid-column: 1 / -1;
  }

  .license-grid {
    grid-template-columns: 1fr;
  }

  .distributor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .content-width {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .hero img {
    width: 100%;
  }

  .intro {
    padding-block: 2.75rem;
  }

  .intro__callout {
    align-items: stretch;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .intro__callout .button {
    width: 100%;
  }

  .editorial-section,
  .requirements,
  .insights,
  .ai-section {
    padding-block: 3.5rem;
  }

  .feature-grid--challenges,
  .feature-grid--benefits {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .benefit-card {
    padding: 1.35rem;
  }

  .server-family {
    padding-bottom: 3rem;
  }

  .server-family__banner {
    width: 100%;
    height: auto;
  }

  .server-family__description {
    margin-block: 1.75rem;
  }

  .product-card {
    display: flex;
    flex-direction: column;
  }

  .product-card__heading,
  .product-card__details {
    padding-inline: 1.25rem;
  }

  .product-card__heading {
    padding-top: 1.5rem;
  }

  .product-card__image {
    align-self: center;
    width: 100%;
    height: 220px;
    padding-inline: 1.25rem;
  }

  .windows-block {
    padding-bottom: 4rem;
  }

  .distributor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .distributor-card {
    min-height: 100px;
    padding: 1rem;
  }

  .site-footer__legal {
    gap: 0.4rem;
  }

  .site-footer__brands {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__windows {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
