/* ==========================================================================
   PC Digital Solutions — Design System
   Tokens, primitives and shared components for every page.
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { height: auto; }

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

button { cursor: pointer; }

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

ul,
ol { padding-left: 1.1rem; }

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:target { scroll-margin-top: 110px; }

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #070C18;
  --navy-800: #0B1120;
  --navy-700: #111B30;
  --navy-600: #17233C;
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-400: #60A5FA;
  --sky: #38BDF8;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --slate: #94A3B8;
  --slate-600: #64748B;

  /* Text */
  --ink: #0B1120;
  --ink-700: #334155;
  --ink-500: #475569;
  --ink-on-dark: #E8EEF9;
  --ink-on-dark-muted: #A8B7CC;

  /* Lines & surfaces */
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --line-dark: rgba(148, 163, 184, 0.18);
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-dark: #0E1729;

  /* Effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 17, 32, 0.06), 0 1px 3px rgba(11, 17, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 17, 32, 0.18), 0 2px 6px rgba(11, 17, 32, 0.05);
  --shadow-lg: 0 30px 70px -30px rgba(11, 17, 32, 0.35);
  --ring: 0 0 0 3px rgba(37, 99, 235, 0.35);

  /* Type */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-body: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;
  --fs-h1: clamp(2.35rem, 1.55rem + 3.4vw, 4.35rem);
  --fs-h2: clamp(1.85rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.28rem, 1.15rem + 0.55vw, 1.6rem);
  --fs-h4: clamp(1.08rem, 1.02rem + 0.25vw, 1.22rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.4vw, 1.28rem);

  /* Layout */
  --container: 1180px;
  --container-narrow: 780px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --header-h: 76px;
}

/* ---------- Accessibility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

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

.on-dark :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sky);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--alt { background: var(--surface-alt); }
.section--white { background: var(--white); }

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

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

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

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.glow::before {
  width: 520px;
  height: 520px;
  top: -280px;
  right: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 68%);
}

.glow::after {
  width: 420px;
  height: 420px;
  bottom: -260px;
  left: -140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
}

.section--dark > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.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)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.split--text-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

.stack { display: grid; gap: clamp(0.85rem, 1.6vw, 1.15rem); }
.stack--sm { gap: 0.55rem; }
.stack--lg { gap: clamp(1.4rem, 3vw, 2.25rem); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ---------- Typography ---------- */
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 62ch;
}

.text-muted { color: var(--ink-500); }
.section--dark .text-muted { color: var(--ink-on-dark-muted); }
.text-balance { text-wrap: balance; }
.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section--dark .eyebrow { color: var(--sky); }

.section-head {
  display: grid;
  gap: 0.9rem;
  max-width: 66ch;
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head--center .lead { margin-inline: auto; }

.section-head__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: end;
  justify-content: space-between;
}

.section-head__row .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.86rem 1.4rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn--primary {
  box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.65);
}

.btn--primary:hover { background: var(--blue-600); }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}

.btn--secondary:hover {
  --btn-border: var(--blue);
  color: var(--blue);
  background: rgba(37, 99, 235, 0.04);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-on-dark);
  --btn-border: rgba(148, 163, 184, 0.32);
}

.btn--ghost:hover {
  --btn-border: rgba(56, 189, 248, 0.6);
  color: #fff;
  background: rgba(56, 189, 248, 0.08);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-800);
}

.btn--light:hover { --btn-bg: #EAF1FF; }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.86rem; }
.btn--lg { padding: 1.02rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .btn__icon { width: 1rem; height: 1rem; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--blue);
}

.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--sky); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 250, 252, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--ink);
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px rgba(11, 17, 32, 0.5);
}

.brand__text {
  display: grid;
  line-height: 1.05;
  min-width: 0;
  max-width: 250px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav { display: flex; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.68rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover { color: var(--blue); background: rgba(37, 99, 235, 0.06); }

.nav__link[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--slate-600);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.52rem;
  border-radius: var(--radius-pill);
  line-height: 1.3;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch__btn:hover { color: var(--blue); }

.lang-switch__btn[aria-pressed="true"] {
  background: var(--navy-800);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle__bars { position: relative; width: 18px; height: 12px; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(1000px 520px at 78% -12%, rgba(37, 99, 235, 0.16), transparent 62%),
    radial-gradient(760px 420px at 6% 8%, rgba(56, 189, 248, 0.12), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 17, 32, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 17, 32, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero__copy { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); justify-items: start; }

.hero__title {
  font-size: var(--fs-h1);
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--blue) 12%, var(--sky) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  padding-top: 0.35rem;
  font-size: var(--fs-small);
  color: var(--ink-500);
}

.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { color: var(--blue); flex: none; }

/* Hero visual: layered browser blueprint */
.blueprint {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0F1A2E 0%, #0B1120 55%, #0A1B33 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.16);
  isolation: isolate;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.8;
  z-index: -1;
}

.blueprint__chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.15rem 0.25rem 0.85rem;
}

.blueprint__dots { display: flex; gap: 5px; }

.blueprint__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.blueprint__url {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-on-dark-muted);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blueprint__canvas {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.blueprint__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.blueprint__brand { display: flex; align-items: center; gap: 0.4rem; }

.blueprint__brand i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--blue), var(--sky));
}

.blueprint__brand b {
  width: 52px;
  height: 7px;
  border-radius: 3px;
  background: var(--navy-800);
  opacity: 0.85;
}

.blueprint__links { display: flex; gap: 6px; }

.blueprint__links i {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
}

.blueprint__body { padding: 1rem 0.9rem 1.15rem; display: grid; gap: 0.7rem; }

.blueprint__headline { display: grid; gap: 6px; }

.blueprint__headline b {
  height: 11px;
  border-radius: 3px;
  background: var(--navy-800);
}

.blueprint__headline b:nth-child(1) { width: 78%; }
.blueprint__headline b:nth-child(2) { width: 62%; }
.blueprint__headline b:nth-child(3) { width: 44%; background: var(--blue); }

.blueprint__lines { display: grid; gap: 5px; }

.blueprint__lines i {
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}

.blueprint__lines i:nth-child(2) { width: 88%; }
.blueprint__lines i:nth-child(3) { width: 70%; }

.blueprint__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }

.blueprint__cards div {
  height: 48px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #F1F5F9);
}

.blueprint__cards div:nth-child(1) { border-top: 2px solid var(--blue); }
.blueprint__cards div:nth-child(2) { border-top: 2px solid var(--sky); }

.blueprint__cta {
  display: flex;
  gap: 6px;
  padding-top: 0.15rem;
}

.blueprint__cta i {
  height: 20px;
  border-radius: 999px;
}

.blueprint__cta i:first-child { width: 68px; background: var(--blue); }
.blueprint__cta i:last-child { width: 44px; background: var(--surface-alt); border: 1px solid var(--line); }

.chip-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 9px;
  background: rgba(14, 23, 41, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--ink-on-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.chip-float svg { color: var(--sky); }

.chip-float--seo { top: 14%; right: -14px; }
.chip-float--lang { bottom: 20%; left: -18px; }

/* Logo strip / trust line */
.trustline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trustline__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  padding-block: 1.1rem;
}

.trustline p {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 600;
}

.trustline ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trustline li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-700);
}

.trustline svg { color: var(--blue); flex: none; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  height: 100%;
}

.card--hover:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card--dark {
  background: linear-gradient(165deg, rgba(23, 35, 60, 0.9), rgba(14, 23, 41, 0.95));
  border-color: var(--line-dark);
  color: var(--ink-on-dark-muted);
  box-shadow: none;
}

.card--dark h3,
.card--dark h4 { color: #fff; }

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--blue);
  flex: none;
}

.card__icon svg { width: 22px; height: 22px; }

.card--dark .card__icon {
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky);
}

.card__title { font-size: var(--fs-h4); }

.card__text {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-500);
}

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

.card__footer { margin-top: auto; padding-top: 0.4rem; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

.card__link svg { transition: transform 0.18s ease; }
.card:hover .card__link svg { transform: translateX(3px); }
.card--dark .card__link { color: var(--sky); }

.card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  letter-spacing: 0.05em;
}

/* Feature list with check marks */
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-700);
}

.ticks li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.22rem;
  color: var(--blue);
}

.ticks--dark li { color: var(--ink-on-dark-muted); }
.ticks--dark li svg { color: var(--sky); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  text-transform: uppercase;
  line-height: 1.4;
}

.badge--accent {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--blue);
}

.badge--dark {
  background: rgba(148, 163, 184, 0.12);
  border-color: var(--line-dark);
  color: var(--ink-on-dark);
}

.badge--demo {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #0B1120;
  background-color: var(--sky);
}

.badge--soft {
  background: var(--surface-alt);
  border-color: var(--line);
  color: var(--ink-500);
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  align-items: start;
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  padding-top: 0.35rem;
  letter-spacing: 0.08em;
}

.step__body { display: grid; gap: 0.45rem; max-width: 68ch; }

.step__body h3 { font-size: var(--fs-h4); }

.step__body p { color: var(--ink-500); font-size: 0.96rem; }

.section--dark .step { border-color: var(--line-dark); }
.section--dark .step__body p { color: var(--ink-on-dark-muted); }
.section--dark .step__num { color: var(--sky); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.price-card--featured {
  border-color: transparent;
  background: linear-gradient(170deg, #101C33, #0B1120 70%);
  color: var(--ink-on-dark-muted);
  box-shadow: var(--shadow-lg);
}

.price-card--featured .price-card__name,
.price-card--featured .price-card__amount { color: #fff; }
.price-card--featured .price-card__desc { color: var(--ink-on-dark-muted); }
.price-card--featured .price-card__terms { color: rgba(168, 183, 204, 0.8); }
.price-card--featured .ticks li { color: var(--ink-on-dark); }
.price-card--featured .ticks svg { color: var(--sky); }
.price-card--featured .price-card__head { border-color: var(--line-dark); }

.price-card__flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(96deg, var(--blue), var(--sky));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card__head { display: grid; gap: 0.35rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }

.price-card__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-card__amount sup {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--slate-600);
  top: -0.6em;
  position: relative;
}

.price-card__desc { font-size: 0.9rem; color: var(--ink-500); }
.price-card__terms { font-size: 0.76rem; color: var(--slate-600); }

.price-card__body { padding-block: 1.15rem; flex: 1; }
.price-card__cta { margin-top: 0.5rem; }

.price-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(241, 245, 249, 0.7);
  font-size: 0.86rem;
  color: var(--ink-500);
}

.price-note svg { flex: none; color: var(--blue); margin-top: 0.15rem; }

.addon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.addon-table caption {
  text-align: left;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
  padding-bottom: 0.75rem;
  font-weight: 600;
}

.addon-table th,
.addon-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.addon-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 700;
  border-bottom-color: var(--line-strong);
}

.addon-table tbody th { font-weight: 600; color: var(--ink); width: 38%; }
.addon-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); }

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.filter {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.16s ease;
}

.filter:hover { border-color: var(--blue); color: var(--blue); }

.filter[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.work-card[hidden] { display: none; }

.work-card__preview {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.work-card__preview img,
.work-card__preview svg { width: 100%; height: 100%; object-fit: cover; }

.work-card__body { display: grid; gap: 0.4rem; padding: 1.1rem 1.2rem 1.25rem; }

.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 600;
}

.work-card__title { font-size: 1.06rem; }

.work-card__text { font-size: 0.88rem; color: var(--ink-500); }

.work-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-top: 0.35rem; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: var(--surface-alt);
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* CSS mini mockups used in portfolio cards */
.mini {
  position: absolute;
  inset: 0;
  padding: 14px 14px 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
}

.mini__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 17, 32, 0.06);
  border-bottom: 0;
}

.mini__bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11, 17, 32, 0.18);
}

.mini__bar span {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(11, 17, 32, 0.06);
}

.mini__page {
  border-radius: 6px 6px 0 0;
  background: #fff;
  border: 1px solid rgba(11, 17, 32, 0.07);
  border-bottom: 0;
  padding: 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 7px;
  overflow: hidden;
}

.mini__head { display: flex; align-items: center; justify-content: space-between; }

.mini__logo {
  width: 26px;
  height: 8px;
  border-radius: 2px;
  background: var(--mini-ink, #0B1120);
}

.mini__nav { display: flex; gap: 4px; }

.mini__nav i { width: 12px; height: 3px; border-radius: 2px; background: rgba(11, 17, 32, 0.16); }

.mini__hero {
  border-radius: 5px;
  background: var(--mini-hero, linear-gradient(140deg, #0B1120, #2563EB));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 9px;
  position: relative;
  overflow: hidden;
}

.mini__hero b {
  display: block;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}

.mini__hero b:first-child { width: 64%; }
.mini__hero b:nth-child(2) { width: 44%; opacity: 0.65; }
.mini__hero b:nth-child(3) {
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: var(--mini-cta, #38BDF8);
  margin-top: 3px;
}

.mini__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

.mini__row i {
  height: 18px;
  border-radius: 3px;
  background: var(--mini-card, #F1F5F9);
  border-top: 2px solid var(--mini-accent, #2563EB);
}

.work-card__open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  background: rgba(11, 17, 32, 0.86);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(4px);
}

.work-card:hover .work-card__open,
.work-card:focus-within .work-card__open { opacity: 1; transform: translateY(0); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.65rem; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.faq__item[open] { border-color: rgba(37, 99, 235, 0.32); background: #fff; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--slate-600);
  border-bottom: 2px solid var(--slate-600);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}

.faq__item[open] .faq__q::after { transform: rotate(-135deg); }

.faq__a {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.94rem;
  color: var(--ink-500);
  max-width: 74ch;
}

.faq__a p + p { margin-top: 0.6rem; }
.faq__a ul { margin-top: 0.5rem; display: grid; gap: 0.3rem; }

.faq--dark .faq__item { background: rgba(255, 255, 255, 0.03); border-color: var(--line-dark); }
.faq--dark .faq__q { color: #fff; }
.faq--dark .faq__a { color: var(--ink-on-dark-muted); }
.faq--dark .faq__q::after { border-color: var(--sky); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 88% 0%, rgba(56, 189, 248, 0.28), transparent 70%),
    linear-gradient(135deg, #101C33, #0B1120 65%);
  color: var(--ink-on-dark-muted);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.cta-band--light {
  background:
    radial-gradient(600px 300px at 92% 0%, rgba(37, 99, 235, 0.16), transparent 70%),
    #fff;
  color: var(--ink-500);
  border-color: var(--line);
}

.cta-band h2 { color: #fff; }
.cta-band--light h2 { color: var(--ink); }
.cta-band p { margin-top: 0.6rem; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: 0.4rem; }

.field > label,
.field__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.field__hint { font-size: 0.78rem; color: var(--slate-600); font-weight: 400; }
.optional { font-size: 0.74rem; font-weight: 500; color: var(--slate-600); text-transform: none; letter-spacing: 0; }

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

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

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--slate); }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}

.input::placeholder,
.textarea::placeholder { color: #94A3B8; }

.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea {
  border-color: #DC2626;
}

.field[data-invalid="true"] .input:focus,
.field[data-invalid="true"] .select:focus,
.field[data-invalid="true"] .textarea:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}

.field__error {
  display: none;
  font-size: 0.8rem;
  color: #B91C1C;
  font-weight: 500;
}

.field[data-invalid="true"] .field__error { display: block; }

.field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #DC2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.5;
}

.checkbox input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 0.12rem;
  accent-color: var(--blue);
  border-radius: 4px;
}

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

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  line-height: 1.4;
}

.choice:hover { border-color: var(--slate); }

.choice:has(input:checked) {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.05);
}

.choice input { width: 17px; height: 17px; flex: none; margin-top: 0.1rem; accent-color: var(--blue); }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.form__grid .field--full { grid-column: 1 / -1; }

.form__note {
  font-size: 0.8rem;
  color: var(--slate-600);
}

.form__status {
  display: none;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid;
}

.form__status[data-state="visible"] { display: flex; }
.form__status[data-tone="error"] { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.form__status[data-tone="success"] { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.form__status[data-tone="info"] { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.form__status strong { display: block; margin-bottom: 0.15rem; }
.form__status a { text-decoration: underline; font-weight: 600; }
.form__status svg { flex: none; margin-top: 0.1rem; }

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Multi-step form */
.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: stepper;
}

.stepper__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.stepper__item::before {
  counter-increment: stepper;
  content: counter(stepper);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.stepper__item[data-state="current"] {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
}

.stepper__item[data-state="current"]::before {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.stepper__item[data-state="done"] { color: var(--blue); }
.stepper__item[data-state="done"]::before {
  content: "✓";
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--blue);
}

.form-step { display: none; }
.form-step[data-active="true"] { display: block; }
.form-step__head { margin-bottom: 1.25rem; display: grid; gap: 0.35rem; }
.form-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.form-step__actions .btn:only-child { margin-left: auto; }

.form-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--surface-alt);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.form-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transition: width 0.28s ease;
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.25rem);
  background:
    radial-gradient(760px 340px at 82% -20%, rgba(37, 99, 235, 0.14), transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-head__inner { display: grid; gap: 0.9rem; max-width: 74ch; }
.page-head .h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); letter-spacing: -0.03em; }
.page-head .lead { max-width: 64ch; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--slate-600);
  list-style: none;
  padding: 0;
  margin: 0 0 0.35rem;
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a:hover { color: var(--blue); }

/* ---------- Notice / callout ---------- */
.notice {
  display: flex;
  gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid #FDE68A;
  background: #FFFBEB;
  color: #78350F;
  font-size: 0.88rem;
  line-height: 1.6;
}

.notice--info { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }
.notice svg { flex: none; margin-top: 0.12rem; }
.notice strong { font-weight: 700; }
.notice a { text-decoration: underline; font-weight: 600; }

/* ---------- Prose (legal, long-form) ---------- */
.prose {
  max-width: 72ch;
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.72;
}

.prose > * + * { margin-top: 1.05rem; }

.prose h2 {
  font-size: clamp(1.3rem, 1.2rem + 0.6vw, 1.55rem);
  margin-top: 2.4rem;
  padding-top: 0.4rem;
  scroll-margin-top: 110px;
}

.prose h3 {
  font-size: 1.08rem;
  margin-top: 1.7rem;
}

.prose ul,
.prose ol { display: grid; gap: 0.45rem; padding-left: 1.25rem; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1.25rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th { font-weight: 600; color: var(--ink); background: var(--surface-alt); }

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-nav h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.legal-nav a {
  padding: 0.42rem 0.55rem;
  border-radius: 7px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.legal-nav a:hover { background: var(--surface-alt); color: var(--ink); }

.legal-nav a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--slate-600);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--ink-on-dark-muted);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 1.5rem;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 300px at 10% 0%, rgba(37, 99, 235, 0.22), transparent 65%);
  pointer-events: none;
}

.site-footer > .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-brand { display: grid; gap: 0.9rem; align-content: start; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__sub { color: var(--slate); }
.footer-brand p { max-width: 34ch; color: var(--slate); font-size: 0.88rem; }

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }

.footer-col a { color: var(--slate); font-size: 0.88rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--sky); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--sky); }

.footer__lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-pill);
}

.footer__lang button {
  border: 0;
  background: transparent;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.5rem;
  border-radius: var(--radius-pill);
}

.footer__lang button[aria-pressed="true"] { background: rgba(148, 163, 184, 0.18); color: #fff; }

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link { padding-inline: 0.5rem; font-size: 0.88rem; }
  .header-actions .btn--primary { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 20ch; }
  .blueprint { max-width: 560px; }
  .footer-top { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

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

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    box-shadow: 0 24px 40px -30px rgba(11, 17, 32, 0.4);
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .nav__link { display: block; padding: 0.72rem 0.6rem; font-size: 1rem; }

  .header-actions { gap: 0.5rem; }
  .header-actions .btn--primary { display: inline-flex; }

  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .split,
  .split--text-wide { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-self: start; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 720px) {
  .header-actions .btn--primary { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px minmax(0, 1fr); }
  .hero__meta { font-size: 0.8rem; }
  .addon-table thead { display: none; }
  .addon-table tbody th,
  .addon-table tbody td { display: block; width: 100%; padding: 0.35rem 0.25rem; border: 0; }
  .addon-table tbody tr { display: block; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
  .addon-table tbody td:last-child { text-align: left; color: var(--blue); padding-top: 0; }
  .stepper__item span { display: none; }
  .stepper__item { padding: 0.2rem; }
  .form-step__actions { flex-direction: column-reverse; }
  .form-step__actions .btn { width: 100%; }
  .form-step__actions .btn:only-child { margin-left: 0; }
}

@media (max-width: 400px) {
  :root { --gutter: 0.9rem; }
  .header-inner { gap: 0.5rem; }
  .brand { gap: 0.45rem; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 0.9rem; }
  .brand__text { max-width: 46vw; }
  .lang-switch { padding: 2px; }
  .lang-switch__btn { padding: 0.2rem 0.38rem; font-size: 0.7rem; }
  .nav-toggle { width: 38px; height: 38px; }
}

@media (max-width: 560px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .work-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .hero__actions .btn { width: 100%; }
  .chip-float--seo { right: 4px; }
  .chip-float--lang { left: 4px; }
  .trustline__inner { justify-content: flex-start; }
  .price-card__flag { font-size: 0.62rem; }
}

@media (min-width: 901px) {
  .nav { display: flex !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle,
  .lang-switch { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
