:root {
  --navy: #041c32;
  --green: #5fb43c;
  --green-light: #7ccb55;
  --green-deep: #4c9f2e;
  --orange: #e8622c;
  --mint: #eef6ea;
  --paper: #fbfdfa;
  --slate: #3b4a5a;
  --line: #dbe7d5;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Inter Tight", "Hanken Grotesk", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

/* Nav */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; }
.nav .logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--navy); }
.nav-links a:hover { color: var(--green-deep); }
@media (max-width: 760px) { .nav-links a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font: inherit; font-weight: 700; font-size: 1.15rem; text-decoration: none; cursor: pointer;
  padding: 1.05rem 2rem; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, var(--green-light), var(--green));
  color: #fff; box-shadow: 0 10px 24px rgba(95, 180, 60, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(95, 180, 60, 0.4); }
.btn.small { padding: 0.6rem 1.2rem; font-size: 1rem; box-shadow: none; }
.btn-link {
  font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 3px solid var(--green); padding-bottom: 2px;
}
.btn-link:hover { color: var(--green-deep); }

/* Hero */
.hero {
  padding: 3.5rem 0 5rem;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, #eaf4e4, var(--paper));
  background-blend-mode: soft-light, soft-light, normal;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem; border-radius: 999px;
  background: #e3f1da; border: 2px solid #cfe6c1; color: var(--green-deep); font-weight: 700; font-size: 1rem;
  margin-bottom: 1.5rem;
}
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; }
.hero h1 span { color: var(--green-deep); }
.hero .sub { font-size: 1.3rem; margin: 1.6rem 0 2rem; }
.cta-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.guarantee-line { display: flex; gap: 0.8rem; align-items: flex-start; margin: 2rem 0 0.5rem; font-size: 1.15rem; }
.guarantee-line svg { flex: none; margin-top: 0.25rem; }
.guarantee-line strong { color: var(--green-deep); }
.verticals-line { margin: 0; color: var(--slate); }

/* Browser-style card */
.browser {
  background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(4, 28, 50, 0.28);
  border: 1px solid #e6eee1;
}
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #edf2ea; }
.dots { display: flex; gap: 0.5rem; }
.dots i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; text-align: center; background: #f4f7f3; border-radius: 12px; padding: 0.35rem 1rem; font-size: 0.95rem; color: var(--slate); }
.browser-body { padding: 1.5rem 1.5rem 1.25rem; }
.browser-body h2 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 1rem; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li {
  display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem;
  padding: 0.85rem 0; border-top: 1px solid #edf2ea;
  opacity: 0; transform: translateY(6px); animation: drop .5s ease forwards;
}
.ledger li:nth-child(1) { animation-delay: .3s; }
.ledger li:nth-child(2) { animation-delay: .9s; }
.ledger li:nth-child(3) { animation-delay: 1.5s; }
.ledger li:nth-child(4) { animation-delay: 2.1s; }
.ledger .when { font-size: 0.85rem; color: #6c7c8c; }
.ledger .what { font-weight: 600; color: var(--navy); }
.ledger .amt { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--orange); grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ledger-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--navy); padding-top: 1rem; margin-top: 0.25rem;
  opacity: 0; animation: drop .5s ease 2.8s forwards; font-weight: 700; color: var(--navy);
}
.ledger-total strong { font-family: "Inter Tight", sans-serif; font-size: 2.2rem; color: var(--orange); }
.browser-note { font-size: 0.85rem; color: #6c7c8c; margin: 0.8rem 0 0; }
@keyframes drop { to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Sections */
section { padding: 5rem 0; }
.eyebrow { color: var(--green-deep); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 0.8rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; max-width: 20ch; }
.section-head p { margin-top: 1rem; font-size: 1.2rem; }

/* Problem cards */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: 0 12px 30px -18px rgba(4, 28, 50, 0.25); }
.card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.8rem; }
.card p { margin: 0; }
.card .tag { display: inline-block; color: var(--orange); font-weight: 800; margin-bottom: 0.6rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* Industries */
.who { border-top: 3px solid var(--navy); }
.who-row { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.who-row h3 { font-size: 1.45rem; font-weight: 800; }
.who-row p { margin: 0; }
@media (max-width: 640px) { .who-row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Steps */
.steps-band { background: var(--mint); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.steps h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.steps p { margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.field { margin-bottom: 1.4rem; }
label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%; font: inherit; padding: 0.85rem 1rem; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(95, 180, 60, 0.2); }
.result { background: var(--navy); color: #d6e4ee; border-radius: var(--radius); padding: 2.2rem; }
.result .big { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--green-light); line-height: 1; margin: 0.4rem 0 0.9rem; }
.result p { margin: 0 0 0.6rem; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; gap: 2rem; } }

/* Guarantee */
.guarantee { background: var(--navy); }
.guarantee .eyebrow { color: var(--green-light); }
.guarantee h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; color: #fff; max-width: 22ch; margin-bottom: 1.2rem; }
.guarantee p { color: #c5d6e3; font-size: 1.2rem; }
.guarantee .cta-stack { margin-top: 2rem; }
.guarantee .btn-link { color: #fff; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.form-wrap form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: 0 24px 50px -24px rgba(4, 28, 50, 0.3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 800px) { .form-wrap { grid-template-columns: 1fr; gap: 2rem; } .row2 { grid-template-columns: 1fr; gap: 0; } }

footer { padding: 3rem 0; background: #fff; border-top: 1px solid var(--line); font-size: 0.98rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
footer img { height: 38px; width: auto; display: block; margin-bottom: 0.6rem; }
footer p { margin: 0 0 0.3rem; }

.centered { min-height: 65vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.centered h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1rem; }
.centered p { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ledger li, .ledger-total { animation: none; opacity: 1; transform: none; }
  .btn { transition: none; }
}

/* SMS consent */
.consents { border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem 0.4rem; margin: 0 0 1.5rem; background: #f9fcf7; }
.consents legend { font-weight: 700; color: var(--navy); padding: 0 0.4rem; }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; cursor: pointer; color: var(--slate); }
.consent input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--green-deep); cursor: pointer; padding: 0; }
.consent-links { font-size: 0.9rem; margin: 0 0 1rem; }
.consent-links a, .legal a { color: var(--green-deep); font-weight: 600; }

/* Legal pages */
.legal { padding: 3rem 0 5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 0.6rem; }
.legal p, .legal li { max-width: none; font-size: 1.05rem; }
.legal ul { padding-left: 1.3rem; }
.legal .updated { color: #6c7c8c; margin-bottom: 2rem; }

.form-legal { margin: 1rem 0 0; font-size: 0.9rem; }
.form-legal a { color: var(--green-deep); font-weight: 600; }
