:root {
  color-scheme: light;
  --ink: #15181f;
  --muted: #5e6675;
  --line: #d9dee7;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --brand: #0f65d6;
  --brand-dark: #0b3f88;
  --accent: #16a37b;
  --warn: #f2c94c;
  --shadow: 0 18px 50px rgba(31, 45, 71, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fbfcff;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  border-radius: 10px;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(15, 101, 214, .08), transparent 36%),
    linear-gradient(180deg, #fff 0%, #eef4ff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

.product-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: #ecf1f8;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b8c1d0;
}

.preview-grid {
  display: grid;
  grid-template-columns: 150px 1fr 168px;
  gap: 14px;
  min-height: 520px;
  padding: 14px;
  background: #111722;
}

.queue,
.settings {
  padding: 14px;
  border-radius: 8px;
  background: #f9fbff;
}

.queue strong,
.settings strong {
  display: block;
  margin-bottom: 12px;
}

.queue span,
.settings span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.canvas {
  position: relative;
  overflow: hidden;
  min-height: 492px;
  border-radius: 6px;
  background: #fff;
}

.ruler {
  position: absolute;
  background: repeating-linear-gradient(90deg, #8b93a3 0 1px, transparent 1px 18px);
  opacity: .55;
}

.ruler.top {
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
}

.ruler.side {
  top: 0;
  bottom: 0;
  left: 0;
  width: 22px;
  background: repeating-linear-gradient(180deg, #8b93a3 0 1px, transparent 1px 18px);
}

.shirt {
  position: absolute;
  left: 25%;
  top: 12%;
  width: 52%;
  height: 58%;
  background:
    linear-gradient(90deg, #d9202f 0 30%, #fff 30% 42%, #d9202f 42% 64%, #fff 64% 76%, #d9202f 76%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .4), transparent 45%);
  clip-path: polygon(18% 10%, 38% 0, 62% 0, 82% 10%, 100% 30%, 86% 42%, 76% 100%, 24% 100%, 14% 42%, 0 30%);
}

.shirt::after {
  content: "";
  position: absolute;
  inset: 32% 0 auto 0;
  height: 18%;
  background: #183174;
}

.shirt.small {
  top: 70%;
  transform: rotate(180deg);
  height: 26%;
}

.section,
.download,
.support {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.features article,
.plans article,
.download-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(31, 45, 71, .06);
}

.features p,
.split p,
.support p,
.download p {
  color: var(--muted);
  line-height: 1.55;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 28px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.download-card {
  display: grid;
  gap: 12px;
}

.download-card span,
.download-card small {
  color: var(--muted);
}

.download-card strong {
  font-size: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 32px;
}

.plans {
  display: grid;
  gap: 16px;
}

.support {
  text-align: center;
}

.support p {
  max-width: 620px;
  margin-inline: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .download,
  .split {
    grid-template-columns: 1fr;
  }

  .product-panel {
    min-width: 0;
  }

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

  .canvas {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .topbar,
  nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

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

  h1 {
    font-size: 58px;
  }
}
