:root {
  color-scheme: light;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  --bg-dark: #07111f;
  --bg-dark-strong: #030811;
  --bg-light: #f5f8fc;
  --bg-panel: rgba(255, 255, 255, 0.94);
  --bg-panel-soft: rgba(255, 255, 255, 0.84);
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-soft: #64748b;
  --text-light: #edf4ff;
  --line: rgba(15, 23, 42, 0.12);
  --line-soft: rgba(148, 163, 184, 0.22);
  --brand: #2dd4bf;
  --brand-strong: #0f766e;
  --accent: #38bdf8;
  --warning: #f97316;
  --warning-soft: #c9732b;
  --brand-muted: #22b3a1;
  --brand-deep: #115e59;
  --danger: #ef4444;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 28px 80px rgba(2, 8, 23, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    radial-gradient(
      circle at 10% 12%,
      rgba(45, 212, 191, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 4%,
      rgba(56, 189, 248, 0.12),
      transparent 20%
    ),
    linear-gradient(
      180deg,
      #07111f 0%,
      #0a1831 14%,
      #10233f 24%,
      #1f3a5a 34%,
      #3f5c79 43%,
      #6f879f 52%,
      #9fb1c3 61%,
      #c8d5e2 71%,
      #e6eef6 81%,
      #f4f8fd 91%,
      #f8fbff 100%
    );
  background-size:
    120px 120px,
    120px 120px,
    auto,
    auto,
    auto;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.mkt-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.mkt-header {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2rem));
  z-index: 80;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.12);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mkt-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 18px 38px rgba(2, 8, 23, 0.14);
}

.mkt-header-inner {
  min-height: 74px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-shell {
  padding-top: 6.4rem;
}

.mkt-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.korieo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.korieo-brand-mark {
  width: auto;
  height: 42px;
  flex: 0 0 auto;
}

.korieo-brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
}

.korieo-brand-name {
  color: var(--text-dark);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.korieo-brand-subtitle {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-body);
}

.mkt-nav-links a:hover,
.mkt-link-muted:hover {
  color: var(--text-dark);
}

.mkt-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mkt-link-muted {
  color: var(--text-body);
  font-weight: 700;
}

.cta-small,
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.cta-small,
.cta-primary {
  color: #f8fffd;
  background: linear-gradient(
    135deg,
    var(--brand-muted) 0%,
    var(--brand-deep) 100%
  );
  box-shadow: 0 16px 30px rgba(17, 94, 89, 0.24);
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.mkt-btn:hover {
  transform: translateY(-1px);
}

.mkt-btn-primary {
  color: #f8fffd;
  background: linear-gradient(
    135deg,
    var(--brand-muted) 0%,
    var(--brand-deep) 100%
  );
  box-shadow: 0 16px 30px rgba(17, 94, 89, 0.24);
}

/* Legacy marketing header compatibility */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.top-nav.is-scrolled {
  background: rgba(7, 17, 31, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 38px rgba(2, 8, 23, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-icon {
  width: auto;
  height: 42px;
  flex: 0 0 auto;
}

.brand-wordmark {
  color: var(--text-light);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link,
.nav-text-link {
  color: rgba(237, 244, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-text-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.cta-secondary {
  color: #fff8f1;
  border-color: rgba(201, 115, 43, 0.34);
  background: linear-gradient(
    135deg,
    rgba(201, 115, 43, 0.22) 0%,
    rgba(125, 71, 24, 0.2) 100%
  );
}

.cta-small:hover,
.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-1px);
}

.cta-secondary:hover {
  border-color: rgba(201, 115, 43, 0.5);
  background: linear-gradient(
    135deg,
    rgba(201, 115, 43, 0.3) 0%,
    rgba(125, 71, 24, 0.26) 100%
  );
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 1.8rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero-copy {
  color: var(--text-light);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: #8cefe3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
section h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.55rem, 4.9vw, 4.35rem);
  line-height: 0.95;
}

.hero-subtitle,
.hero-support,
.section-heading p,
.problem-card p,
.stage-card p,
.feature-card p,
.step-card p,
.audience-card p,
.integration-card p,
.preview-callout p,
.proof-card p,
.final-cta p,
.compare-closing {
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: rgba(237, 244, 255, 0.92);
  font-size: 1.15rem;
}

.hero-support {
  margin: 0;
  color: rgba(237, 244, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.trust-list,
.compare-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.trust-list {
  display: grid;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  font-weight: 700;
}

.trust-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.14);
}

.hero-visual {
  position: relative;
}

.browser-frame,
.preview-window {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  background: rgba(8, 15, 31, 0.84);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.browser-bar,
.preview-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.browser-bar span,
.preview-window-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.browser-body,
.preview-canvas {
  padding: 1.25rem;
}

.mockup-panel {
  display: grid;
  gap: 1rem;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-light);
}

.lifecycle-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lifecycle-node {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lifecycle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text-light);
}

.lifecycle-node > span {
  color: rgba(237, 244, 255, 0.72);
  font-size: 0.88rem;
}

.mini-badge,
.mini-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-badge {
  color: #042032;
  background: linear-gradient(135deg, #8cefe3 0%, #93c5fd 100%);
}

.mini-label {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.18);
}

.lifecycle-arrow {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #2dd4bf 0%, #38bdf8 100%);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mockup-grid article,
.preview-pane {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--text-light);
}

.mockup-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #8cefe3;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-block {
  padding: 4rem 0;
}

main {
  --marketing-card-stack-gap: 1rem;
}

main > .section-block + .section-block {
  margin-top: var(--marketing-card-stack-gap);
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  display: grid;
  gap: 0.85rem;
}

.blog-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-panel-soft);
}

.blog-link {
  display: block;
  color: var(--text-dark);
}

.post-surface {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(244, 248, 252, 0.96) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.12);
}

.post-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.65rem;
}

.post-body {
  margin-top: 1.4rem;
  color: var(--text-body);
  font-size: 1.03rem;
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body h2,
.post-body h3 {
  margin: 1.35rem 0 0.55rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.post-body h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}

.post-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #0f766e;
}

.post-body h4 {
  margin: 1rem 0 0.35rem;
  color: #1e293b;
  font-size: 1.02rem;
}

.post-body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-body);
  display: grid;
  gap: 0.35rem;
}

.post-body li {
  line-height: 1.6;
}

.post-body p,
.post-body li {
  color: var(--text-body);
}

.post-body a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(17, 94, 89, 0.28);
  text-underline-offset: 0.15em;
}

.related-posts {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.related-posts h3 {
  margin: 0 0 0.75rem;
  color: var(--text-dark);
}

.related-posts a {
  color: var(--brand-strong);
  font-weight: 700;
}

.muted {
  color: var(--text-soft);
}

.blog-grid {
  display: grid;
  gap: 1rem;
}

.blog-card,
.featured-post,
.related-card,
.sticky-cta,
.tag-filter-bar {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.blog-card {
  padding: 1rem;
}

.blog-card-link {
  display: grid;
  gap: 0.35rem;
  color: var(--text-dark);
}

.blog-card h3,
.featured-copy h2,
.related-card h4 {
  margin: 0;
  color: var(--text-dark);
}

.blog-tag,
.read-time {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.featured-post {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.featured-copy {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.tag-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.7rem;
}

.tag-filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: var(--bg-panel-soft);
  color: var(--text-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tag-filter-bar button.active {
  background: linear-gradient(
    135deg,
    var(--brand-muted) 0%,
    var(--brand-deep) 100%
  );
  color: #f8fbff;
  border-color: transparent;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.related-card {
  padding: 0.9rem;
}

.related-card a {
  display: grid;
  gap: 0.35rem;
  color: var(--text-dark);
}

.sticky-cta {
  display: flex;
  justify-content: center;
  padding: 0.9rem;
  position: sticky;
  bottom: 1rem;
}

.post-cta {
  margin-top: 1.2rem;
}

#problems {
  position: relative;
}

#problems::before {
  content: "";
  position: absolute;
  inset: 0.8rem -0.5rem;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 249, 0.98) 0%,
    rgba(255, 245, 238, 0.96) 100%
  );
  border: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

#problems .section-heading h2 {
  color: #08111f;
}

#problems .section-heading p:not(.section-closing) {
  color: #475569;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1rem;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(241, 245, 249, 0.92) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.12);
}

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

.page-title-surface,
.title-surface {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(244, 248, 252, 0.96) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.12);
}

.section-heading h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.98;
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  color: var(--text-dark);
}

.section-block .eyebrow {
  color: var(--brand-strong);
}

.section-block .hero-subtitle {
  color: var(--text-soft);
}

.section-hero .eyebrow,
.final-cta .eyebrow {
  color: #8cefe3;
}

section h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  color: var(--text-dark);
}

.section-heading p {
  color: var(--text-soft);
}

.section-closing {
  color: var(--brand-strong) !important;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 1rem;
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.stage-card,
.feature-card,
.step-card,
.audience-card,
.integration-card,
.preview-callout,
.compare-card,
.proof-card {
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.problem-card {
  border-color: rgba(249, 115, 22, 0.2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 247, 237, 0.96) 100%
  );
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-icon {
  background: rgba(45, 212, 191, 0.12);
  color: var(--brand-strong);
}

.problem-card h3,
.stage-card strong,
.feature-card h3,
.step-card h3,
.audience-card h3,
.integration-card h3,
.preview-callout strong,
.footer-column h3 {
  color: var(--text-dark);
}

.problem-card p,
.stage-card p,
.feature-card p,
.step-card p,
.audience-card p,
.integration-card p,
.preview-callout p,
.proof-card p {
  margin: 0.55rem 0 0;
  color: var(--text-body);
}

.solution-layout,
.split-layout,
.preview-layout,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.stage-flow,
.integration-grid,
.preview-callouts {
  display: grid;
  gap: 0.9rem;
}

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

.stage-card {
  position: relative;
  min-height: 150px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(240, 249, 255, 0.98) 100%
  );
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1rem;
  height: 2px;
  background: linear-gradient(90deg, #2dd4bf 0%, #38bdf8 100%);
}

.feature-card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.14);
}

.inline-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: #0f766e;
  font-weight: 800;
}

.timeline-line {
  height: 2px;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    rgba(45, 212, 191, 0.08) 0%,
    rgba(45, 212, 191, 0.58) 30%,
    rgba(56, 189, 248, 0.6) 70%,
    rgba(56, 189, 248, 0.08) 100%
  );
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #0f766e;
  font-size: 1.15rem;
  font-weight: 900;
}

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

.integration-card {
  background: var(--bg-panel-soft);
}

.integration-card-active {
  background: linear-gradient(135deg, #07111f 0%, #12304b 100%);
  border-color: rgba(45, 212, 191, 0.18);
}

.integration-card-active h3,
.integration-card-active p {
  color: var(--text-light);
}

.preview-surface {
  align-self: start;
}

.preview-canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  min-height: 320px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #0a1831 0%, #10233f 100%);
  background-size:
    36px 36px,
    36px 36px,
    auto;
}

.preview-pane {
  display: flex;
  align-items: end;
  min-height: 118px;
  font-weight: 800;
}

.preview-pane-github {
  border-color: rgba(45, 212, 191, 0.28);
}

.preview-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
}

.preview-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  color: #04111d;
  font-weight: 900;
}

.compare-card {
  background: rgba(255, 255, 255, 0.92);
}

.compare-card-strong {
  background: linear-gradient(135deg, #07111f 0%, #0f2540 100%);
  border-color: rgba(45, 212, 191, 0.18);
}

.compare-card-strong,
.compare-card-strong .mini-label,
.compare-card-strong .compare-item span,
.compare-card-strong .compare-closing {
  color: var(--text-light);
}

.compare-list {
  display: grid;
  gap: 0.8rem;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 700;
}

.compare-minus,
.compare-check {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.compare-minus {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.compare-check {
  background: rgba(45, 212, 191, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.proof-card {
  text-align: center;
}

.final-cta {
  padding: 2.8rem 1.8rem;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.18), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #112947 52%, #163a52 100%);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--text-light);
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line-soft);
}

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

.footer-column {
  display: grid;
  gap: 0.6rem;
}

.footer-link {
  color: var(--text-body);
  font-weight: 700;
}

.footer-tagline {
  margin: 2rem 0 0;
  color: var(--text-dark);
  font-weight: 900;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero,
  .solution-layout,
  .split-layout,
  .preview-layout,
  .compare-grid,
  .four-col,
  .three-col {
    grid-template-columns: 1fr 1fr;
  }

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

  .stage-flow,
  .integration-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .page-shell {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .mkt-shell {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .mkt-nav-links {
    display: none;
  }

  .top-nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-cluster {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    min-height: 14rem;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
  }

  .nav-cluster.is-open {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .nav-text-link {
    order: 2;
  }

  .solution-layout,
  .split-layout,
  .compare-grid,
  .footer-grid,
  .four-col,
  .three-col,
  .mockup-grid,
  .preview-canvas {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.9rem);
    max-width: 12ch;
  }

  .browser-body,
  .preview-canvas {
    padding: 1rem;
  }

  .section-alt::before {
    inset: 0.6rem -0.2rem;
  }

  #problems::before {
    inset: 0.6rem -0.2rem;
  }
}

@media (max-width: 560px) {
  .mkt-actions .mkt-link-muted {
    display: none;
  }

  .korieo-brand-name {
    font-size: 1rem;
  }

  .korieo-brand-mark {
    height: 38px;
  }

  .korieo-brand-subtitle {
    font-size: 0.68rem;
  }

  .brand-wordmark {
    font-size: 1rem;
  }

  .brand-icon {
    height: 38px;
  }

  .section-block {
    padding: 3.2rem 0;
  }

  .browser-frame,
  .preview-window,
  .final-cta {
    border-radius: 24px;
  }
}
