@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400&family=Plus+Jakarta+Sans:wght@400;500&display=swap");

:root {
  --bg: #faf8f5;
  --bg-alt: #f0ede8;
  --bg-parchment: #e8e4dd;
  --surface: #ffffff;
  --primary: #1b3d2f;
  --primary-muted: #4a6358;
  --accent: #c67b5c;
  --accent-hover: #b36a4d;
  --text-headline: #2c2c2c;
  --text-body: #2c2c2c;
  --text-secondary: #6b6560;
  --text-muted: #9a9590;
  --border: #e8e4dd;
  --shadow-card: 0 2px 8px rgba(44, 44, 44, 0.04), 0 8px 24px rgba(44, 44, 44, 0.06);
  --shadow-hover: 0 4px 12px rgba(44, 44, 44, 0.06), 0 16px 32px rgba(44, 44, 44, 0.08);
  --max-width: 1200px;
  --section-padding-v: 160px;
  --card-padding: 32px;
  --card-radius: 2px;
  --margin-desktop: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-body);
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.005em;
  font-weight: 400;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.concept-page {
  background: var(--bg);
}

.container {
  width: min(calc(100% - (var(--margin-desktop) * 2)), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: var(--section-padding-v) 0;
}

.section.alt {
  background: var(--bg-alt);
}

.overline {
  margin: 0 0 20px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
}

.overline.center {
  text-align: center;
}

.h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--text-headline);
}

.body-lg {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 16px 32px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: #2a4f3f;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  padding: 18px 36px;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

/* NAV */
.feature-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.feature-nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(calc(100% - 80px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-headline);
}

.nav-link.active {
  color: var(--text-headline);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  border-bottom: 1px solid var(--text-headline);
}

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile-panel {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  display: grid;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.nav-mobile-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-panel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* HERO */
.feature-hero {
  margin-top: 80px;
  background: linear-gradient(180deg, #faf8f5 0%, #f0ede8 100%);
  padding: 128px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 80px;
  align-items: center;
}

.hero-title {
  margin: 0 0 24px;
  max-width: 680px;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.015em;
  font-weight: 300;
  color: var(--text-headline);
}

.hero-subhead {
  margin: 0 0 40px;
  max-width: 520px;
  font-size: 19px;
  line-height: 30px;
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-fine-print {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
}

.hero-mockup-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: heroMockupIn 0.7s ease-out 0.3s forwards;
}

.hero-mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
}

.mockup-title {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-headline);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #eef3f0;
  border: 1px solid #d7e3dc;
  color: var(--primary);
}

.hero-mockup-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mockup-tile {
  background: #faf8f5;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 8px;
  box-shadow: 0 1px 4px rgba(44, 44, 44, 0.05);
}

.mockup-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: linear-gradient(135deg, #ebe5dc 0%, #dcd4c7 100%);
}

.mockup-photo.alt-1 {
  background: linear-gradient(135deg, #e7dfd1 0%, #d8cebf 100%);
}

.mockup-photo.alt-2 {
  background: linear-gradient(135deg, #efe9df 0%, #e1d6c6 100%);
}

.mockup-photo.alt-3 {
  background: linear-gradient(135deg, #f0ebe2 0%, #d4c8b6 100%);
}

.mockup-photo.alt-4 {
  background: linear-gradient(135deg, #e3ddd3 0%, #d7cebe 100%);
}

.mockup-photo.alt-5 {
  background: linear-gradient(135deg, #ede8de 0%, #d6cbb8 100%);
}

.mockup-label {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
}

.hero-mockup-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #faf8f5;
}

.mockup-meta {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

.mockup-progress {
  height: 6px;
  background: #e8e4dd;
  border-radius: 2px;
  overflow: hidden;
}

.mockup-progress > span {
  display: block;
  width: 54%;
  height: 100%;
  background: var(--primary);
}

/* BENEFITS BAR */
.benefits-bar {
  background: var(--bg-alt);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-item {
  text-align: center;
  padding: 8px 20px;
  position: relative;
}

.benefit-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  border-left: 1px solid var(--border);
}

.benefit-number {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 56px;
  line-height: 64px;
  font-weight: 300;
  color: var(--primary);
}

.benefit-label {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* PROBLEM */
.problem-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.problem-intro .h2 {
  margin-bottom: 24px;
}

.problem-intro .body-lg {
  max-width: 680px;
  margin: 0 auto 48px;
}

.problem-flow-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.problem-flow-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 24px;
  align-items: stretch;
}

.flow-lane {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px;
  background: #fcfbf8;
}

.flow-lane.connected-lane {
  background: #f8faf9;
  border-color: #d6e0da;
}

.flow-side-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.flow-stack {
  display: grid;
  gap: 10px;
}

.flow-stack.connected {
  position: relative;
  padding-left: 18px;
}

.flow-stack.connected::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--primary);
  opacity: 0.3;
}

.flow-node {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px;
  background: #ffffff;
}

.flow-node.disconnected {
  background: #fdfcf9;
  border-color: #e3ddd4;
}

.flow-node.connected {
  position: relative;
  border-color: #d0ddd6;
  background: #ffffff;
}

.flow-node.connected::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px #f8faf9;
}

.flow-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.flow-node-title {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-headline);
  font-weight: 500;
}

.flow-node-meta {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.flow-tag.muted {
  color: #7f7771;
  background: #f0ece6;
}

.flow-tag.success {
  color: var(--primary);
  background: #eaf0ed;
}

.handoff-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.handoff-line {
  flex: 1;
  border-top: 1px dashed #b7afa8;
}

.handoff-label {
  font-size: 11px;
  line-height: 16px;
  color: #8b847f;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.flow-arrow {
  color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.flow-arrow-label {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
}

/* HOW IT WORKS */
.how-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.how-intro .h2 {
  margin-bottom: 16px;
}

.how-intro .body-lg {
  max-width: 560px;
  margin: 0 auto 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-hover);
}

.step-num {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 300;
  color: var(--primary-muted);
  opacity: 0.3;
}

.step-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--text-headline);
}

.step-body {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}

/* DEEP DIVE */
.deep-dive-block {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
}

.deep-dive-block + .deep-dive-block {
  margin-top: 80px;
}

.deep-dive-block.reverse {
  grid-template-columns: 55% 45%;
}

.deep-dive-text .overline {
  color: var(--primary);
  margin-bottom: 12px;
}

.deep-dive-title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 36px;
  font-weight: 500;
  color: var(--text-headline);
}

.deep-dive-copy {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 26px;
  color: var(--text-secondary);
}

.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}

.capability-list svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--primary);
  flex-shrink: 0;
}

.deep-mockup {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  border: 1px solid #f1ede6;
  overflow: hidden;
}

.deep-mockup-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
  background: #fcfbf8;
}

.deep-mockup-body {
  padding: 20px;
}

/* Import mock */
.import-drop-zone {
  border: 1px dashed #b9c5be;
  background: #f8faf9;
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}

.import-file {
  width: min(320px, 100%);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px;
  text-align: left;
}

.import-file-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.import-file-name {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-headline);
  font-weight: 500;
}

.import-badge {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.06em;
  color: var(--primary);
  text-transform: uppercase;
}

.import-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.import-bar > span {
  display: block;
  width: 80%;
  height: 100%;
  background: var(--primary);
}

.import-meta {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
}

/* Arrangement mock */
.arrange-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.arrange-tile {
  position: relative;
  background: #f8f5f1;
  border: 1px solid var(--border);
  border-radius: 2px;
  min-height: 110px;
}

.arrange-tile::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #e8e0d2 0%, #d6cab8 100%);
}

.arrange-tile.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--primary);
  border-radius: 2px;
}

.drag-ghost {
  margin-top: 14px;
  width: 70%;
  min-height: 54px;
  border: 1px dashed #9db0a5;
  background: rgba(27, 61, 47, 0.06);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary);
}

/* Connection mock */
.connection-wrap {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 12px;
  align-items: center;
}

.connection-item {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px;
  background: #faf8f5;
}

.connection-item h4 {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-headline);
  font-weight: 500;
}

.connection-item p {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
}

.approved-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 2px;
  background: #eef3f0;
  color: var(--primary);
  font-size: 11px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.connection-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* USE CASE */
.use-case {
  position: relative;
  background: var(--primary);
  color: var(--bg);
  padding: 128px 0;
  overflow: hidden;
}

.use-case::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 25% 20%, #ffffff 1px, transparent 1.2px), radial-gradient(circle at 75% 75%, #ffffff 1px, transparent 1.2px);
  background-size: 12px 12px, 14px 14px;
  pointer-events: none;
}

.use-case .container {
  position: relative;
  z-index: 1;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
}

.use-case .overline {
  color: rgba(250, 248, 245, 0.5);
}

.use-case .h2 {
  margin-bottom: 24px;
  font-size: 36px;
  line-height: 44px;
  color: var(--bg);
}

.use-case-copy {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 28px;
  color: rgba(250, 248, 245, 0.85);
}

.use-case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.use-case-stat-number {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 300;
  color: var(--bg);
}

.use-case-stat-label {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: rgba(250, 248, 245, 0.6);
}

.use-case-mockup {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.use-tabs {
  display: flex;
  gap: 0;
  overflow: auto;
  border-bottom: 1px solid var(--border);
  background: #fcfbf8;
}

.use-tab {
  padding: 12px 14px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.use-tab.active {
  color: var(--primary);
  background: #f5f8f6;
  font-weight: 500;
}

.use-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.use-item {
  position: relative;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #e8e0d2 0%, #d5c8b5 100%);
  min-height: 90px;
}

.use-item.approved::after {
  content: "Approved";
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--primary);
  padding: 2px 6px;
  border-radius: 2px;
}

/* RELATED FEATURES */
.related-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.related-intro .h2 {
  margin-bottom: 16px;
}

.related-intro .body-lg {
  max-width: 560px;
  margin: 0 auto 64px;
}

.related-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.related-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-card);
  padding: var(--card-padding);
  transition: box-shadow 0.4s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-hover);
}

.related-badge {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}

.related-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 30px;
  color: var(--text-headline);
  font-weight: 500;
}

.related-copy {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}

.related-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.related-link:hover {
  color: var(--primary-muted);
}

/* FINAL CTA */
.final-cta {
  background: var(--bg);
  padding: 128px 0;
}

.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-inner .h2 {
  margin-bottom: 24px;
}

.final-cta-inner .body-lg {
  max-width: 620px;
  margin: 0 auto 48px;
}

.final-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.final-cta-fine {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
}

/* FOOTER */
.feature-footer {
  background: var(--primary);
  color: var(--bg);
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--bg);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.footer-tagline {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(250, 248, 245, 0.6);
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bg);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0 0 10px;
}

.footer-links a {
  color: rgba(250, 248, 245, 0.65);
  font-size: 14px;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 248, 245, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-copy,
.footer-bottom-links {
  font-size: 13px;
  line-height: 20px;
  color: rgba(250, 248, 245, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--bg);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

@keyframes heroMockupIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  :root {
    --margin-desktop: 64px;
    --section-padding-v: 96px;
  }

  .hero-title {
    font-size: 54px;
    line-height: 62px;
  }

  .hero-grid,
  .deep-dive-block,
  .deep-dive-block.reverse,
  .use-case-grid {
    gap: 52px;
  }
}

@media (max-width: 1024px) {
  :root {
    --margin-desktop: 40px;
  }

  .nav-inner {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .nav-center {
    gap: 24px;
  }

  .hero-grid,
  .deep-dive-block,
  .deep-dive-block.reverse,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

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

  .benefit-item:not(:first-child)::before {
    display: none;
  }

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

  .flow-stack.connected {
    padding-left: 0;
  }

  .flow-stack.connected::before,
  .flow-node.connected::before {
    display: none;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .flow-arrow-label {
    transform: rotate(180deg);
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --margin-desktop: 20px;
    --section-padding-v: 64px;
  }

  .nav-inner {
    width: calc(100% - 40px);
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-center,
  .nav-cta-wrap {
    display: none;
  }

  .nav-mobile-toggle {
    display: inline-flex;
  }

  .feature-hero {
    padding: 96px 0 64px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-subhead {
    font-size: 17px;
    line-height: 28px;
  }

  .h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .body-lg {
    font-size: 17px;
    line-height: 27px;
  }

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

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

  .connection-arrow {
    transform: rotate(90deg);
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .btn,
  .nav-link,
  .nav-mobile-panel,
  .step-card,
  .related-card,
  .reveal,
  .hero-mockup-card {
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .hero-mockup-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
