/* OneSync marketing site — tokens follow the starter palette in the implementation guide. */
:root {
  --brand-900: #0B172E;
  --brand-800: #003ECC;
  --brand-700: #004BFC;
  --brand-600: #004BFC;
  --brand-100: #DBEAFE;
  --brand-50: #EFF6FF;
  --surface-0: #FFFFFF;
  --surface-50: #F8FAFC;
  --border-200: #E2E8F0;
  --input-border: #64748B;
  --text-900: #0F172A;
  --text-600: #475569;
  --accent-500: #FD9921;
  --accent-600: #E68512;
  --accent-100: #FEF0DC;
  --accent-50: #FFF9F2;
  --error: #DC2626;
  --success: #16A34A;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 10px 28px rgba(16, 42, 67, .07);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 28px);
  --section-y: clamp(3.25rem, 6.5vw, 5.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-900);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.028em; color: var(--brand-900); }
h1 { font-size: clamp(2.25rem, 1.25rem + 3.8vw, 3.65rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.45rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.018em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-900); }
:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -64px; background: var(--brand-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.measure { max-width: 66ch; }
.lead { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.25rem); color: var(--text-600); line-height: 1.65; letter-spacing: -0.01em; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 1rem; }
.muted { color: var(--text-600); }
.small { font-size: .9375rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.35rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 4px 14px rgba(0, 75, 252, 0.22); }
.btn-primary:hover { background: #0036B8; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 75, 252, 0.32); }
.btn-secondary, .btn-outline { background: #fff; color: var(--brand-700); border-color: #BFDBFE; }
.btn-secondary:hover, .btn-outline:hover { background: var(--brand-50); color: var(--brand-900); border-color: var(--brand-700); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--brand-900); box-shadow: 0 4px 12px rgba(11, 23, 46, 0.1); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-700); transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .15); color: #fff; border-color: #fff; transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9rem; font-weight: 700; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; font-weight: 800; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand-100); }
.text-link:hover { border-bottom-color: var(--brand-700); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--brand-900); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; }
.brand-erp { color: var(--brand-600); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.5rem; }
.site-nav li a { display: inline-block; padding: .5rem 0; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; color: var(--text-900); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav li a:hover { color: var(--brand-700); border-bottom-color: var(--brand-100); }
.site-nav li a[aria-current="page"] { color: var(--brand-700); border-bottom-color: var(--brand-700); }
.nav-toggle { display: none; min-height: 44px; padding: .4rem 1rem; font: inherit; font-weight: 700; color: var(--brand-900); background: #fff; border: 2px solid var(--border-200); border-radius: 999px; cursor: pointer; }
@media (max-width: 1020px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .5rem 0 1.25rem; }
  .js .site-nav[data-open="true"] { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--border-200); }
  .site-nav .btn { width: 100%; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
}

/* Breadcrumb */
.breadcrumb { padding-top: 1.25rem; font-size: .9375rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--text-600); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--input-border); }
.breadcrumb a { color: var(--text-600); }

/* Sections */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-50); border-block: 1px solid var(--border-200); }
.section--dark { background: var(--brand-900); color: #CBD5E1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #60A5FA; }
.section--dark a:not(.btn) { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head h2 + p { margin-top: 1rem; color: var(--text-600); font-size: 1.125rem; }
.section--dark .section-head h2 + p { color: #CBD5E1; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem); background: radial-gradient(900px 420px at 88% -8%, #DBEAFE 0%, transparent 65%), var(--surface-50); border-bottom: 1px solid var(--border-200); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#CBD5E1 1px, transparent 1.2px); background-size: 22px 22px; opacity: .55; -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%); mask-image: linear-gradient(100deg, #000 0%, transparent 55%); pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .lead { margin-top: 1.25rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-note { display: flex; gap: .65rem; align-items: flex-start; margin: 1.75rem 0 0; font-size: .9375rem; color: var(--text-600); max-width: 36rem; }
.status-dot { flex: none; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px #FEF0DC; }
.page-hero { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 4rem); background: var(--surface-50); border-bottom: 1px solid var(--border-200); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); }
.page-hero .lead { max-width: 44rem; margin-top: 1.1rem; margin-bottom: 0; }
.breadcrumb + .page-hero { margin-top: .75rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Flow illustration */
.flow { margin: 0; background: #fff; border: 1px solid var(--border-200); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(1rem, 2.5vw, 1.5rem); }
.flow-head { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px solid var(--border-200); font-weight: 700; font-size: .9375rem; color: var(--brand-900); }
.tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: #FEF0DC; color: #9A3412; font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lane { padding-top: 1rem; }
.lane-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-600); margin: 0 0 .5rem; }
.chain { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.chain li { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 58px; padding: .5rem .35rem; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-sm); font-weight: 700; font-size: .8125rem; line-height: 1.25; color: var(--brand-900); }
.chain li:not(:last-child)::after { content: ""; position: absolute; right: -.75rem; top: 50%; width: .6rem; height: .6rem; border-top: 2px solid var(--brand-700); border-right: 2px solid var(--brand-700); transform: translateY(-50%) rotate(45deg) scale(.8); }
.chain small { display: block; margin-top: .15rem; font-size: .6875rem; font-weight: 700; color: var(--brand-600); }
.stock-bar { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--brand-900); color: #E2E8F0; font-size: .875rem; line-height: 1.45; }
.stock-bar strong { display: block; color: #fff; font-size: .9375rem; margin-bottom: .1rem; }
.flow figcaption { margin-top: 1.1rem; font-size: .875rem; color: var(--text-600); line-height: 1.5; }
@media (max-width: 480px) { .chain { gap: .65rem; } .chain li { font-size: .75rem; } .chain li:not(:last-child)::after { right: -.55rem; } }

/* Cards and grids */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card--q { border-top: 3px solid var(--brand-700); }
.card--q h3 { font-size: 1.125rem; line-height: 1.3; }
.card .muted, .card p { color: var(--text-600); }
.card h3, .card .card-title { color: var(--brand-900); }
.pillar-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 1rem; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 800; }
.intended { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--border-200); font-size: .875rem; color: var(--text-600); }
.intended strong { color: var(--brand-600); }
.note { margin-top: 1.75rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--border-200); border-left: 4px solid var(--accent-500); border-radius: var(--radius-sm); font-size: .9875rem; color: var(--text-600); }
.note p:last-child { margin: 0; }

/* Principles (dark) */
.principle-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; }
.principle-list li { background: var(--brand-900); padding: 1.5rem; }
.principle-list h3 { font-size: 1.0625rem; margin-bottom: .45rem; }
.principle-list p { margin: 0; font-size: .96rem; color: #CBD5E1; }
@media (max-width: 1000px) { .principle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .principle-list { grid-template-columns: 1fr; } }

/* Split / checklist */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.panel h3 { margin-bottom: 1rem; }
.checks { list-style: none; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--text-600); }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--brand-600); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8.2 14.2 4.4 10.4l1.4-1.4 2.4 2.4 6-6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8.2 14.2 4.4 10.4l1.4-1.4 2.4 2.4 6-6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; background: var(--brand-600); }
.checks li::before { background: var(--brand-600); border-radius: 0; }
.checks--not li::before { background: var(--text-600); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 4.2 10 8.6l4.4-4.4 1.4 1.4-4.4 4.4 4.4 4.4-1.4 1.4-4.4-4.4-4.4 4.4-1.4-1.4 4.4-4.4-4.4-4.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 4.2 10 8.6l4.4-4.4 1.4 1.4-4.4 4.4 4.4 4.4-1.4 1.4-4.4-4.4-4.4 4.4-1.4-1.4 4.4-4.4-4.4-4.4z'/%3E%3C/svg%3E"); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; letter-spacing: -0.01em; }
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.badge--available { background: #DCFCE7; color: #14532D; border-color: #A7E3BC; }
.badge--pilot { background: var(--brand-100); color: #1E40AF; border-color: #93C5FD; }
.badge--planned { background: #FEF3C7; color: #8A3B07; border-color: #F6D98B; }
.badge--planned::before { background: transparent; border: 2px solid currentColor; }
.badge--unconfirmed { background: #F1F5F9; color: #334155; border: 1px dashed #94A3B8; }
.badge--unconfirmed::before { border-radius: 2px; background: transparent; border: 2px solid currentColor; }
.badge--focus { background: var(--brand-700); color: #fff; }
.badge--focus::before { background: #fff; }
.legend { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.legend li { background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius-sm); padding: 1rem; font-size: .9375rem; color: var(--text-600); }
.legend .badge { margin-bottom: .55rem; }
@media (max-width: 1000px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: .9875rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: .95rem 1.1rem; border-bottom: 1px solid var(--border-200); }
thead th { background: var(--surface-50); font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-600); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-family: var(--font-display); font-weight: 700; color: var(--brand-900); width: 26%; letter-spacing: -0.01em; }
td.status-cell { width: 170px; }
.table-group th { background: var(--brand-50); color: var(--brand-900); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 720px) {
  thead { position: absolute; left: -9999px; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  tbody th { width: 100%; padding-bottom: .1rem; border-bottom: 0; }
  td { padding-top: .25rem; }
  td.status-cell { width: 100%; padding-bottom: .5rem; }
  tr { border-bottom: 1px solid var(--border-200); }
  tr:last-child { border-bottom: 0; }
  .table-group { border-bottom: 0; }
}

/* Layers (product page) */
.layers { display: grid; gap: .85rem; }
.layer { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem 1.5rem; align-items: start; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius); }
.layer h3 { font-size: 1.0625rem; }
.layer p { margin: 0; color: var(--text-600); }
.layer .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.layer .chips li { padding: .2rem .7rem; font-size: .875rem; font-weight: 600; color: var(--brand-900); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; }
.layer--base { background: var(--brand-900); border-color: var(--brand-900); }
.layer--base h3 { color: #fff; }
.layer--base p { color: #CBD5E1; }
.layer--base .chips li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.layer--later { border-style: dashed; background: var(--surface-50); }
@media (max-width: 720px) { .layer { grid-template-columns: 1fr; } }

/* Journey steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand-700); color: #fff; font-weight: 800; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.5rem; bottom: 0; width: 2px; background: var(--brand-100); }
.step h3 { font-size: 1.1875rem; margin: .3rem 0 .35rem; }
.step p { margin: 0 0 .5rem; color: var(--text-600); }
.step .links { font-size: .9375rem; color: var(--text-600); }
.step .links strong { color: var(--brand-600); }
.journey-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1.75rem; }
.journey-head p { margin: 0; color: var(--text-600); }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--border-200); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.faq details:hover { border-color: #BFDBFE; }
.faq details[open] { border-color: #93C5FD; box-shadow: 0 4px 12px rgba(0, 75, 252, 0.05); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.25rem 1.15rem 1.35rem; font-weight: 700; color: var(--brand-900); position: relative; min-height: 44px; transition: color .15s; }
.faq summary:hover { color: var(--brand-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: .55rem; height: .55rem; border-right: 2px solid var(--brand-700); border-bottom: 2px solid var(--brand-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border-200); }
.faq .answer { padding: 1.15rem 1.35rem 1.35rem; color: var(--text-600); line-height: 1.6; }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--brand-900); color: #CBD5E1; padding-block: clamp(3rem, 6vw, 4.75rem); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { margin: .9rem 0 0; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } }

/* Solutions */
.toc { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.toc a { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--border-200); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--brand-900); min-height: 44px; line-height: 1.7; }
.toc a:hover { border-color: var(--brand-700); color: var(--brand-700); }
.solution { scroll-margin-top: 88px; }
.solution-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.qlist { list-style: none; display: grid; gap: .6rem; margin-top: .5rem; }
.qlist li { position: relative; padding-left: 1.5rem; color: var(--text-600); }
.qlist li::before { content: "?"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--accent-500); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--border-200); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; color: var(--brand-900); font-size: .9875rem; }
.field .hint { display: block; font-weight: 500; color: var(--text-600); font-size: .9rem; margin-top: -.15rem; margin-bottom: .45rem; }
.req { color: var(--error); font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--text-900); background: #fff; border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-100); border-color: var(--brand-700); }
.field [aria-invalid="true"] { border-color: var(--error); background: #FEF6F6; }
.error-msg { display: none; margin-top: .4rem; color: var(--error); font-size: .9375rem; font-weight: 600; }
.error-msg::before { content: "\26A0\FE0E  "; }
.field.has-error .error-msg { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .3rem; accent-color: var(--brand-700); flex: none; }
.check label { font-weight: 500; color: var(--text-600); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #ECFDF3; border: 1px solid #A7E3BC; color: #14532D; }
.form-status--error { background: #FEF2F2; border: 1px solid #F3B4B4; color: #7F1D1D; }
.form-status--preview { background: #FFFBEB; border: 1px solid #F6D98B; color: #7A3E07; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.aside-steps { list-style: none; counter-reset: a; display: grid; gap: 1.1rem; margin: 1rem 0 0; }
.aside-steps li { counter-increment: a; position: relative; padding-left: 2.6rem; color: var(--text-600); }
.aside-steps li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.aside-steps strong { display: block; color: var(--brand-900); }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; color: var(--text-600); }
.prose p { color: var(--text-600); }
.banner-draft { margin-bottom: 2rem; padding: 1rem 1.25rem; background: #FFFBEB; border: 1px solid #F6D98B; border-radius: var(--radius-sm); color: #7A3E07; font-weight: 600; }
.banner-draft p { margin: 0 0 .4rem; }
.banner-draft p:last-child { margin: 0; }

/* Footer */
.site-footer { background: #081325; color: #94A3B8; padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a.btn-light { color: var(--brand-900); }
.site-footer a.btn-light:hover { text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.25rem; }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: .6rem; letter-spacing: -0.02em; }
.footer-brand span { color: #FD9921; }
.footer-about p { max-width: 30rem; font-size: .96rem; }
.footer-h { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; margin-bottom: .9rem; font-weight: 800; }
.site-footer ul { list-style: none; display: grid; gap: .1rem; }
.site-footer li a { display: inline-block; padding: .35rem 0; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem 2rem; font-size: .875rem; color: #94A3B8; }
.footer-base p { margin: 0; max-width: 60rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
