:root {
  --navy: #041b3d;
  --navy-2: #062a54;
  --deep: #021633;
  --teal: #0aa79a;
  --teal-2: #12c5b4;
  --ink: #071932;
  --muted: #5b6677;
  --line: #dfe6ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --mist: #eef7f6;
  --shadow: 0 22px 60px rgba(4, 27, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(10, 167, 154, 0.11), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 46%, #ffffff 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

svg {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding: 11px 0;
  border-color: rgba(223, 230, 238, 0.9);
  box-shadow: 0 12px 30px rgba(4, 27, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
}

.logo-ring,
.logo-gap,
.logo-n {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-ring {
  stroke: var(--teal);
  stroke-width: 8;
  stroke-dasharray: 245 57;
  transform: rotate(-20deg);
  transform-origin: 60px 60px;
}

.logo-gap {
  stroke: #fff;
  stroke-width: 12;
}

.logo-n {
  stroke: var(--navy);
  stroke-width: 8;
}

.logo-type {
  display: grid;
  gap: 7px;
}

.logo-name {
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.logo-sub {
  display: grid;
  grid-template-columns: 48px auto 48px;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-size: clamp(12px, 1.45vw, 16px);
  font-weight: 800;
  letter-spacing: 0.37em;
  text-transform: uppercase;
}

.logo-sub span {
  height: 4px;
  background: var(--teal);
  border-radius: 999px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.primary-nav .active {
  color: var(--teal);
}

.primary-nav .nav-promo {
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 167, 154, 0.22);
}

.primary-nav .nav-promo::after {
  display: none;
}

.primary-nav .nav-promo:hover,
.primary-nav .nav-promo.active {
  color: #fff;
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--navy);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.hero {
  padding: 46px 0 18px;
}

.page-hero {
  padding-bottom: 32px;
}

.hero-grid {
  display: grid;
  align-items: center;
}

.about-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 52px;
}

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

.home-hero .hero-copy {
  max-width: 790px;
}

.pricing-hero {
  text-align: left;
}

.pricing-hero .hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(44px, 5.8vw, 70px);
  line-height: 1.02;
  font-weight: 850;
}

.home-hero h1 {
  max-width: 790px;
}

.lead {
  max-width: 780px;
  margin-bottom: 32px;
  color: #26384f;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.45;
}

.home-hero .lead {
  max-width: 720px;
}

.hero-support {
  max-width: 790px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 14px 30px rgba(10, 167, 154, 0.26);
}

.btn-dark {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(4, 27, 61, 0.22);
}

.btn-subtle {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(4, 27, 61, 0.08);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(10, 167, 154, 0.42);
  outline-offset: 4px;
}

.info-card,
.project-card,
.portrait-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
}

.content-section,
.story-section,
.split-section,
.pricing-teaser {
  padding: 58px 0;
}

.service-grid,
.portfolio-grid,
.values-grid {
  display: grid;
  gap: 18px;
}

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

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip > div {
  min-height: 154px;
  padding: 24px 24px 24px 0;
}

.service-strip > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--teal);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-strip h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
}

.service-strip p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-card {
  min-height: 260px;
  padding: 28px 24px;
}

.info-card h3,
.project-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.18;
}

.info-card p,
.project-card p,
.narrow-copy p,
.process-list p,
.teaser-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.info-card p,
.project-card p {
  margin-bottom: 0;
}

.split-section {
  background: rgba(238, 247, 246, 0.72);
}

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

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

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

.project-card {
  min-height: 250px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), #fff 58%),
    linear-gradient(135deg, rgba(10, 167, 154, 0.16), rgba(4, 27, 61, 0.08));
}

.project-card span,
.process-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-grid-large {
  align-items: stretch;
}

.portfolio-detail-card {
  display: flex;
  flex-direction: column;
}

.clarity-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.clarity-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.clarity-list dt {
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 900;
}

.clarity-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.score-change {
  margin: auto 0 0;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
}

.score-change span {
  margin: 0 8px;
  color: var(--teal);
}

.teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px 40px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 27, 61, 0.96), rgba(6, 42, 84, 0.98)),
    linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.teaser-grid h2,
.teaser-grid .eyebrow,
.teaser-grid p {
  color: #fff;
}

.teaser-grid h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.teaser-grid p {
  max-width: 720px;
  margin-bottom: 0;
  opacity: 0.84;
}

.portrait-card {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 5;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 28%;
}

.narrow-copy {
  max-width: 860px;
}

.narrow-copy h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04;
}

.narrow-copy p {
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.trust-band {
  padding: 30px 0 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(4, 27, 61, 0.05);
}

.trust-item {
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
}

.trust-icon,
.card-icon,
.cta-icon {
  display: inline-grid;
  place-items: center;
  color: var(--navy);
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.trust-icon svg,
.card-icon svg,
.cta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-section {
  padding: 26px 0 22px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.estimator h2,
.cta-card h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04;
}

.section-heading p:last-child,
.estimator p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 30px 22px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.price-card:hover,
.price-card.is-focused {
  transform: translateY(-6px);
  border-color: rgba(10, 167, 154, 0.42);
  box-shadow: var(--shadow);
}

.price-card.featured {
  padding-top: 70px;
}

.price-card.dark .badge {
  background: var(--navy);
}

.badge {
  position: absolute;
  inset: 0 0 auto 0;
  display: grid;
  place-items: center;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border-radius: 14px 14px 0 0;
  font-weight: 900;
  text-transform: uppercase;
}

.card-label {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.card-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
}

.card-icon.teal {
  color: var(--teal);
}

.card-icon.navy {
  color: var(--navy);
}

.price-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
  text-align: center;
}

.price {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: clamp(42px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.price span {
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}

.summary {
  min-height: 68px;
  margin-bottom: 20px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

.feature-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.feature-list li::marker {
  color: var(--teal);
}

.checks {
  padding-left: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.estimator-section {
  padding: 42px 0;
}

.tool-section {
  padding: 22px 0 70px;
}

.tool-layout,
.premium-estimator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 28px;
  align-items: start;
}

.tool-panel,
.result-panel,
.estimate-summary,
.estimator-options {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
}

.tool-panel,
.result-panel,
.estimate-summary {
  padding: 28px;
}

.ai-disclaimer {
  overflow: hidden;
  grid-column: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
}

.ai-disclaimer summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.ai-disclaimer summary:hover {
  color: var(--deep);
  background: var(--mist);
}

.ai-disclaimer summary:focus-visible {
  outline: 3px solid rgba(10, 167, 154, 0.42);
  outline-offset: -3px;
}

.ai-disclaimer summary::-webkit-details-marker {
  display: none;
}

.ai-disclaimer summary::after {
  content: "+";
  display: grid;
  place-items: center;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 28px;
  height: 28px;
  color: var(--teal);
  border: 1px solid rgba(10, 167, 154, 0.3);
  border-radius: 50%;
}

.ai-disclaimer[open] summary::after {
  content: "-";
}

.ai-disclaimer p {
  margin: 0;
  padding: 0 22px 16px;
  color: var(--muted);
  line-height: 1.55;
}

.ai-disclaimer p:first-of-type {
  padding-top: 4px;
}

.ai-disclaimer p:last-child {
  padding-bottom: 22px;
}

.tool-panel {
  grid-column: 1;
}

.result-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

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

.field-group {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.field-hint {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-error {
  margin: 0 0 18px;
  padding: 13px 15px;
  color: #7a1f1f;
  background: #fff1f1;
  border: 1px solid #f0c8c8;
  border-radius: 10px;
  line-height: 1.45;
}

.form-success {
  margin: 0 0 18px;
  padding: 13px 15px;
  color: #1e5d39;
  background: #effaf3;
  border: 1px solid #bde6cb;
  border-radius: 10px;
  line-height: 1.45;
}

.field-group label,
fieldset legend {
  color: var(--navy);
  font-weight: 900;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus,
.choice-card:has(input:focus-visible) {
  outline: 0;
  border-color: rgba(10, 167, 154, 0.72);
  box-shadow: 0 0 0 4px rgba(10, 167, 154, 0.13);
}

.result-panel h2 {
  color: var(--navy);
  font-size: 31px;
  line-height: 1.15;
}

.result-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.result-panel h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.tool-note {
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.45;
}

.review-includes,
.review-steps,
.example-review-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.review-includes li + li,
.review-steps li + li,
.example-review-card li + li {
  margin-top: 7px;
}

.review-method-section,
.review-output-section {
  padding: 58px 0;
}

.review-method-section {
  background: rgba(238, 247, 246, 0.72);
}

.review-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.review-steps {
  margin: 0;
  padding: 22px 22px 22px 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
}

.review-steps li::marker {
  color: var(--teal);
  font-weight: 900;
}

.example-review-card {
  display: grid;
  gap: 22px;
  max-width: 920px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.example-score {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.example-score span,
.example-summary strong,
.example-review-grid strong,
.priority-note strong {
  color: var(--navy);
  font-weight: 900;
}

.example-score strong {
  color: var(--teal);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.example-summary p,
.priority-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.example-review-grid > div,
.priority-note {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.score-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.score-circle {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
}

.score-guidance {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 900;
}

.review-snapshot-grid,
.review-issue-list,
.review-rating-accordion {
  display: grid;
  gap: 14px;
}

.review-snapshot-grid {
  margin: 16px 0;
}

.review-result-section,
.review-issue {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.review-result-section + .review-result-section,
.review-snapshot-grid + .review-result-section {
  margin-top: 14px;
}

.review-result-section p:last-child,
.review-issue p:last-child {
  margin-bottom: 0;
}

.review-issue {
  background: #fff;
}

.review-issue strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.review-issue p {
  margin-bottom: 7px;
}

.review-issue span {
  color: var(--navy);
  font-weight: 900;
}

.review-loading h2 {
  margin-bottom: 18px;
}

.review-loading-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-loading-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
}

.review-loading-steps span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.review-loading-steps .is-active {
  color: var(--navy);
  border-color: rgba(10, 167, 154, 0.55);
  box-shadow: 0 8px 20px rgba(10, 167, 154, 0.08);
}

.review-loading-steps .is-active span,
.review-loading-steps .is-complete span {
  color: var(--teal);
}

.review-loading-steps .is-complete {
  color: var(--ink);
}

.review-loading-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.review-rating-detail {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 12px;
}

.review-rating-detail summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.review-rating-detail summary::-webkit-details-marker {
  display: none;
}

.review-rating-detail summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 24px;
  color: var(--teal);
  border: 1px solid rgba(10, 167, 154, 0.38);
  border-radius: 50%;
  font-weight: 900;
}

.review-rating-detail[open] summary::before {
  content: "-";
}

.review-rating-detail summary span {
  grid-column: 1;
  grid-row: 1;
  padding-left: 36px;
  color: var(--navy);
  font-weight: 900;
}

.review-rating-detail summary strong {
  padding: 4px 8px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-rating-body {
  padding: 0 16px 16px;
}

.review-rating-adequate {
  border-left-color: #c48a19;
}

.review-rating-weak {
  border-left-color: #b94b4b;
}

.review-evidence-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.review-next-steps {
  margin-top: 20px;
  padding: 18px;
  background: var(--mist);
  border: 1px solid rgba(10, 167, 154, 0.28);
  border-radius: 12px;
}

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

.review-next-steps p {
  margin-bottom: 10px;
}

.recommended-next-step {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.recommended-next-step h3,
.recommended-next-step p {
  color: #fff;
}

.score-list {
  display: grid;
  gap: 13px;
  margin: 22px 0;
}

.score-row {
  display: grid;
  gap: 7px;
}

.score-row > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--navy);
  font-weight: 800;
}

.score-bar {
  overflow: hidden;
  height: 10px;
  background: var(--mist);
  border-radius: 999px;
}

.score-bar span {
  display: block;
  height: 100%;
  width: var(--score);
  background: linear-gradient(90deg, var(--teal), var(--navy));
  border-radius: inherit;
}

.insight-grid {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.insight-card {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.insight-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.insight-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

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

.review-detail-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.review-detail-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(4, 27, 61, 0.06);
}

.review-detail-card summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.review-detail-card summary::-webkit-details-marker {
  display: none;
}

.review-detail-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--teal);
  border: 1px solid rgba(10, 167, 154, 0.38);
  border-radius: 50%;
}

.review-detail-card[open] summary::after {
  content: "-";
}

.review-detail-card > div {
  padding: 0 22px 22px;
}

.review-detail-card p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  padding: 10px 0 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 126px;
}

.reassurance-card {
  padding: 30px;
  color: #fff;
  background: var(--deep);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.reassurance-card h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.reassurance-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.contact-form {
  padding: 30px;
}

.field-group label span[aria-hidden="true"] {
  color: var(--teal);
}

.optional {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.quote-attached-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 95, 77, 0.24);
  background: rgba(45, 95, 77, 0.08);
  color: #244739;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-submit {
  min-width: 180px;
}

.estimator-options {
  display: grid;
  gap: 24px;
  padding: 28px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset legend {
  margin-bottom: 13px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

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

.choice-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 16px 16px 16px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 167, 154, 0.44);
}

.choice-card:has(input:checked) {
  background: var(--mist);
  border-color: rgba(10, 167, 154, 0.72);
  box-shadow: 0 10px 24px rgba(10, 167, 154, 0.12);
}

.choice-card input {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.choice-card span {
  color: var(--navy);
  font-weight: 900;
  line-height: 1.25;
}

.choice-card small {
  color: var(--muted);
  line-height: 1.35;
}

.choice-card.compact {
  min-height: 58px;
  align-content: center;
}

.page-count-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px 16px;
  align-items: center;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-count-control label {
  color: var(--navy);
  font-weight: 900;
}

.page-count-control input {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 900;
}

.page-count-control p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tier-card {
  align-content: start;
  min-height: 245px;
}

.tier-card em {
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.suggested-pages {
  margin-top: 15px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.suggested-pages span {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 900;
}

.suggested-pages ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--ink);
}

.suggested-pages p,
.estimate-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.estimate-summary {
  position: sticky;
  top: 126px;
}

.estimate-figure {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.estimate-figure span,
.summary-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 700;
}

.estimate-figure strong {
  color: var(--teal);
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
}

.summary-grid {
  display: grid;
  gap: 13px;
  margin: 22px 0;
}

.estimate-line-items {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.estimate-line-items div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.estimate-line-items span {
  color: var(--muted);
  line-height: 1.4;
}

.estimate-line-items strong {
  color: var(--navy);
  text-align: right;
}

.summary-grid div {
  padding: 15px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.summary-grid strong {
  color: var(--navy);
  font-size: 20px;
}

.estimate-summary > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.complexity-reason {
  padding: 14px 15px;
  background: var(--mist);
  border: 1px solid rgba(10, 167, 154, 0.24);
  border-radius: 12px;
  font-weight: 800;
}

.estimator {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 42px;
  align-items: center;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 27, 61, 0.96), rgba(6, 42, 84, 0.98)),
    linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.estimator h2,
.estimator .eyebrow,
.estimator p {
  color: #fff;
}

.estimator p {
  margin-bottom: 0;
  opacity: 0.86;
}

.estimator-panel {
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 16px;
}

.estimator-panel > label {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 900;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  gap: 16px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

output {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
  font-weight: 900;
}

.option-row {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.option-row label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.option-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.estimate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.estimate-total span {
  color: var(--muted);
}

.estimate-total strong {
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.cta-section {
  padding: 34px 0 70px;
}

.cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 40px;
  color: #fff;
  background: var(--deep);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta-icon {
  width: 72px;
  height: 72px;
  color: var(--teal);
}

.cta-card h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
}

.cta-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.45;
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: var(--deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.75fr;
  align-items: center;
  gap: 38px;
}

.footer-logo .logo-mark {
  width: 74px;
  height: 74px;
}

.footer-logo .logo-n {
  stroke: #fff;
}

.footer-logo .logo-name {
  color: #fff;
  font-size: 31px;
}

.footer-logo .logo-gap {
  stroke: var(--deep);
}

.footer-logo .logo-sub {
  font-size: 13px;
}

.footer-logo .logo-sub {
  grid-template-columns: 42px auto 42px;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .primary-nav {
    gap: 10px;
    font-size: 11px;
  }

  .logo-mark {
    width: 70px;
    height: 70px;
  }

  .logo-name {
    font-size: 30px;
  }

  .logo-sub {
    grid-template-columns: 38px auto 38px;
    gap: 10px;
    font-size: 12px;
  }
}

@media (max-width: 1100px) {
  .estimator {
    grid-template-columns: 1fr;
  }

  .tool-layout,
  .premium-estimator,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .ai-disclaimer,
  .tool-panel,
  .result-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .estimate-summary,
  .contact-copy {
    position: static;
  }

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

  .service-strip > div,
  .service-strip > div + div {
    padding: 22px 24px 22px 0;
    border-left: 0;
  }

  .service-strip > div:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .service-strip > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .about-hero-grid,
  .split-grid,
  .review-method-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    padding: 12px 0;
  }

  .logo-mark {
    width: 56px;
    height: 56px;
  }

  .logo {
    gap: 11px;
  }

  .logo-name {
    font-size: clamp(22px, 7vw, 30px);
  }

  .logo-sub {
    grid-template-columns: 32px auto 32px;
    gap: 9px;
    font-size: clamp(10px, 3vw, 13px);
  }

  .logo-sub span {
    height: 3px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 81px 14px auto 14px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px;
  }

  .hero {
    padding: 32px 0 14px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .home-hero h1 {
    max-width: 790px;
  }

  .pricing-grid,
  .trust-grid,
  .service-grid,
  .service-strip,
  .portfolio-grid,
  .values-grid,
  .footer-inner,
  .teaser-grid,
  .field-grid,
  .choice-grid,
  .choice-grid.three,
  .choice-grid.four,
  .score-hero,
  .example-review-grid {
    grid-template-columns: 1fr;
  }

  .service-strip > div,
  .service-strip > div + div,
  .service-strip > div:nth-child(even) {
    min-height: auto;
    padding: 20px 0;
    border-left: 0;
  }

  .service-strip > div + div {
    border-top: 1px solid var(--line);
  }

  .price-card {
    min-height: auto;
  }

  .estimator,
  .cta-card,
  .teaser-grid {
    padding: 28px 22px;
  }

  .estimator-panel {
    padding: 20px;
  }

  .tier-card {
    min-height: auto;
  }

  .suggested-pages ul {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: stretch;
  }

  .cta-card .btn,
  .teaser-grid .btn {
    width: 100%;
  }

  .content-section,
  .story-section,
  .split-section,
  .pricing-teaser,
  .review-method-section,
  .review-output-section {
    padding: 42px 0;
  }

  .info-card,
  .project-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .tool-panel,
  .result-panel,
  .ai-disclaimer summary,
  .estimate-summary,
  .estimator-options,
  .review-steps,
  .example-review-card {
    padding: 22px;
  }

  .ai-disclaimer p {
    padding-right: 22px;
    padding-left: 22px;
  }

  .review-steps {
    padding-left: 42px;
  }

  .page-count-control,
  .estimate-line-items div {
    grid-template-columns: 1fr;
  }

  .estimate-line-items strong {
    text-align: left;
  }

  .result-actions .btn,
  .premium-estimator .btn,
  .section-actions .btn,
  .contact-submit {
    width: 100%;
  }

  .contact-section {
    padding-bottom: 52px;
  }

  .contact-form,
  .reassurance-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
