/* ==========================================================================
   ItsAllDone — marketing site stylesheet
   Brand system: ItsAllDone
   Bricolage Grotesque (headings) + Inter (body)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --blue: #009fe3;        /* Primary blue — actions, links, accent */
  --blue-dark: #0085bd;
  --navy: #003f6e;        /* Dark Blue — headings, nav, footer */
  --navy-900: #012c4d;
  --charcoal: #3c3c3b;    /* Body text — never pure black */
  --midblue: #0078c1;
  --midgrey: #9d9d9c;
  --line: #e7ebef;
  --paper: #ffffff;
  --mist: #f4f7fa;        /* alt section background */
  --mist-2: #eef3f8;
  --green: #006900;
  --red: #c5192d;
  --amber: #b26f00;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0, 63, 110, 0.08), 0 8px 24px rgba(0, 63, 110, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 63, 110, 0.12), 0 16px 40px rgba(0, 63, 110, 0.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.alt { background: var(--mist); }
.dark { background: var(--navy); color: #d5e3ef; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.dark .eyebrow { color: #66c7ef; }

.lead { font-size: 1.2rem; color: #4c5762; max-width: 720px; }
.dark .lead { color: #c2d4e3; }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ondark { background: #fff; color: var(--navy); }
.btn-ondark:hover { background: #eaf6fd; color: var(--navy); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── Top nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--charcoal); font-weight: 500; font-size: 0.98rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 24px; box-shadow: var(--shadow);
  }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0,159,227,.28), transparent 60%),
    linear-gradient(160deg, #012c4d 0%, #003f6e 55%, #024a80 100%);
  color: #dbe8f3;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #cadcec; margin-top: 18px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 0.92rem; color: #9fbdd6; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Hero visual — stacked "working paper" cards */
.hero-visual {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(4px);
}
.wp-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: var(--radius); background: rgba(255,255,255,0.95); margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.wp-row:last-child { margin-bottom: 0; }
.wp-label { font-size: 0.9rem; font-weight: 500; color: var(--charcoal); }
.wp-sub { font-size: 0.76rem; color: var(--midgrey); }
.tag { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.tag-green { background: #e3f2e3; color: var(--green); }
.tag-blue { background: #e2f3fc; color: var(--midblue); }
.tag-amber { background: #fbeed8; color: var(--amber); }

/* ── Logo strip ──────────────────────────────────────────── */
.trust-strip { padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.trust-item { display: flex; align-items: center; gap: 8px; color: #5a6772; font-size: 0.9rem; font-weight: 500; }
.trust-item svg { color: var(--blue); flex: none; }

/* ── Stats ───────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.dark .stat .num { color: #fff; }
.stat .cap { margin-top: 8px; font-size: 0.92rem; color: #5a6772; }
.dark .stat .cap { color: #b7cbdc; }

/* ── Cards / grids ───────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: 0.98rem; color: #55616c; margin: 0; }
.card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #e2f3fc; color: var(--blue); margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }

/* ── Steps / workflow ────────────────────────────────────── */
.stage-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: stage; }
@media (max-width: 820px) { .stage-line { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stage-line { grid-template-columns: 1fr; } }
.stage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; box-shadow: var(--shadow);
}
.stage .n {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  margin-bottom: 14px; font-family: "Bricolage Grotesque", sans-serif;
}
.stage h4 { font-size: 1.05rem; margin-bottom: 6px; }
.stage p { font-size: 0.9rem; color: #55616c; margin: 0; }
.stage .call { margin-top: 12px; font-size: 0.78rem; font-weight: 600; color: var(--blue); }

/* ── Split feature block ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.reverse .split-media { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 1rem; color: #414c56; }
.checklist li svg { flex: none; color: var(--green); margin-top: 3px; }
.checklist li strong { color: var(--navy); }

/* Code / audit panel */
.panel {
  background: var(--navy-900); border-radius: var(--radius-lg); padding: 26px 28px;
  box-shadow: var(--shadow); color: #cfe0ee; font-size: 0.9rem;
}
.panel .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel .row:last-child { border-bottom: 0; }
.panel .k { color: #90b4d1; }
.panel .v { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.panel .head { font-family: "Bricolage Grotesque", sans-serif; color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--mist); }
.price { font-weight: 700; color: var(--navy); }
.muted { color: var(--midgrey); font-size: 0.86rem; }
tr.featured td { background: #eaf6fd; }
tr.featured:hover td { background: #e1f1fb; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 0.72rem; font-weight: 600; background: #e2f3fc; color: var(--midblue); margin-left: 6px; }

/* ── Tier cards ──────────────────────────────────────────── */
.tier {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.tier.featured { border-top-color: var(--blue); box-shadow: var(--shadow-hover); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.tier-head h3 { margin: 0; }
.tier .amt { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--blue); }
.tier .meta { font-size: 0.85rem; color: var(--midgrey); margin-bottom: 16px; }
.tier .inherits { font-size: 0.85rem; font-style: italic; color: #6a7681; margin-bottom: 12px; }
.tier ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; color: #4c5762; }
.tier ul li { margin-bottom: 6px; }

/* ── Quote ───────────────────────────────────────────────── */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.28; color: #fff; margin: 0 0 22px; font-weight: 500; letter-spacing: -0.01em; }
.quote .who { color: #9fc4e0; font-size: 0.95rem; }

/* ── CTA band ────────────────────────────────────────────── */
.cta {
  background:
    radial-gradient(900px 400px at 15% 120%, rgba(0,159,227,.35), transparent 60%),
    linear-gradient(150deg, #003f6e, #012c4d);
  color: #d5e3ef; text-align: center;
}
.cta h2 { color: #fff; }
.cta .lead { margin: 0 auto 28px; color: #cadcec; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 16px; margin: 0; color: #55616c; font-size: 0.98rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: #9db8ce; padding: 56px 0 30px; font-size: 0.92rem; }
.footer a { color: #bcd6ea; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer .brand-foot { display: flex; align-items: center; gap: 10px; color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.footer .fine { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: #7f9bb3; font-size: 0.82rem; }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.maxw-720 { max-width: 720px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 15px; font-size: 0.85rem; font-weight: 500; color: #45525d; box-shadow: var(--shadow); }
.badge svg { color: var(--blue); }

/* ── Contact / HubSpot form ──────────────────────────────── */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-fallback { font-size: 0.95rem; color: #55616c; }
/* Brand the HubSpot embed (classes injected by HubSpot at runtime) */
.hs-form fieldset { max-width: none !important; }
.hs-form label { font-family: "Inter", sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 6px; }
.hs-form .hs-field-desc { font-weight: 400; color: var(--midgrey); font-size: 0.82rem; margin-bottom: 8px; }
.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form textarea,
.hs-form select {
  width: 100% !important;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 16px;
}
.hs-form .hs-input:focus,
.hs-form textarea:focus,
.hs-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,159,227,.18); }
.hs-form .hs-button,
.hs-form input[type="submit"] {
  background: var(--blue) !important;
  color: #fff !important;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .16s ease;
}
.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover { background: var(--blue-dark) !important; }
.hs-form .hs-error-msg, .hs-form .hs-error-msgs label { color: var(--red); font-weight: 400; font-size: 0.82rem; }
.hs-form .inputs-list { list-style: none; padding: 0; margin: 0; }
.hs-form .legal-consent-container { font-size: 0.82rem; color: var(--midgrey); }
