:root {
  --color-bg: #070b3f;
  --color-bg-soft: #0b0f4f;
  --color-surface: #302c9a;
  --color-card: #403bb0;
  --color-text: #ffffff;
  --color-muted: #c7c9e6;
  --color-border: rgba(255, 255, 255, 0.34);
  --color-accent: #d9362e;
  --color-accent-dark: #b92c26;
  --color-warm-orange: #ff8a1a;
  --color-warm-yellow: #ffd35a;
  --font-display: "Space Mono", "IBM Plex Mono", monospace;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-card: 0 28px 50px rgba(0, 0, 35, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 88px;
  padding: 0 clamp(24px, 6vw, 96px);
}

.site-footer strong,
.site-footer nav {
  font-family: var(--font-display);
}

.brand,
.nav-links,
.login-button,
.menu-button,
.section-kicker,
.vertical-label,
.card-number,
.site-footer {
  font-family: var(--font-display);
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: clamp(24px, 5vw, 72px);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a,
.site-footer a {
  opacity: 0.76;
  transition: opacity 200ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  opacity: 1;
}

.login-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  background: transparent;
  color: var(--color-text);
  font-size: 10px;
  text-transform: uppercase;
}

.menu-button {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 76px;
  right: 24px;
  z-index: 40;
  display: none;
  width: min(260px, calc(100vw - 48px));
  border: 1px solid var(--color-border);
  background: rgba(7, 11, 63, 0.96);
  box-shadow: var(--shadow-card);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 100vh;
  padding: 120px clamp(24px, 6vw, 96px) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 32%, rgba(255, 138, 26, 0.2), transparent 23%),
    linear-gradient(180deg, #13146a 0%, #070b3f 72%);
  box-shadow: inset 0 -120px 160px rgba(7, 11, 63, 0.95);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
}

.hero-frame {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(7, 11, 63, 0.68);
  box-shadow: 0 34px 80px rgba(0, 0, 35, 0.48);
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(48, 44, 154, 0.72);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-bar a {
  color: var(--color-warm-yellow);
}

.hero-frame iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(420px, 54vh, 620px);
  border: 0;
  background: transparent;
}

.frame-fallback {
  position: absolute;
  inset: 42px 0 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 211, 90, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(64, 59, 176, 0.82), rgba(7, 11, 63, 0.92));
  color: var(--color-text);
  text-align: center;
}

.frame-fallback strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.frame-fallback span {
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker span {
  color: var(--color-accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 8.75rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 430px;
  margin: 28px 0 30px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.65;
}

.hero-cta,
.red-button,
.catalogue-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 240ms var(--ease-out), background 240ms ease;
}

.hero-cta {
  gap: 12px;
  background: var(--color-text);
  color: var(--color-bg);
}

.hero-cta:hover span {
  transform: translateX(3px);
}

.hero-cta span {
  transition: transform 240ms var(--ease-out);
}

.red-button,
.catalogue-card a {
  width: max-content;
  background: var(--color-accent);
  color: var(--color-text);
}

.red-button:hover,
.catalogue-card a:hover {
  transform: translateY(-2px);
  background: var(--color-accent-dark);
}

.vertical-label {
  position: absolute;
  left: clamp(18px, 3vw, 38px);
  bottom: 96px;
  z-index: 6;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-image-drift 28s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 120px clamp(24px, 6vw, 96px);
  background: var(--color-bg);
}

.section:nth-of-type(odd) {
  background: var(--color-bg-soft);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-rail {
  top: 140px;
  bottom: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.section-heading h2,
.split-layout h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading p:not(.section-kicker),
.split-layout > div:first-child + div p,
.final-cta p,
.gallery-panel p,
.gallery-panel dd,
.catalogue-card p,
.mini-feature-grid p,
.why-grid p,
.process-list p,
.reviews-grid blockquote,
.faq-list p,
.how-grid p {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.65;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.catalogue-card {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: 28px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}

.catalogue-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-warm-orange), var(--color-warm-yellow));
  content: "";
}

.catalogue-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px rgba(0, 0, 35, 0.55);
}

.catalogue-card.is-offset {
  margin-top: 38px;
}

.card-number {
  color: var(--color-text);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.card-number span {
  margin-left: 8px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 400;
}

.catalogue-card h3,
.mini-feature-grid h3,
.why-grid h3,
.process-list h3,
.how-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-illustration {
  align-self: center;
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 11, 63, 0.2);
}

.card-illustration img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.card-illustration {
  position: relative;
}

.gallery-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  border-right: 1px solid var(--color-border);
  background:
    linear-gradient(140deg, rgba(255, 138, 26, 0.78), rgba(64, 59, 176, 0.7) 48%, rgba(7, 11, 63, 0.8)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 32px);
}

.editor-preview-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(520px, 82%);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-card);
}

.gallery-dots {
  position: absolute;
  bottom: 28px;
  left: 32px;
  display: flex;
  gap: 10px;
}

.gallery-dots span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-text);
}

.gallery-dots span:first-child {
  background: var(--color-text);
}

.gallery-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.gallery-panel h3 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-panel dl {
  display: grid;
  gap: 18px;
  margin: 32px 0;
}

.gallery-panel dt {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
}

.gallery-panel dd {
  margin: 0;
}

.mini-feature-grid,
.why-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.18);
}

.mini-feature-grid article,
.why-grid article,
.reviews-grid figure,
.how-grid article {
  margin: 0;
  padding: 30px;
  background: var(--color-bg);
}

.mini-feature-grid article:nth-child(even),
.why-grid article:nth-child(even),
.how-grid article:nth-child(even) {
  background: var(--color-bg-soft);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-strip div {
  padding: 34px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.9;
}

.stat-strip span {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.process-list li {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
  background: var(--color-surface);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
}

.process-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.38;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 211, 90, 0.86), transparent 18%),
    linear-gradient(135deg, rgba(255, 138, 26, 0.52), rgba(7, 11, 63, 0.28)),
    var(--color-card);
}

.process-visual::before {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 86px;
  height: 102px;
  transform: translate(-50%, -50%);
  border-radius: 42px 42px 18px 18px;
  background:
    radial-gradient(circle at 36% 34%, #070b3f 0 5px, transparent 6px),
    radial-gradient(circle at 64% 34%, #070b3f 0 5px, transparent 6px),
    linear-gradient(#ffd35a 0 54%, #ff8a1a 55% 100%);
  content: "";
}

.process-visual::after {
  position: absolute;
  inset: auto 22px 20px;
  height: 8px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.feature-refinement::before {
  border-radius: 50%;
}

.style-application {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.18) 48% 52%, transparent 52%),
    radial-gradient(circle at 72% 28%, rgba(255, 211, 90, 0.92), transparent 18%),
    var(--color-card);
}

.export-use::before {
  border-radius: 20px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.reviews-grid blockquote {
  margin: 0 0 28px;
}

.reviews-grid figcaption {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
}

.faq-list p {
  margin: 0;
  padding: 0 0 24px;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 76vh;
  align-items: center;
  padding: 120px clamp(24px, 6vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 11, 63, 0.9), rgba(7, 11, 63, 0.45)),
    linear-gradient(135deg, #302c9a, #070b3f 64%);
}

.final-cta > div:not(.final-cta-art) {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.final-cta p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 30px;
}

.final-cta-art {
  position: absolute;
  right: -8vw;
  bottom: -10vh;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.75;
  transform: rotate(-8deg);
}

.final-cta-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 40px;
  padding: 44px clamp(24px, 6vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #050831;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

@keyframes float-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes hero-image-drift {
  0%,
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.04) translate3d(10px, -8px, 0);
  }
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-frame {
    width: min(720px, 100%);
  }

  .nav-links {
    gap: 22px;
  }

  .catalogue-grid,
  .mini-feature-grid,
  .why-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-feature,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .gallery-visual {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

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

@media (max-width: 767px) {
  .site-header {
    height: 76px;
  }

  .nav-links,
  .login-button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    align-items: start;
    min-height: 960px;
    padding-top: 132px;
  }

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

  .hero-copy {
    max-width: 300px;
  }

  .hero-frame iframe {
    height: 360px;
  }

  .vertical-label {
    display: none;
  }

  .hero-art img {
    object-position: 58% center;
  }

  .section,
  .final-cta {
    padding: 84px 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalogue-grid,
  .mini-feature-grid,
  .why-grid,
  .reviews-grid,
  .stat-strip,
  .process-list,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-card.is-offset {
    margin-top: 0;
  }

  .gallery-feature,
  .gallery-visual {
    min-height: auto;
  }

  .gallery-visual {
    padding: 48px 0;
  }

  .stat-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stat-strip div:last-child {
    border-bottom: 0;
  }

  .process-list li {
    min-height: 250px;
  }

  .process-list span {
    margin-bottom: 38px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
