/* Marketing site - saleswrk.com */
:root {
  --brand: #0f766e;
  --brand-dark: #134e4a;
  --brand-light: #ccfbf1;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --surface: #ffffff;
  --bg: #f8fafc;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--brand); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, background .15s ease; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---- hero ---- */
.hero { padding: 5rem 0 4rem; background: radial-gradient(1200px 500px at 80% -10%, var(--brand-light), transparent 60%), linear-gradient(180deg, #fff, var(--bg)); }
.hero .wrap { display: grid; gap: 3rem; grid-template-columns: 1.15fr 1fr; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 3rem 0; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-light); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 1rem; font-weight: 800; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin: 0 0 1.5rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: .85rem; color: var(--ink-soft); margin-top: .75rem; }
.trust { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; font-size: .85rem; color: var(--ink-soft); }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* ---- signup card ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; box-shadow: 0 10px 40px rgba(15, 23, 42, .08); }
.card h2 { margin: 0 0 .25rem; font-size: 1.3rem; letter-spacing: -.01em; }
.card .sub { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1.25rem; }
.field { margin-bottom: .9rem; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .3rem; }
input, select { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.row { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.error { color: #dc2626; font-size: .85rem; min-height: 1.2em; margin-bottom: .5rem; }
.fine { font-size: .78rem; color: var(--ink-soft); margin-top: .75rem; }
.hp { position: absolute; left: -9999px; }

/* ---- sections ---- */
section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
h2.title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 .5rem; font-weight: 800; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

.features { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.feature h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

.flow { background: var(--bg); }
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.25rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 1.25rem; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.step h3 { margin: .25rem 0 .35rem; font-size: 1rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.quote-demo { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .quote-demo { grid-template-columns: 1fr; } }
.invoice { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9rem; background: #fff; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th, .invoice td { padding: .6rem .9rem; text-align: right; border-bottom: 1px solid var(--line); }
.invoice th:first-child, .invoice td:first-child { text-align: left; }
.invoice th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.invoice tr.total td { font-weight: 700; background: var(--brand-light); border: 0; }
.invoice .muted { color: var(--ink-soft); }

.pricing { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { padding: 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 10px 40px rgba(15,118,110,.12); }
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 2rem; font-weight: 800; margin: .5rem 0 1rem; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.plan li { padding: .3rem 0; }
.plan li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

.cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
.cta .btn.primary { background: #fff; color: var(--brand-dark); }
.cta .btn.primary:hover { background: var(--brand-light); }

footer { padding: 2rem 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }
