:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5b675f;
  --paper: #f8f5ef;
  --surface: #ffffff;
  --line: #d8dfd6;
  --accent: #0d6e57;
  --accent-2: #d94f30;
  --accent-3: #253c78;
  --soft: #eaf2e7;
  --shadow: 0 20px 55px rgba(29, 47, 38, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  align-items: center;
  background: rgba(248, 245, 239, 0.9);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(18px, 4vw, 48px);
  position: sticky;
  right: 0;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 20;
}

.brand,
nav {
  align-items: center;
  display: flex;
  gap: 14px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-size: 0.8rem;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

nav {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a {
  padding: 8px 4px;
}

.nav-cta {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  padding: 9px 14px;
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  min-height: calc(100vh - 66px);
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 70px) clamp(34px, 5vw, 56px);
}

.hero-copy,
.hero-panel {
  align-self: center;
}

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

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

h1 {
  font-size: clamp(2.45rem, 6.2vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 920px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.15rem);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 0;
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--accent-2);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
}

.proof-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 720px;
}

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

.proof-row dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.proof-row dd {
  font-size: 1.02rem;
  font-weight: 850;
  margin: 2px 0 0;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  background:
    linear-gradient(135deg, rgba(13, 110, 87, 0.18), rgba(217, 79, 48, 0.1)),
    repeating-linear-gradient(90deg, rgba(23, 32, 28, 0.08) 0 1px, transparent 1px 44px);
  border-radius: 8px;
  content: "";
  inset: -22px 28px 26px -18px;
  position: absolute;
  z-index: -1;
}

.browser-frame {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  align-items: center;
  background: #26352f;
  display: flex;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
}

.browser-bar span {
  background: #f2f0e8;
  border-radius: 999px;
  height: 10px;
  opacity: 0.8;
  width: 10px;
}

.browser-body {
  padding: clamp(18px, 3vw, 32px);
}

.mini-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mini-toolbar span {
  background: var(--soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 10px;
}

.launch-grid {
  display: grid;
  gap: 12px;
}

.launch-card {
  align-items: center;
  background: #f8faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 14px;
}

.launch-card small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.check-icon,
.pulse-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.check-icon {
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.pulse-icon {
  background:
    radial-gradient(circle, var(--accent-2) 0 30%, transparent 31%),
    rgba(217, 79, 48, 0.12);
}

.metric-strip {
  background: #17201c;
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  overflow: hidden;
}

.metric-strip div {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.metric-strip span {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
}

.metric-strip small {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 70px);
}

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

.section-heading.split {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
}

.text-link {
  color: var(--accent);
  font-weight: 850;
}

.offer-grid,
.audit-preview-grid,
.demo-grid,
.project-grid,
.steps {
  display: grid;
  gap: 16px;
}

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

.offer-card,
.audit-preview-grid article,
.project-grid article,
.steps article {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  padding: 22px;
}

.offer-card.featured {
  border-color: rgba(217, 79, 48, 0.45);
  box-shadow: 0 18px 42px rgba(217, 79, 48, 0.12);
}

.offer-top {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.offer-top span {
  color: var(--accent-2);
  font-size: 1.15rem;
  font-weight: 900;
}

.offer-card p,
.audit-preview-grid p,
.project-grid p,
.steps p,
.demo-card p {
  color: var(--muted);
}

.audit-preview {
  background: #eef3ea;
  border-block: 1px solid var(--line);
}

.audit-preview-grid span {
  color: var(--accent-2);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.command-snippet {
  background: #17201c;
  border-radius: 8px;
  color: #f7f4ee;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 18px 0 0;
  overflow-x: auto;
  padding: 16px 18px;
}

.command-snippet code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.section-note {
  color: var(--muted);
  margin: 18px 0 0;
}

.section-note a {
  color: var(--accent);
  font-weight: 850;
}

.offer-card a,
.project-grid a {
  color: var(--accent);
  font-weight: 850;
}

.project-grid a {
  display: inline-block;
  margin-right: 12px;
  margin-top: 4px;
}

.demo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.demo-card {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.demo-card img {
  aspect-ratio: 16 / 10;
  background: #e7ece6;
  object-fit: cover;
  width: 100%;
}

.demo-card div {
  padding: 18px;
}

.demo-card span {
  color: var(--accent-3);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

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

.process-section {
  background: #eef3ea;
  border-block: 1px solid var(--line);
}

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

.steps span {
  color: var(--accent-2);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.cta-band {
  align-items: center;
  background: #17201c;
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: clamp(20px, 4vw, 44px) clamp(18px, 5vw, 70px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
}

.cta-band .eyebrow {
  color: #8fd1bb;
}

.cta-band h2 {
  max-width: 760px;
}

footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 34px 18px 46px;
}

footer a {
  color: var(--ink);
  font-weight: 750;
}

.repair-hero {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 70px) clamp(36px, 6vw, 72px);
}

.page-hero {
  align-items: center;
  display: grid;
  min-height: min(680px, calc(100vh - 66px));
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 70px) clamp(36px, 6vw, 72px);
}

.rescue-hero {
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.94), rgba(248, 245, 239, 0.72)),
    linear-gradient(135deg, rgba(13, 110, 87, 0.16), rgba(37, 60, 120, 0.13), rgba(217, 79, 48, 0.12));
  border-bottom: 1px solid var(--line);
}

.shipcheck-hero {
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.95), rgba(248, 245, 239, 0.76)),
    linear-gradient(135deg, rgba(37, 60, 120, 0.15), rgba(13, 110, 87, 0.16), rgba(217, 79, 48, 0.1));
  border-bottom: 1px solid var(--line);
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
}

.terminal-frame {
  align-self: center;
  box-shadow: var(--shadow);
}

.tool-logo {
  border-radius: 8px;
  height: 58px;
  margin-bottom: 18px;
  width: 58px;
}

.terminal-output {
  background: #17201c;
  border-radius: 8px;
  color: #f7f4ee;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  overflow-x: auto;
  padding: 18px;
}

.terminal-output code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

.rescue-grid article {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  padding: 22px;
}

.rescue-grid span {
  color: var(--accent-2);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

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

.trend-section,
.price-section {
  background: #f3f5ee;
  border-block: 1px solid var(--line);
}

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

.source-list article {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  padding: 22px;
}

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

.source-list a {
  color: var(--accent);
  font-weight: 850;
}

.repair-summary {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.repair-summary div {
  background: #f8faf6;
  display: grid;
  gap: 4px;
  padding: 20px;
}

.repair-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.repair-summary strong {
  font-size: 1.35rem;
}

.repair-band {
  background: #eef3ea;
  border-block: 1px solid var(--line);
}

.repair-grid,
.deliverable-list,
.care-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.repair-grid article,
.deliverable-list article,
.care-card {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  padding: 22px;
}

.care-card.featured {
  border-color: rgba(217, 79, 48, 0.45);
  box-shadow: 0 18px 42px rgba(217, 79, 48, 0.12);
}

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

.care-card ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.care-card li + li {
  margin-top: 8px;
}

.repair-grid span {
  color: var(--accent-2);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.repair-grid p,
.deliverable-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.deliverable-list strong {
  display: block;
  margin-bottom: 8px;
}

.report-hero {
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 70px) clamp(24px, 4vw, 42px);
}

.report-hero h1 {
  max-width: 920px;
}

.report-shell {
  padding-top: 0;
}

.report-header {
  align-items: end;
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  padding: 22px;
}

.report-header span {
  background: var(--soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  padding: 8px 11px;
}

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

.report-grid article {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  padding: 22px;
}

.report-grid article p {
  color: var(--muted);
}

.report-card {
  background: var(--surface);
  border-bottom: 1px solid rgba(23, 32, 28, 0.1);
  border-left: 1px solid rgba(23, 32, 28, 0.1);
  padding: 22px;
}

.report-card:last-child {
  border-right: 1px solid rgba(23, 32, 28, 0.1);
}

.report-card.success {
  background: #eef3ea;
}

.report-card ul {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.report-card li + li {
  margin-top: 10px;
}

.report-summary {
  background: #17201c;
  border-radius: 0 0 8px 8px;
  color: white;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.report-summary div {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.report-summary article {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.report-summary span,
.severity {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.severity {
  color: var(--accent-2);
}

.audit-hero {
  align-items: end;
  display: grid;
  gap: clamp(24px, 5vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 70px) clamp(28px, 5vw, 56px);
}

.audit-note,
.audit-results {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.audit-note p {
  color: var(--muted);
  margin-bottom: 0;
}

.audit-tool {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.43fr);
  padding: 0 clamp(18px, 5vw, 70px) clamp(56px, 8vw, 104px);
}

.audit-form {
  display: grid;
  gap: 14px;
}

.audit-form > label,
.audit-form fieldset {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
}

.audit-form label,
.audit-form legend {
  font-weight: 850;
}

.audit-form input[type="text"],
.audit-form input[type="url"] {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

.audit-form legend {
  padding: 0 4px;
}

.check-row {
  align-items: start;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  font-weight: 700;
  gap: 10px;
  grid-template-columns: 20px 1fr;
  line-height: 1.35;
}

.check-row input {
  accent-color: var(--accent);
  height: 18px;
  margin-top: 1px;
  width: 18px;
}

.audit-results {
  position: sticky;
  top: 88px;
}

.score-card {
  align-items: baseline;
  background: #17201c;
  border-radius: 8px;
  color: white;
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 20px;
}

.score-card span {
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
}

.score-card small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  font-weight: 850;
}

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

.result-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0 24px;
}

.result-actions .button {
  border: 0;
  cursor: pointer;
  font: inherit;
  min-width: 0;
}

.fix-list {
  color: var(--muted);
  margin-bottom: 0;
  padding-left: 20px;
}

.fix-list li + li {
  margin-top: 10px;
}

.tool-note {
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  margin-top: 18px;
  padding-top: 16px;
}

.wide-button {
  margin-top: 10px;
  width: 100%;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .audit-hero,
  .audit-tool {
    grid-template-columns: 1fr;
  }

  .audit-results {
    position: static;
  }

  .offer-grid,
  .audit-preview-grid,
  .demo-grid,
  .project-grid,
  .rescue-grid,
  .source-list,
  .repair-grid,
  .deliverable-list,
  .care-grid,
  .report-grid,
  .report-summary,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .proof-row,
  .offer-grid,
  .audit-preview-grid,
  .demo-grid,
  .project-grid,
  .rescue-grid,
  .source-list,
  .repair-hero,
  .repair-grid,
  .deliverable-list,
  .care-grid,
  .report-grid,
  .report-summary,
  .steps {
    grid-template-columns: 1fr;
  }

  .report-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

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