:root {
  --ink: #18302b;
  --muted: #5c6d69;
  --green: #176b58;
  --green-dark: #0e4b3e;
  --green-light: #e8f3ef;
  --cream: #f7f6f1;
  --white: #ffffff;
  --line: #d9e1de;
  --gold: #d7a44b;
  --shadow: 0 18px 50px rgba(25, 54, 47, 0.1);
  --radius: 18px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { max-width: 760px; font-size: clamp(2.55rem, 6vw, 4.75rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; }

.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.section { padding: 96px 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.hidden { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid rgba(217, 225, 222, 0.8); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: white; font-size: 0.8rem; letter-spacing: 0.04em; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a, .footer-links a { color: var(--muted); font-size: 0.93rem; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--green); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 10px; padding: 12px 22px; background: var(--green); color: white; cursor: pointer; font-weight: 750; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(215, 164, 75, 0.6); outline-offset: 3px; }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 0.86rem; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { color: white; }
.button-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.button-ghost:hover { background: var(--green-light); color: var(--green-dark); }
.button-light { margin-top: 20px; border-color: white; background: white; color: var(--green-dark); }
.button-light:hover { background: var(--cream); color: var(--green-dark); }
.button-row, .form-actions, .results-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.text-link { color: var(--green-dark); font-weight: 750; text-decoration: none; }

.hero { overflow: hidden; padding: 100px 0 110px; background: radial-gradient(circle at 85% 15%, #d9ede5 0, transparent 29%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 70px; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-copy { max-width: 720px; margin-bottom: 30px; color: #485c57; font-size: 1.2rem; }
.compact-list { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px !important; }
.hero-card { position: relative; padding: 28px; border: 1px solid rgba(23, 107, 88, 0.15); border-radius: 22px; background: rgba(255,255,255,0.88); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1; border: 1px solid rgba(23,107,88,.18); border-radius: 22px; }
.hero-card-top { display: flex; align-items: center; gap: 9px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #3aa17e; box-shadow: 0 0 0 5px #ddf2ea; }
.mini-label { margin-bottom: 10px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-card h2 { font-size: 1.65rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.mini-grid div { padding: 14px; border-radius: 10px; background: var(--cream); }
.mini-grid span, .mini-grid strong { display: block; }
.mini-grid span { margin-bottom: 3px; color: var(--muted); font-size: 0.72rem; }
.mini-grid strong { font-size: 0.88rem; }
.success-text { color: var(--green); }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading p:not(.eyebrow), .tool-intro p:not(.eyebrow), .tool-copy > p:not(.eyebrow), .faq-layout > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.centered { margin-inline: auto; text-align: center; }
.problem-section { background: white; }
.three-column { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.info-card p { margin-bottom: 0; color: var(--muted); }
.card-number { display: block; margin-bottom: 38px; color: var(--gold); font-weight: 850; }

.tools-section { padding-bottom: 30px; background: var(--green-light); }
.builder-section { padding-top: 40px; background: var(--green-light); }
.tool-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.tool-intro > div { max-width: 730px; }
.privacy-note { flex: none; padding: 8px 12px; border-radius: 99px; background: white; color: var(--green); font-size: 0.78rem; font-weight: 750; }
.builder-form, .tool-panel { padding: 34px; border: 1px solid rgba(23,107,88,.13); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(29,69,59,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; color: var(--ink); font-size: 0.9rem; font-weight: 750; }
input, textarea { width: 100%; margin-top: 7px; border: 1px solid #cbd6d2; border-radius: 9px; padding: 12px 13px; background: #fbfcfb; color: var(--ink); font-weight: 450; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8b9995; }
input:focus, textarea:focus { border-color: var(--green); background: white; }
.required { float: right; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.form-actions { margin-top: 26px; }

.results { margin-top: 30px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.results-header h3 { margin-bottom: 0; font-size: 1.5rem; }
.results-header .eyebrow { margin-bottom: 5px; }
.output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.single-column { grid-template-columns: 1fr; }
.output-card { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfb; }
.output-card h4 { margin: 0 50px 12px 0; font-size: 0.92rem; }
.output-card .output-content { color: #465854; font-size: 0.92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-button { position: absolute; top: 14px; right: 14px; border: 0; border-radius: 6px; padding: 6px 8px; background: var(--green-light); color: var(--green-dark); cursor: pointer; font-size: 0.72rem; font-weight: 750; }
.copy-button:hover { background: #d4e9e1; }
.result-tip { margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; background: #fff8e9; color: #6d5a32; font-size: 0.86rem; }

.secondary-tool { background: white; }
.secondary-tool.alternate { background: var(--cream); }
.tool-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: start; gap: 72px; }
.tool-layout.reverse { grid-template-columns: 0.72fr 1.28fr; }
.tool-copy { position: sticky; top: 115px; }
.check-list { padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 25px; margin: 9px 0; color: var(--muted); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.tool-panel form label + label { margin-top: 18px; }
.compact-results { padding: 28px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }

.kit-section { background: var(--green-dark); color: white; }
.kit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 72px; }
.light-eyebrow { color: #9bd2bf; }
.kit-lead { color: white !important; font-size: 1.2rem; }
.kit-grid > div > p:not(.eyebrow) { color: #c9d9d4; }
.kit-value-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 4px; }
.kit-value-row span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; color: #d9e8e3; font-size: 0.76rem; font-weight: 700; }
.kit-cta { margin-top: 24px; }
.cta-note { margin: 10px 0 0; font-size: 0.78rem; }
.kit-card { padding: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.075); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.kit-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.kit-card-heading h3 { margin: 0; font-size: 1.35rem; }
.kit-card .mini-label { color: #9bd2bf; }
.kit-badge { flex: none; padding: 6px 9px; border-radius: 7px; background: #d8ece5; color: var(--green-dark); font-size: 0.72rem; font-weight: 850; }
.kit-list { padding: 0; margin: 20px 0 0; list-style: none; }
.kit-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.kit-list li:last-child { border-bottom: 0; }
.kit-list span { color: #9bd2bf; font-weight: 900; }
.kit-list strong, .kit-list small { display: block; }
.kit-list strong { font-size: 0.94rem; }
.kit-list small { margin-top: 2px; color: #aebfba; font-size: 0.75rem; line-height: 1.4; }
.kit-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 52px; padding: 25px 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(0,0,0,.12); }
.kit-bottom-cta strong, .kit-bottom-cta span { display: block; }
.kit-bottom-cta span { margin-top: 3px; color: #b9cbc5; font-size: 0.88rem; }
.kit-bottom-cta .button { flex: none; margin: 0; }

.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; list-style: none; counter-reset: steps; }
.steps-list li { padding: 30px; border-top: 3px solid var(--green); background: var(--cream); }
.steps-list li > span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; background: var(--green); color: white; font-weight: 850; }
.steps-list p { margin-bottom: 0; color: var(--muted); }

.faq-section { background: var(--green-light); }
.faq-layout { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid #bed2ca; }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--green); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding-right: 35px; color: var(--muted); }

.site-footer { padding: 52px 0; background: #102d26; color: white; }
.footer-wrap { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; }
.footer-brand .brand-mark { background: #d8ece5; color: var(--green-dark); }
.footer-wrap > div > p, .copyright { margin: 10px 0 0; color: #9eb5ae; font-size: 0.82rem; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #c7d6d1; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; padding: 11px 16px; border-radius: 9px; background: var(--ink); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid, .kit-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .hero-card { max-width: 620px; }
  .three-column, .steps-list { grid-template-columns: 1fr; }
  .tool-layout, .tool-layout.reverse, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .tool-copy { position: static; }
  .kit-grid { gap: 50px; }
  .kit-bottom-cta { align-items: flex-start; flex-direction: column; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .section { padding: 70px 0; }
  .site-header .button-small { display: none; }
  .nav-wrap { min-height: 66px; }
  .hero { padding: 70px 0 85px; }
  .hero-copy { font-size: 1.06rem; }
  .hero-card { padding: 22px; transform: none; }
  .hero-card::before { display: none; }
  .mini-grid, .form-grid, .output-grid { grid-template-columns: 1fr; }
  .tool-intro, .results-header { align-items: flex-start; flex-direction: column; }
  .privacy-note { align-self: flex-start; }
  .builder-form, .tool-panel, .results { padding: 22px 18px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .results-actions, .results-actions .button { width: 100%; }
  .output-card { padding: 20px 16px; }
  .output-card h4 { margin-right: 54px; }
  .kit-card { padding: 26px 20px; }
  .kit-card-heading { align-items: flex-start; }
  .kit-bottom-cta { margin-top: 36px; padding: 22px 18px; }
  .kit-bottom-cta .button { width: 100%; }
  .footer-wrap { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
  .button-row { align-items: flex-start; flex-direction: column; }
  .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
}

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