:root {
  --ink: #11130f;
  --charcoal: #20231d;
  --moss: #65745b;
  --deep-moss: #3f4e3f;
  --sage: #d9e0cf;
  --paper: #f6f0e4;
  --cream: #fffaf0;
  --sand: #ded1ba;
  --clay: #a87554;
  --muted: #706d64;
  --line: rgba(17, 19, 15, 0.14);
  --soft-line: rgba(255, 250, 240, 0.18);
  --shadow: 0 26px 80px rgba(17, 19, 15, 0.12);
  --root-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(246, 240, 228, 0.96), rgba(246, 240, 228, 0.98)),
    radial-gradient(circle at 88% 5%, rgba(101, 116, 91, 0.24), transparent 34%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

svg {
  width: 1em;
  height: 1em;
}

.root-system {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}

.root-system svg {
  width: 100%;
  height: 100%;
}

.root-line {
  fill: none;
  stroke: rgba(63, 78, 63, 0.045);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--root-progress));
  transition: stroke-dashoffset 120ms linear;
}

.root-main {
  stroke: rgba(17, 19, 15, 0.052);
  stroke-width: 7;
}

.fine-root {
  stroke: rgba(63, 78, 63, 0.036);
  stroke-width: 2;
}

.hair-root {
  stroke: rgba(63, 78, 63, 0.028);
  stroke-width: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 28px));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 14px auto 0;
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(255, 250, 240, 0.62);
  border-radius: 999px;
  background: rgba(246, 240, 228, 0.86);
  box-shadow: 0 10px 34px rgba(17, 19, 15, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 820;
  white-space: nowrap;
}

.brand img {
  width: 5.15rem;
  height: 3.1rem;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.05rem;
  color: rgba(17, 19, 15, 0.7);
  font-size: 0.92rem;
}

.desktop-nav a,
.footer nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer nav a:hover {
  color: var(--deep-moss);
}

.nav-cta {
  display: none;
  padding: 0.78rem 1.08rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--deep-moss);
  transform: translateY(-1px);
}

.menu-button {
  display: inline-grid;
  width: 2.72rem;
  height: 2.72rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

.mobile-panel {
  position: fixed;
  inset: 82px 14px auto;
  z-index: 19;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-panel a:not(.button) {
  padding: 0.78rem;
  border-radius: 16px;
  color: var(--charcoal);
}

.mobile-panel a:not(.button):hover {
  background: rgba(101, 116, 91, 0.1);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.7rem 0;
  scroll-margin-top: 98px;
}

.hero {
  display: grid;
  min-height: calc(100svh - 86px);
  align-items: center;
  gap: 3rem;
  padding-top: 4.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--deep-moss);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 1.15rem;
  font-size: clamp(3.1rem, 8.2vw, 7rem);
  line-height: 0.92;
}

h2 {
  max-width: 790px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.06rem;
  letter-spacing: 0;
}

.hero-subhead,
.hero-note,
.section-intro p,
.about-copy p,
.contact-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.hero-note {
  max-width: 630px;
  margin-top: -0.25rem;
  color: var(--charcoal);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.14rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.84rem 1.16rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 820;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--cream);
}

.button.primary:hover {
  background: var(--deep-moss);
}

.button.primary.light {
  background: var(--cream);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(17, 19, 15, 0.2);
  background: rgba(255, 250, 240, 0.76);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(63, 78, 63, 0.45);
}

.hero-visual {
  position: relative;
}

.snapshot-collage {
  position: relative;
  min-height: 520px;
}

.site-snapshot {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 15, 0.12);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 28px 74px rgba(17, 19, 15, 0.16);
}

.site-snapshot.large {
  top: 1.3rem;
  left: 0;
  z-index: 3;
  width: 72%;
  min-height: 330px;
  transform: rotate(-2.5deg);
}

.site-snapshot.small {
  z-index: 4;
  width: 43%;
  min-height: 188px;
}

.site-snapshot.medium {
  right: 3%;
  bottom: 1rem;
  z-index: 2;
  width: 58%;
  min-height: 220px;
  transform: rotate(2deg);
}

.site-snapshot.mercury {
  top: 0;
  right: 0;
  transform: rotate(4deg);
}

.site-snapshot.reflex {
  top: 12rem;
  right: 1rem;
  transform: rotate(-3deg);
}

.snapshot-browser {
  display: flex;
  gap: 0.35rem;
  padding: 0.78rem;
  border-bottom: 1px solid rgba(17, 19, 15, 0.08);
  background: rgba(255, 250, 240, 0.8);
}

.snapshot-browser span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(17, 19, 15, 0.22);
}

.snapshot-body {
  padding: 1rem;
}

.snapshot-title,
.snapshot-copy,
.snapshot-grid span {
  border-radius: 999px;
}

.snapshot-title {
  width: 80%;
  height: 3.4rem;
  background: var(--charcoal);
}

.snapshot-copy {
  width: 58%;
  height: 0.78rem;
  margin-top: 1rem;
  background: rgba(17, 19, 15, 0.16);
}

.snapshot-copy.short {
  width: 72%;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
}

.snapshot-grid span {
  min-height: 4.5rem;
  background: rgba(101, 116, 91, 0.18);
}

.site-snapshot.ccur .snapshot-title {
  background: linear-gradient(90deg, var(--charcoal), var(--deep-moss));
}

.site-snapshot.mercury .snapshot-title,
.site-snapshot.reflex .snapshot-title,
.site-snapshot.shorelys .snapshot-title {
  height: 2.25rem;
}

.site-snapshot.shorelys .snapshot-title {
  background: linear-gradient(90deg, var(--clay), var(--moss));
}

.plan-card li svg {
  flex: 0 0 auto;
  color: var(--deep-moss);
}

.section-intro {
  margin-bottom: 2.1rem;
}

.partner-strip {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: -1.2rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.35rem;
  padding: 1.4rem 0 1rem;
}

.partner-strip span {
  display: grid;
  min-height: 4rem;
  place-items: center;
}

.partner-strip img {
  display: block;
  width: min(100%, 11.5rem);
  height: 3.2rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.36;
  mix-blend-mode: multiply;
}

.service-grid,
.pricing-grid,
.process-grid,
.project-grid {
  display: grid;
  gap: 1rem;
}

.card,
.plan-card,
.process-step,
.project-card,
.about-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.68);
  box-shadow: 0 18px 55px rgba(17, 19, 15, 0.06);
}

.service-card {
  padding: 1.22rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(101, 116, 91, 0.36);
  background: rgba(255, 250, 240, 0.9);
}

.card-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--deep-moss);
}

.service-card p,
.process-step p,
.project-card p,
.plan-card p,
.footer p {
  color: var(--muted);
}

.plans-section {
  width: min(1240px, calc(100% - 32px));
}

.pricing-grid {
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
}

.plan-top {
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  background: linear-gradient(180deg, rgba(32, 35, 29, 0.98), rgba(17, 19, 15, 0.94));
  color: var(--cream);
  box-shadow: 0 30px 84px rgba(17, 19, 15, 0.22);
}

.plan-card.popular p,
.plan-card.popular li,
.plan-card.popular small {
  color: rgba(255, 250, 240, 0.72);
}

.badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--deep-moss);
  font-size: 0.74rem;
  font-weight: 900;
}

.badge.subtle {
  background: rgba(101, 116, 91, 0.12);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.72rem;
}

.price span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.15rem;
  line-height: 1;
}

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

.plan-card .button {
  width: 100%;
  margin: 0.7rem 0 1.08rem;
}

.plan-card ul {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 0.62rem;
  color: var(--charcoal);
  font-size: 0.94rem;
}

.comparison-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.68);
  box-shadow: 0 18px 55px rgba(17, 19, 15, 0.06);
  overflow: hidden;
}

.pricing-footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 720;
}

.comparison-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 860;
  list-style: none;
}

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

.comparison-card summary svg {
  transition: transform 180ms ease;
}

.comparison-card[open] summary svg {
  transform: rotate(90deg);
}

.comparison-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.comparison-card table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-card th,
.comparison-card td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(17, 19, 15, 0.1);
  text-align: center;
}

.comparison-card th:first-child,
.comparison-card td:first-child {
  text-align: left;
}

.comparison-card thead th {
  position: sticky;
  top: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 0.9rem;
}

.comparison-card tbody th {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 760;
}

.compare-icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
}

.compare-icon.included {
  background: rgba(101, 116, 91, 0.14);
  color: var(--deep-moss);
}

.compare-icon.not-included {
  background: rgba(17, 19, 15, 0.025);
  color: rgba(17, 19, 15, 0.15);
}

.compare-text {
  color: var(--charcoal);
  font-weight: 800;
}

.about-section {
  display: grid;
  gap: 1rem;
}

.contact-section {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 1rem;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(17, 19, 15, 0.98), rgba(32, 35, 29, 0.98)),
    radial-gradient(circle at 82% 18%, rgba(101, 116, 91, 0.28), transparent 34%);
  color: var(--cream);
}

.process-step,
.project-card {
  padding: 1.25rem;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(17, 19, 15, 0.98), rgba(32, 35, 29, 0.98)),
    radial-gradient(circle at 20% 15%, rgba(101, 116, 91, 0.35), transparent 34%);
  color: var(--cream);
}

.process-section .section-intro p,
.process-step p {
  color: rgba(255, 250, 240, 0.68);
}

.process-step {
  border-color: rgba(255, 250, 240, 0.1);
  background: rgba(255, 250, 240, 0.06);
}

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

.project-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--deep-moss);
  font-weight: 850;
}

.about-section,
.contact-section {
  align-items: start;
}

.contact-section .eyebrow {
  color: var(--sage);
}

.contact-section .contact-copy p {
  color: rgba(255, 250, 240, 0.68);
}

.contact-section .domain-link {
  color: var(--sage);
}

.about-panel {
  align-self: center;
  padding: 1.35rem;
  background: var(--cream);
}

.about-panel img {
  width: min(220px, 60%);
  height: auto;
  margin-bottom: 1.2rem;
}

.about-panel strong {
  display: block;
  margin-bottom: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1;
}

.about-panel p {
  color: var(--muted);
}

.domain-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--deep-moss);
  font-weight: 860;
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border-color: rgba(255, 250, 240, 0.12);
  background: rgba(255, 250, 240, 0.07);
  box-shadow: none;
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.9rem;
  font-weight: 780;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  padding: 0.88rem 0.92rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(101, 116, 91, 0.15);
}

.lead-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.35rem;
  margin: 0;
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 740;
}

.footer {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer .brand img {
  width: 5.15rem;
  height: 3.1rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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

  .root-line {
    animation: none;
  }

  .button,
  .service-card,
  .project-card,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 620px) {
  .partner-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .lead-form label:nth-child(8),
  .lead-form input[type="hidden"],
  .lead-form button,
  .form-status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .desktop-nav,
  .nav-cta {
    display: flex;
  }

  .menu-button,
  .mobile-panel {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.86fr);
  }

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

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

  .plan-card.popular {
    transform: translateY(-14px);
  }

  .about-section,
  .contact-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

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

  .footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 4.35rem;
    height: 2.85rem;
  }

  .button {
    width: 100%;
  }

  .snapshot-collage {
    min-height: 560px;
  }

  .site-snapshot.large {
    width: 86%;
  }

  .site-snapshot.small {
    width: 58%;
  }

  .site-snapshot.medium {
    width: 76%;
  }

  .site-snapshot.reflex {
    top: 14.5rem;
  }

}
