:root {
  color-scheme: light;
  --ink: #11181d;
  --text: #2e3e48;
  --muted: #64727d;
  --line: #d8e1e5;
  --paper: #ffffff;
  --soft: #f6f8f8;
  --mist: #edf3f4;
  --green: #166b53;
  --green-dark: #0d4939;
  --blue: #1f5b74;
  --yellow: #c7902f;
  --red: #9f5048;
  --shadow: 0 26px 80px rgba(17, 24, 29, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfcfc;
  color: var(--ink);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid rgba(216, 225, 229, 0.78);
  background: rgba(251, 252, 252, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #121a20;
  font-weight: 850;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #25323a);
  color: #fff;
}

.brand-mark span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.brand-mark span:nth-child(2) {
  width: 72%;
  background: #8ed7bd;
}

.brand-mark span:nth-child(3) {
  width: 48%;
  background: #d9e3e7;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.nav-button {
  padding: 11px 15px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(64px, 7vw, 92px) clamp(18px, 5vw, 68px) 64px;
  background:
    linear-gradient(180deg, rgba(246, 248, 248, 0.96) 0%, #ffffff 76%),
    linear-gradient(90deg, rgba(17, 24, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 29, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.hero-copy {
  max-width: 900px;
  min-width: 0;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(44px, 5.1vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 790px;
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.lead {
  max-width: 740px;
  margin-top: 24px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
}

.button.secondary {
  border-color: #cbd7dc;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 11px 13px;
  border: 1px solid #cfdae0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.demo-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #d4dee3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(17, 24, 29, 0.14);
}

.panel-top {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.panel-top span,
.flow-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-top strong {
  font-size: 25px;
  line-height: 1.18;
}

.flow-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 19px;
  border: 1px solid #d4dee3;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: var(--soft);
}

.flow-stack {
  display: grid;
  gap: 12px;
}

.mobile-flow {
  display: none;
}

.flow-card strong {
  font-size: 21px;
  line-height: 1.22;
}

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

.flow-card.processing {
  border-left-color: var(--blue);
  background: #edf5f7;
}

.credibility-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 clamp(18px, 5vw, 68px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.credibility-row div {
  display: grid;
  gap: 7px;
  padding: 24px 26px;
  background: #fff;
}

.credibility-row div + div {
  border-left: 1px solid var(--line);
}

.credibility-row strong {
  font-size: 17px;
}

.credibility-row span {
  color: var(--muted);
  line-height: 1.45;
}

.flow-card.output {
  border-left-color: var(--green);
}

.flow-arrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #d4e3ea;
}

.bar i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow));
}

.problem-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 30px;
  padding: 64px clamp(18px, 5vw, 68px);
  background: var(--ink);
  color: #fff;
}

.problem-strip .eyebrow {
  color: #8ed7bd;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.problem-list article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.problem-list p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.section {
  padding: 82px clamp(18px, 5vw, 68px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.example-grid,
.package-grid,
.steps {
  display: grid;
  gap: 14px;
}

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

.example-grid article,
.package-card,
.steps article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.example-grid span,
.steps span,
.tag {
  width: fit-content;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.example-grid p,
.package-card p,
.steps p,
.contact-copy p {
  color: var(--text);
  line-height: 1.55;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 68px) 82px;
  background: #fbfcfc;
}

.case-copy p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.case-copy ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.45;
}

.case-board {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #d4dee3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(17, 24, 29, 0.11);
}

.case-board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.case-board-head span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-board-head strong {
  font-size: 22px;
}

.table-mock {
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.9fr 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  font-size: 14px;
}

.table-head {
  min-height: 40px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row b {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e5f4ee;
  color: var(--green-dark);
  font-size: 12px;
}

.table-row b.warning {
  background: #fff4dc;
  color: #8a5b10;
}

.packages {
  background: var(--soft);
}

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

.package-card.featured {
  border-color: rgba(29, 117, 90, 0.45);
  box-shadow: 0 24px 70px rgba(17, 24, 29, 0.1);
}

.price {
  color: var(--ink) !important;
  font-size: 27px;
  font-weight: 900;
}

.package-card ul,
.fit-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

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

.steps span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.fit-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 20px clamp(18px, 5vw, 68px) 82px;
}

.fit-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.fit-card.muted ul {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.62fr);
  gap: 34px;
  padding: 82px clamp(18px, 5vw, 68px);
  background: var(--mist);
}

.contact-copy {
  align-self: start;
}

.contact-copy p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 18px;
}

.contact-box {
  display: grid;
  gap: 7px;
  max-width: 570px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(29, 117, 90, 0.34);
  border-radius: 8px;
  background: #fff;
}

.contact-box span {
  color: var(--text);
  line-height: 1.45;
}

.intake-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  padding: 10px 12px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 117, 90, 0.14);
  outline: none;
}

.intake-form button {
  width: 100%;
  border: 0;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 68px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(246, 248, 248, 0.96), #fff),
    linear-gradient(90deg, rgba(17, 24, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 29, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.thanks-card {
  width: min(100%, 720px);
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.thanks-card h1 {
  max-width: 680px;
  margin-top: 0;
  font-size: clamp(38px, 5vw, 58px);
}

.thanks-card p:not(.eyebrow) {
  max-width: 590px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.thanks-card .button {
  width: fit-content;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    display: grid;
    align-items: start;
  }

  nav,
  .hero-actions {
    flex-wrap: wrap;
  }

  .hero,
  .problem-strip,
  .contact-section,
  .case-section {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    max-width: 640px;
  }

  .case-board {
    max-width: 720px;
  }

  .problem-list,
  .example-grid,
  .package-grid,
  .steps,
  .credibility-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    gap: 14px;
    padding: 14px 20px;
  }

  .brand-text small {
    display: none;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    font-size: 13px;
  }

  nav a:not(.nav-button) {
    text-align: center;
  }

  .nav-button {
    display: flex;
    justify-content: center;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 38px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    width: 100%;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 20px 30px;
    overflow: hidden;
    justify-items: start;
  }

  h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    max-width: 100%;
    margin-top: 16px;
    font-size: 15.5px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .trust-row {
    width: min(100%, 346px);
    max-width: 346px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    margin-top: 22px;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
  }

  .trust-row,
  .problem-list,
  .example-grid,
  .package-grid,
  .steps,
  .fit-section,
  .credibility-row {
    grid-template-columns: 1fr;
  }

  .trust-row span,
  .button {
    width: 100%;
    max-width: 100%;
  }

  .trust-row span {
    min-height: 36px;
    display: grid;
    place-items: center;
    padding: 8px 6px;
    border-color: transparent;
    background: #eef4f2;
    color: var(--green-dark);
    text-align: center;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .demo-panel,
  .case-board,
  .flow-card,
  .panel-top,
  .hero-copy {
    width: min(100%, 346px);
    max-width: 346px;
    min-width: 0;
  }

  .demo-panel {
    margin-top: 24px;
    padding: 16px;
  }

  .panel-top strong {
    font-size: 20px;
  }

  .flow-stack {
    display: none;
  }

  .mobile-flow {
    display: grid;
    grid-template-columns: 1fr 18px 1fr 18px 1fr;
    gap: 7px;
    align-items: center;
    margin-top: 2px;
  }

  .mobile-flow div {
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    text-align: center;
  }

  .mobile-flow span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-flow strong {
    font-size: 15px;
  }

  .mobile-flow i {
    height: 2px;
    border-radius: 999px;
    background: var(--line);
  }

  .flow-card strong,
  .panel-top strong,
  .case-board strong,
  .button,
  .trust-row span {
    overflow-wrap: anywhere;
  }

  .case-section {
    padding: 8px 24px 54px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .table-head {
    display: none;
  }

  .credibility-row {
    padding: 0;
  }

  .credibility-row div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
