@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Satoshi;
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: JetBrains;
  src: url("../fonts/jetbrains-mono-latin-400-600.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body.render-page {
  width: 1500px;
  margin: 0;
  background: #fff;
}

.x-header {
  --foundation: #001330;
  --raised: #0b2147;
  --accent: #2d6bff;
  --accent-soft: #8cb4ff;
  --muted: #b8c7d9;
  position: relative;
  width: 1500px;
  height: 500px;
  overflow: hidden;
  color: #fff;
  background: var(--foundation);
  font-family: Satoshi, Arial, sans-serif;
}

.x-header.theme-gold {
  --foundation: #151515;
  --raised: #292b2b;
  --accent: #c6a15b;
  --accent-soft: #d4b96f;
  --muted: #c8c6c0;
}

.x-header__hardware {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 520px;
  height: 500px;
  object-fit: cover;
  object-position: 58% 64%;
  filter: grayscale(1) contrast(1.18) brightness(0.62);
  opacity: 0.72;
}

.theme-gold .x-header__hardware {
  filter: grayscale(1) contrast(1.22) sepia(0.16) brightness(0.52);
  opacity: 0.74;
}

.x-header__image-shade {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 520px;
  height: 500px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 19, 48, 0.22);
}

.theme-gold .x-header__image-shade {
  background: rgba(21, 21, 21, 0.24);
}

.x-header__plane {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 420px;
  width: 120px;
  height: 500px;
  background: var(--accent);
}

.x-header__plane::before {
  position: absolute;
  top: 0;
  left: -118px;
  width: 118px;
  height: 120px;
  content: "";
  border-bottom: 120px solid var(--accent);
  border-left: 118px solid transparent;
}

.x-header__plane::after {
  position: absolute;
  right: -92px;
  bottom: 0;
  width: 92px;
  height: 92px;
  content: "";
  border-top: 92px solid transparent;
  border-left: 92px solid var(--accent);
}

.x-header__grid span {
  position: absolute;
  z-index: 0;
  display: block;
  background: rgba(255, 255, 255, 0.085);
}

.x-header__grid .v1 {
  top: 0;
  left: 90px;
  width: 1px;
  height: 500px;
}

.x-header__grid .v2 {
  top: 0;
  left: 305px;
  width: 1px;
  height: 500px;
}

.x-header__grid .v3 {
  top: 0;
  left: 760px;
  width: 1px;
  height: 500px;
}

.x-header__grid .v4 {
  top: 0;
  left: 980px;
  width: 1px;
  height: 500px;
}

.x-header__grid .h1 {
  top: 60px;
  left: 0;
  width: 1500px;
  height: 1px;
}

.x-header__grid .h2 {
  top: 250px;
  left: 0;
  width: 1500px;
  height: 1px;
}

.x-header__grid .h3 {
  top: 439px;
  left: 0;
  width: 1500px;
  height: 1px;
}

.x-header__logo {
  position: absolute;
  z-index: 5;
  top: 78px;
  left: 98px;
  width: 164px;
  height: auto;
}

.x-header__divider {
  position: absolute;
  z-index: 5;
  top: 84px;
  left: 304px;
  width: 2px;
  height: 332px;
  background: var(--accent);
}

.x-header__copy {
  position: absolute;
  z-index: 5;
  top: 91px;
  left: 352px;
  width: 650px;
}

.x-header__eyebrow {
  color: var(--accent-soft);
  font:
    600 13px/1.4 JetBrains,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.x-header h1 {
  margin: 26px 0 23px;
  color: #fff;
  font-size: 61px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.x-header h1 span {
  color: var(--accent-soft);
}

.x-header__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font:
    500 12px/1.4 JetBrains,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.x-header__meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.x-header__signature {
  position: absolute;
  z-index: 5;
  right: 38px;
  bottom: 74px;
  color: #fff;
  font:
    600 11px/1.4 JetBrains,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.crop-guide {
  pointer-events: none;
  position: absolute;
  z-index: 10;
  top: 60px;
  right: 0;
  bottom: 60px;
  left: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
}

.export .crop-guide {
  display: none;
}

body.preview-page {
  min-width: 320px;
  margin: 0;
  color: #0c172a;
  background: #f7f9fc;
  font-family: Satoshi, Arial, sans-serif;
}

.preview-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.preview-shell > a {
  color: #174db8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.preview-head {
  display: grid;
  align-items: end;
  gap: 40px;
  margin: 50px 0;
  grid-template-columns: 1fr 380px;
}

.preview-head span,
.banner-card__label {
  color: #53657a;
  font:
    600 11px/1.4 JetBrains,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-head h1 {
  max-width: 760px;
  margin: 12px 0 0;
  color: #001330;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.preview-head p {
  margin: 0;
  color: #53657a;
  font-size: 17px;
  line-height: 1.6;
}

.banner-list {
  display: grid;
  gap: 42px;
}

.banner-card {
  padding: 22px;
  border: 1px solid #cbd6e4;
  background: #fff;
}

.banner-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cbd6e4;
}

.banner-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
}

.banner-card__footer strong {
  display: block;
  margin-top: 5px;
  color: #001330;
  font-size: 22px;
}

.banner-card__footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 17px;
  color: #fff;
  background: #174db8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.banner-card--gold .banner-card__footer a {
  color: #151515;
  background: #c6a15b;
}

.safe-note {
  margin-top: 40px;
  padding: 24px;
  border-left: 3px solid #2d6bff;
  color: #53657a;
  background: #fff;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .preview-shell {
    padding-top: 42px;
  }

  .preview-head {
    grid-template-columns: 1fr;
  }

  .banner-card {
    padding: 10px;
  }

  .banner-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .banner-card__footer a {
    width: 100%;
    justify-content: center;
  }
}
