:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #18202e;
  --muted: #5d6576;
  --line: #e6e3dc;
  --brand: #1f3a5f;
  --brand-dark: #142740;
  --accent: #c08f2f;
  --soft: #f2efe8;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 14px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.fine { font-size: 0.85rem; color: var(--muted); }
.fine.light { color: rgba(255,255,255,0.75); }

/* buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 650; padding: 13px 24px; border-radius: 10px; border: 1px solid var(--brand);
  cursor: pointer; font: inherit; font-weight: 650;
}
.btn:hover { background: var(--brand-dark); }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--soft); }
.btn-block { width: 100%; margin-top: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--brand); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-cta .link { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(20, 39, 64, 0.16); }
.browser { display: flex; gap: 6px; padding: 10px 12px; background: #eeebe4; border-bottom: 1px solid var(--line); }
.browser span { width: 10px; height: 10px; border-radius: 50%; background: #d3cec4; }

/* stats band */
.stats-band { background: var(--brand); color: #fff; padding: 64px 0; text-align: center; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 20px; }
.stat .num { font-size: 3rem; font-weight: 800; color: #f1c86a; line-height: 1; margin-bottom: 10px; }
.stat p { color: rgba(255,255,255,0.85); max-width: 260px; margin: 0 auto; }
.source { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }

/* sections */
.section { padding: 84px 0; }
.section.alt { background: var(--soft); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { color: var(--brand); }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 10px 0 10px 34px; position: relative; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #e3ecf6; color: var(--brand); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-top: 12px; }
details summary { cursor: pointer; font-weight: 650; list-style: none; position: relative; padding-right: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* demo */
.demo { background: var(--brand); color: #fff; }
.demo .lead { color: rgba(255,255,255,0.85); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .demo-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.form-card label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.form-card .opt { font-weight: 400; color: var(--muted); }
.form-card input, .form-card select, .form-card textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; font-size: 0.95rem; background: #fff; color: var(--ink);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-card .row { grid-template-columns: 1fr; gap: 0; } }
.success h3 { color: var(--brand); }
.hp { position: absolute; left: -9999px; }

.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* =====================================================================
   THEME: soft futuristic (misty blue / off-white / light grey / lavender)
   ===================================================================== */
:root {
  --bg: #f4f3ef;               /* warm off-white */
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5f6673;
  --line: #e2e4ea;
  --brand: #16181d;            /* buttons: near-black */
  --brand-dark: #2a2e36;
  --accent: #3d6fd9;
  --soft: #eef2f8;
  --accent-grad: linear-gradient(135deg, #5b8def 0%, #8a6cf0 100%);
  --mist: linear-gradient(165deg, #cddff3 0%, #dfeaf6 40%, #edf1f6 75%, #f4f3ef 100%);
}
body { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); }
h1, h2, h3, .logo, .stat .num {
  font-family: "Outfit", "DM Sans", sans-serif; letter-spacing: -0.02em;
}
h1 { font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-weight: 500; }
h1 .grad, .grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--muted); font-weight: 500; letter-spacing: 0.14em; font-size: 0.74rem; }
.logo { color: var(--ink); font-weight: 600; }
.logo span { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); }

/* floating glass pill navigation */
.nav { background: transparent; border-bottom: 0; backdrop-filter: none; padding-top: 14px; position: sticky; }
.nav-inner {
  height: 56px; max-width: 760px; padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(40, 70, 120, 0.10);
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* buttons: near-black with an arrow segment */
.btn { background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 10px; font-weight: 500; padding: 13px 20px; display: inline-flex; align-items: center; }
.btn::after { content: "→"; margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.22); }
.btn:hover { background: var(--brand-dark); }
.btn-sm { padding: 8px 14px; }
.btn-sm::after { margin-left: 12px; padding-left: 12px; }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--ink); border: 1px solid rgba(22,24,29,0.12); }
.btn-ghost::after { border-left-color: rgba(22,24,29,0.15); }
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light::after { border-left-color: rgba(22,24,29,0.15); }
.btn-block { justify-content: center; }
.login-card .btn::after { display: none; }

/* hero on misty blue */
.hero { background: var(--mist); margin-top: -70px; padding-top: 140px; padding-bottom: 90px; }
.shot { border: 1px solid rgba(255,255,255,0.9); border-radius: 18px; box-shadow: 0 30px 80px rgba(40, 70, 120, 0.18); }
.browser { background: rgba(244, 246, 250, 0.9); border-bottom-color: var(--line); }
.browser span { background: #d4dae4; }

/* stats band: off-white, big light numbers */
.stats-band { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-band h2 { color: var(--ink); }
.stat .num { color: var(--ink); font-weight: 300; font-size: 3.6rem; background: none; }
.stat p { color: var(--muted); }
.source { color: #8c93a0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72rem; }

/* how it works: misty section, clean numbered steps */
#how { background: var(--mist); }
.steps { counter-reset: step; }
.steps li { background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.9); border-radius: 18px; backdrop-filter: blur(8px); }
.step-num { background: none; color: var(--muted); width: auto; height: auto; font-size: 0; margin-bottom: 18px; display: block; }
.step-num::before { counter-increment: step; content: "0" counter(step); font: 500 0.8rem "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.06em; }
.steps h3 { font-size: 1.35rem; font-weight: 400; }

.section.alt { background: var(--bg); }
.feature { background: rgba(255,255,255,0.7); border: 1px solid var(--line); border-radius: 18px; }
.feature h3 { color: var(--ink); font-size: 1.15rem; }
.checks li::before { background: #e3ecf8; color: var(--accent); }
details { background: rgba(255,255,255,0.75); border-color: var(--line); border-radius: 14px; }
details summary::after { color: var(--muted); }

/* final demo section: dark */
.demo { background: #101114; color: #fff; }
.demo h2 { color: #fff; }
.demo .lead { color: rgba(255,255,255,0.7); }
.form-card { border-radius: 18px; box-shadow: none; }
.form-card .btn { width: 100%; justify-content: center; }
.success h3 { color: var(--ink); }
.footer { background: #101114; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.footer .logo { color: #fff; }
.footer .fine, .footer a { color: rgba(255,255,255,0.55); }

/* =====================================================================
   Get found / get hired / get recommended
   ===================================================================== */
section[id] { scroll-margin-top: 80px; }
.mx { margin-left: auto; margin-right: auto; }
.pillars-section { background: var(--bg); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pillar {
  display: block; text-decoration: none; color: var(--ink);
  background: rgba(255,255,255,0.75); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pillar:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(40, 70, 120, 0.12); }
.pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pillar-num { font: 500 0.8rem "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.06em; color: var(--muted); }
.pillar h3 { font-size: 1.7rem; font-weight: 400; margin-bottom: 8px; }
.pillar p { color: var(--muted); }
.pillar ul { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); }
.pillar li { padding: 5px 0 5px 20px; position: relative; font-size: 0.95rem; }
.pillar li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-grad); }
.tag { font: 500 0.7rem "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #eef2f8; color: #4a5a78; }
.tag-app { background: var(--accent-grad); color: #fff; }
.monthly { display: flex; gap: 20px; align-items: center; margin-top: 20px; padding: 18px 24px; border-radius: 18px; background: var(--mist); border: 1px solid rgba(255,255,255,0.9); }
.monthly .pillar-num { white-space: nowrap; }
.monthly p { margin: 0; color: var(--muted); }
.monthly strong { color: var(--ink); font-weight: 600; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .monthly { flex-direction: column; align-items: flex-start; gap: 6px; } }

#found { background: var(--mist); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.services.three { grid-template-columns: repeat(3, 1fr); }
.service { background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9); border-radius: 18px; padding: 26px; }
.rec-section .service { border-color: var(--line); }
.service h3 { font-size: 1.35rem; font-weight: 400; }
.service > p { color: var(--muted); }
.service .checks { margin-top: 6px; }
.service .checks li { padding-top: 7px; padding-bottom: 7px; font-size: 0.95rem; }
.service .fine { margin: 10px 0 0; }
.honest { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 28px auto 0; max-width: 640px; }
@media (max-width: 920px) { .services, .services.three { grid-template-columns: 1fr; } }
.nav-inner { max-width: 920px; }
.nav-links a, .nav-cta a { white-space: nowrap; }
.h1-stack span { display: block; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (min-width: 921px) { .h1-stack { font-size: clamp(2.6rem, 4.6vw, 3.9rem); } .h1-stack span { white-space: nowrap; } }

/* app = the main product */
.pillars { grid-template-columns: 1fr 1.25fr 1fr; align-items: stretch; }
.pillar-main { background: #fff; border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--accent-grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 20px 50px rgba(60, 90, 180, 0.14); }
.pillar-main h3 { font-size: 2rem; }
.growth-intro { padding-bottom: 0; background: linear-gradient(180deg, var(--bg) 0%, #cddff3 100%); }
.growth-intro + #found { padding-top: 40px; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }
.growth-intro .lead { margin-bottom: 0; }
h1 .grad { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* built around your firm */
.fit-section { background: var(--bg); border-top: 1px solid var(--line); }
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.7); overflow: hidden; }
.fit-item { padding: 26px; }
.fit-item + .fit-item { border-left: 1px solid var(--line); }
.fit-item .pillar-num { display: block; margin-bottom: 14px; }
.fit-item h3 { font-size: 1.3rem; font-weight: 400; }
.fit-item p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } .fit-item + .fit-item { border-left: 0; border-top: 1px solid var(--line); } }

/* =====================================================================
   Polish (Emil Kowalski design-engineering principles)
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Pressable things answer the press */
.btn, .pillar, details summary { -webkit-tap-highlight-color: transparent; }
.btn { transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.nav-links a, .nav-cta .link, .footer a { transition: color 150ms ease; }

/* Pillar cards: lift only where hovering exists; press feedback everywhere */
.pillar { transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
.pillar:hover { transform: none; box-shadow: none; }
.pillar-main:hover { box-shadow: 0 20px 50px rgba(60, 90, 180, 0.14); }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(40, 70, 120, 0.12); }
  .pillar-main:hover { box-shadow: 0 24px 56px rgba(60, 90, 180, 0.18); }
}
.pillar:active { transform: scale(0.985); transition-duration: 120ms; }

/* FAQ: plus turns into a close mark; answer eases in */
details summary::after { content: "+"; transition: transform 200ms var(--ease-out); }
details[open] summary::after { content: "+"; transform: rotate(45deg); }
details[open] > p { animation: faq-in 220ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (hover: hover) and (pointer: fine) {
  details { transition: border-color 150ms ease; }
  details:hover { border-color: #cfd5df; }
}

/* Form fields */
.form-card input, .form-card select, .form-card textarea { transition: border-color 150ms ease, box-shadow 150ms ease; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: #8aa6e8; box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.18);
}

/* Entrances: only when JS is running (content is never hidden without it).
   One entrance per container; uneven, short staggers; the lead travels furthest. */
.js-motion .rv { opacity: 0; transform: translateY(var(--rv-y, 12px)); }
.js-motion .rv.in {
  opacity: 1; transform: none;
  transition: opacity 560ms var(--ease-out), transform 640ms var(--ease-out);
  transition-delay: var(--rv-d, 0ms);
}
.js-motion .rv-fade { --rv-y: 0px; }
@media (prefers-reduced-motion: reduce) {
  .js-motion .rv { transform: none; }
  .js-motion .rv.in { transition: opacity 300ms ease; transition-delay: 0ms; }
}
