/* ==========================================================================
   TestPapr — product website
   Self-contained stylesheet. No build step, no external dependencies.
   Palette follows the supplied TestPapr logo: logo blue, deep navy, and a
   cool neutral paper.
   ========================================================================== */

:root {
  color-scheme: light;

  --paper: #f4f7fc;
  --surface: #ffffff;
  --row-alt: #f8fafd;
  --line: #e3e9f2;
  --line-strong: #d3dbe8;
  --ink: #0c1930;
  --slate: #57657d;
  --slate-soft: #616d84;

  --brand: #0a63e0;
  --brand-ink: #064bb0;
  --brand-deep: #002050;
  --brand-soft: #e8f0ff;
  --brand-soft-line: #c8d9f8;

  --accent: #8a5c14;
  --accent-soft: #f5ead5;
  --good: #276a43;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;

  --shadow-sm: 0 1px 2px rgb(27 33 48 / 0.05);
  --shadow-md: 0 12px 30px -18px rgb(27 33 48 / 0.35);
  --shadow-lg: 0 30px 60px -30px rgb(27 33 48 / 0.35);

  --wrap: 1120px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 88px;
}

.section--tight {
  padding-block: 56px;
}

.section--tinted {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.6;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head__text {
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--slate);
  max-width: 56ch;
}

.section-head__link {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.section-head__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -12px rgb(46 67 116 / 0.9);
}

.btn--primary:hover {
  background: var(--brand-ink);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

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

.btn--light:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.btn--on-dark {
  background: transparent;
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

.btn--on-dark:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.6) blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgb(27 33 48 / 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.brand__name span {
  margin-top: 3px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

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

.nav-toggle .icon-close {
  display: none;
}

.site-header.nav-open .nav-toggle .icon-open {
  display: none;
}

.site-header.nav-open .nav-toggle .icon-close {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 78% -10%, #dde4f3 0%, transparent 70%),
    radial-gradient(720px 420px at 0% 110%, #eef1f7 0%, transparent 65%),
    var(--surface);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
  padding-block: 92px 96px;
}

.hero__copy {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  font-size: 12px;
  color: var(--brand-ink);
}

.hero__badge b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  letter-spacing: -0.025em;
  color: var(--brand-deep);
}

.hero h1 em {
  font-style: italic;
  color: var(--brand);
}

.hero__lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 12.5px;
  color: var(--slate);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta svg {
  width: 14px;
  height: 14px;
  color: var(--good);
}

/* Product preview (decorative mock UI) */
.hero__visual {
  position: relative;
}

.preview {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.6deg);
}

.preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--row-alt);
}

.preview__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.preview__url {
  margin-left: 8px;
  flex: 1;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 10px;
  color: var(--slate-soft);
}

.preview__body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 318px;
}

.preview__side {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: var(--row-alt);
}

.preview__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-inline: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-ink);
}

.preview__brand i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.preview__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview__nav span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 9px;
  color: var(--slate);
}

.preview__nav span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--line-strong);
}

.preview__nav span.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 600;
}

.preview__nav span.is-active::before {
  background: var(--brand);
}

.preview__main {
  padding: 16px;
}

.preview__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.preview__title b {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.preview__title small {
  font-size: 8.5px;
  color: var(--slate-soft);
}

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

.preview__stat {
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--row-alt);
}

.preview__stat small {
  display: block;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.preview__stat b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}

.preview__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 8.5px;
  color: var(--slate);
}

.preview__row i {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 4px;
  background: var(--brand-soft);
}

.preview__row b {
  flex: 1;
  overflow: hidden;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.preview__row em {
  padding: 1px 5px;
  border-radius: 999px;
  background: #e3f2e8;
  color: var(--good);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview__row em.is-amber {
  background: var(--accent-soft);
  color: var(--accent);
}

.preview__note {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand-ink);
  transform: rotate(1.2deg);
}

.preview__note i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e3f2e8;
  color: var(--good);
}

.preview__note svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Logo / trust strip
   -------------------------------------------------------------------------- */

.focus-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.focus-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  padding-block: 22px;
}

.focus-strip p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.focus-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.focus-strip li svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   What we do / capability cards
   -------------------------------------------------------------------------- */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--brand-soft-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}

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

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--slate);
}

.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate-soft);
}

.card__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--good);
}

/* --------------------------------------------------------------------------
   Featured product — TestPapr
   -------------------------------------------------------------------------- */

.product {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 380px at 92% 8%, #354d85 0%, transparent 62%),
    linear-gradient(150deg, #24365f 0%, #1b2a4a 55%, #16223c 100%);
  color: #fff;
}

.product::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 400px at 80% 20%, #000, transparent 75%);
  pointer-events: none;
}

.product__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
}

.product__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.product__logo i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.18);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: normal;
}

.product__logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.product__logo b {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.product__logo small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}

.product h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  color: #fff;
}

.product h2 em {
  font-style: italic;
  color: #c9d6f2;
}

.product__copy p {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.72);
}

.product__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.product__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgb(255 255 255 / 0.86);
}

.product__features svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: #9fc6a9;
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product__panel {
  position: relative;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  padding: 22px;
  backdrop-filter: blur(4px);
}

.product__panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}

.product__step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.product__step span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.25);
  font-size: 10.5px;
  font-weight: 700;
  color: #dbe4f6;
}

.product__step b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.product__step small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.6);
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.step {
  position: relative;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}

.about__panel {
  position: relative;
  padding: 38px;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--surface) 85%);
}

.about__panel::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0.7;
}

.about__panel-inner {
  position: relative;
  z-index: 1;
}

.about__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
  box-shadow: var(--shadow-md);
}

.about__panel blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--brand-deep);
}

.about__panel blockquote span {
  color: var(--brand);
  font-style: italic;
}

.about__panel footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--brand-soft-line);
  font-size: 12px;
  color: var(--slate);
}

.about__panel footer i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-line);
}

.about h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.about__copy p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--slate);
}

.about__list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.about__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.about__list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--good);
}

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

.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #f7f8fb 60%, #eef2f9 100%);
  padding: 48px;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -110px;
  left: -70px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--brand-soft-line);
  border-radius: 50%;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--brand-deep);
}

.cta p {
  max-width: 52ch;
  margin: 14px auto 0;
  font-size: 15px;
  color: var(--slate);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.cta__mail:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta__mail svg {
  width: 15px;
  height: 15px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-top: 56px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}

.site-footer__about p {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul a {
  font-size: 13.5px;
  color: var(--slate);
}

.site-footer ul a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--slate-soft);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer__legal a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 82% 0%, #e3e9f5 0%, transparent 70%),
    var(--paper);
  padding-block: 56px 48px;
}

.page-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--slate-soft);
}

.page-hero__crumb a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  color: var(--brand-deep);
}

.page-hero p {
  max-width: 62ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--slate);
}

.legal {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 56px 88px;
}

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--row-alt);
}

.legal__toc h2 {
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.legal__toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.legal__toc li {
  counter-increment: toc;
  font-size: 12.5px;
  line-height: 1.45;
}

.legal__toc a {
  display: flex;
  gap: 7px;
  color: var(--slate);
}

.legal__toc a::before {
  content: counter(toc) '.';
  flex: none;
  font-variant-numeric: tabular-nums;
  color: var(--slate-soft);
}

.legal__toc a:hover {
  color: var(--brand);
}

.legal__body {
  max-width: 72ch;
}

.legal__notice {
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
  padding: 14px 16px;
  border: 1px solid var(--brand-soft-line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--brand-ink);
}

.legal__notice svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

.legal__updated {
  margin-bottom: 34px;
  font-size: 12.5px;
  color: var(--slate-soft);
}

.legal__body section {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal__body section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal__body h2 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--brand-deep);
}

.legal__body h3 {
  margin: 22px 0 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.legal__body p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.legal__body p:last-child {
  margin-bottom: 0;
}

.legal__body ul {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.legal__body li::marker {
  color: var(--brand);
}

.legal__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__placeholder {
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--row-alt);
  font-size: 13px;
  color: var(--slate-soft);
}

.legal__placeholder strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
}

.legal__contact {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--row-alt);
}

.legal__contact h2 {
  font-size: 19px;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

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

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

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
    padding-block: 64px 72px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__visual {
    max-width: 540px;
  }

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

  .product__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 44px;
  }

  .product__panel {
    max-width: 520px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .about__panel {
    max-width: 620px;
  }

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

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: 64px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .site-nav a {
    padding: 12px;
    font-size: 15px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-header__actions {
    display: none;
  }

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

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

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

  .step:last-child {
    border-bottom: 0;
  }

  .legal {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 40px 64px;
  }

  .legal__toc {
    position: static;
  }

  .legal__toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 20px;
  }

  .brand__name span {
    display: none;
  }

  .hero__inner {
    padding-block: 48px 56px;
    gap: 40px;
  }

  .hero__lead {
    font-size: 15.5px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__meta {
    gap: 8px 16px;
  }

  .preview__body {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .preview__side {
    padding-inline: 7px;
  }

  .preview__note {
    right: 6px;
    bottom: -14px;
  }

  .focus-strip__inner {
    display: block;
  }

  .focus-strip ul {
    margin-top: 14px;
    gap: 10px 22px;
  }

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

  .product__inner {
    padding: 30px 24px;
  }

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

  .product__actions .btn {
    width: 100%;
  }

  .product__panel {
    padding: 18px;
  }

  .about__panel {
    padding: 26px;
  }

  .about__panel::before {
    display: none;
  }

  .cta {
    padding: 34px 22px;
  }

  .cta__actions {
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal__toc ol {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   TestPapr additions
   -------------------------------------------------------------------------- */

.site-nav .nav-mobile-only {
  display: none;
}

@media (max-width: 820px) {
  .site-nav .nav-mobile-only {
    display: block;
  }

  .site-nav .nav-mobile-only.nav-login {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--brand);
    font-weight: 700;
  }

  .site-nav .nav-mobile-only.nav-demo {
    color: var(--brand);
    font-weight: 700;
  }
}

/* --------------------------------------------------------------------------
   Supplied brand logos
   -------------------------------------------------------------------------- */

.brand__logo {
  display: block;
  width: auto;
  height: 50px;
}

.brand__logo--tp {
  height: 36px;
}

.brand--chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.brand--chip .brand__logo {
  height: 32px;
}

.about__logo {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 26px;
}

.product__logo-img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.55);
}

.preview__icon {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 4px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .brand__logo {
    height: 42px;
  }

  .brand__logo--tp {
    height: 31px;
  }

  .brand--chip .brand__logo {
    height: 28px;
  }

  .about__logo {
    width: 128px;
  }

  .product__logo-img {
    width: 190px;
  }
}

/* --------------------------------------------------------------------------
   Logo-led palette: TestPapr blue and the deep navy from the mark.
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(900px 460px at 78% -10%, #d8e6ff 0%, transparent 70%),
    radial-gradient(720px 420px at 0% 110%, #edf3fc 0%, transparent 65%),
    var(--surface);
}

.page-hero {
  background:
    radial-gradient(700px 320px at 82% 0%, #dfeaff 0%, transparent 70%),
    var(--paper);
}

.product {
  background:
    radial-gradient(700px 380px at 92% 8%, #0a55c4 0%, transparent 62%),
    linear-gradient(150deg, #062b63 0%, #002050 55%, #001638 100%);
}

.product h2 em {
  color: #a9c9ff;
}

.product__features svg {
  color: #9dc3ff;
}

.cta {
  background: linear-gradient(135deg, #e8f0ff 0%, #f8faff 60%, #edf4fd 100%);
}
