:root {
  --green: #0F5C4A;
  --green-dark: #0A4537;
  --accent: #C6F36B;
  --ink: #1B1B1F;
  --muted: #4B4B52;
  --bg: #FBFBF8;
  --line: #E4E4DC;
  --line-2: #D5D5CC;
  --field: #F4F4EF;
  --field-line: #C9C9BF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
input, select, button { font-family: inherit; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { margin: 0; color: var(--muted); font-size: 15px; }
.small { font-size: 13px; }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 11px 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); min-height: 48px; padding: 14px 26px; }
.btn-accent:hover { color: var(--ink); filter: brightness(0.96); }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--green); }
.logo:hover { color: var(--ink); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.header-phone { color: var(--ink); text-decoration: none; font-weight: 600; }

/* hero */
.hero { padding: 56px 0 80px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.pill-accent { display: inline-block; background: var(--accent); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.035em; }
.lead { margin: 0 0 28px; font-size: 19px; color: var(--muted); max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* form */
.apply-form {
  flex: 1 1 400px; min-width: 0; background: #fff; border: 2px solid var(--green);
  border-radius: 22px; padding: 30px; scroll-margin-top: 24px;
}
.form-state { display: flex; flex-direction: column; gap: 14px; }
.form-state[hidden] { display: none; }
.apply-form h2 { margin-bottom: 4px; font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -0.02em; line-height: 1.15; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.opt { font-weight: 400; color: var(--muted); }
.apply-form input[type=text], .apply-form input[type=tel], .apply-form input[type=email], .apply-form select {
  height: 46px; width: 100%; border: 0; border-bottom: 2px solid var(--field-line); background: var(--field);
  border-radius: 8px 8px 0 0; padding: 0 12px; font-size: 16px; color: var(--ink); outline: none;
}
.apply-form select { padding: 0 10px; }
.apply-form input:focus, .apply-form select:focus { border-bottom-color: var(--green); background: #EEF4F1; }
.apply-form .invalid { border-bottom-color: #C0392B !important; background: #FBEFEC !important; }
.consent { flex-direction: row !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; font-size: 12.5px !important; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.consent.invalid span { color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #C0392B; font-size: 14px; font-weight: 600; }
.btn-submit {
  height: 54px; border: 0; border-radius: 999px; background: var(--green); color: #fff;
  font-weight: 700; font-size: 17px; cursor: pointer;
}
.btn-submit:hover { background: var(--green-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.form-success { align-items: center; text-align: center; padding: 40px 8px; }

/* process */
.process { background: var(--green); color: #fff; padding: 80px 0; }
.process h2 { margin-bottom: 44px; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.03em; max-width: 640px; line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; border-top: 2px solid rgba(255,255,255,0.25); padding-top: 28px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.step p { margin: 0; color: #D3E6DF; }

/* sections */
.section { padding: 80px 0; }
.section-tight { padding: 0 0 80px; }
.section-faq { padding: 0 0 88px; }
.section h2, .section-tight h2, .section-faq h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; }
.two-col { display: flex; flex-wrap: wrap; gap: 56px; }
.col-wide { flex: 1 1 460px; min-width: 0; }
.col { flex: 1 1 400px; min-width: 0; }
.two-col h2 { margin-bottom: 18px; }
.lead-sm { margin: 0 0 24px; color: var(--muted); font-size: 18px; }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.tiles span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 600; }
.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uses span { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.uses span:nth-last-child(-n+2) { border-bottom: 0; }

.fit-card { background: var(--accent); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.fit-copy { flex: 1 1 320px; min-width: 0; }
.fit-copy h2 { margin-bottom: 10px; }
.fit-copy p { margin: 0; font-size: 18px; }
.fit-list { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fit-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.fit-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.section-faq h2 { margin-bottom: 32px; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px 56px; }
.faq h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.faq p { margin: 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #B9B9B2; padding: 64px 0 40px; font-size: 14px; }
.footer-stack { display: flex; flex-direction: column; gap: 40px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-cta h2 { flex: 1 1 420px; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; color: #fff; line-height: 1.15; }
.footer-cta h2 a { color: var(--accent); text-decoration: none; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #34343A; padding-top: 24px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; gap: 20px; }
.disclaimer { margin: 0; line-height: 1.6; max-width: 900px; }

/* legal pages */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.legal h2 { font-family: var(--display); font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: #2F2F35; }

@media (max-width: 560px) {
  .hero { padding: 36px 0 56px; }
  .hero-row { gap: 36px; }
  .apply-form { padding: 22px 18px; border-radius: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .fit-card { padding: 28px 22px; border-radius: 22px; }
  .faq { grid-template-columns: 1fr; }
  .process, .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
}
