:root {
  --ink: #101820;
  --ink-2: #20303a;
  --paper: #f7f2ea;
  --paper-2: #fffaf2;
  --line: rgba(16, 24, 32, 0.16);
  --teal: #0d6b63;
  --teal-dark: #084842;
  --red: #d04935;
  --amber: #f1a72e;
  --mint: #dcece4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(13, 107, 99, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 32, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
  color: var(--ink);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

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

p {
  color: rgba(16, 24, 32, 0.76);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
  text-shadow: none;
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.02rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 750;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, 88svh);
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.86) 0%, rgba(16, 24, 32, 0.64) 38%, rgba(16, 24, 32, 0.2) 70%),
    image-set(url("assets/siterevamp-hero.webp") type("image/webp"), url("assets/siterevamp-hero.png") type("image/png"))
      center right / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 28%, rgba(13, 107, 99, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.4));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: auto;
  padding: 120px 0 70px;
}

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

.hero .eyebrow {
  color: #ffc46b;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: #b93d2c;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 900;
}

.signal-band {
  padding: 18px clamp(18px, 4vw, 56px);
  background: var(--teal);
  color: var(--white);
  text-align: center;
}

.signal-band p {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0;
}

section[id] {
  scroll-margin-top: 78px;
}

.split-section,
.proof-section,
.scope-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.08;
}

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

.section-heading p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

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

.comparison,
.proof-grid article,
.scope-columns article,
.price-card,
.demo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.8);
}

.comparison {
  min-height: 270px;
  padding: clamp(22px, 4vw, 34px);
}

.comparison.muted {
  position: relative;
  overflow: hidden;
  border-color: rgba(208, 73, 53, 0.36);
  background:
    linear-gradient(135deg, rgba(208, 73, 53, 0.1), rgba(255, 250, 242, 0.86)),
    rgba(255, 250, 242, 0.9);
  color: rgba(16, 24, 32, 0.68);
}

.comparison.muted::before {
  content: "";
  position: absolute;
  inset: 24px 18px 22px;
  background:
    linear-gradient(
        35deg,
        transparent 47%,
        rgba(208, 73, 53, 0.88) 48%,
        rgba(208, 73, 53, 0.88) 52%,
        transparent 53%
      ),
    linear-gradient(
        -33deg,
        transparent 46%,
        rgba(208, 73, 53, 0.82) 47%,
        rgba(208, 73, 53, 0.82) 52%,
        transparent 53%
      );
  filter: drop-shadow(0 2px 0 rgba(208, 73, 53, 0.14));
  opacity: 0.95;
  transform: rotate(-2deg);
}

.comparison.muted::after {
  content: "";
  position: absolute;
  inset: 24px 18px 22px;
  background:
    linear-gradient(
        37deg,
        transparent 49%,
        rgba(208, 73, 53, 0.36) 50%,
        transparent 53%
      ),
    linear-gradient(
        -31deg,
        transparent 48%,
        rgba(208, 73, 53, 0.28) 50%,
        transparent 54%
      );
  transform: rotate(2deg);
}

.comparison.muted h3,
.comparison.muted p,
.comparison.muted .comparison-label {
  position: relative;
  z-index: 1;
}

.comparison.strong {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.comparison.strong p {
  color: rgba(255, 255, 255, 0.76);
}

.comparison-label {
  display: inline-flex;
  margin-bottom: 46px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demos-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.demos-section p {
  color: rgba(255, 255, 255, 0.74);
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--white);
  color: var(--ink);
}

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

.demo-card {
  overflow: hidden;
  background: #fffaf2;
  color: var(--ink);
}

.demo-card.is-hidden {
  display: none;
}

.demo-preview {
  position: relative;
  min-height: 230px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent),
    var(--teal);
}

.demo-preview.roofers {
  background-color: #263a35;
}

.demo-preview.plumbers {
  background-color: #19566c;
}

.demo-preview.clinics {
  background-color: #6c5d8f;
}

.demo-preview.electricians {
  background-color: #84612a;
}

.demo-browser {
  display: flex;
  gap: 5px;
  width: 78%;
  height: 30px;
  align-items: center;
  padding-left: 12px;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.85);
}

.demo-browser span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.demo-browser span:nth-child(2) {
  background: var(--amber);
}

.demo-browser span:nth-child(3) {
  background: var(--teal);
}

.demo-layout {
  display: grid;
  width: 92%;
  min-height: 160px;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.demo-layout div {
  border-radius: 6px;
  background: rgba(16, 24, 32, 0.14);
}

.demo-layout div:first-child {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(208, 73, 53, 0.7), rgba(208, 73, 53, 0.2)),
    rgba(16, 24, 32, 0.18);
}

.demo-content {
  padding: 22px;
}

.demo-content p {
  color: rgba(16, 24, 32, 0.72);
}

.status,
.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.available {
  background: var(--mint);
  color: var(--teal-dark);
}

.status.reserved {
  background: #fff0c8;
  color: #7a4e00;
}

.status.claimed {
  background: #f5d7d2;
  color: #8c2d1f;
}

.revamp-visual {
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.revamp-visual::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 10%;
  left: 58%;
  width: 10%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg) translateX(-80%);
  animation: revampSheen 4400ms ease-in-out infinite;
}

.cobweb {
  position: absolute;
  z-index: 2;
  top: 4.5%;
  left: 3.8%;
  width: 118px;
  height: 118px;
  pointer-events: none;
  opacity: 0.82;
}

.cobweb::before,
.cobweb::after,
.cobweb span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

.cobweb::before {
  width: 118px;
  height: 118px;
  border-top: 3px solid rgba(75, 83, 90, 0.46);
  border-left: 3px solid rgba(75, 83, 90, 0.46);
  border-top-left-radius: 6px;
}

.cobweb::after {
  width: 124px;
  border-top: 2px solid rgba(75, 83, 90, 0.38);
  transform: rotate(38deg);
}

.cobweb span:first-child {
  width: 98px;
  height: 98px;
  border-top: 2px solid rgba(75, 83, 90, 0.34);
  border-left: 2px solid rgba(75, 83, 90, 0.34);
  border-top-left-radius: 100%;
}

.cobweb span:nth-child(2) {
  width: 76px;
  height: 76px;
  border-top: 2px solid rgba(75, 83, 90, 0.28);
  border-left: 2px solid rgba(75, 83, 90, 0.28);
  border-top-left-radius: 100%;
}

.cobweb span:nth-child(3) {
  height: 112px;
  border-left: 2px solid rgba(75, 83, 90, 0.36);
  transform: rotate(64deg);
}

.revamp-visual picture,
.revamp-visual img {
  display: block;
  width: 100%;
}

.revamp-visual img {
  height: auto;
}

@keyframes revampSheen {
  0%,
  44% {
    opacity: 0;
    transform: skewX(-16deg) translateX(-80%);
  }

  56% {
    opacity: 0.85;
  }

  76%,
  100% {
    opacity: 0;
    transform: skewX(-16deg) translateX(250%);
  }
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-list li {
  min-height: 300px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--paper-2);
}

.process-list span {
  display: block;
  margin-bottom: 70px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

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

.proof-grid article {
  padding: 24px;
}

.pricing-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
  background: #e8eee8;
}

.pricing-grid {
  display: grid;
  width: min(940px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 34px);
  background: var(--paper-2);
}

.price-card > div:first-child {
  margin-bottom: 10px;
}

.price-card ul {
  margin-top: 14px;
}

.price-card li {
  margin-bottom: 8px;
}

.price-card.featured {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
}

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

.price-card.extras-card {
  padding-top: 30px;
}

.price-card.extras-card h3 {
  max-width: 310px;
  font-size: clamp(1.32rem, 2.4vw, 1.78rem);
}

.price-card.extras-card p {
  max-width: 330px;
}

.badge {
  width: max-content;
  background: var(--amber);
  color: var(--ink);
}

.plan-name {
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 900;
}

.price-card.featured .plan-name {
  color: #ffc46b;
}

.price {
  margin-bottom: 14px;
  color: inherit;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 950;
  line-height: 0.95;
}

.price span {
  font-size: 1rem;
  font-weight: 800;
}

.price-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

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

li {
  margin-bottom: 10px;
  color: rgba(16, 24, 32, 0.76);
}

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

.scope-columns article {
  padding: clamp(24px, 4vw, 34px);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(72px, 10vw, 118px) clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.contact-copy {
  max-width: 640px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #0b1117;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .split-section,
  .proof-section,
  .scope-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .price-card,
  .price-card.featured {
    min-height: auto;
    transform: none;
  }

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

}

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    color: var(--ink);
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.68)),
      image-set(url("assets/siterevamp-hero.webp") type("image/webp"), url("assets/siterevamp-hero.png") type("image/png"))
        center right / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 112px 0 54px;
  }

  .hero-stats,
  .comparison-grid,
  .proof-grid,
  .scope-columns,
  .process-list {
    grid-template-columns: 1fr;
  }

  .comparison,
  .process-list li {
    min-height: auto;
  }

  .comparison-label,
  .process-list span {
    margin-bottom: 30px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.8rem;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .filter-button {
    width: 100%;
  }
}

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