/* Nicolson PAT Services — 2026-11 redesign */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #082040;
  --navy-2: #0d2d55;
  --navy-3: #16406f;
  --ink: #081f3d;
  --muted: #4d5d6f;
  --line: #d7e1e9;
  --panel: #f3f7f9;
  --green: #48a038;
  --green-dark: #347a28;
  --green-tint: #e6f4e2;
  --green-bright: #7ed06c;
  --red: #c8372d;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(8, 32, 64, 0.16);
  --shadow-soft: 0 8px 24px rgba(8, 32, 64, 0.07);
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
}

.brand img {
  width: 176px;
  height: auto;
}

.footer-brand {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdfdfd;
}

.footer-brand img {
  width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--panel);
}

.nav-links a[aria-current="page"] {
  background: var(--green-tint);
  color: var(--green-dark);
}

.nav-links a.nav-cta,
.nav-links a.nav-cta[aria-current="page"] {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(72, 160, 56, 0.28);
}

.nav-links a.nav-cta:hover {
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(72, 160, 56, 0.3);
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--ink);
  background: transparent;
}

.button.dark {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(8, 32, 64, 0.22);
}

.button.dark:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
}

.on-dark .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.on-dark .button.secondary:hover {
  border-color: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: " \2192";
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- Shared type ---------- */

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.on-dark .eyebrow {
  color: var(--green-bright);
}

.section-lead {
  max-width: 68ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.centered-text {
  text-align: center;
}

.centered-text .section-lead {
  margin-inline: auto;
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(72, 160, 56, 0.22), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, #0a2a50 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 9px;
  border: 1px solid rgba(126, 208, 108, 0.45);
  border-radius: 999px;
  background: rgba(72, 160, 56, 0.16);
  color: #d8f3d1;
  font-size: 0.86rem;
  font-weight: 700;
}

.badge svg {
  width: 20px;
  height: 20px;
  color: var(--green-bright);
}

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

.hero-lead {
  max-width: 54ch;
  margin-top: 22px;
  color: #c9d6e4;
  font-size: 1.14rem;
}

.hero-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  color: #c9d6e4;
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-price li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-price li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Hero artwork: sample report + pass label */

.hero-art {
  position: relative;
  padding: 10px 0 96px 24px;
}

.report {
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.report-head strong {
  font-size: 0.95rem;
}

.report-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.report-rows {
  margin: 0;
  padding: 6px 20px;
  list-style: none;
}

.report-rows li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}

.report-rows li:last-child {
  border-bottom: 0;
}

.report-rows .id {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.report-rows .item {
  font-weight: 600;
}

.report-rows .item small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pill.fail {
  background: #fbe7e5;
  color: var(--red);
}

.report-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  background: var(--navy);
  color: #c9d6e4;
  font-size: 0.8rem;
  font-weight: 600;
}

.report-foot b {
  color: var(--white);
}

.pass-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 190px;
  padding: 12px 14px 13px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-5deg);
}

.pass-label b {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.pass-label b svg {
  width: 22px;
  height: 22px;
}

.pass-label dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  margin: 9px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
}

.pass-label dt {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pass-label dd {
  margin: 0;
  font-weight: 700;
}

.art-caption {
  position: absolute;
  right: 4px;
  bottom: 10px;
  color: #8ea3bb;
  font-size: 0.76rem;
}

/* ---------- Trust bar ---------- */

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 26px 22px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item .icon {
  grid-row: span 2;
}

.trust-item strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-dark);
}

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

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(60px, 8vw, 104px);
}

.section.alt {
  background: var(--panel);
}

.section.tight {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 40px;
}

.section > .wrap > h2 {
  margin-bottom: 28px;
}

.section > .wrap > h2 + .section-lead {
  margin-top: -12px;
  margin-bottom: 30px;
}

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

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid-spaced {
  margin-top: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.split h2 {
  margin-bottom: 4px;
}

.split .grid {
  margin-top: 26px;
}

/* ---------- Cards ---------- */

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 8px;
}

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

.card p + h3 {
  margin-top: 24px;
}

.card .icon,
.card-icon {
  margin-bottom: 18px;
}

.card p a {
  color: var(--green-dark);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.card.sector {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 22px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.card.sector:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.card.sector .icon {
  grid-row: span 2;
  margin: 0;
}

.card.sector h3 {
  margin: 0;
  align-self: end;
}

.card.sector p {
  font-size: 0.93rem;
}

.card.dark-card {
  border: 0;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.card.dark-card h3 {
  font-size: 1.4rem;
}

.card.dark-card p {
  color: #c9d6e4;
}

/* ---------- Check list ---------- */

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

.card .check-list {
  margin-top: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
}

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

/* ---------- Qualification band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(72, 160, 56, 0.2), transparent 60%),
    var(--navy);
  color: var(--white);
}

.band-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.band p.lead {
  margin-top: 16px;
  color: #c9d6e4;
  font-size: 1.06rem;
}

.cred {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.cred dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.cred div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cred div:first-child {
  padding-top: 0;
}

.cred div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cred dt {
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
}

.cred dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 20px;
}

.pricing-grid.three,
.pricing-preview {
  grid-template-columns: repeat(3, 1fr);
}

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

.pricing-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-card,
.price-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.pricing-card.highlight,
.price-card.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.price-card.featured::before {
  content: "Most common";
}

.price-card.featured::before,
.pricing-card.highlight .pricing-label {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-label {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.item-range {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.price {
  margin: 12px 0 10px;
  color: var(--navy);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card .description,
.price-card p:not(.price) {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pricing-card-wide .pricing-label {
  color: var(--green-bright);
}

.pricing-card-wide h3 {
  font-size: 1.5rem;
}

.pricing-card-wide .description {
  margin-top: 8px;
  color: #c9d6e4;
}

.pricing-details {
  display: grid;
  gap: 10px;
}

.pricing-details p {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-extra {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pricing-extra p + p {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.note-box {
  padding: 26px 28px;
  border-left: 5px solid var(--green);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.note-box h3 {
  margin-bottom: 8px;
}

.note-box p {
  color: var(--muted);
}

.cta-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 30px 32px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.cta-split h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.cta-split p {
  color: #c9d6e4;
}

.cta-split .actions {
  margin-top: 0;
}

.cta-split .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

/* ---------- Areas ---------- */

.chips,
.plain-list.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li,
.plain-list.areas li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.94rem;
  font-weight: 600;
}

.chips li::before,
.plain-list.areas li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(72, 160, 56, 0.32), transparent 62%),
    var(--navy);
  color: var(--white);
}

.cta-band .eyebrow {
  color: var(--green-bright);
}

.cta-band p:not(.eyebrow) {
  max-width: 60ch;
  margin-top: 14px;
  color: #c9d6e4;
  font-size: 1.06rem;
}

.cta-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.cta-band .button.secondary:hover {
  border-color: var(--white);
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 84px);
  background:
    radial-gradient(700px 380px at 92% 0%, rgba(72, 160, 56, 0.24), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, #0a2a50 100%);
  color: var(--white);
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.page-hero .eyebrow {
  color: var(--green-bright);
}

.page-hero p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 18px;
  color: #c9d6e4;
  font-size: 1.1rem;
}

.page-hero p.small {
  margin-top: 12px;
  font-size: 0.95rem;
}

.page-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

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

.faq-list {
  max-width: 860px;
}

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

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s;
}

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

.faq-item p {
  max-width: 70ch;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

/* ---------- Prose pages (privacy, terms) ---------- */

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 38px 0 0;
  font-size: 1.35rem;
}

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

.prose .section-lead {
  margin-top: 8px;
  font-size: 1rem;
}

.prose a {
  color: var(--green-dark);
  font-weight: 600;
}

/* ---------- Forms ---------- */

.form {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.section.alt > .wrap > .form {
  max-width: 860px;
  margin-inline: auto;
}

.fieldset {
  margin: 0 0 26px;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.fieldset legend {
  margin-bottom: 16px;
  padding: 0;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
}

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

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

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field input[type="file"] {
  padding: 10px;
  background: var(--panel);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(72, 160, 56, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--green);
}

.form a {
  color: var(--green-dark);
  font-weight: 600;
}

.notice {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 700;
  white-space: pre-line;
}

.notice.is-visible {
  display: block;
}

.notice.is-error {
  background: #fbe7e5;
  color: var(--red);
}

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

.site-footer {
  padding-block: 60px 34px;
  background: var(--navy);
  color: #c9d6e4;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p + p {
  margin-top: 10px;
}

.site-footer a {
  color: var(--white);
}

.footer-cred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 13px;
  border: 1px solid rgba(126, 208, 108, 0.4);
  border-radius: 999px;
  color: #d8f3d1;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-cred svg {
  width: 17px;
  height: 17px;
  color: var(--green-bright);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  align-content: start;
}

.footer-links h3 {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.footer-links a {
  color: #c9d6e4;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8ea3bb;
  font-size: 0.85rem;
}

/* ---------- Mobile CTA ---------- */

.mobile-cta {
  display: none;
}

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

@media (max-width: 1020px) {
  .hero-layout,
  .band-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 520px;
  }

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

  .trust-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

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

  .grid.three,
  .grid.four,
  .pricing-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .js .nav-toggle {
    display: flex;
  }

  .js .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 40px rgba(8, 32, 64, 0.12);
  }

  .js .nav-open .nav-links {
    display: flex;
  }

  .js .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .js .nav-links a.nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  html:not(.js) .nav-bar {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .nav-links {
    flex-wrap: wrap;
  }

  .steps,
  .pricing-grid.three,
  .pricing-preview,
  .pricing-card-wide {
    grid-template-columns: 1fr;
  }

  .pricing-grid.three,
  .pricing-preview {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 152px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .pricing-grid.two,
  .pricing-grid.four,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-item,
  .trust-item:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .hero-art {
    padding-left: 10px;
  }

  .report-rows li {
    grid-template-columns: 38px 1fr auto;
  }

  .cred div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .actions .button {
    flex: 1 1 100%;
  }

  .cta-split {
    padding: 26px 22px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  .mobile-cta .button {
    padding: 12px 14px;
    box-shadow: none;
  }

  body {
    padding-bottom: 72px;
  }
}

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

  * {
    transition: none !important;
  }
}
