:root {
  --bg: #f8f3ea;
  --bg-alt: #efe6d9;
  --paper: #fffdf8;
  --ink: #16212c;
  --ink-soft: #4b5b68;
  --line: #d7c9b6;
  --brand: #1b6fa0;
  --brand-deep: #114f74;
  --accent: #cd5f35;
  --accent-soft: #fdeee5;
  --success: #2f7e5d;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 8px 24px rgba(36, 24, 10, 0.08);
  --shadow-lg: 0 24px 60px rgba(36, 24, 10, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(64% 54% at 100% -8%, rgba(27, 111, 160, 0.14), transparent 72%),
    radial-gradient(58% 42% at -10% 12%, rgba(205, 95, 53, 0.11), transparent 75%),
    repeating-linear-gradient(0deg, rgba(22, 33, 44, 0.014) 0 1px, transparent 1px 40px),
    linear-gradient(180deg, #fbf8f2 0%, #f4ede2 58%, #efe6d8 100%);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", "Georgia", serif;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(248, 243, 234, 0.94);
  border-bottom: 1px solid rgba(111, 91, 67, 0.2);
  backdrop-filter: blur(10px);
}

.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cab7a0;
  background: #fff9f1;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 700;
}

.nav a,
.nav button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 10px 9px;
  margin: 0 4px;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after,
.nav button::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav a:hover,
.nav button:hover {
  color: var(--ink);
}

.nav a:hover::after,
.nav button:hover::after,
.nav a[aria-current="page"]::after,
.nav button[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"],
.nav button[aria-current="page"] {
  color: var(--ink);
}

.dropdown {
  position: relative;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  min-width: 322px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #c9b8a3;
  border-radius: 14px;
  background: #fffcf7;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #f0ae8f 100%);
  border-radius: 999px;
}

.dropdown-menu a {
  display: block;
  border-radius: 9px;
  color: #47505a;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
}

.dropdown-menu a:hover {
  background: var(--accent-soft);
  color: #7f3419;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown.open > button {
  color: var(--ink);
}

.dropdown.open > button::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

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

.btn-primary {
  background: linear-gradient(138deg, var(--brand) 0%, #2f88ba 100%);
  color: #ffffff;
  border-color: #0f4a6c;
  box-shadow: 0 10px 22px rgba(27, 111, 160, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 14px 24px rgba(27, 111, 160, 0.36);
}

.btn-ghost {
  background: #fffaf2;
  color: #34414f;
  border-color: #cdbca7;
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: #bca78f;
}

.hero {
  padding: 72px 0 92px;
}

.hero-centered {
  padding: 80px 0 72px;
  text-align: center;
}

.hero-copy-centered {
  max-width: 720px;
  margin: 0 auto;
}

.hero-copy-centered h1 {
  max-width: none;
}

.hero-copy-centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-centered {
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c8b39b;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 18px;
  background: #fff7ee;
  color: #7f3a20;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-slogan {
  margin: 2px 0 12px;
  color: #7a3b22;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(45px, 6vw, 84px);
  max-width: 12ch;
  color: var(--ink);
}

.hero-copy p {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5c6b4;
  border-radius: 999px;
  background: #fffdf8;
  color: #4b5b68;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
}

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

.kpi {
  border: 1px solid #d9cab9;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f1e6 100%);
  padding: 11px 12px;
}

.kpi-label {
  color: #6b7885;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-value {
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  border: 1px solid #cab9a3;
  border-radius: 36px 10px 36px 10px;
  overflow: hidden;
  background: radial-gradient(80% 65% at 12% 0%, rgba(255, 255, 255, 0.08), transparent 72%), #102337;
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  left: 12px;
  top: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  pointer-events: none;
}

.hero-media img,
.mock-shot img {
  width: 100%;
  display: block;
  height: auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.82) 0%, rgba(244, 235, 220, 0.78) 100%);
  border-top: 1px solid rgba(196, 176, 153, 0.55);
  border-bottom: 1px solid rgba(196, 176, 153, 0.55);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  color: var(--ink);
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  position: relative;
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffefa 0%, #fbf5ea 100%);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand) 0%, #5aa4cd 100%);
}

.card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(27, 111, 160, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--ink);
}

.card p {
  color: #445362;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 6px;
  color: #42505f;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8c8b3;
  border-radius: 999px;
  background: #fff7ec;
  color: #86432a;
  padding: 5px 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.timeline {
  display: grid;
  gap: 10px;
}

.tl-row {
  border: 1px solid #d7c8b5;
  border-radius: var(--radius-md);
  background: #fffcf7;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(36, 24, 10, 0.05);
}

.tl-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--brand) 0%, #2f89bb 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.tl-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.price {
  margin-top: 8px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
}

.price small {
  font-size: 14px;
  color: #61707d;
  font-weight: 600;
}

.highlight-card {
  border-color: #e4b59c;
  box-shadow: 0 16px 34px rgba(205, 95, 53, 0.2);
}

.highlight-card::before {
  background: linear-gradient(180deg, var(--accent) 0%, #eba484 100%);
}

.muted {
  color: #6a7782;
}

.cta-band {
  border: 1px solid #0f4e72;
  border-radius: 30px;
  background: linear-gradient(140deg, #114f74 0%, #1e6e99 46%, #2f85b2 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 30px;
}

.cta-band p {
  margin-top: 10px;
  color: #d4ecf8;
}

.cta-band .btn-primary {
  background: linear-gradient(138deg, var(--accent) 0%, #ea916c 100%);
  border-color: #9b3f22;
  box-shadow: 0 10px 22px rgba(45, 15, 4, 0.24);
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.accordion {
  border: 1px solid #d7c8b4;
  border-radius: 18px;
  overflow: hidden;
  background: #fffcf6;
}

.acc-item + .acc-item {
  border-top: 1px solid #e2d5c4;
}

.acc-trigger {
  width: 100%;
  border: 0;
  text-align: left;
  background: transparent;
  color: var(--ink);
  padding: 17px 19px;
  font: inherit;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.acc-trigger span:last-child {
  color: var(--accent);
  font-size: 22px;
  transition: transform 0.2s var(--ease);
}

.acc-panel {
  display: none;
  color: #425261;
  padding: 0 19px 16px;
}

.acc-item.open .acc-panel {
  display: block;
}

.acc-item.open .acc-trigger span:last-child {
  transform: rotate(45deg);
}

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

.doc-card {
  position: relative;
  border: 1px solid #d8cab8;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffefa 0%, #faf2e7 100%);
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.doc-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.doc-card h4 {
  font-size: clamp(24px, 3vw, 31px);
  color: var(--ink);
}

.doc-card p {
  color: #435260;
  font-size: 15px;
}

.mock-shot {
  border: 1px solid #cdbba6;
  border-radius: 14px;
  overflow: hidden;
  background: #fffdf8;
}

.doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #677785;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  border: 1px solid #d6c6b1;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff8ee;
  color: #7a3b22;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-title {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 70px);
  max-width: 16ch;
  color: var(--ink);
}

.page-intro {
  margin-top: 16px;
  max-width: 75ch;
  color: var(--ink-soft);
  font-size: 18px;
}

.blog-meta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-meta-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6c6b1;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fffaf2;
  color: #5d6d7d;
  font-size: 12px;
  font-weight: 700;
}

.blog-hero,
.blog-image {
  margin: 0;
  border: 1px solid #cab9a3;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.blog-hero img,
.blog-image img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-stack {
  display: grid;
  gap: 16px;
}

.blog-card {
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffefa 0%, #fbf5ea 100%);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.blog-card h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
}

.blog-card p {
  color: #425261;
}

.blog-card ul,
.blog-card ol {
  margin: 12px 0 0;
  padding-left: 18px;
}

.blog-card li {
  margin-bottom: 8px;
  color: #425261;
}

/* .formula-box {
  border: 1px solid #b7d0e8;
  border-radius: 14px;
  background: #f7fbff;
  padding: 14px;
  margin-top: 10px;
}

.formula-box pre {
  margin: 0;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #1f3046;
} */

/* Formula Steps (Option C) */
.formula-steps {
  margin-top: 10px;
}
.formula-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.formula-step:last-child {
  margin-bottom: 0;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #1f3046;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.step-content {
  flex: 1;
}
.step-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a9ab5;
  margin-bottom: 4px;
  font-family: 'Manrope', sans-serif;
}
.step-formula {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1f3046;
  margin-bottom: 4px;
}
.step-explain {
  font-size: 13px;
  color: #6b7d93;
  line-height: 1.5;
  font-family: 'Manrope', sans-serif;
}

.path-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid #d8c8b3;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff8ef;
  color: #6a3a25;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 12px;
  margin-bottom: 12px;
}

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

.blog-index-grid .card h3 {
  font-size: clamp(28px, 3.6vw, 42px);
}

/* Flow Pipeline */

.section-head-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.flow-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1.4fr;
  gap: 0;
  align-items: stretch;
}

.flow-phase {
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffefa 0%, #fbf5ea 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(140deg, #114f74 0%, #1e6e99 100%);
  color: #ffffff;
}

.phase-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.phase-header h3 {
  font-size: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.phase-features {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.feature-item {
  padding: 12px 14px;
  border: 1px solid #e4d8c8;
  border-radius: var(--radius-sm);
  background: #fffdf8;
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--brand);
}

.flow-arrow svg {
  width: 28px;
  height: 28px;
}

/* Flow pipeline mobile */
@media (max-width: 1120px) {
  .flow-pipeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

/* Integrations Card */

.card-full-width {
  grid-column: 1 / -1;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.integration-item {
  padding: 14px 16px;
  border: 1px solid #e4d8c8;
  border-radius: var(--radius-sm);
  background: #fffdf8;
}

.integration-item strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink);
}

.integration-item p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.integration-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-live {
  background: #e6f4ed;
  color: #1e6b45;
  border: 1px solid #b4ddc8;
}

.status-pending {
  background: #fff4e5;
  color: #8a5a1e;
  border: 1px solid #e8d0a8;
}

.integration-request {
  border-style: dashed;
  border-color: #c8b9a3;
  background: #faf6ef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.integration-request:hover {
  border-color: var(--brand);
  background: #f0f7fb;
}

.integration-request a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.integration-request strong {
  color: var(--brand);
}

.integration-request:hover strong {
  color: var(--brand-deep);
}

@media (max-width: 1120px) {
  .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Steps Grid (How It Works - 3 steps) */

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

.step-card {
  text-align: center;
  padding: 28px 22px;
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffefa 0%, #fbf5ea 100%);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand) 0%, #2f89bb 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Checkmark Grid */

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: #fffcf7;
  overflow: hidden;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #e8ddd0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.check-item:nth-child(3n+1),
.check-item:nth-child(3n+2) {
  border-right: 1px solid #e8ddd0;
}

.check-item:nth-last-child(-n+3) {
  border-bottom: none;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex-shrink: 0;
}

/* Feature Tabs */

.feature-tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border: 1px solid #d9cbb9;
  border-radius: var(--radius-lg);
  background: #fffcf7;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2d5c4;
  background: linear-gradient(180deg, #faf5ec 0%, #f4ede2 100%);
}

.tab-btn {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e2d5c4;
  background: transparent;
  text-align: left;
  padding: 16px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  position: relative;
}

.tab-btn:last-child {
  border-bottom: 0;
}

.tab-btn:hover {
  background: #fff8ee;
  color: var(--ink);
}

.tab-btn.active {
  background: #fffcf7;
  color: var(--accent);
  font-weight: 800;
}

.tab-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.tab-panels {
  padding: 32px 36px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin-bottom: 14px;
}

.tab-panel p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 56ch;
}

/* Steps / Check / Tabs responsive */
@media (max-width: 1120px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .check-item:nth-child(3n+1),
  .check-item:nth-child(3n+2) {
    border-right: none;
  }

  .check-item:nth-last-child(-n+3) {
    border-bottom: 1px solid #e8ddd0;
  }

  .check-item:last-child {
    border-bottom: none;
  }

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

  .tab-sidebar {
    border-right: none;
    border-bottom: 1px solid #e2d5c4;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-btn {
    border-bottom: none;
    border-right: 1px solid #e2d5c4;
    width: auto;
    padding: 12px 16px;
    font-size: 13px;
  }

  .tab-btn.active::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }
}

.footer {
  margin-top: 58px;
  border-top: 1px solid rgba(125, 102, 77, 0.23);
  background: rgba(249, 244, 235, 0.86);
}

.footer-row {
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #4d5c69;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #8e4126;
}

@media (max-width: 1120px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .cta-band,
  .doc-grid,
  .blog-index-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-wrap {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 3vw 16px;
    background: rgba(255, 252, 246, 0.98);
    border-bottom: 1px solid #d6c5b0;
    box-shadow: var(--shadow-lg);
  }

  .nav-wrap.open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav a,
  .nav button {
    margin: 0;
    border-radius: 8px;
    padding: 10px 12px;
  }

  .nav a::after,
  .nav button::after {
    left: 12px;
    right: 12px;
    bottom: 6px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 6px;
    box-shadow: none;
    display: none;
  }

  .dropdown::after {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 52px 0 64px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .section {
    padding: 62px 0;
  }

  .section-head h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .card h3,
  .doc-card h4 {
    font-size: 26px;
  }

  .page-title {
    font-size: clamp(34px, 9vw, 50px);
  }
}
