/* HeartWoodHR marketing site. Brand: teal, the same as the app's default theme. */
:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #e6faf6;
  --accent: #0d9488;
  --accent-soft: #e6faf6;
  --deep: #042f2e;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e6e8ef;
  --canvas: #fbfaf7;
  --surface: #ffffff;
  --green: #059669;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .08);
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #14b8a6;
    --brand-dark: #0d9488;
    --accent: #5eead4;
    --brand-soft: #0b3b38;
    --accent-soft: #0b3b38;
    --ink: #f1f5f9;
    --body: #cbd5e1;
    --muted: #94a3b8;
    --line: #263044;
    --canvas: #0b1120;
    --surface: #111827;
  }
}
:root[data-theme="dark"] {
  --brand: #14b8a6;
  --brand-dark: #0d9488;
  --accent: #5eead4;
  --brand-soft: #0b3b38;
  --accent-soft: #0b3b38;
  --ink: #f1f5f9;
  --body: #cbd5e1;
  --muted: #94a3b8;
  --line: #263044;
  --canvas: #0b1120;
  --surface: #111827;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
section { padding: 88px 0; }
.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--deep)); color: #fff;
}
.brand span em { font-style: normal; color: var(--accent); }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: none; gap: 10px; }
.nav-cta .btn { padding: 9px 18px; font-size: .92rem; }
.menu-btn {
  background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px;
  display: grid; place-items: center; color: var(--ink); cursor: pointer;
}
.mobile-menu { display: none; padding: 8px 16px 20px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: grid; gap: 4px; }
.mobile-menu a { padding: 12px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
}

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(13, 148, 136, .16), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -15%; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(15, 118, 110, .14), transparent 62%); pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; } }
.hero h1 .hl { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .92rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green); flex: none; }

/* Product tabs (hero) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 22px; position: relative; z-index: 1; }
.tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: .92rem; cursor: pointer; font-family: inherit;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .tab-panel.active { grid-template-columns: 1fr 1.25fr; } }
.tab-panel ul { padding: 0; list-style: none; margin: 0 0 20px; }
.tab-panel li { padding: 6px 0 6px 30px; position: relative; }
.tab-panel li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* App window mockups */
.app {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; font-size: .82rem;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.app-bar b { margin-left: 10px; color: var(--muted); font-weight: 600; font-size: .78rem; }
.app-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.app-side { background: var(--brand-dark); padding: 14px 0; display: grid; align-content: start; gap: 14px; justify-items: center; }
.app-side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .18); }
.app-side span.on { background: var(--accent); }
.app-main { padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.hero-grid > *, .tab-panel > *, .feature > *, .ai-band > *, .module-grid > * { min-width: 0; }
.row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .app-main { padding: 12px; } .kpi strong { font-size: 1rem; } .kpis { gap: 6px; } }
.app-title { font-weight: 800; color: var(--ink); font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.pill { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.pill.green { background: #dcfce7; color: #047857; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { color: var(--muted); display: block; font-size: .7rem; }
.kpi strong { color: var(--ink); font-size: 1.25rem; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--brand), #2dd4bf); }
.bars span:nth-child(3n) { background: linear-gradient(var(--accent), #5eead4); }
.rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); align-items: center; color: var(--ink); }
.row:last-child { border-bottom: 0; }
.row small { color: var(--muted); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: .7rem; margin-right: 8px; vertical-align: middle; }
.chat { display: grid; gap: 10px; }
.msg { padding: 10px 13px; border-radius: 14px; max-width: 86%; }
.msg.me { background: var(--brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg.ai { background: var(--canvas); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.ai cite { display: block; margin-top: 6px; font-style: normal; font-size: .72rem; color: var(--accent); font-weight: 600; }
.donut { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--brand) 0 46%, var(--accent) 46% 75%, #2dd4bf 75% 90%, var(--line) 90%); display: grid; place-items: center; }
.donut::after { content: ""; width: 70px; height: 70px; border-radius: 50%; background: var(--surface); }
.split2 { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.legend { display: grid; gap: 6px; font-size: .76rem; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }

/* Logos / proof strip */
.strip { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip p { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip-items span { font-weight: 800; color: var(--muted); font-size: 1.1rem; opacity: .85; }

/* Feature blocks (alternating) */
.feature { display: grid; gap: 40px; align-items: center; padding: 56px 0; }
@media (min-width: 960px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip > :first-child { order: 2; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.chip { font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.icon.accent { background: var(--accent-soft); color: var(--accent); }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; }

/* AI band */
.ai-band {
  background: radial-gradient(circle at 85% 20%, rgba(13, 148, 136, .35), transparent 45%),
              linear-gradient(135deg, #042f2e, var(--brand-dark) 55%, #134e4a);
  color: #e0e7ff; border-radius: 28px; padding: 56px 28px; display: grid; gap: 40px; align-items: center;
}
@media (min-width: 960px) { .ai-band { grid-template-columns: 1fr 1fr; padding: 64px; } }
.ai-band h2, .ai-band h3 { color: #fff; }
.ai-band .eyebrow { color: #5eead4; }
.ai-band .checks li::before { background-color: rgba(94, 234, 212, .18); }
.ai-band .app { color: var(--body); }

/* Numbers */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2.4rem; color: var(--brand); font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Integrations */
.integrations { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
@media (min-width: 760px) { .integrations { grid-template-columns: repeat(4, 1fr); } }
.integration { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 18px; text-align: center; font-weight: 700; color: var(--ink); }
.integration small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { min-width: 0; overflow-wrap: anywhere; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 24px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center;
}

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-size: .92rem; }
td.yes { color: var(--green); font-weight: 700; }
td.no { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* Pricing */
.plans { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.plan .price { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 8px 0 4px; }
.plan .checks { flex: 1; margin-top: 18px; }
.plan .btn { justify-content: center; }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta {
  border-radius: 28px; padding: 60px 28px; text-align: center; color: #fff;
  background: radial-gradient(circle at 15% 0%, rgba(94, 234, 212, .4), transparent 45%), linear-gradient(135deg, var(--deep), #134e4a 40%, var(--brand-dark));
}
.cta h2 { color: #fff; }
.cta p { color: #ccfbf1; max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Page header (inner pages) */
.page-head { padding: 72px 0 40px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.subnav a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; color: var(--ink); font-weight: 600; font-size: .88rem; }
.module { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.module-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .module-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.module .grid { gap: 14px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.mini h4 { font-size: 1rem; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Footer */
.site-footer { background: #0b1120; color: #94a3b8; padding: 64px 0 32px; margin-top: 88px; }
.site-footer .brand { color: #fff; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #1e293b; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Front page hero (full-width dark band) ---------------------------- */
.announce { background: var(--brand-dark); color: #fff; font-size: .95rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; text-align: center; }
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero2 { position: relative; overflow: hidden; padding: 56px 0 0; color: #fff; background: #053b37; }
.hero2-curves { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 8% 110%, #0a5a54 0 38%, transparent 38.2%),
    radial-gradient(90% 120% at 100% -10%, #0b4f4a 0 30%, transparent 30.2%),
    radial-gradient(70% 90% at 30% -20%, #074640 0 40%, transparent 40.2%),
    linear-gradient(160deg, #06302d, #053b37 50%, #042f2e); }
.hero2-inner { position: relative; z-index: 1; text-align: center; }
.hero2-badge { display: inline-flex; align-items: center; gap: 8px; color: #ccfbf1; font-weight: 600; margin-bottom: 18px; }
.hero2-badge svg { color: #5eead4; }
.hero2 h1 { font-family: "Fraunces", Georgia, serif; color: #fff; font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; line-height: 1.12; }
.hero2 h1 span { color: #5eead4; }
.hero2-sub { color: #e2f7f3; max-width: 720px; margin: 8px auto 32px; font-size: 1.08rem; }
.hero2-sub b { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 920px; margin: 0 auto; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.tile { background: #fff; color: #334155; border-radius: 8px; padding: 18px 8px 14px; display: grid; justify-items: center; gap: 10px;
  font-size: .9rem; line-height: 1.3; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s; }
.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .28); }
.tile svg { width: 44px; height: 44px; color: var(--brand-dark); }
.hero2-cta { margin: 34px auto 0; background: #2dd4bf; color: #042f2e; padding: 14px 30px; }
.hero2-cta:hover { background: #5eead4; }

.collage { position: relative; display: grid; gap: 16px; margin: 52px auto 0; max-width: 1060px; text-align: left; color: #334155; padding-bottom: 70px; }
@media (min-width: 1000px) { .collage { grid-template-columns: 1fr 1.9fr 1fr; align-items: end; } }
.c-left, .c-right { display: none; gap: 14px; }
@media (min-width: 1000px) { .c-left, .c-right { display: grid; } }
.c-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); font-size: .78rem; }
.c-head, .c-ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #0f172a; }
.c-ph small { color: #64748b; }
.c-chat { display: grid; gap: 8px; }
.c-chat .msg { font-size: .74rem; padding: 8px 10px; max-width: 92%; }
.c-chat .msg.me { background: var(--brand); }
.c-chat .msg.ai { background: #f8fafc; border-color: #e6e8ef; color: #0f172a; }
.c-chat .msg.ai cite { color: var(--brand-dark); }
.c-donut { display: flex; gap: 14px; align-items: center; }
.donut.sm { width: 76px; height: 76px; flex: none; background: conic-gradient(#0f766e 0 40%, #0d9488 40% 68%, #2dd4bf 68% 86%, #e6e8ef 86%); }
.donut.sm::after { width: 44px; height: 44px; background: #fff; }
.c-donut .legend { color: #334155; }
.c-main { background: linear-gradient(160deg, #0f766e, #0b4f4a); border: 1px solid rgba(94, 234, 212, .35); border-radius: 16px; padding: 18px; box-shadow: 0 20px 44px rgba(0, 0, 0, .35); }
.c-hello { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.c-hello strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; line-height: 1.1; }
.c-hello small { color: #ccfbf1; }
.avatar.lg { width: 52px; height: 52px; font-size: 1rem; margin: 0; border: 3px solid rgba(255, 255, 255, .6); }
.c-panels { display: grid; gap: 12px; }
@media (min-width: 640px) { .c-panels { grid-template-columns: 1fr 1fr; } }
.c-panel { background: #fff; border-radius: 10px; padding: 12px; font-size: .76rem; }
.c-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #eef2f7; color: #0f172a; }
.c-item small { display: block; color: #64748b; }
.c-item .avatar { margin: 0; width: 24px; height: 24px; font-size: .62rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.dot.teal { background: #14b8a6; }
.c-ask { margin-top: 14px; background: #fff; color: #64748b; border-radius: 999px; padding: 10px 16px; font-size: .82rem; display: flex; gap: 10px; align-items: center; }
.c-ask span { color: var(--brand); font-weight: 800; font-size: 1.1rem; }
.c-pay strong { display: block; font-size: 1.5rem; color: var(--brand-dark); margin: 2px 0; }
.c-pay small { color: #64748b; display: block; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 10px; }
.spark span { flex: 1; background: linear-gradient(#14b8a6, #99f6e4); border-radius: 3px 3px 0 0; }
.c-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.c-grid span { height: 18px; border-radius: 4px; background: #f1f5f9; }
.c-grid span.on { background: #ccfbf1; border: 1px solid #5eead4; }
.hero2-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--canvas); z-index: 0; }
.collage { z-index: 1; }
.explore { padding-top: 64px; }
.explore .tabs { justify-content: center; }

/* ---- Stacking module cards ------------------------------------------- */
.serif { font-family: "Fraunces", Georgia, serif; }
.platform { padding-top: 80px; }
.stack { margin-top: 48px; display: grid; gap: 40px; }
.scard {
  position: sticky; top: calc(96px + var(--i) * 14px);
  display: grid; overflow: hidden; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(15, 23, 42, .06), 0 18px 40px rgba(15, 23, 42, .10);
  min-height: 340px; transform-origin: center top; transition: transform .25s ease, filter .25s ease;
}
@media (min-width: 900px) { .scard { grid-template-columns: 1fr 1fr; } }
.scard-text { padding: 40px 36px; background: color-mix(in srgb, var(--canvas) 60%, #eef1f6); display: flex; flex-direction: column; justify-content: center; }
:root[data-theme="dark"] .scard-text { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scard-text { background: var(--surface); } }
.scard h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; }
.scard .chip { background: transparent; border: 1.5px solid #5eead4; color: var(--brand-dark); }
.scard-text p { color: var(--muted); }
.scard-text .btn { align-self: flex-start; margin-top: 12px; }
.btn-dark { background: var(--brand-dark); color: #fff; padding: 11px 22px; }
.btn-dark:hover { background: #134e4a; }
.scard-art {
  position: relative; min-height: 300px; padding: 28px;
  background: radial-gradient(80% 90% at 90% 110%, rgba(94, 234, 212, .35), transparent 60%),
              radial-gradient(60% 70% at 10% 0%, rgba(255, 255, 255, .12), transparent 60%),
              linear-gradient(150deg, #0d9488, #0f766e 55%, #115e59);
  display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-content: center;
}
.scard-art .c-card { color: #334155; font-size: .76rem; }
.scard-art .art-a { grid-row: span 2; align-self: center; }
.scard-art .art-b, .scard-art .art-c { align-self: center; }
.center-card { display: grid; justify-items: center; gap: 6px; text-align: center; color: #0f172a; }
.center-card small { color: #64748b; }
.big { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); margin: 4px 0; }
.btn-mini { background: var(--brand); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .74rem; }
.btn-mini.lg { padding: 9px 20px; font-size: .85rem; }
.task { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #eef2f7; color: #0f172a; align-items: center; }
.task small { color: #64748b; margin-left: auto; }
.box { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid #94a3b8; flex: none; }
.box.on { background: var(--brand); border-color: var(--brand); }
.mini-bars { height: 80px; padding: 6px; }
.scard.behind { transform: scale(.96); filter: brightness(.97); }
@media (max-width: 899px) { .scard { position: relative; top: auto; } }
@media (prefers-reduced-motion: reduce) { .scard { transition: none; } .scard.behind { transform: none; } }

/* ---- Integrations hub --------------------------------------------------- */
.hub {
  border-radius: 22px; padding: 44px 20px 40px; text-align: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(94, 234, 212, .18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #06302d, #0b4f4a 55%, #042f2e);
}
.hub h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.hub-svg { width: 100%; max-width: 900px; height: auto; display: block; margin: 0 auto; }
.hub-lines path { fill: none; stroke: #2dd4bf; stroke-width: 2.5; opacity: .85; }
.hub-dots circle { fill: #5eead4; }
.hub-center .ring { fill: rgba(94, 234, 212, .25); stroke: #99f6e4; stroke-width: 3; }
.hub-center .core { fill: #0d9488; }
.hub-nodes circle { fill: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
.hub-nodes .mono { fill: #0f766e; font: 800 15px Inter, sans-serif; text-anchor: middle; }
.hub-nodes .lbl { fill: #ccfbf1; font: 600 12px Inter, sans-serif; text-anchor: middle; }
.hub .hero2-cta { margin-top: 18px; }

/* ---- Customer quotes ---------------------------------------------------- */
.quotes h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.quotes-row { display: grid; gap: 20px; margin-top: 36px; align-items: stretch; }
@media (min-width: 900px) { .quotes-row { grid-template-columns: 200px minmax(0, 1fr); } }
.q-score { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 26px 18px; display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; }
.q-score b { color: var(--ink); }
.q-score small { color: var(--muted); }
.brand-mark.lg { width: 54px; height: 54px; border-radius: 16px; background: var(--brand); }
.q-track-wrap { position: relative; min-width: 0; }
.q-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
@media (min-width: 900px) { .q-track { grid-auto-columns: calc((100% - 28px) / 3); } }
.q-track::-webkit-scrollbar { display: none; }
.q-card { margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--brand); letter-spacing: 2px; }
.q-card blockquote { margin: 0; color: var(--ink); flex: 1; font-size: .95rem; }
.q-card figcaption { display: flex; align-items: center; gap: 10px; }
.q-card figcaption .avatar { width: 40px; height: 40px; margin: 0; flex: none; }
.q-card figcaption b { display: block; color: var(--ink); }
.q-card figcaption small { color: var(--muted); font-size: .8rem; }
.q-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--brand-dark); color: #fff; display: grid; place-items: center; cursor: pointer; }
.q-nav.prev { left: -12px; }
.q-nav.next { right: -12px; }
.btn-outline { border-color: var(--brand-dark); color: var(--brand-dark); background: transparent; }

/* ---- FAQ (serif, top rule, chevrons) ----------------------------------- */
.faq-title { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.faq-title svg { color: var(--brand); flex: none; }
.faq2 { border-top: 2px solid var(--brand-dark); max-width: 820px; }
.faq2 details { padding: 0; }
.faq2 summary { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.1rem; padding: 20px 16px; }
.faq2 summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid var(--brand-dark); border-bottom: 2.5px solid var(--brand-dark); transform: rotate(45deg); margin-top: 4px; flex: none; transition: transform .2s; }
.faq2 details[open] summary::after { content: ""; transform: rotate(-135deg); margin-top: 10px; }
.faq2 details p { margin: 0; padding: 0 16px 22px; font-size: .95rem; }

/* ---- Closing band + footer ---------------------------------------------- */
.rush { background: linear-gradient(180deg, #0b4f4a, #042f2e 70%); color: #fff; padding: 80px 0 90px; }
.rush h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rush .hero2-cta { margin-top: 18px; }
.site-footer { background: #4a5352; color: #e5e7eb; margin-top: 0; padding: 56px 0 30px; }
.site-footer h4 { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; color: #fff; }
.site-footer a { color: #f1f5f9; font-size: .9rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-platform { display: grid; gap: 0 40px; grid-template-columns: 1fr 1fr; align-content: start; }
.foot-platform h4 { grid-column: 1 / -1; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); color: #e5e7eb; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-legal a { font-size: .85rem; }
.foot-platform ul { align-content: start; }

/* ---- Sprig, the guide ---------------------------------------------------- */
.sprig { width: 100%; height: auto; overflow: visible; animation: sprig-float 3.4s ease-in-out infinite; }
.sprig .sprig-arm-wave { transform-box: view-box; transform-origin: 34px 66px; animation: sprig-wave 1.8s ease-in-out infinite; }
.sprig .sprig-arm-point { transform-box: view-box; transform-origin: 98px 68px; animation: sprig-point 2.6s ease-in-out infinite; }
.sprig .sprig-eyes { transform-box: view-box; transform-origin: 65px 53px; animation: sprig-blink 4.5s infinite; }
.sprig .sprig-tail { transform-box: view-box; transform-origin: 64px 98px; animation: sprig-tail 2.4s ease-in-out infinite; }
@keyframes sprig-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes sprig-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(28deg); } }
@keyframes sprig-point { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px) rotate(-4deg); } }
@keyframes sprig-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes sprig-tail { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-8deg); } }

.sprig-tip { display: flex; align-items: flex-end; gap: 10px; margin: 6px 0 16px; }
.sprig-tip .sprig { width: 58px; flex: none; }
.sprig-bubble {
  position: relative; margin: 0 0 14px; background: var(--surface); border: 1.5px solid #5eead4; border-radius: 14px 14px 14px 4px;
  padding: 10px 14px; font-size: .9rem; color: var(--body); box-shadow: 0 6px 16px rgba(15, 118, 110, .10);
}
.sprig-bubble b { color: var(--brand-dark); }
.sprig-bubble::before { content: ""; position: absolute; left: -8px; bottom: 8px; width: 12px; height: 12px; background: var(--surface); border-left: 1.5px solid #5eead4; border-bottom: 1.5px solid #5eead4; transform: rotate(45deg); }

.sprig-hero { display: none; position: absolute; right: -10px; top: 40px; width: 150px; background: none; border: 0; padding: 0; cursor: pointer; }
@media (min-width: 1100px) { .sprig-hero { display: flex; flex-direction: column; align-items: center; gap: 2px; } .sprig-hero .sprig { display: block; width: 120px; } }
.sprig-hero-bubble { display: block; background: #fff; color: #0f172a; border-radius: 14px; padding: 8px 12px; font-size: .85rem; margin-bottom: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.sprig-hero-bubble b { color: var(--brand-dark); }
.sprig-hero:hover .sprig { animation-duration: 1.4s; }

.sprig-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 6px;
  background: var(--brand-dark); color: #fff; border: 0; border-radius: 999px; padding: 4px 18px 4px 4px; cursor: pointer;
  font: 700 .92rem Inter, sans-serif; box-shadow: 0 12px 28px rgba(4, 47, 46, .35);
}
.sprig-launch .sprig { width: 50px; background: #ccfbf1; border-radius: 50%; padding: 4px; }
.sprig-launch.hidden { display: none; }
.sprig-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 61; width: min(360px, calc(100vw - 36px));
  background: var(--surface); color: var(--body); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(4, 47, 46, .35);
}
.sprig-panel[hidden] { display: none; }
.sprig-panel-head { display: flex; gap: 10px; align-items: center; }
.sprig-panel-head .sprig { width: 64px; flex: none; }
.sprig-panel-head small { color: var(--brand-dark); font-weight: 700; }
.sprig-panel-head h4 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; }
.sprig-close { margin-left: auto; align-self: flex-start; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; }
.sprig-text { margin: 10px 0 14px; font-size: .95rem; }
.sprig-actions { display: flex; justify-content: space-between; gap: 10px; }
.sprig-actions .btn { padding: 9px 18px; font-size: .9rem; }
.sprig-actions .btn:disabled { opacity: .4; cursor: default; transform: none; }
.sprig-lit { outline: 3px solid #2dd4bf; outline-offset: 6px; border-radius: 18px; transition: outline-color .3s; }
@media (prefers-reduced-motion: reduce) {
  .sprig, .sprig * { animation: none !important; }
}

/* ---- "Our Platform" drop-down -------------------------------------------- */
.mega { position: relative; }
.mega-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 24px 0; font: 600 .95rem Inter, sans-serif; color: var(--ink); cursor: pointer; border-bottom: 3px solid transparent; }
.mega:hover .mega-btn, .mega.open .mega-btn { color: var(--brand); border-bottom-color: var(--brand); }
.mega-panel {
  position: absolute; left: -24px; top: 100%; width: min(860px, 92vw); background: var(--surface); color: var(--body);
  border-radius: 0 0 18px 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .18); padding: 22px 22px 16px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70;
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.open .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega.closed .mega-panel { opacity: 0; visibility: hidden; }
.mega-body { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.mega-left { display: grid; align-content: start; gap: 4px; }
.mega-left h4 { font-size: 1.3rem; margin: 0 0 8px; }
.mega-left a { color: var(--ink); font-weight: 500; padding: 7px 0; display: inline-flex; gap: 6px; align-items: center; }
.mega-grid { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.mega-grid a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.mega-grid a:hover, .mega-left a:hover { background: var(--brand-soft); text-decoration: none; }
.mega-grid svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-new { background: var(--brand-soft); color: var(--brand-dark); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.mega-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: .93rem; }
.mega-foot a { color: var(--ink); }
.mega-foot b { color: var(--brand-dark); }
.nav-links { align-self: stretch; }
.nav-links > a { display: flex; align-items: center; }

/* ---- Logo lockup (heart rings + wordmark + tagline) ---------------------- */
.brand { gap: 10px; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-words { display: grid; line-height: 1.05; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.22rem; letter-spacing: .03em; color: var(--ink); }
.brand-name em, .brand-tag em { font-style: normal; color: var(--brand); }
.brand-tag { font-size: .54rem; font-weight: 600; letter-spacing: .25em; color: var(--muted); margin-top: 3px; }
@media (max-width: 380px) { .brand-tag { display: none; } }
.q-logo { width: 54px; height: 54px; }

/* Logo colours: red heart, charcoal wordmark, red accent words. */
.brand-name { color: #3F4A54; }
.brand-name em, .brand-tag em { color: #DC2626; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-name { color: #E5E7EB; } :root:not([data-theme="light"]) .brand-name em, :root:not([data-theme="light"]) .brand-tag em { color: #F87171; } }
:root[data-theme="dark"] .brand-name { color: #E5E7EB; }
:root[data-theme="dark"] .brand-name em, :root[data-theme="dark"] .brand-tag em { color: #F87171; }

/* Supplied brand files */
.brand-full { height: 44px; width: auto; display: block; }
@media (max-width: 380px) { .brand-full { height: 36px; } }
.hub-center .core-white { fill: #fff; }
.q-logo { width: 64px; height: 64px; }

/* Solution (search landing) pages */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: inherit; }
.mini h3 { font-size: 1.05rem; margin: 0 0 6px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
