@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700&display=swap");

:root {
  --navy: #101828;
  --navy-soft: #1d2939;
  --green: #18a874;
  --green-dark: #087a56;
  --green-soft: #ecfdf3;
  --border: #e4e7ec;
  --muted: #667085;
  --surface: #ffffff;
  --canvas: #f6f7f9;
  --danger: #b42318;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 4%);
  --max: 960px;
  --max-wide: 1120px;
  --radius: 12px;
  --radius-sm: 7px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--navy-soft);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.55;
  background: var(--canvas);
  color: var(--navy-soft);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid #84e1bc;
  outline-offset: 2px;
}

h1,
h2,
h3,
.brand,
.brand-text {
  font-family: "Manrope", sans-serif;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 96%);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  color: #062d22;
  background: #6ce9a6;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
}

.brand-text strong {
  display: block;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  color: #475467;
  text-decoration: none;
}

.nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(16 24 40 / 12%);
}

.nav .nav-cta:hover {
  background: #05603f;
  color: #fff;
  text-decoration: none;
}

/* —— Hero —— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.75rem;
  }
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero-lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 1px 2px rgb(16 24 40 / 12%);
}

.btn-primary:hover {
  background: #05603f;
  color: #fff;
}

.btn-secondary {
  color: #344054;
  border-color: #d0d5dd;
  background: var(--surface);
}

.btn-secondary:hover {
  background: #f9fafb;
  color: var(--navy);
}

.hero-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
}

/* —— Sections —— */
.band {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.band-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-lede {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.feature {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.band-surface .feature {
  background: var(--canvas);
  box-shadow: none;
}

.feature h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot img {
  width: 100%;
}

.shot-caption {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
  }

  .split.reverse {
    grid-template-columns: 1.2fr 1fr;
  }

  .split.reverse .split-copy {
    order: 2;
  }
}

.split-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.split-copy p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.split-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split-visual img {
  width: 100%;
}

.cta-band {
  text-align: left;
}

.cta-band h2 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--muted);
}

.cta-panel {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.posture {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.posture-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  color: #027a48;
  background: #d1fadf;
  font-size: 1.1rem;
  font-weight: 700;
}

.posture h2 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
}

.posture p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— Customer story —— */
.story-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
}

.story-card-page {
  margin: 0 0 1.75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-card-head {
  margin-bottom: 1.25rem;
}

.story-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-card-head h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.story-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.story-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 760px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.story-grid h4 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.story-card-page .story-grid {
  margin-bottom: 0;
}

/* —— Docs / legal pages —— */
.page {
  padding: 2.5rem 0 3.5rem;
}

.page h1 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.page .meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page h2 {
  margin: 2rem 0 0.55rem;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.page h3 {
  margin: 1.35rem 0 0.4rem;
  color: var(--navy);
  font-size: 1rem;
}

.page p,
.page li {
  color: #475467;
}

.page p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.page ul,
.page ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  max-width: 42rem;
}

.page li {
  margin-bottom: 0.4rem;
}

.page strong {
  color: var(--navy);
  font-weight: 600;
}

.doc-cards {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 0;
}

@media (min-width: 720px) {
  .doc-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-card {
  display: block;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.doc-card:hover {
  text-decoration: none;
  border-color: #abefc6;
  box-shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 10px 28px rgb(16 24 40 / 6%);
}

.doc-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.doc-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.url-table {
  width: 100%;
  max-width: 42rem;
  border-collapse: collapse;
  margin: 0.65rem 0 1.35rem;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.url-table th,
.url-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.url-table tr:last-child th,
.url-table tr:last-child td {
  border-bottom: 0;
}

.url-table th {
  color: var(--muted);
  background: #f9fafb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.url-table code,
code {
  font-family: ui-monospace, "Cascadia Code", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  word-break: break-all;
}

.notice {
  margin: 1.35rem 0;
  padding: 0.9rem 1.05rem;
  max-width: 42rem;
  border: 1px solid #abefc6;
  border-radius: 8px;
  background: var(--green-soft);
  color: #05603a;
  font-size: 0.92rem;
}

.notice a {
  color: var(--green-dark);
  font-weight: 600;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 42rem;
}

.steps li {
  position: relative;
  padding: 0 0 1.35rem 2.85rem;
  border-left: 1px solid var(--border);
  margin-left: 0.75rem;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.75rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.inline-shot {
  margin: 1.35rem 0 1.75rem;
  max-width: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.inline-shot img {
  width: 100%;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy);
  padding: 1.75rem 0 2rem;
  font-size: 0.82rem;
  color: #98a2b3;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.site-footer a {
  color: #d0d5dd;
}

.site-footer a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 58px;
    align-items: flex-start;
    padding-block: 0.65rem;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .band {
    padding: 2.25rem 0;
  }

  .cta-panel {
    padding: 1.35rem 1.15rem;
  }
}
