:root {
  --ink: #234a43;
  --text: #34524c;
  --muted: #6c817b;
  --paper: #fbf8f2;
  --surface: #fffef9;
  --surface-2: #eef7f2;
  --line: #d7e5dc;
  --teal: #2f8f83;
  --teal-deep: #276d66;
  --sage: #b9d9c6;
  --mint: #dff4ec;
  --coral: #e68163;
  --gold: #d8b35d;
  --lavender: #b9b4e8;
  --sky: #78b9d4;
  --shadow: 0 18px 45px rgb(47 143 131 / 14%);
  --radius: 10px;
  --max: 1180px;
  color-scheme: light;
  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:
    radial-gradient(circle at 14% 8%, rgb(120 185 212 / 25%), transparent 24rem),
    radial-gradient(circle at 86% 0%, rgb(230 129 99 / 18%), transparent 22rem),
    linear-gradient(180deg, #fbf8f2 0%, #eef7f2 54%, #fffef9 100%);
  color: var(--text);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-5rem);
  z-index: 50;
  background: var(--teal-deep);
  color: white;
  padding: .7rem 1rem;
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(251 248 242 / 86%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header[data-elevated="true"] {
  border-color: rgb(47 143 131 / 14%);
  box-shadow: 0 12px 28px rgb(47 143 131 / 12%);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgb(47 143 131 / 18%);
}

.brand strong {
  display: block;
  color: var(--teal-deep);
  font-size: .98rem;
  letter-spacing: .08em;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: .74rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  padding: 10px 11px;
  border-radius: 9px;
  font-size: .93rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgb(47 143 131 / 12%);
  color: var(--teal-deep);
}

.nav-links .nav-cta {
  background: var(--teal);
  color: white;
  padding-inline: 16px;
  box-shadow: 0 10px 20px rgb(47 143 131 / 18%);
}

.nav-links .nav-cta:hover {
  background: var(--teal-deep);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 999px;
}

main {
  min-height: 70vh;
}

.section {
  padding: clamp(50px, 7vw, 96px) 24px;
}

.section.tight {
  padding-top: clamp(28px, 5vw, 58px);
}

.section.alt {
  background:
    linear-gradient(135deg, rgb(223 244 236 / 84%), rgb(247 238 225 / 72%));
  border-block: 1px solid rgb(47 143 131 / 10%);
}

.inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding: clamp(56px, 8vw, 112px) 24px 38px;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral);
}

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

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  font-size: clamp(2.45rem, 6.4vw, 5.45rem);
  line-height: .98;
  letter-spacing: 0;
  margin-bottom: 22px;
  max-width: 12ch;
}

.hero-copy {
  max-width: 720px;
  color: #47645e;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--teal);
  color: white;
  font-weight: 850;
  box-shadow: 0 12px 22px rgb(47 143 131 / 18%);
}

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

.button.secondary {
  background: var(--surface);
  color: var(--teal-deep);
  border-color: rgb(47 143 131 / 22%);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--mint);
}

.page-visual {
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(255 254 249 / 86%), rgb(223 244 236 / 82%));
  border: 1px solid rgb(47 143 131 / 12%);
  box-shadow: var(--shadow);
  padding: clamp(14px, 3vw, 24px);
  min-height: 320px;
  display: grid;
  place-items: center;
}

.page-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

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

.stat {
  padding: 18px;
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  background: rgb(255 254 249 / 78%);
}

.stat b {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  color: var(--teal-deep);
}

.stat span {
  color: var(--muted);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  margin-bottom: 12px;
}

.section-head p,
.lead {
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
  box-shadow: 0 12px 30px rgb(47 143 131 / 7%);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.62;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgb(47 143 131 / 14%), rgb(230 129 99 / 16%));
  color: var(--teal-deep);
  font-weight: 950;
  font-size: .86rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: white;
  font-weight: 950;
}

.timeline {
  counter-reset: step;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.tool-surface {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: 20px;
  align-items: start;
}

.demo-box,
.contact-box {
  background: var(--surface);
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 28px rgb(47 143 131 / 7%);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: var(--ink);
  font-weight: 850;
  font-size: .92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefc;
  color: var(--text);
  min-height: 44px;
  padding: 10px 12px;
}

.field textarea {
  min-height: 176px;
  resize: vertical;
}

.analysis-result {
  display: grid;
  gap: 12px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--ink);
}

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

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
  width: var(--value, 0%);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgb(47 143 131 / 12%);
  color: var(--teal-deep);
  padding: 6px 10px;
  font-weight: 850;
  font-size: .84rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 9px 14px;
  color: var(--ink);
  font-weight: 850;
}

.tab[aria-selected="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.accordion button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.accordion button::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--teal);
}

.accordion button[aria-expanded="true"]::after {
  content: "-";
}

.accordion-panel {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.hidden {
  display: none !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgb(230 129 99 / 55%);
  box-shadow: 0 20px 45px rgb(230 129 99 / 14%);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgb(230 129 99 / 14%);
  color: #9a5a43;
  font-weight: 900;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price {
  color: var(--teal-deep);
  font-size: 2.25rem;
  font-weight: 950;
  margin: 18px 0 8px;
}

.price small {
  display: block;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 750;
}

.price-card .button {
  margin-top: auto;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--coral);
  background: rgb(230 129 99 / 10%);
  color: #6f4f43;
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.62;
}

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

.reference-card {
  display: grid;
  grid-template-rows: 180px auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgb(47 143 131 / 7%);
}

.reference-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--mint);
}

.reference-card strong {
  color: var(--ink);
  line-height: 1.32;
}

.reference-list {
  display: grid;
  gap: 12px;
}

.reference {
  padding: 16px;
  border: 1px solid rgb(47 143 131 / 12%);
  border-radius: var(--radius);
  background: var(--surface);
}

.reference b {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}

.reference span {
  color: var(--muted);
  line-height: 1.58;
}

.testimonial p {
  font-size: 1.08rem;
  color: var(--text);
}

.contact-details {
  background:
    linear-gradient(140deg, rgb(223 244 236 / 82%), rgb(255 254 249 / 92%));
}

.site-footer {
  background: linear-gradient(135deg, #2f8f83, #4b9a92);
  color: white;
  padding: 58px 24px 26px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .7fr);
  gap: 32px;
}

.footer-grid h2 {
  color: #f4fffb;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a,
.footer-grid small {
  color: rgb(255 255 255 / 78%);
}

.footer-grid a {
  display: block;
  margin: 9px 0;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgb(255 255 255 / 75%);
  font-size: .9rem;
}

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

  .nav-links {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px;
  }

  .hero-grid,
  .tool-surface {
    grid-template-columns: 1fr;
  }

  .quick-stats,
  .pricing-grid,
  .grid.cols-4,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand small {
    display: none;
  }

  h1 {
    max-width: 100%;
  }

  .page-visual {
    min-height: 230px;
    padding: 12px;
  }

  .quick-stats,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .pricing-grid,
  .reference-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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