body {
  padding: 0;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.frame {
  position: relative;
  overflow: clip;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: 0 28px 88px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: 40px;
  align-items: stretch;
}

.hero-copy {
  padding: 12px 6px 0 6px;
  max-width: 34rem;
}

h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.7rem, 6.2vw, 5.15rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 12.6ch;
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  margin-top: 0.08em;
}

.lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.lede-strong {
  color: var(--text);
}

.cta-row {
  margin-top: 2px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  align-content: end;
  min-height: 100%;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(7, 14, 28, 0.12), rgba(7, 14, 28, 0.36)),
    radial-gradient(circle at top, rgba(96, 178, 255, 0.08), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: saturate(1.04) contrast(1);
}

.hero-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-self: end;
  justify-self: center;
  width: min(100%, 24rem);
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(153, 197, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.62), rgba(8, 14, 28, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.card-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.grid-section {
  margin-top: 48px;
}

.grid-section-heading {
  margin: 0 0 20px;
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.grid > .panel {
  width: auto;
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(138, 198, 255, 0.16);
  background: rgba(10, 18, 35, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: none;
}

.workflow {
  margin-top: 56px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(138, 198, 255, 0.16);
  background: rgba(10, 18, 35, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 20px;
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.workflow-stack {
  display: grid;
  gap: 44px;
}

.workflow-path {
  --workflow-accent: var(--accent);
  --workflow-frame-border: rgba(138, 198, 255, 0.16);
  --workflow-frame-glow: rgba(96, 178, 255, 0.16);
  display: grid;
  gap: 26px;
}

.workflow-path-secondary {
  --workflow-accent: #9fdcff;
  --workflow-frame-border: rgba(159, 220, 255, 0.16);
  --workflow-frame-glow: rgba(159, 220, 255, 0.16);
  gap: 22px;
  padding-top: 10px;
  border-top: 1px solid rgba(138, 198, 255, 0.18);
}

.workflow-path-heading {
  display: grid;
  gap: 8px;
  max-width: 40rem;
}

.workflow-path-heading h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.workflow-pair {
  display: grid;
  gap: 26px;
}

.product-step {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
  min-height: 262px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(138, 198, 255, 0.15);
  background: rgba(8, 14, 28, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 32px rgba(0, 0, 0, 0.14);
}

.product-step-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.product-step-label {
  color: var(--workflow-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-step h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.product-step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.screen-frame {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 176px;
  padding: 14px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--workflow-frame-border);
  background:
    linear-gradient(180deg, rgba(18, 31, 57, 0.78), rgba(8, 14, 26, 0.96)),
    radial-gradient(circle at top, var(--workflow-frame-glow), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 30px rgba(0, 0, 0, 0.12);
  isolation: isolate;
}

.screen-frame::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10%;
  height: 46%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(82, 172, 255, 0.2), transparent 72%);
  filter: blur(22px);
  z-index: 0;
}

.screen-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.grid > .panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.grid > .panel p,
.grid > .panel li,
.grid > .panel strong {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.use-case-note {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-step,
  .workflow-path-secondary .product-step {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  main {
    width: min(100%, calc(100% - 20px));
    padding: 12px 0 28px;
  }

  .frame {
    padding: 18px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .hero-card {
    min-height: 320px;
  }

  .workflow,
  .grid > .panel {
    padding: 18px;
  }
}

@media (orientation: portrait) {
  .hero-card {
    min-height: 480px;
  }
}
