:root {
  color-scheme: light;
  --ink: #151819;
  --muted: #596266;
  --line: #d8e1e4;
  --paper: #f6f8f9;
  --white: #ffffff;
  --teal: #006d77;
  --teal-2: #0f939b;
  --coral: #d1495b;
  --amber: #e9b44c;
  --green: #2f8f5b;
  --shadow: 0 18px 55px rgba(15, 30, 35, 0.14);
  --radius: 8px;
  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(--white);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(216, 225, 228, 0.74);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 12px 28px rgba(15, 30, 35, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.header-action,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 136px);
  padding: 42px 0 30px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 22px 0 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 41%, rgba(247, 250, 251, 0.66) 42%, rgba(247, 250, 251, 0.36) 100%),
    repeating-linear-gradient(90deg, rgba(0, 109, 119, 0.08) 0, rgba(0, 109, 119, 0.08) 1px, transparent 1px, transparent 74px),
    repeating-linear-gradient(0deg, rgba(209, 73, 91, 0.07) 0, rgba(209, 73, 91, 0.07) 1px, transparent 1px, transparent 68px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

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

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

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: 86px;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 640px;
  color: #323b3f;
  font-size: 20px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 109, 119, 0.22);
}

.button.primary:hover {
  background: #005b64;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  max-width: 650px;
  margin-top: 22px;
}

.hero-metrics div {
  width: min(190px, 100%);
  min-height: 68px;
  padding: 12px 0;
  border-top: 2px solid var(--ink);
}

.hero-metrics strong {
  display: block;
  font-size: 24px;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.proof-board {
  position: absolute;
  right: clamp(22px, 7vw, 94px);
  top: 12vh;
  width: min(420px, 38vw);
  min-width: 320px;
  min-height: 520px;
}

.proof-rail {
  position: absolute;
  inset: 20px auto auto 40px;
  display: grid;
  gap: 14px;
}

.proof-rail span {
  width: 76px;
  height: 11px;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.14);
}

.proof-card {
  position: absolute;
  border: 1px solid rgba(21, 24, 25, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.proof-card-main {
  right: 0;
  top: 54px;
  width: 360px;
  padding: 22px;
}

.proof-card-side {
  left: 0;
  bottom: 72px;
  width: 260px;
  padding: 18px;
}

.card-kicker,
.strip-label,
.doc-topline span,
.doc-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 18px;
}

.status-line span,
.mini-button {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(47, 143, 91, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.timeline-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.timeline-mini i {
  height: 54px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(0, 109, 119, 0.18), rgba(233, 180, 76, 0.22));
}

dl {
  margin: 0;
}

.proof-card dl div,
.result-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

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

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.problem-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-strip div {
  padding: clamp(22px, 4vw, 42px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.problem-strip p {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.45;
}

.split-section,
.audit-section,
.proof-section,
.pricing-section,
.launch-section,
.contact-section,
.outreach-section {
  padding: clamp(72px, 10vw, 126px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.3fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.outreach-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-copy.compact {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.offer-grid article,
.pricing-grid article,
.audit-form,
.audit-result,
.pack-controls,
.pack-preview,
.script-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.offer-grid article,
.pricing-grid article {
  min-height: 210px;
  padding: 24px;
}

.offer-grid p,
.pricing-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 900;
}

.audit-layout,
.pack-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) 1.18fr;
  gap: 18px;
  align-items: start;
}

.audit-form,
.audit-result,
.pack-controls,
.pack-preview {
  padding: 22px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

label span,
legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(233, 180, 76, 0.62);
  outline-offset: 2px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
}

.check-row input {
  min-height: auto;
}

.risk-meter {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.risk-meter span {
  color: var(--muted);
  font-weight: 800;
}

.risk-meter strong {
  color: var(--coral);
  font-size: 64px;
  line-height: 0.95;
}

.meter-bar {
  height: 10px;
  margin: 18px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef0;
}

.meter-bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--coral));
}

.result-note {
  margin-top: 18px;
  padding: 14px;
  border-left: 4px solid var(--teal);
  background: var(--paper);
  color: #253035;
  line-height: 1.5;
}

.pack-controls {
  position: sticky;
  top: 92px;
}

.pack-preview {
  min-height: 600px;
  background:
    linear-gradient(90deg, rgba(0, 109, 119, 0.04), transparent 28%),
    var(--white);
  box-shadow: var(--shadow);
}

.doc-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.pack-preview h3 {
  margin: 24px 0;
  font-size: 34px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.doc-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
}

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

.doc-grid strong {
  margin-top: 6px;
}

.timeline {
  margin: 0;
  padding-left: 24px;
}

.timeline li {
  margin-bottom: 18px;
  padding-left: 8px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span,
.response-copy {
  color: var(--muted);
  line-height: 1.55;
}

.response-copy {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 6px;
  background: var(--paper);
}

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

.price {
  color: var(--ink) !important;
  font-size: 30px;
  font-weight: 900;
}

.featured-plan {
  border-color: rgba(0, 109, 119, 0.58) !important;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 900;
}

.launch-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.launch-grid article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 109, 119, 0.05), transparent 52%),
    var(--white);
}

.launch-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.outreach-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: 28px;
}

.script-box {
  position: relative;
  overflow: hidden;
  background: #141819;
  color: #f3f6f7;
}

.script-box pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  white-space: pre-wrap;
  font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.copy-small {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 70px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.next-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.next-steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
}

.next-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.next-steps span {
  color: #323b3f;
  font-weight: 800;
}

.lead-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form .button {
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.form-note.success {
  color: var(--green);
}

.form-note.error {
  color: var(--coral);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer div {
  display: grid;
  gap: 4px;
}

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

.footer a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.utility-page {
  background:
    linear-gradient(90deg, rgba(0, 109, 119, 0.04), transparent 38%),
    var(--paper);
}

.utility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.utility-shell {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.utility-shell h1 {
  max-width: 760px;
  font-size: 58px;
  line-height: 1;
}

.utility-shell h2 {
  margin-top: 38px;
  font-size: 30px;
  line-height: 1.1;
}

.utility-shell p,
.plain-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.plain-list {
  padding-left: 22px;
}

.plain-list li {
  margin-bottom: 10px;
}

.plain-list.ordered {
  padding-left: 24px;
}

.code-block {
  overflow: auto;
  margin: 18px 0;
  padding: 18px;
  border-radius: 6px;
  background: #141819;
  color: #f3f6f7;
  font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.error-shell {
  min-height: calc(100vh - 72px);
  display: grid;
  align-content: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 800;
  transition: 180ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.motion-ready .hero-content {
  animation: page-in 520ms ease-out both;
}

.motion-ready .proof-card-main {
  animation: card-float 7s ease-in-out infinite;
}

.motion-ready .proof-card-side {
  animation: card-float-soft 8s ease-in-out infinite 400ms;
}

.motion-ready .timeline-mini i {
  animation: pulse-bar 2.8s ease-in-out infinite;
}

.motion-ready .timeline-mini i:nth-child(2) {
  animation-delay: 180ms;
}

.motion-ready .timeline-mini i:nth-child(3) {
  animation-delay: 360ms;
}

.motion-ready .timeline-mini i:nth-child(4) {
  animation-delay: 540ms;
}

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

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

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes card-float-soft {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(8px) rotate(1deg);
  }
}

@keyframes pulse-bar {
  0%,
  100% {
    opacity: 0.62;
    transform: scaleY(0.92);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .proof-board {
    opacity: 0.28;
    right: -120px;
    width: 420px;
  }

  .problem-strip,
  .split-section,
  .audit-layout,
  .pack-layout,
  .launch-grid,
  .contact-section,
  .outreach-section {
    grid-template-columns: 1fr;
  }

  .pack-controls {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .header-action {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero-actions,
  .hero-metrics {
    display: grid;
  }

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

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-metrics div {
    width: 100%;
    min-height: 64px;
  }

  .hero-metrics strong {
    font-size: 20px;
  }

  .hero-metrics span {
    font-size: 12px;
  }

  .proof-board {
    right: -260px;
    top: 126px;
    opacity: 0.04;
  }

  .offer-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .pack-preview h3 {
    font-size: 28px;
  }

  .lead-form {
    padding: 18px;
  }

  .problem-strip div {
    padding: 24px 14px;
  }

  .footer {
    display: grid;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .utility-header {
    min-height: 64px;
  }

  .utility-shell {
    width: min(100% - 28px, 880px);
  }

  .utility-shell h1 {
    font-size: 42px;
  }

  .utility-shell h2 {
    font-size: 26px;
  }
}

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
