:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-alt: #f1f5f0;
  --text: #101410;
  --muted: #566354;
  --line: #d8e2d7;
  --accent: #2bb44a;
  --accent-dark: #167233;
  --shadow: 0 18px 42px rgba(16, 20, 16, 0.06);
  --shadow-soft: 0 10px 24px rgba(16, 20, 16, 0.04);
  --radius: 24px;
  --radius-sm: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfb 0%, var(--bg) 100%);
  line-height: 1.58;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.9rem; }
h1, h2, h3 { line-height: 1.06; margin: 0 0 0.95rem; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.35rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.95rem); }
h3 { font-size: 1.26rem; }
small, .small { font-size: 0.92rem; }

.container { width: min(calc(100% - 2rem), var(--wrap)); margin: 0 auto; }
.section { padding: 4.6rem 0; }
.section-tight { padding: 3.4rem 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(43, 180, 74, 0.16);
  background: rgba(43, 180, 74, 0.08);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.surface {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16,20,16,0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.grid { display: grid; gap: 1.35rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.arch-card::before { display: none; }
.card.hover-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card.hover-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 20, 16, 0.07);
  border-color: rgba(43, 180, 74, 0.22);
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.78rem; }
.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.checklist li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #4dcb68, var(--accent-dark));
  box-shadow: 0 0 0 5px rgba(43, 180, 74, 0.11);
  flex: 0 0 auto;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.82rem 1.18rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #f8fff9;
  background: linear-gradient(180deg, #31be50 0%, #21953e 100%);
  box-shadow: 0 10px 18px rgba(33, 149, 62, 0.16);
}
.btn-primary:hover { box-shadow: 0 14px 24px rgba(33, 149, 62, 0.2); }
.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
}
.link-arrow::after { content: "→"; margin-left: 0.4rem; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,252,251,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,20,16,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.9rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; font-weight: 800; letter-spacing: -0.04em; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; }
.brand-text { font-size: 1.25rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 1.05rem; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-links .btn { min-height: 2.8rem; padding: 0.76rem 1.08rem; }
.hero {
  position: relative;
  padding: 4.2rem 0 2.6rem;
  overflow: clip;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(43,180,74,0.1);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
}
.hero::before { width: 29rem; height: 16rem; right: -3rem; top: 1.8rem; }
.hero::after { width: 14rem; height: 8rem; left: -1rem; bottom: 0.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.6rem; align-items: center; }
.hero-copy h1 { max-width: 12.2ch; }
.hero-copy .lead { max-width: 54ch; }
.hero-panel { padding: 0.75rem; }
.hero-logo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(241,245,240,0.86) 100%);
  border: 1px solid rgba(16,20,16,0.06);
  border-radius: 30px;
  padding: clamp(1rem, 3.2vw, 1.7rem);
  box-shadow: 0 12px 30px rgba(16, 20, 16, 0.04);
}
.hero-trust {
  margin-top: 0.85rem;
  font-size: 0.96rem;
  color: var(--muted);
  font-weight: 600;
}
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.25rem; }
.stat {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(16,20,16,0.06);
}
.stat strong { display: block; font-size: 1rem; margin-bottom: 0.18rem; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.1rem; }
.section-head p { max-width: 58ch; }
.split-card { height: 100%; }
.split-card .intro { margin-bottom: 0.95rem; }
.proof-grid .card { height: 100%; }
.proof-grid h3 { margin-bottom: 0.45rem; }
.service-grid { align-items: stretch; }
.service-grid .card { height: 100%; }
.service-grid .card p:last-child { margin-bottom: 0; }
.service-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7f2 100%);
}
.cta-band {
  padding: 1.7rem 1.8rem;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ee 100%);
  border: 1px solid rgba(43,180,74,0.12);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.page-hero { padding: 3.1rem 0 1.5rem; }
.page-hero .surface { padding: 1.8rem; }
.page-hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(241,245,240,0.92) 100%);
  border: 1px solid rgba(43,180,74,0.14);
  box-shadow: var(--shadow);
}
.page-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -3.5rem -3.5rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43,180,74,0.12) 0%, rgba(43,180,74,0.02) 58%, rgba(43,180,74,0) 72%);
  pointer-events: none;
}
.page-hero .lead { max-width: 44rem; }
.page-hero h1 { max-width: 13ch; }
.get-started-layout { grid-template-columns: 0.92fr 1.08fr; align-items: start; }
.expect-card h2 { max-width: 10ch; }
.form-card { box-shadow: 0 18px 40px rgba(16, 20, 16, 0.07); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
.field { display: grid; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.94rem; }
input, textarea, select {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(43,180,74,0.16);
  border-color: rgba(43,180,74,0.34);
}
textarea { min-height: 170px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.15rem; }
.form-note { color: var(--muted); font-size: 0.94rem; max-width: 32ch; }
.hp-field { position: absolute; left: -5000px; }
.success-box, .error-box {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
}
.success-box { background: #effbef; color: #0c6d25; border: 1px solid rgba(13,127,31,0.16); }
.error-box { background: #fff2f2; color: #8c2020; border: 1px solid rgba(140,32,32,0.14); }
.success-box.show, .error-box.show { display: block; }
.footer {
  padding: 1.45rem 0 2rem;
  border-top: 1px solid rgba(16,20,16,0.08);
  background: #fcfdfc;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.footer-grid strong { display: block; margin-bottom: 0.2rem; }
.footer-link-groups { display: grid; gap: 0.35rem; justify-items: end; }
.footer-links { display: flex; gap: 0.9rem; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.footer-links-legal { font-size: 0.9rem; opacity: 0.95; }
.legal h2 { margin-top: 2rem; }
.legal h3 { margin-top: 1.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.25rem; }
.kicker { color: var(--accent-dark); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 0.45rem; }

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .hero-grid, .cta-band, .footer-grid, .form-grid, .get-started-layout { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; padding: 0.7rem 0 1rem; }
  .nav-links { width: 100%; justify-content: space-between; }
  .hero { padding-top: 2.9rem; }
  .hero-copy h1, .page-hero h1, .expect-card h2 { max-width: none; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-link-groups { justify-items: start; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 2rem; }
  .section { padding: 3.9rem 0; }
  .section-tight { padding: 2.9rem 0; }
  .btn { width: 100%; }
  .btn-row { align-items: stretch; }
  .nav-links { gap: 0.8rem; font-size: 0.95rem; }
  .nav-links .btn { width: auto; }
  .brand-text { font-size: 1.12rem; }
}

.not-found-hero { padding: 5.5rem 0 4rem; }
.not-found-card { text-align: left; max-width: 48rem; }


.legal-section { padding-top: 1.2rem; }
.legal-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1.35rem; align-items: start; }
.legal-hero h1 { max-width: none; }
.legal-summary { position: sticky; top: 6.1rem; }
.legal-summary h2 { font-size: 1.4rem; margin-bottom: 0.85rem; }
.legal-card h2 { font-size: 1.42rem; margin-top: 1.6rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-list { list-style: disc; display: block; padding-left: 1.4rem; margin-top: 0.8rem; }
.legal-list li { display: list-item; margin: 0.45rem 0; }
.legal-list li::before { content: none; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
}
