:root {
  --ink: #102033;
  --muted: #5c6b7c;
  --soft: #f5f8fc;
  --soft-blue: #eaf3ff;
  --blue: #155eef;
  --blue-dark: #0b326d;
  --teal: #0f766e;
  --teal-soft: #e7f7f3;
  --gold: #b7791f;
  --gold-soft: #fff7e6;
  --line: #dbe5ef;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.10);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-soft {
  background: var(--soft);
}

.section-blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 50, 109, 0.96), rgba(16, 77, 144, 0.96)),
    url("accounting-bookkeeping.jpg") center/cover no-repeat;
}

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

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-blue .eyebrow,
.dark-card .eyebrow {
  color: #9ed7ff;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: #344257;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.section-blue .lead {
  color: rgba(255, 255, 255, 0.84);
}

#about .split > div:first-child {
  padding: 34px;
  border: 1px solid rgba(219, 229, 239, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

#about h2 {
  color: var(--blue-dark);
}

#about .lead,
#about .check-list li {
  color: var(--muted);
}

#about .eyebrow {
  color: var(--blue);
}

.subhero .lead,
.diagnostic-panel .lead {
  color: rgba(255, 255, 255, 0.84);
}

.subhero .eyebrow,
.diagnostic-panel .eyebrow {
  color: #9ed7ff;
}

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

.header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(219, 229, 239, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2e3b4f;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 34px rgba(21, 94, 239, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #0f4ed3;
  box-shadow: 0 18px 42px rgba(21, 94, 239, 0.28);
}

.button-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--soft-blue);
  box-shadow: none;
}

.button-light {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 58px 0 68px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero .split {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

.hero-actions .button {
  padding-inline: 16px;
  font-size: 0.95rem;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #2d3a4e;
  font-size: 0.9rem;
  font-weight: 750;
}

.proof-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
}

.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.clean-hero-card {
  align-self: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shark-hero-card {
  padding: 0;
}

.clean-hero-photo {
  width: 118px;
  height: 118px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.shark-hero-photo {
  width: auto;
  height: 235px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.clean-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.shark-hero-photo img {
  object-position: center center;
}

.clean-hero-content {
  padding: 0;
}

.shark-hero-card .clean-hero-content {
  padding: 24px;
}

.clean-hero-content h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.clean-hero-content p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.clean-proof-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.clean-proof-list span {
  position: relative;
  padding-left: 25px;
  color: #304057;
  font-weight: 800;
}

.clean-proof-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.trust-byline {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.trust-byline img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
}

.trust-byline strong,
.trust-byline span {
  display: block;
}

.trust-byline strong {
  color: var(--blue-dark);
  font-size: 0.94rem;
  line-height: 1.2;
}

.trust-byline span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  align-items: stretch;
}

.founder-card,
.mini-proof-card,
.hero-dashboard-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.founder-card {
  grid-row: 1 / span 3;
  min-height: 520px;
  position: relative;
}

.founder-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.founder-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.founder-caption strong,
.founder-caption span {
  display: block;
}

.founder-caption strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.founder-caption span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 760;
}

.mini-proof-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.mini-proof-card img {
  width: 100%;
  height: 126px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.qbo-card img {
  object-fit: contain;
  padding: 10px;
  background: #f7fbff;
}

.mini-proof-card strong {
  color: var(--blue-dark);
  font-size: 0.98rem;
  line-height: 1.25;
}

.hero-dashboard-mini {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--teal));
}

.hero-dashboard-mini strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-dashboard-mini .status {
  color: #dffcf6;
}

.hero-dashboard-mini .status::before {
  background: #dffcf6;
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.dashboard {
  padding: 24px;
}

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

.metric {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 1.58rem;
  line-height: 1;
}

.metric small {
  display: block;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 750;
}

.channel-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.channel {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: #2d3a4e;
  font-size: 0.92rem;
  font-weight: 750;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: #d7e5f6;
  overflow: hidden;
}

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

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

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

.cred-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0;
}

.cred-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.cred-item img {
  width: 74px;
  height: 64px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
  background: var(--white);
}

.cred-item:first-child img {
  object-fit: contain;
  padding: 6px;
}

.cred-item span {
  color: var(--blue-dark);
  font-weight: 850;
  line-height: 1.25;
}

.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 0;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: #28374b;
  font-weight: 850;
}

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

.section-head p {
  max-width: 460px;
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(16, 32, 51, 0.07);
}

.card-pad {
  padding: 28px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px;
}

.problem-card span,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 950;
}

.problem-card p,
.offer-card p,
.package p,
.process-card p,
.trust-card p {
  margin-top: 12px;
  color: var(--muted);
}

.offer-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
}

.offer-card.featured {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.offer-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.offer-card.featured .step-number {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.offer-card .button {
  margin-top: 24px;
}

.package {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 30px;
}

.package.featured {
  border-color: #99bafd;
  box-shadow: 0 28px 70px rgba(21, 94, 239, 0.16);
}

.package-label {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  margin: 20px 0 10px;
  color: var(--blue-dark);
  font-size: clamp(1.85rem, 2.5vw, 2.12rem);
  line-height: 1;
  font-weight: 950;
}

.package ul,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.package li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #304057;
}

.package li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.package-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #f3d58b;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #724a11;
  font-weight: 760;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center top;
}

.about-stack {
  display: grid;
  gap: 18px;
}

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

.team-mini-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.team-mini-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 28%;
}

.team-mini-grid article:last-child img {
  object-position: center 30%;
}

.team-mini-grid .badge-mini-card img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: var(--white);
}

.team-mini-grid div {
  padding: 14px;
}

.team-mini-grid strong,
.team-mini-grid span {
  display: block;
}

.team-mini-grid strong {
  color: var(--white);
  line-height: 1.2;
}

.team-mini-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.35;
}

.quote-card {
  padding: 30px;
  border-left: 5px solid var(--blue);
}

.testimonial-photo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border-left: 0;
  overflow: hidden;
}

.testimonial-photo-card img {
  width: 100%;
  height: 235px;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  background: var(--blue-dark);
}

.testimonial-photo-card div {
  padding: 30px;
  border-left: 5px solid var(--blue);
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 800;
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.process-card {
  min-height: 240px;
  padding: 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.trust-card {
  padding: 28px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  min-width: 160px;
  padding: 14px 18px;
  border: 1px dashed #b8c8d9;
  border-radius: var(--radius);
  background: #fbfdff;
  color: #304057;
  font-weight: 850;
  text-align: center;
}

.badge img {
  max-height: 68px;
}

.lead-magnet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px;
  border: 1px solid #a8c3fb;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff, #eef5ff);
  box-shadow: var(--shadow);
}

.checklist-preview {
  width: min(100%, 340px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.checkline {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #344257;
  font-weight: 750;
}

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

.box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.05);
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
}

.faq details p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 44px;
  align-items: start;
}

.contact-card {
  padding: 30px;
}

.form {
  display: grid;
  gap: 16px;
}

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

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

.field label {
  color: #2d3a4e;
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd9e7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: #075c54;
  font-weight: 800;
}

.form-message.show {
  display: block;
}

.footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: #0d1f35;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer img {
  width: 170px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-top: 8px;
}

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

.subhero {
  padding: 76px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 50, 109, 0.96), rgba(15, 118, 110, 0.92)),
    url("accounting-bookkeeping.jpg") center/cover no-repeat;
}

.subhero h1 {
  max-width: 900px;
}

.diagnostic-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.diagnostic-photo-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}

.diagnostic-photo-panel img {
  width: 150px;
  height: 190px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.diagnostic-price {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 950;
}

.mini-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.mini-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-bottom: 1px solid var(--line);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-row strong,
.mini-row span {
  padding: 18px;
}

.mini-row strong {
  color: var(--blue-dark);
  background: var(--soft-blue);
}

.mini-row span {
  color: var(--muted);
}

.referral-hero {
  padding: 76px 0 82px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.referral-hero .split {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: stretch;
}

.referral-proof-panel {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.referral-proof-panel img {
  width: 128px;
  height: 164px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

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

.proof-list li {
  position: relative;
  padding-left: 24px;
  color: #304057;
  font-weight: 800;
  line-height: 1.35;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}

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

.signal-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

.signal-card span {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
  font-weight: 950;
}

.signal-card p {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 760;
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.referrals-section {
  padding-top: 78px;
}

.referrals-section .section-head {
  align-items: start;
  margin-bottom: 28px;
}

.referrals-section h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.04;
}

.referrals-section .section-head > p {
  max-width: 390px;
  padding-top: 32px;
}

.referral-card {
  display: grid;
  gap: 18px;
  min-height: 0;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.045);
}

.referral-card:hover {
  border-color: #bed0e4;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.07);
}

.referral-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: baseline;
}

.referral-meta span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.referral-meta strong {
  color: var(--blue-dark);
  font-size: 1.08rem;
  line-height: 1.2;
}

.referral-meta small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.referral-excerpt {
  color: #243349;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 700;
}

.referral-details {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.referral-details summary {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 850;
  list-style: none;
}

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

.referral-details summary::after {
  content: "↓";
  margin-left: 8px;
  color: var(--blue);
  font-weight: 900;
}

.referral-details[open] summary::after {
  content: "↑";
}

.referral-details blockquote {
  margin: 16px 0 0;
  padding: 18px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft);
  color: #344257;
  line-height: 1.65;
}

.referral-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.referral-cta h2 {
  max-width: 780px;
}

.badge-link {
  border-style: solid;
  border-color: #a8c3fb;
  background: var(--soft-blue);
  color: var(--blue-dark);
  transition: transform 180ms ease, background 180ms ease;
}

.badge-link:hover {
  transform: translateY(-1px);
  background: #dfeeff;
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .split,
  .hero .split,
  .referral-hero .split,
  .contact-wrap,
  .trust-grid,
  .lead-magnet {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr 1fr;
  }

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

  .referral-signal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .referral-cta {
    display: grid;
  }

  .founder-card {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 440px;
  }

  .founder-card img {
    min-height: 440px;
  }

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

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .referrals-section .section-head > p {
    padding-top: 0;
  }

  .nav-links {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .menu-button {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-top: 52px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .referral-grid,
  .referral-signal-grid,
  .testimonial-photo-card,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions .button {
    display: none;
  }

  .brand img {
    width: 132px;
  }

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

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

  .lead-magnet,
  .contact-card,
  .diagnostic-panel {
    padding: 24px;
  }

  .package,
  .offer-card {
    min-height: auto;
  }

  .about-photo img {
    height: 380px;
  }

  .hero-visual,
  .team-mini-grid,
  .diagnostic-photo-panel,
  .referral-proof-panel {
    grid-template-columns: 1fr;
  }

  .referral-proof-panel img {
    width: 100%;
    height: 260px;
  }

  .founder-card,
  .founder-card img {
    min-height: 360px;
  }

  .mini-proof-card img,
  .team-mini-grid img {
    height: 210px;
  }

  .testimonial-photo-card img {
    height: 210px;
  }

  .diagnostic-photo-panel img {
    width: 100%;
    height: 260px;
  }

  .clean-hero-photo {
    width: 104px;
    height: 104px;
  }

  .shark-hero-photo {
    width: auto;
    height: 220px;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }
}
