:root {
  color-scheme: dark;
  --bg: #10101a;
  --surface: #191925;
  --border: #363348;
  --text: #f7f5fc;
  --muted: #c2bfd3;
  --accent: #cebaff;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 73% 9%, #241a38 0, transparent 42rem), var(--bg);
  color: var(--text);
}

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
a { color: inherit; text-decoration: none; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img, video { display: block; width: 100%; height: auto; }
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 10px 16px;
  background: var(--accent);
  color: #151121;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }
.topbar { border-bottom: 1px solid #ffffff15; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, nav { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 700; }
.mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid var(--accent);
  border-radius: 5px;
  transform: rotate(12deg);
  box-shadow: inset 0 0 0 4px #2a2041;
  background: var(--accent);
}

nav { gap: clamp(12px, 3vw, 32px); font-size: .9375rem; color: var(--muted); }
nav a:hover, .brand:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(26px, 5.6vw, 68px);
  padding-block: clamp(44px, 7vw, 88px);
}

.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
h1 { margin-top: 12px; font-size: clamp(2.55rem, 4.9vw, 4.8rem); letter-spacing: -.062em; line-height: 1; }
h1 span { color: var(--accent); }
.intro { max-width: 34rem; margin-block: 20px 24px; font-size: clamp(1rem, 1.5vw, 1.13rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
}

.primary { background: var(--accent); color: #1b1330; }
.primary:hover { background: #e2d5ff; }
.secondary { border-color: #817398; background: #2a2338; }
.secondary:hover { background: #3a2d4e; }

.showcase {
  overflow: hidden;
  border: 1px solid #4c3e66;
  border-radius: 14px;
  background: #1b1927;
  box-shadow: 0 24px 55px #05030c69;
}

.showcase video { background: #15131c; aspect-ratio: 1920 / 1084; object-fit: contain; }
.showcase video:focus-visible { outline-offset: -4px; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 11px 16px; font-size: .875rem; }
figcaption span { color: var(--muted); }
.section { margin-bottom: clamp(44px, 6.2vw, 82px); }

.production {
  padding: clamp(20px, 3.3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.production h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.production-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 30px);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.production-steps li { padding-inline-start: 14px; border-inline-start: 2px solid #7765a7; }
.production-steps p, .card-copy p, .start p { margin-top: 8px; color: var(--muted); }

.workflows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  background: #15131d;
}

.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.effect { background: radial-gradient(ellipse, #37204d, #191225 80%); }
.effect img { width: min(88%, 512px); margin-inline: auto; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(16px, 2.5vw, 26px); }
.card-copy p { margin-bottom: 16px; }
.card-copy > .text-link, .card-links { margin-top: auto; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.text-link { color: var(--accent); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: #f0e8ff; }

.start {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 28px;
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid #514068;
  border-radius: 14px;
  background: #20182b;
}

.start > div:first-child { max-width: 35rem; }
.start h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.footer { padding-block: 20px 32px; border-top: 1px solid var(--border); font-size: .9375rem; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; padding-block: 40px; }
  .hero-copy { max-width: 36rem; }
}

@media (max-width: 600px) {
  .production-steps, .workflows { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; padding-block: 12px; }
  nav { flex-wrap: wrap; }
  nav a { padding-block: 4px; }
}
