:root {
  --ink: #17211c;
  --ink-soft: #526057;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d4;
  --white: #fffdf8;
  --forest: #1f5b43;
  --forest-dark: #123a2a;
  --sage: #b9c9b7;
  --lime: #dce89b;
  --line: rgba(23, 33, 28, 0.16);
  --shadow: 0 22px 60px rgba(18, 58, 42, 0.12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  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;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(18, 58, 42, 0.94);
  color: white;
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: var(--lime);
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 92px;
  background:
    radial-gradient(circle at 82% 8%, rgba(220, 232, 155, 0.34), transparent 30%),
    linear-gradient(145deg, var(--forest-dark), var(--forest) 58%, #2f6f52);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -170px 42%;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(-8deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--forest-dark);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.16);
}

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

.hero .button-secondary,
.dark-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.hero-card {
  position: relative;
  min-height: 510px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  pointer-events: none;
}

.quote-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(7, 30, 20, 0.3);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.window-body {
  padding: 28px;
}

.window-body h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.window-body p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.demo-field {
  margin-top: 14px;
}

.demo-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.demo-input,
.demo-options span {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f2;
}

.demo-input {
  height: 40px;
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-options span {
  min-height: 38px;
}

.demo-submit {
  height: 43px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--forest);
}

.float-note {
  position: absolute;
  right: -16px;
  bottom: 38px;
  z-index: 3;
  width: 210px;
  padding: 16px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--forest-dark);
  box-shadow: 0 18px 36px rgba(7, 30, 20, 0.24);
  font-size: 0.86rem;
  font-weight: 800;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 760;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 950;
}

.section {
  padding: 92px 0;
}

.section-white {
  background: var(--white);
}

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

.section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.problem-grid,
.solution-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.problem-card,
.solution-card,
.pricing-card,
.contact-card,
.embed-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.problem-card {
  min-height: 240px;
  padding: 26px;
}

.number-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 13px;
  background: var(--paper);
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.problem-card h3,
.solution-card h3,
.pricing-card h3,
.contact-card h3,
.embed-placeholder h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.problem-card p,
.solution-card p,
.contact-card p,
.embed-placeholder p {
  margin: 13px 0 0;
  color: var(--ink-soft);
}

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

.solution-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.solution-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--paper);
}

.solution-tag {
  display: inline-flex;
  margin-bottom: 45px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-panel {
  margin-top: 56px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--forest-dark);
  color: white;
  box-shadow: var(--shadow);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.flow-step {
  position: relative;
  min-height: 165px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 1.4rem;
  font-weight: 900;
}

.flow-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-step h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.flow-step p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tally-section {
  padding: 92px 0;
  background: var(--paper-deep);
}

.tally-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 40px;
}

.tally-copy {
  position: sticky;
  top: 118px;
}

.tally-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.tally-copy p {
  color: var(--ink-soft);
}

.tally-embed-shell {
  overflow: hidden;
  min-height: 440px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tally-embed-shell iframe {
  min-height: 660px;
  border-radius: 18px;
}

.embed-placeholder {
  min-height: 404px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(185, 201, 183, 0.26), transparent 56%),
    var(--white);
}

.embed-placeholder code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper);
}

.page-hero {
  padding: 88px 0 70px;
  background: var(--forest-dark);
  color: white;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 50px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.price-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.price-intro p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.pricing-card.featured {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.featured-label {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price {
  margin: 30px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
}

.price-sub {
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.feature-list,
.clean-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  flex: 1;
}

.feature-list li,
.clean-list li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.feature-list li::before,
.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 950;
}

.pricing-card .button {
  margin-top: 26px;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--forest);
  border-radius: 0 12px 12px 0;
  background: var(--white);
  color: var(--ink-soft);
}

.standard-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.standard-row {
  display: grid;
  grid-template-columns: 1.15fr 0.45fr 1.8fr;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.standard-row:last-child {
  border-bottom: 0;
}

.standard-row.header {
  background: var(--forest-dark);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-row strong {
  font-family: Georgia, "Times New Roman", serif;
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.care-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--forest-dark);
  color: white;
}

.care-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.care-price {
  margin: 13px 0 18px;
  color: var(--lime);
  font-size: 2rem;
  font-weight: 900;
}

.care-card .clean-list li {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
}

.care-card .clean-list li::before {
  color: var(--lime);
}

.contact-grid {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 28px;
}

.contact-card a[aria-disabled="true"] {
  color: var(--ink-soft);
  text-decoration: none;
  cursor: default;
}

.contact-meta {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-meta span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.dark-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--forest-dark);
  color: white;
}

.dark-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.dark-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 42px 0;
  background: #0c281d;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.microcopy {
  font-size: 0.83rem;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .tally-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-card::before {
    display: none;
  }

  .float-note {
    right: 12px;
  }

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

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

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

  .flow-step:nth-child(2)::after {
    display: none;
  }

  .tally-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    background: var(--forest-dark);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    border-radius: 10px;
  }

  .hero {
    padding: 76px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero-card {
    padding: 14px;
    border-radius: 22px;
  }

  .window-body {
    padding: 22px;
  }

  .float-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 14px;
  }

  .trust-grid,
  .problem-grid,
  .flow-grid,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 20px 0;
  }

  .section,
  .tally-section {
    padding: 70px 0;
  }

  .flow-panel {
    padding: 24px;
  }

  .flow-step::after {
    display: none;
  }

  .tally-embed-shell {
    padding: 8px;
    border-radius: 20px;
  }

  .embed-placeholder {
    min-height: 350px;
    padding: 26px;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .price-intro,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .standard-table {
    border: 0;
    background: transparent;
  }

  .standard-row,
  .standard-row.header {
    grid-template-columns: 1fr;
  }

  .standard-row {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
  }

  .standard-row.header {
    display: none;
  }
}
