:root {
  --ink: #10201d;
  --muted: #60706c;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #dfe6e2;
  --emerald: #0f7a4f;
  --emerald-2: #2fc27f;
  --amber: #e6a93b;
  --blue: #2779c7;
  --charcoal: #132321;
  --shadow: 0 24px 70px rgba(16, 32, 29, 0.14);
}

* {
  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.5;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 248, 246, 0.88);
  border-bottom: 1px solid rgba(223, 230, 226, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--emerald);
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav-links a {
  color: #30423e;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-cta {
  padding: 0.65rem 0.95rem;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  background: var(--white);
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: 54px 0 34px;
}

.hero-copy {
  padding: 24px 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 2rem 0 0;
}

.hero-metrics div {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.strip-item {
  padding: 28px;
  background: var(--white);
}

.strip-item span {
  color: var(--emerald);
  font-weight: 850;
}

.strip-item p {
  max-width: 42ch;
  margin: 0.5rem 0 0;
}

.feature-grid,
.legal-grid,
.pricing-grid,
.management-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.legal-grid article,
.price-card,
.management-grid article,
.sector-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card p,
.legal-grid p,
.price-card p,
.management-grid p,
.sector-grid p,
.price-card li,
.process p,
.faq p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 850;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: #eaf2ee;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
}

.process li {
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 122, 79, 0.14);
  border-radius: 8px;
}

.process span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--emerald);
  background: var(--white);
  border-radius: 999px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.demo-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #31433f;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  min-height: auto;
  accent-color: var(--emerald);
}

.builder {
  padding: 24px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.builder-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.builder-header span {
  color: rgba(255, 255, 255, 0.72);
}

.progress-bar {
  height: 10px;
  margin: 18px 0 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-2), var(--amber));
  transition: width 0.35s ease;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.checklist li.done {
  background: rgba(47, 194, 127, 0.16);
  border-color: rgba(47, 194, 127, 0.45);
}

.code-box,
.estimate-box {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.code-box span,
.estimate-box span {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-box {
  padding: 1rem;
  background: rgba(47, 194, 127, 0.12);
  border: 1px solid rgba(47, 194, 127, 0.3);
  border-radius: 8px;
}

.estimate-box strong {
  font-size: 1.35rem;
}

.estimate-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

code {
  display: block;
  padding: 1rem;
  overflow-x: auto;
  color: #d8fff0;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 8px;
}

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

.management-grid strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--emerald);
  font-size: 1.05rem;
}

.sector-grid h3 {
  color: var(--ink);
}

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

.price-card strong {
  display: block;
  margin: 1rem 0;
  color: var(--emerald);
}

.price-card ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2rem;
  margin: 0;
}

.price-card.highlighted {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

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

.price-card.highlighted strong {
  color: var(--emerald-2);
}

.faq {
  max-width: 880px;
}

.faq .section-heading {
  display: block;
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 850;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.cta-section h2 {
  max-width: 18ch;
}

.cta-section p:not(.eyebrow) {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(16px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

  .nav-links {
    position: absolute;
    right: 16px;
    top: 66px;
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section-heading,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-media img {
    min-height: 300px;
  }

  .strip,
  .feature-grid,
  .process,
  .legal-grid,
  .management-grid,
  .sector-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strip-item {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .hero-metrics,
  .strip,
  .feature-grid,
  .process,
  .legal-grid,
  .management-grid,
  .sector-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .cta-section {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}
