:root {
  color-scheme: dark;
  --bg: #111013;
  --bg-2: #17151a;
  --paper: #f5f1e8;
  --ink: #f7f3ea;
  --muted: #beb6aa;
  --soft: rgba(247, 243, 234, 0.12);
  --line: rgba(247, 243, 234, 0.18);
  --accent: #ff5d73;
  --accent-2: #ffb229;
  --cyan: #67e4d2;
  --green: #a9c86a;
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --header-h: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 178, 41, 0.07), transparent 28rem),
    radial-gradient(circle at 20% 10%, rgba(255, 93, 115, 0.16), transparent 28rem),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0 28px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.1);
  background: rgba(17, 16, 19, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.hero-notes {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
}

.brand img {
  display: block;
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.header-cta {
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--ink);
}

.header-actions {
  gap: 12px;
}

.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.language-select {
  min-width: 140px;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1c1a1f;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #151316;
  font-size: 14px;
  font-weight: 740;
}

.hero {
  min-height: calc(86svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 44px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 28px;
}

.hero-copy {
  max-width: 640px;
  animation: rise 720ms ease both;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 6vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-subtitle {
  margin: 28px 0 0;
  color: var(--paper);
  font-size: clamp(1.48rem, 3.4vw, 3.15rem);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-body {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 790;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent-2);
  color: #18110a;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: rgba(247, 243, 234, 0.42);
}

.hero-notes {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.hero-notes span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 600px;
  border-left: 1px solid rgba(247, 243, 234, 0.12);
  animation: rise 720ms 120ms ease both;
}

.visual-stage {
  position: absolute;
  width: min(72%, 480px);
  padding: 24px;
  border: 1px solid rgba(247, 243, 234, 0.15);
  background: rgba(23, 21, 26, 0.78);
  box-shadow: 0 28px 68px var(--shadow);
  backdrop-filter: blur(14px);
}

.stage-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.visual-stage p {
  margin: 18px 0 0;
  color: var(--muted);
}

.visual-input {
  top: 0;
  left: 7%;
}

.visual-process {
  top: 202px;
  right: 1%;
}

.visual-output {
  bottom: 92px;
  left: 0;
}

.photo-stack {
  position: relative;
  height: 240px;
}

.photo {
  position: absolute;
  display: block;
  border: 10px solid rgba(245, 241, 232, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.photo-a {
  inset: 26px auto auto 16px;
  width: 190px;
  height: 152px;
  transform: rotate(-9deg);
  background:
    linear-gradient(145deg, rgba(255, 178, 41, 0.74), transparent 45%),
    linear-gradient(180deg, #29454e, #11252b);
}

.photo-b {
  inset: 6px 44px auto auto;
  width: 205px;
  height: 172px;
  transform: rotate(7deg);
  background:
    linear-gradient(140deg, rgba(103, 228, 210, 0.82), transparent 42%),
    linear-gradient(180deg, #733750, #191116);
}

.photo-c {
  inset: 86px 80px auto auto;
  width: 240px;
  height: 138px;
  transform: rotate(-2deg);
  background:
    linear-gradient(90deg, rgba(255, 93, 115, 0.85), transparent 36%),
    linear-gradient(180deg, #2d3542, #111013);
}

.process-lines {
  display: grid;
  gap: 12px;
}

.process-lines span {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.14);
  overflow: hidden;
}

.process-lines span::after {
  content: "";
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.process-lines span:nth-child(2)::after {
  width: 84%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.process-lines span:nth-child(3)::after {
  width: 48%;
}

.process-lines span:nth-child(4)::after {
  width: 72%;
  background: linear-gradient(90deg, var(--green), var(--accent-2));
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.output-grid span {
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.06);
  color: var(--paper);
  font-weight: 820;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(72%, 520px);
  color: rgba(247, 243, 234, 0.62);
  font-size: 13px;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 48px));
  margin: 20px auto 0;
  border-block: 1px solid var(--line);
}

.proof-band p {
  margin: 0;
  padding: 22px 24px;
  color: var(--paper);
  font-weight: 660;
  border-right: 1px solid var(--line);
}

.proof-band p:last-child {
  border-right: 0;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 0;
}

.section-heading {
  max-width: 820px;
}

h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
}

.workflow-step {
  min-height: 280px;
  padding: 30px;
  background: var(--bg-2);
}

.step-number {
  color: var(--accent-2);
  font-weight: 820;
}

h3 {
  margin: 42px 0 12px;
  color: var(--paper);
  font-size: 24px;
  line-height: 1.08;
}

.workflow-step p,
.feature-row p,
.language-section p,
.cta-section p,
.trial-section p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row h3 {
  margin: 0;
}

.format-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.format-cloud span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.05);
  color: var(--paper);
  font-weight: 760;
}

.language-section,
.cta-section,
.trial-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.language-section {
  align-items: start;
}

.language-section p,
.cta-section p,
.trial-section p {
  max-width: 680px;
  margin-top: 18px;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 64px;
  color: rgba(247, 243, 234, 0.62);
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(100% - 32px, var(--max));
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 650px;
    border-left: 0;
  }

  .visual-stage {
    width: min(86%, 460px);
  }

  .proof-band,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .proof-band p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band p:last-child {
    border-bottom: 0;
  }

  .feature-row,
  .language-section,
  .cta-section,
  .trial-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    gap: 10px;
  }

  .brand span {
    font-size: 16px;
  }

  .language-select {
    min-width: 108px;
    max-width: 118px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .proof-band,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(1.42rem, 8.4vw, 2.08rem);
  }

  .hero-body {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 548px;
  }

  .visual-stage {
    padding: 18px;
  }

  .visual-input {
    left: 0;
  }

  .visual-process {
    top: 210px;
  }

  .visual-output {
    bottom: 92px;
  }

  .visual-caption {
    width: 96%;
    font-size: 12px;
  }

  .photo-stack {
    height: 192px;
  }

  .photo-a {
    width: 150px;
    height: 116px;
  }

  .photo-b {
    width: 160px;
    height: 126px;
  }

  .photo-c {
    width: 180px;
    height: 104px;
    right: 42px;
  }

  .section {
    padding-top: 86px;
  }

  .workflow-step {
    min-height: 230px;
    padding: 24px;
  }

  h2 {
    font-size: clamp(2rem, 13vw, 3.45rem);
  }

  h3 {
    font-size: 21px;
  }
}

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