:root {
  --red: #d82027;
  --red-dark: #b5151b;
  --ink: #252e32;
  --muted: #667176;
  --paper: #f6f5f2;
  --line: #dededb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  font-weight: 700;
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 1px 0 rgb(37 46 50 / 8%);
  backdrop-filter: blur(12px);
}

.top-line {
  height: 6px;
  background: var(--red);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
}

.brand img {
  width: 48px;
  height: 55px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand small {
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 0 21px;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 24%, rgb(216 32 39 / 6%), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgb(37 46 50 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(37 46 50 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 68%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding: 78px 0 94px;
}

.kicker,
.section-heading > p,
.steps-intro > p {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker span {
  width: 34px;
  height: 3px;
  background: var(--red);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.5vw, 5.55rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: #556065;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 6px;
  padding: 0 25px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-primary {
  background: var(--red);
  box-shadow: 0 14px 30px rgb(216 32 39 / 22%);
  color: var(--white);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 18px 34px rgb(216 32 39 / 28%);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding: 9px 0 6px;
  font-weight: 750;
}

.text-link span {
  color: var(--red);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  right: -14%;
  bottom: 0;
  width: 72%;
  height: 100%;
  pointer-events: none;
}

.hero-portrait img {
  position: absolute;
  z-index: 2;
  right: -4%;
  bottom: 0;
  width: min(830px, 78vw);
  height: auto;
  filter: drop-shadow(0 22px 20px rgb(0 0 0 / 15%));
}

.portrait-disc {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 4%;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 26px rgb(216 32 39 / 7%);
}

.hero-portrait p {
  position: absolute;
  z-index: 3;
  right: 19%;
  bottom: 26px;
  margin: 0;
  background: var(--ink);
  color: white;
  padding: 13px 18px 12px;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-portrait p span {
  color: #ff5b61;
}

.hero-mark {
  position: absolute;
  z-index: 0;
  top: 56%;
  left: -20px;
  transform: translateY(-50%);
  color: rgb(37 46 50 / 3.5%);
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.hero-stripe {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 9px;
  background: var(--red);
}

.downloads {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 102px 0 112px;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.steps-intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading > span,
.steps-intro > span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.download-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 34px;
  box-shadow: 0 18px 50px rgb(37 46 50 / 8%);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
}

.download-card.dark::before {
  background: var(--ink);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.file-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: rgb(216 32 39 / 9%);
  color: var(--red);
}

.dark .file-icon {
  background: rgb(37 46 50 / 9%);
  color: var(--ink);
}

.card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 30px 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.card-description {
  min-height: 84px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.card-meta span {
  border-radius: 999px;
  background: var(--paper);
  color: #525d62;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 750;
}

.download-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  background: var(--red);
  color: white;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.dark .download-button {
  background: var(--ink);
}

.download-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.dark .download-button:hover {
  background: #111719;
}

.steps {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.steps::after {
  content: "3";
  position: absolute;
  right: -28px;
  bottom: -140px;
  color: rgb(255 255 255 / 3%);
  font-size: 30rem;
  font-weight: 900;
  line-height: 1;
}

.steps-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 98px 0;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  align-items: start;
}

.steps-intro > p {
  color: #ff5a60;
}

.steps-intro > span {
  color: #b8c0c3;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  padding: 25px 0;
}

.step-list li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.step-list > li > span {
  color: #ff5a60;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.step-list h3 {
  margin: -4px 0 7px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.step-list p {
  margin: 0;
  color: #b8c0c3;
  line-height: 1.55;
}

.closing {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.closing img {
  width: 72px;
  height: auto;
}

.closing p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.button-light {
  border: 1px solid var(--line);
  background: var(--paper);
}

.button-light:hover {
  border-color: var(--ink);
  background: white;
  transform: translateY(-2px);
}

footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 750;
}

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

.steps :focus-visible,
.download-button:focus-visible,
.button-primary:focus-visible,
.header-cta:focus-visible {
  outline-color: white;
}

@media (max-width: 1000px) {
  .hero {
    min-height: 690px;
  }

  .hero-inner {
    min-height: 690px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    width: 65%;
    padding-top: 70px;
  }

  .hero-portrait {
    right: -28%;
    width: 90%;
  }

  .hero-portrait img {
    right: -6%;
    width: 710px;
  }

  .portrait-disc {
    right: 8%;
    width: 410px;
    height: 410px;
  }

  .steps-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 76px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.91rem;
  }

  .brand small {
    font-size: 0.59rem;
  }

  .header-cta {
    width: 44px;
    min-height: 44px;
    overflow: hidden;
    gap: 0;
    padding: 0;
    color: transparent;
  }

  .header-cta svg {
    flex: 0 0 auto;
    color: white;
  }

  .hero {
    min-height: 785px;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    min-height: 785px;
  }

  .hero-copy {
    width: 100%;
    padding: 55px 0 0;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.85rem, 12vw, 4.6rem);
  }

  .hero-lead {
    max-width: 530px;
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 28px;
  }

  .text-link {
    display: none;
  }

  .button-primary {
    min-height: 52px;
    padding: 0 19px;
    font-size: 0.9rem;
  }

  .hero-portrait {
    right: -25%;
    bottom: 0;
    width: 123%;
    height: 51%;
  }

  .hero-portrait img {
    right: -1%;
    width: min(700px, 126vw);
  }

  .portrait-disc {
    right: 2%;
    bottom: 1%;
    width: 330px;
    height: 330px;
  }

  .hero-portrait p {
    right: 32%;
    bottom: 18px;
    font-size: 0.67rem;
  }

  .hero-mark {
    display: none;
  }

  .hero-stripe {
    width: 70%;
  }

  .downloads {
    width: min(100% - 32px, 1180px);
    padding: 78px 0 82px;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

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

  .download-card {
    padding: 28px 24px;
  }

  .card-description {
    min-height: 0;
  }

  .steps-inner {
    width: min(100% - 32px, 1180px);
    padding: 76px 0;
  }

  .step-list li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .closing {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .closing img {
    width: 58px;
  }

  .closing .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  footer {
    width: min(100% - 32px, 1180px);
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
  }

  .kicker {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .hero-portrait {
    right: -31%;
    width: 135%;
    height: 47%;
  }

  .portrait-disc {
    width: 285px;
    height: 285px;
  }

  .hero-portrait p {
    right: 34%;
  }

  .card-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

@media print {
  .site-header,
  .hero,
  .steps,
  .closing,
  footer {
    display: none;
  }

  .downloads {
    width: 100%;
    padding: 0;
  }

  .download-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
