/* White Label Payment Gateway India — design system
   Visual direction: LaslesVPN (white/off-white, #F53838 primary, soft shadows,
   rounded 10-16px, Rubik). Geometry: Asymmetric Editorial (design-11 primary),
   supporting uneven split / sticky side narrative / layered CTA / isolated
   callout island. Signature: Branded Merchant Launch Lane. */

@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap");

:root {
  --bg: #fffaf8;
  --bg-deep: #fff3f1;
  --surface: #ffffff;
  --surface-tint: #fff1ef;
  --ink: #1c1720;
  --ink-soft: #423a45;
  --muted: #766e79;
  --muted-on-dark: rgba(255, 255, 255, 0.78);
  --line: #f0e3e1;
  --line-strong: #ecd6d3;
  --primary: #f53838;
  --primary-dark: #d92626;
  --primary-darker: #b71f1f;
  --primary-soft: #ffe6e4;
  --accent-pink: #ff8fa3;
  --accent-pink-soft: #ffeaee;
  --success: #1f8a5f;
  --danger: #c62828;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 10px 24px -16px rgba(35, 15, 15, 0.28);
  --shadow-md: 0 24px 48px -26px rgba(35, 15, 15, 0.32);
  --shadow-lg: 0 40px 80px -32px rgba(35, 15, 15, 0.34);
  --container: min(1240px, calc(100% - 40px));
  --container-narrow: min(760px, calc(100% - 40px));
  --container-wide: min(1360px, calc(100% - 40px));
  --header-h: 84px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --font: "Rubik", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary-darker);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container-narrow {
  width: var(--container-narrow);
  margin-inline: auto;
}

.container-wide {
  width: var(--container-wide);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-pill);
}

/* -------------------- Buttons -------------------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button-primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(245, 56, 56, 0.55);
}

.button-primary:hover {
  background: var(--primary-darker);
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #000;
  transform: translateY(-2px);
}

.button-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.button-light {
  background: #fff;
  color: var(--ink);
}

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

.button:active {
  transform: translateY(0);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

/* -------------------- Header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  transition: transform 200ms var(--ease);
}

.brand-mark:hover {
  transform: rotate(-4deg) scale(1.05);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.site-nav > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button)[aria-current="page"] {
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------- Hero (asymmetric) -------------------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-soft), transparent 70%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-copy .lede {
  max-width: 52ch;
  margin: 22px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-actions .micro {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-proof li {
  display: grid;
  gap: 4px;
}

.hero-proof strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  margin-right: clamp(-30px, -4vw, -10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
}

.hero-visual-tag {
  position: absolute;
  left: -18px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  max-width: 230px;
}

.hero-visual-tag strong {
  display: block;
  font-size: 0.86rem;
}

.hero-visual-tag span {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.74rem;
}

/* -------------------- Section rhythm -------------------- */

.section {
  padding: clamp(64px, 8vw, 116px) 0;
}

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

.section-ink {
  background: var(--ink);
  color: #fff;
}

.section-ink .muted-on-dark {
  color: var(--muted-on-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.14;
}

.section-head p {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

/* -------------------- Narrow editorial statement -------------------- */

.editorial-statement {
  max-width: 46ch;
}

.editorial-statement .statement-lead {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.editorial-statement .statement-lead strong {
  color: var(--primary);
  font-weight: 700;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(30px, 6vw, 90px);
}

.editorial-notes {
  display: grid;
  gap: 22px;
  align-content: start;
  padding-top: 6px;
}

.editorial-notes li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.editorial-notes strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

/* -------------------- Uneven split with image -------------------- */

.uneven-split {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(30px, 6vw, 64px);
  align-items: center;
}

.uneven-split.flip {
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
}

.uneven-split.flip .split-media {
  order: 2;
}

.uneven-split.flip .split-copy {
  order: 1;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #f6f1ee;
  aspect-ratio: 4 / 5;
  max-width: 520px;
}

.split-media picture,
.split-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.split-media img {
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.split-media-note {
  position: absolute;
  right: -14px;
  top: -14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 12px;
}

.split-copy p {
  margin-top: 16px;
  max-width: 50ch;
  color: var(--ink-soft);
}

.layer-list {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.layer-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.layer-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.layer-list .layer-index {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.layer-list strong {
  display: block;
  margin-bottom: 4px;
}

.layer-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* -------------------- Isolated callout island -------------------- */

.callout-island-wrap {
  display: flex;
  justify-content: center;
}

.callout-island {
  position: relative;
  max-width: 780px;
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, var(--surface-tint));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.callout-island .eyebrow {
  justify-content: center;
}

.callout-island h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.3;
  max-width: 34ch;
  margin-inline: auto;
}

.callout-island p {
  margin-top: 14px;
  max-width: 56ch;
  margin-inline: auto;
  color: var(--ink-soft);
}

.callout-island-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.callout-island-tags span {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* -------------------- Signature: Branded Merchant Launch Lane -------------------- */

.launch-lane-section {
  position: relative;
}

.launch-lane-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.launch-lane {
  position: relative;
  max-width: 920px;
  padding-left: clamp(18px, 3vw, 30px);
}

.launch-lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--line-strong), var(--primary) 78%, var(--primary));
  border-radius: var(--radius-pill);
}

.lane-stage {
  --indent: 0rem;
  --stage-w: 78%;
  position: relative;
  margin-left: var(--indent);
  width: var(--stage-w);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 30px);
  margin-bottom: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.lane-stage::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(-1 * var(--indent) - 18px);
  width: calc(var(--indent) + 18px);
  height: 2px;
  background: var(--line-strong);
}

.lane-stage-1 {
  --indent: 0rem;
  --stage-w: 76%;
}

.lane-stage-2 {
  --indent: 2.75rem;
  --stage-w: 70%;
}

.lane-stage-3 {
  --indent: 5.5rem;
  --stage-w: 74%;
}

.lane-stage-4 {
  --indent: 3.5rem;
  --stage-w: 68%;
}

.lane-stage-5 {
  --indent: 7rem;
  --stage-w: 82%;
}

.lane-stage .lane-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.lane-stage h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.25;
}

.lane-stage p {
  margin-top: 10px;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.lane-stage-artifacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lane-stage-artifacts span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-deep);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lane-stage--final {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.lane-stage--final::before {
  background: var(--primary);
}

.lane-stage--final .lane-tag {
  color: var(--accent-pink);
}

.lane-stage--final p {
  color: var(--muted-on-dark);
}

.lane-stage--final .lane-stage-artifacts span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* -------------------- Sticky side narrative -------------------- */

.sticky-narrative {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.sticky-narrative-copy {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.sticky-narrative-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-top: 12px;
}

.sticky-narrative-copy p {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 42ch;
}

.narrative-list {
  border-top: 1px solid var(--line);
}

.narrative-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.narrative-item .n-index {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.narrative-item h3 {
  font-size: 1.2rem;
}

.narrative-item p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 60ch;
}

/* -------------------- Comparison / offset table -------------------- */

.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table td {
  color: var(--ink-soft);
}

.comparison-table tbody tr:nth-child(2) td,
.comparison-table tbody tr:nth-child(2) th {
  background: var(--surface-tint);
}

/* -------------------- Layered CTA -------------------- */

.layered-cta {
  position: relative;
  padding: clamp(46px, 6vw, 74px) clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.layered-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.22), transparent 46%);
  pointer-events: none;
}

.layered-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 22ch;
}

.layered-cta p {
  margin-top: 12px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.96);
}

.layered-cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layered-cta .button-light:hover {
  background: var(--ink);
  color: #fff;
}

.cta-outline-on-primary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-outline-on-primary:hover {
  border-color: #fff;
  color: #fff;
}

.section-cta-shell {
  margin-top: clamp(46px, 6vw, 70px);
}

/* -------------------- FAQ -------------------- */

.faq-condensed {
  display: grid;
  gap: 4px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 200ms var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 4px 22px;
  max-width: 68ch;
  color: var(--muted);
}

/* -------------------- Page hero (inner pages) -------------------- */

.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, var(--surface-tint), var(--bg));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.page-hero .lede {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.page-hero-meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* -------------------- Industry / solutions list (staggered) -------------------- */

.industry-list {
  border-top: 2px solid var(--ink);
}

.industry-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.industry-item .i-mark {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.94rem;
}

.industry-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.industry-item p {
  color: var(--muted);
}

.industry-item:nth-child(3n+2) {
  padding-left: clamp(0px, 4vw, 40px);
}

/* -------------------- Pricing: quote factors -------------------- */

.quote-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.quote-intro h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.quote-intro-note {
  color: var(--ink-soft);
  max-width: 52ch;
}

.quote-factors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-factor {
  padding: 28px 20px;
  border-left: 1px solid var(--line);
}

.quote-factor:first-child {
  border-left: 0;
}

.quote-factor strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.quote-factor p {
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-note {
  margin-top: 30px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
  max-width: 70ch;
}

/* -------------------- Security layered diagram -------------------- */

.security-layers {
  display: grid;
  gap: 14px;
}

.security-layer {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.security-layer:nth-child(1) {
  margin-right: 0;
}

.security-layer:nth-child(2) {
  margin-inline: clamp(0px, 3vw, 26px);
}

.security-layer:nth-child(3) {
  margin-inline: clamp(0px, 6vw, 52px);
}

.security-layer:nth-child(4) {
  margin-inline: clamp(0px, 9vw, 78px);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.security-layer:nth-child(4) p {
  color: var(--muted-on-dark);
}

.security-layer .s-index {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--primary-dark);
}

.security-layer:nth-child(4) .s-index {
  color: var(--accent-pink);
}

.security-layer h3 {
  font-size: 1.08rem;
}

.security-layer p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* -------------------- Article / guide layout -------------------- */

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.article-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
}

.article-toc a {
  display: block;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--primary-dark);
}

.article-content {
  max-width: 76ch;
}

.article-content > p:first-child {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.article-content section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.article-content section:first-of-type {
  margin-top: 40px;
}

.article-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 24ch;
}

.article-content h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.article-content p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.article-content ul,
.article-content ol {
  margin-top: 16px;
  padding-left: 1.3rem;
  list-style: disc;
  color: var(--ink-soft);
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content li ul {
  margin-top: 8px;
}

.article-content blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  background: var(--surface-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-soft);
}

.article-content blockquote footer {
  margin-top: 10px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

.article-content table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: var(--ink);
  color: #fff;
}

.article-faq h3 {
  font-size: 1.08rem;
  margin-top: 34px;
}

.article-faq p {
  margin-top: 10px;
}

/* -------------------- Contact -------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}

.contact-side {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.contact-side h2 {
  font-size: 1.5rem;
}

.contact-side p {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 40ch;
}

.contact-detail {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-detail dt {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-detail dd {
  margin: 4px 0 18px;
  font-weight: 600;
}

.contact-detail a {
  color: var(--primary-dark);
}

.contact-form {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field small {
  color: var(--muted);
  font-size: 0.78rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 3px solid var(--primary-soft);
  outline-offset: 1px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-form[data-state="success"] .form-status {
  color: var(--success);
  font-weight: 600;
}

.contact-form[data-state="error"] .form-status {
  color: var(--danger);
  font-weight: 600;
}

/* -------------------- Legal content -------------------- */

.legal-content {
  max-width: 74ch;
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 1.4rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  margin-top: 14px;
  color: var(--ink-soft);
}

.legal-content ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content .updated {
  color: var(--muted);
  font-size: 0.86rem;
}

/* -------------------- Footer -------------------- */

.site-footer {
  padding: clamp(64px, 8vw, 100px) 0 30px;
  background: var(--ink);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.7fr));
  gap: 30px;
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-mark {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--muted-on-dark);
  font-size: 0.92rem;
}

.footer-col strong {
  display: block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--muted-on-dark);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  color: var(--muted-on-dark);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--muted-on-dark);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* -------------------- 404 -------------------- */

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 90px 0;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--primary);
  font-size: clamp(4.5rem, 16vw, 9rem);
  line-height: 0.9;
  font-weight: 800;
}

.not-found h1 {
  margin: 20px 0 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.not-found p {
  max-width: 50ch;
  margin-inline: auto;
  color: var(--muted);
}

.not-found .button {
  margin-top: 26px;
}

.not-found-secondary {
  margin-top: 16px;
}

/* -------------------- Reveal animation -------------------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* -------------------- Responsive -------------------- */

@media (hover: hover) and (pointer: fine) {
  .industry-item:hover h3 {
    color: var(--primary-dark);
  }
}

@media (max-width: 1060px) {
  .article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

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

  .quote-factor:nth-child(3) {
    border-left: 0;
  }

  .quote-factor:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 16px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms var(--ease), opacity 180ms var(--ease);
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav > a:not(.button) {
    min-height: 48px;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero-grid,
  .editorial-grid,
  .uneven-split,
  .uneven-split.flip,
  .sticky-narrative,
  .quote-intro,
  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .uneven-split.flip .split-media,
  .uneven-split.flip .split-copy {
    order: initial;
  }

  .hero-visual-frame {
    margin-right: 0;
  }

  .sticky-narrative-copy,
  .contact-side {
    position: static;
  }

  .footer-top {
    gap: 34px;
  }

  .lane-stage {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .lane-stage::before {
    display: none;
  }

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

  .article-toc {
    display: none;
  }

  .security-layer:nth-child(2),
  .security-layer:nth-child(3),
  .security-layer:nth-child(4) {
    margin-inline: 0;
  }

  .industry-item {
    grid-template-columns: 40px 1fr;
  }

  .industry-item p {
    grid-column: 2 / 3;
  }

  .industry-item:nth-child(3n+2) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1240px);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-visual-tag {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .layered-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .layered-cta-actions {
    align-items: flex-start;
  }

  .quote-factors,
  .comparison-table {
    grid-template-columns: 1fr;
  }

  .quote-factor {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }

  .quote-factor:first-child {
    border-top: 0;
  }

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

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .narrative-item,
  .security-layer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
