:root {
  --ink: #10231e;
  --muted: #62736d;
  --paper: #f7faf6;
  --white: #ffffff;
  --line: #dce8e1;
  --deep: #061713;
  --green: #0d5a47;
  --mint: #8be7c5;
  --sage: #eaf3ee;
  --warm: #f2efe7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 4vw, 54px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(6, 23, 19, 0.68);
  backdrop-filter: blur(18px);
}

.brand,
.nav-cta {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(139, 231, 197, 0.22);
}

nav {
  display: flex;
  gap: 25px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.93rem;
}

.nav-cta {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-visual,
.hero-overlay,
.hero-visual img,
#heroCanvas {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.92) contrast(1.03);
}

#heroCanvas {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 15, 0.94) 0%, rgba(5, 18, 15, 0.77) 36%, rgba(5, 18, 15, 0.24) 72%),
    linear-gradient(180deg, rgba(5, 18, 15, 0.08) 42%, rgba(5, 18, 15, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(150px, 20vh, 220px) 0 220px;
}

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

.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--mint);
}

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

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 8.1rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 910px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5.3vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
  line-height: 1.14;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 820;
}

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

.button.primary {
  color: #08251f;
  background: var(--mint);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: var(--deep);
}

.scan-card {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 8vw, 118px);
  bottom: clamp(160px, 22vh, 250px);
  width: min(250px, 32vw);
  padding: 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 23, 19, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  animation: cardFloat 5.5s ease-in-out infinite;
}

.scan-card span,
.scan-card p {
  color: rgba(255, 255, 255, 0.72);
}

.scan-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mint);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

.scan-card p {
  margin-bottom: 0;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-strip {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 54px);
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  width: min(700px, calc(100% - 40px));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-strip div {
  padding-top: 18px;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  margin-bottom: 6px;
  color: var(--mint);
  font-size: 1.2rem;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
}

.section-pad {
  padding: clamp(78px, 10vw, 136px) clamp(20px, 4vw, 54px);
  scroll-margin-top: 86px;
}

.section-intro,
.two-col,
.flow,
.scenario,
.clinic-grid,
.compare-table,
.partner-grid,
.team,
.updates,
.faq-list,
.final-cta,
footer {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-intro.wide {
  width: min(var(--max), 100%);
}

.intro-band {
  background: var(--paper);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 8vw, 100px);
  margin-top: 58px;
}

.two-col > p,
.scenario-copy p,
.section-kicker {
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.section-kicker {
  max-width: 780px;
  margin: 28px 0 0;
}

.plain-list {
  display: grid;
  gap: 24px;
}

.plain-list div,
.flow article,
.clinic-grid article,
.compare-table div {
  border-top: 1px solid var(--line);
}

.plain-list div {
  padding-top: 20px;
}

.plain-list span,
.flow span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 880;
}

.plain-list p,
.flow p,
.clinic-grid p,
.compare-table p {
  color: var(--muted);
  line-height: 1.56;
}

.how,
.clinics,
.updates {
  background: var(--white);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 62px;
}

.flow article {
  min-height: 230px;
  padding-top: 24px;
}

.flow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 90, 71, 0.24);
  border-radius: 50%;
}

.scenario {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.58fr);
  gap: clamp(44px, 9vw, 122px);
  align-items: center;
}

.phone-panel {
  display: grid;
  justify-items: center;
}

.phone {
  width: min(320px, 100%);
  min-height: 570px;
  padding: 38px 26px 28px;
  color: var(--white);
  border: 10px solid #101d1a;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 25%, rgba(139, 231, 197, 0.18), transparent 30%),
    linear-gradient(180deg, #0b332a, #071d18);
  box-shadow: 0 35px 90px rgba(16, 35, 30, 0.26);
}

.phone-top {
  width: 92px;
  height: 5px;
  margin: 0 auto 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.phone span {
  display: block;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 760;
}

.phone strong {
  display: block;
  margin-bottom: 10px;
  color: #ffce9d;
  font-size: 4.4rem;
  line-height: 0.92;
}

.phone p {
  margin-bottom: 170px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.phone button {
  width: 100%;
  min-height: 50px;
  color: #06241e;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  font: inherit;
  font-weight: 830;
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 58px;
}

.clinic-grid article {
  min-height: 210px;
  padding-top: 24px;
}

.compare {
  background: var(--sage);
}

.compare-table {
  margin-top: 58px;
}

.compare-table div {
  display: grid;
  grid-template-columns: 0.6fr 0.8fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
}

.compare-table span {
  color: var(--green);
  font-weight: 850;
}

.compare-table strong {
  font-size: 1.45rem;
}

.compare-table p {
  margin-bottom: 0;
}

.partners {
  background: var(--paper);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 58px;
}

.partner-grid article {
  min-height: 250px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.partner-grid p,
.team-points p,
.updates-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.team-points {
  display: grid;
  gap: 22px;
}

.team-points div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.team-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.updates {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hidden-field {
  display: none;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid #cddbd4;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.signup-form textarea {
  resize: vertical;
}

.signup-form button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.form-note a {
  color: var(--green);
  font-weight: 820;
}

.faq {
  background: var(--sage);
}

.faq-list {
  margin-top: 58px;
}

.faq-list details {
  border-top: 1px solid rgba(16, 35, 30, 0.14);
  padding: 24px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid rgba(16, 35, 30, 0.14);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 850;
}

.faq-list p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  padding: clamp(46px, 6vw, 78px);
  color: var(--white);
  background: var(--green);
}

.final-cta h2 {
  max-width: 850px;
}

footer {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  padding: 30px clamp(20px, 4vw, 54px) 42px;
  color: var(--muted);
}

footer span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 850;
}

footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.thanks-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 18, 15, 0.95), rgba(5, 18, 15, 0.72)),
    url("assets/vitalpaw-hero-photo.png") center / cover;
}

.thanks {
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  display: grid;
  align-content: center;
  margin: 0 auto;
  padding: 80px 0;
}

.thanks-brand {
  margin-bottom: 80px;
}

.thanks h1 {
  font-size: clamp(4rem, 10vw, 8rem);
}

.thanks p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.25rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 16vw, 6.6rem);
  }

  .hero-content {
    padding: 138px 0 260px;
  }

  .scan-card {
    right: auto;
    left: 20px;
    bottom: 156px;
    width: min(230px, calc(100% - 40px));
    padding: 18px;
  }

  .scan-card strong {
    font-size: 2.4rem;
  }

  .hero-strip,
  .two-col,
  .flow,
  .scenario,
  .clinic-grid,
  .compare-table div,
  .partner-grid,
  .team,
  .updates,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    left: 20px;
    right: 20px;
  }

  .flow article,
  .clinic-grid article,
  .partner-grid article {
    min-height: 0;
  }

  .final-cta {
    align-items: start;
  }
}

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

  .hero {
    min-height: 930px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 124px 0 0;
  }

  h1 {
    font-size: clamp(3.5rem, 14vw, 5.4rem);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-strip {
    gap: 8px;
    bottom: 24px;
  }

  .hero-strip {
    display: none;
  }

  .scan-card {
    bottom: 34px;
  }

  .hero-visual img {
    object-position: 72% center;
  }

  .hero-strip div {
    padding-top: 10px;
  }

  .phone {
    min-height: 520px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
