/* The home page only. Forest green and off-white from the app, with one amber
   accent kept for the button that starts a sign-up. */
:root { --brand: #26593b; --brand-deep: #1c4530; --amber: #f6b63c; --amber-ink: #2a1d00; }

main.home { max-width: none; padding: 0; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.home h1, .home h2, .home h3, .home p { margin: 0; }
.home section { padding: 72px 0; }
.home h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.home .eyebrow { color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.home .lead { color: var(--dim); font-size: 18px; margin-top: 10px; max-width: 46ch; }

/* Buttons on this page are a little rounder and taller than the form pages. */
.home a.button { min-height: 52px; padding: 0 24px; border-radius: 10px; font-size: 16px; transition: transform 160ms ease-out, background-color 160ms ease-out; }
.home a.button:active { transform: scale(0.98); }
a.button.amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
a.button.amber:hover { background: #ffc552; }
a.button.ghost { border-color: rgb(255 255 255 / 0.35); color: #fff; }
a.button.ghost:hover { background: rgb(255 255 255 / 0.08); }

/* ── Hero ── */
.hero { background: var(--brand); color: #fff; padding: 56px 0 0 !important; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 480px at 78% 0%, rgb(255 255 255 / 0.10), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero .sub { font-size: 21px; color: rgb(255 255 255 / 0.82); margin-top: 18px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: rgb(255 255 255 / 0.82); font-size: 14px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; flex: none; }
.hero-copy { padding-bottom: 64px; }

/* The picture: a map with the app's own pins, and one alert floating over it. */
.scene { position: relative; align-self: end; }
.scene .map { position: relative; aspect-ratio: 640 / 500; overflow: hidden; border-radius: 18px 18px 0 0; border: 1px solid rgb(255 255 255 / 0.18); border-bottom: 0; box-shadow: 0 30px 60px -20px rgb(8 28 18 / 0.6), 0 12px 24px -12px rgb(8 28 18 / 0.5); background: #e9ece6; }
.scene .map img, .scene .map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.toast { position: absolute; left: -22px; bottom: 44px; background: #fff; color: #151715; border-radius: 14px; padding: 12px 16px 12px 12px; display: flex; gap: 12px; align-items: center; border: 1px solid rgb(0 0 0 / 0.08); box-shadow: 0 18px 36px -12px rgb(8 28 18 / 0.45), 0 4px 10px -4px rgb(8 28 18 / 0.3); animation: rise 280ms 500ms ease-out both; }
.toast .badge { width: 38px; height: 38px; border-radius: 10px; background: #e3efe7; color: var(--brand); display: grid; place-items: center; flex: none; }
.toast .badge svg { width: 20px; height: 20px; }
.toast strong { display: block; font-size: 15px; line-height: 1.2; }
.toast span { font-size: 13px; color: #515351; font-variant-numeric: tabular-nums; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { opacity: 0.55; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }
@media (prefers-reduced-motion: reduce) { .toast, .pulse { animation: none; } .pulse { opacity: 0; } }

/* ── Three steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--text); padding-top: 16px; }
.steps li::before { content: "0" counter(step); display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.steps h3 { font-size: 22px; letter-spacing: -0.01em; }
.steps p { color: var(--dim); margin-top: 6px; }

/* ── What you get ── */
.band { background: var(--surface); border-block: 1px solid var(--border); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 36px; }
.feat svg { width: 26px; height: 26px; color: var(--accent-ink); }
.feat { display: flex; align-items: center; gap: 12px; }
.feat h3 { font-size: 18px; }
.feat p { color: var(--dim); font-size: 15px; margin-top: 4px; }

/* ── Price ── */
.pricing .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
.plan .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .amount small { font-size: 15px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.plan .once { color: var(--dim); font-size: 15px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.plan .once b { color: var(--text); }
.plan hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; margin-top: 3px; }
.plan a.button { width: 100%; }
.fine { margin-top: 22px; }
.fine summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); padding: 11px 0; width: fit-content; }
.fine .terms { margin-top: 8px; font-size: 15px; }

/* ── Leaving another company ── */
.switch .wrap > div { background: var(--brand-deep); color: #fff; border-radius: 18px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.switch { padding-top: 0 !important; }
.switch h2 { font-size: 24px; }
.switch p { color: rgb(255 255 255 / 0.8); margin-top: 6px; }

/* ── Footer ── */
footer.site { background: var(--brand); color: rgb(255 255 255 / 0.8); padding: 36px 0; font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer.site img { height: 22px; width: auto; display: block; }
footer.site a { color: #fff; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }

@media (max-width: 860px) {
  .home section { padding: 52px 0; }
  .hero { padding-top: 36px !important; }
  .hero .wrap, .pricing .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero .sub { font-size: 18px; }
  .toast { left: 12px; bottom: 20px; }
  .steps, .feats { grid-template-columns: 1fr; gap: 24px; }
  .feats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .home .cta a.button { flex: 1 1 150px; }
}
@media (max-width: 340px) { .feats { grid-template-columns: 1fr; } }
