/* Pilim design tokens */
:root {
  --indigo: #1F105F;      /* primary, headings, dark sections */
  --indigo-deep: #160B43; /* footer */
  --orange: #FEA500;      /* main call to action (text on it: --indigo) */
  --text: #2B2550;        /* body text */
  --muted: #5A5280;       /* secondary text (passes 4.5:1 on white) */
  --soft: #F5F3FA;        /* light section background */
  --border: #E4E0EF;
  --on-dark: #E6E2F3;     /* body text on indigo */
  --on-dark-muted: #CFC9E6;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: 'Nunito', system-ui, sans-serif; }
a { color: var(--indigo); }
img, svg { display: block; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { margin: 0; color: var(--indigo); font-weight: 900; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: 18px; border-radius: var(--radius); padding: 16px 28px; text-align: center; }
.btn-primary { background: var(--orange); color: var(--indigo); }
.btn-outline { border: 2px solid var(--indigo); color: var(--indigo); padding: 14px 26px; }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.55); color: #fff; padding: 14px 26px; }
.btn-dark { background: var(--indigo); color: #fff; }

/* Navigation */
.nav { border-bottom: 1px solid #ECE9F4; }
.nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 44px; height: 44px; border-radius: 10px; } /* pilim-logo.png: the Pilim logo, as in the web app */
.brand-name { font-weight: 800; font-size: 22px; color: var(--indigo); }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .signin { text-decoration: none; font-weight: 700; padding: 12px 16px; }
.nav-actions .btn { font-size: 16px; padding: 12px 20px; }

/* Hero */
.hero { background: var(--indigo); color: #fff; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: rgba(254,165,0,0.16); color: #FFD27A; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.hero .sub { font-size: 20px; line-height: 1.55; color: var(--on-dark); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .fine { font-size: 15px; color: var(--on-dark-muted); }
.hero-visual { flex: 1 1 440px; min-width: 0; }
.inbox { background: #fff; color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(10,4,40,0.45); }
.inbox-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.inbox-head .title { font-weight: 800; font-size: 18px; color: var(--indigo); }
.inbox-head .count { font-size: 14px; font-weight: 700; color: var(--muted); }
.doc { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.doc-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 800; }
.doc-row .amount { color: var(--indigo); }
.doc-row .late { color: #B3261E; }
.doc .meta { font-size: 14px; color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #EEEAF8; color: var(--indigo); }
.tag-warm { background: #FFF1D6; color: #7A4B00; }
.inbox-actions { display: flex; gap: 12px; margin-top: 4px; }
.inbox-actions button { flex: 1; min-height: 48px; border-radius: 12px; font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.inbox-actions .approve { border: 0; background: var(--indigo); color: #fff; }
.inbox-actions .review { border: 2px solid var(--indigo); background: #fff; color: var(--indigo); }

/* Trust strip and logos */
.trust { background: var(--soft); border-bottom: 1px solid #ECE9F4; }
.trust .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; font-weight: 700; color: var(--indigo); }
.logos .container { display: flex; flex-direction: column; gap: 16px; align-items: center; padding-top: 40px; padding-bottom: 8px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; width: 100%; }
/* Customer logos in their own colours, each a link to the company's site */
.logo-link { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 8px; }
.logo-link img { display: block; width: auto; height: auto; max-height: 40px; max-width: 150px; transition: transform .2s; }
.logo-link img[src$=".jpg"] { max-height: 56px; border-radius: 6px; } /* G2 Consulting: square logo on its own background */
.logo-link:hover img { transform: scale(1.05); }
.logo-link:focus-visible { outline: 3px solid var(--orange, #FEA500); outline-offset: 4px; }
@media (max-width: 600px) { .logo-row { gap: 16px 28px; } .logo-link img { max-width: 120px; max-height: 36px; } }

/* Generic sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-agents { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.step { background: var(--soft); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo); color: #fff; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step-num.warm { background: var(--orange); color: var(--indigo); }
.step h3 { font-size: 22px; font-weight: 800; }
.step p, .agent p { font-size: 17px; line-height: 1.55; }

.agent { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.agent h3 { font-size: 21px; font-weight: 800; }
.agent-top { display: flex; justify-content: space-between; align-items: center; }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 2px; }
.checks strong { color: var(--indigo); }

/* Testimonial */
.quote { background: var(--indigo); color: #fff; text-align: center; }
.quote .container { max-width: 900px; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 30px; line-height: 1.35; font-weight: 800; }
.quote cite { font-style: normal; font-size: 17px; color: var(--on-dark-muted); }

/* Pricing */
.pricing .container { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.pricing .section-head { align-items: center; text-align: center; margin-bottom: 0; }
.toggle { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; }
.toggle button { min-height: 44px; border: 0; border-radius: 10px; padding: 10px 20px; font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer; background: transparent; color: var(--indigo); }
.toggle button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan.popular { border: 3px solid var(--indigo); padding: 30px; box-shadow: 0 18px 44px rgba(31,16,95,0.16); }
.badge { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--indigo); background: var(--orange); padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .who { font-size: 16px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: 48px; font-weight: 900; color: var(--indigo); }
.price .per { font-size: 17px; font-weight: 700; color: var(--muted); }
.billing { font-size: 14px; font-weight: 600; color: var(--muted); min-height: 20px; }
.plan .btn { font-size: 17px; padding: 14px 20px; margin-top: 4px; }
.plan .btn-outline { padding: 12px 20px; }
.features { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.features svg { flex: none; margin-top: 2px; }
.addons { font-size: 15px; color: var(--muted); text-align: center; }

/* FAQ (native details/summary: no JavaScript needed) */
.faq .container { max-width: 860px; }
.faq h2 { font-size: 38px; margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 19px; font-weight: 800; color: var(--indigo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }

/* Final call to action and footer */
.final { background: var(--indigo); color: #fff; text-align: center; }
.final .container { max-width: 1000px; display: flex; flex-direction: column; gap: 20px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.final h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
.final p { font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 640px; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
footer { background: var(--indigo-deep); color: var(--on-dark-muted); }
footer .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
footer .about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
footer .about .name { font-weight: 900; font-size: 22px; color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
footer .col { display: flex; flex-direction: column; gap: 10px; }
footer .col .head { font-weight: 800; color: #fff; }
footer a { color: var(--on-dark-muted); text-decoration: none; }
footer a:hover { color: #fff; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---- Multi-page additions ---- */

/* Navigation: product menu (native details/summary, closes on outside click in site.js) */
/* The header stays at the top of the screen on every page; a shadow marks it once the page has scrolled (site.js) */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(31,16,95,0.10); }
html { scroll-padding-top: 96px; } /* anchors (#signup, #faq...) land below the header */
.nav-links { align-items: center; }
.nav-links a[aria-current="page"], .menu summary.current { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu-panel { position: absolute; left: -16px; top: calc(100% + 10px); width: min(640px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px rgba(31,16,95,0.18); padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px; }
.menu-panel a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--soft); }
.menu-panel strong { color: var(--indigo); font-weight: 800; font-size: 16px; }
.menu-panel span { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Breadcrumb on inner pages */
.crumbs { font-size: 14px; font-weight: 700; color: var(--on-dark-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-muted); }

/* Inner-page hero: same indigo band, a little shorter */
.hero.inner .container { padding-top: 64px; padding-bottom: 72px; }
.hero.inner h1 { font-size: clamp(34px, 4.4vw, 54px); }

/* Mock panels in heroes (reuse .inbox look) */
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row .what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row .what strong { color: var(--indigo); font-weight: 800; }
.row .what span { font-size: 14px; color: var(--muted); }
.status { font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status.ok { background: #E3F4EA; color: #1E6B3A; }
.status.soon { background: #FFF1D6; color: #7A4B00; }
.status.late { background: #FCE4E2; color: #9C2018; }
.status.info { background: #EEEAF8; color: var(--indigo); }

/* Feature blocks: alternating text and check lists */
.feature-list { display: flex; flex-direction: column; gap: 72px; }
.feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.feature > * { flex: 1 1 400px; min-width: 0; }
.feature .copy { display: flex; flex-direction: column; gap: 14px; }
.feature h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; text-wrap: balance; }
.feature .copy p { font-size: 18px; line-height: 1.6; }
.feature .checks { background: var(--soft); border-radius: 20px; padding: 28px; }
.feature .checks li { font-size: 17px; }

/* Module cards (home "one platform" and related links) */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.module { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.module:hover { border-color: var(--indigo); box-shadow: 0 14px 34px rgba(31,16,95,0.12); transform: translateY(-2px); }
.module h3 { font-size: 21px; font-weight: 800; }
.module p { font-size: 16px; line-height: 1.55; }
.module .more { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--indigo); }
.module .more::after { content: ' \2192'; }
.section-soft .module { border-color: transparent; }

/* "Connected" band: how a module feeds the others */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: flow; }
.flow li { list-style: none; background: #fff; border-radius: 16px; padding: 20px; font-size: 16px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.flow li strong { color: var(--indigo); font-weight: 800; }
.flow { margin: 0; padding: 0; }

/* Plan comparison table */
.compare-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--soft); color: var(--indigo); font-weight: 800; }
.compare tbody th { font-weight: 700; color: var(--text); }
.compare td { text-align: center; color: var(--indigo); font-weight: 800; }
.compare tr.group th { background: #FBFAFD; color: var(--indigo); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .no { color: #A39DBB; font-weight: 600; }

/* Small print under sections */
.note { font-size: 15px; color: var(--muted); }

@media (max-width: 760px) {
  .nav-links { order: 3; width: 100%; gap: 18px; }
  .nav .container { padding-top: 10px; padding-bottom: 10px; row-gap: 8px; } /* a lower sticky header on phones */
  html { scroll-padding-top: 140px; }
  .menu-panel { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .module { transition: none; }
  .module:hover { transform: none; }
}
.pricing .crumbs, .pricing .crumbs a { color: var(--muted); }
.pricing .crumbs { justify-content: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare td svg { display: inline-block; }

/* Register page: "Create your account" form (register.html, register.js) */
.register .register-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.register .register-intro h1 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; margin: 12px 0 16px; }
.register .register-intro .sub { font-size: 19px; color: var(--muted); }
.register .trial-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-weight: 700; color: var(--indigo); }
.register .trial-points li { display: flex; align-items: center; gap: 10px; }
.register .trial-points li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--indigo); font-weight: 900; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.register .register-intro .switch { margin-top: 24px; font-weight: 600; }
.register-form { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 14px 34px rgba(31,16,95,0.08); }
.register-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.register-form .field { display: flex; flex-direction: column; gap: 6px; }
.register-form label { font-weight: 700; color: var(--indigo); font-size: 15px; }
.register-form label .optional { font-weight: 600; color: var(--muted); }
.register-form input { font: inherit; font-size: 16px; color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; background: #fff; }
.register-form input:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--indigo); }
.register-form .hint { font-size: 14px; color: var(--muted); }
.register-form .password { position: relative; }
.register-form .password input { padding-right: 56px; }
.register-form .password button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 10px; }
.register-form .password button[aria-pressed="true"] { color: var(--indigo); }
.register-form .iti { width: 100%; }
.register-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.register-form .consent { font-size: 14px; color: var(--muted); }
.register-form .consent a { color: var(--indigo); font-weight: 700; }
.register-form .form-error { background: #FDECEC; border: 1px solid #E5A3A3; color: #8A1C1C; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.register-form button[type="submit"] { border: 0; cursor: pointer; width: 100%; }
.register-form button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }
.register-popup { position: fixed; inset: 0; background: rgba(22,11,67,0.55); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 100; }
.register-popup[hidden] { display: none; }
.register-popup .box { background: #fff; border-radius: 22px; padding: 32px; max-width: 460px; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.register-popup .box h2 { font-size: 28px; }
@media (max-width: 900px) {
  .register .register-grid { grid-template-columns: 1fr; gap: 32px; }
  .register-form { padding: 24px; }
  .register-form .pair { grid-template-columns: 1fr; }
}

/* Legal pages (privacy, terms, terms of use, cookies): long text, readable width */
.legal { padding: 64px 0 96px; background: #fff; color: var(--text); }
.legal .section-head { margin-bottom: 32px; }
.legal .crumbs, .legal .crumbs a { color: var(--muted); }
.legal h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; color: var(--indigo); }
.legal-text { max-width: 760px; font-size: 16px; line-height: 1.7; }
.legal-text h2 { font-size: 24px; line-height: 1.25; color: var(--indigo); margin: 40px 0 12px; }
.legal-text h3 { font-size: 19px; line-height: 1.3; color: var(--indigo); margin: 28px 0 8px; }
.legal-text h4, .legal-text h5 { font-size: 16px; color: var(--indigo); margin: 20px 0 6px; }
.legal-text p { margin: 0 0 14px; }
.legal-text ul, .legal-text ol { margin: 0 0 16px; padding-left: 24px; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--indigo); text-decoration: underline; word-break: break-word; }
.legal-table { overflow-x: auto; margin: 8px 0 24px; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; line-height: 1.5; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--soft); color: var(--indigo); }

/* Home hero: start with a work e-mail, Google or Apple (the sign-up page continues with the e-mail filled in) */
.hero-start { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.hero-signup { background: #fff; color: var(--text); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 40px rgba(10, 4, 40, 0.35); }
.hero-signup label { font-weight: 800; font-size: 15px; color: var(--indigo); }
.hero-signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-signup-row input { flex: 1 1 220px; min-width: 0; height: 52px; box-sizing: border-box; border: 1px solid #C9C2DE; border-radius: 12px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--text); }
.hero-signup-row input:focus-visible { outline: 2px solid var(--indigo); outline-offset: 1px; }
.hero-signup-row .btn { flex: 0 0 auto; border: 0; cursor: pointer; padding: 0 24px; height: 52px; font: inherit; font-weight: 800; font-size: 17px; }
.hero-signup-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-signup-or::before, .hero-signup-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.hero-signup-social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-signup-social a { height: 48px; box-sizing: border-box; border: 1px solid #C9C2DE; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text); font-weight: 700; text-decoration: none; }
.hero-signup-social a:hover, .hero-signup-social a:focus-visible { border-color: var(--indigo); }
.hero-signup-terms { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-signup-terms a { color: var(--indigo); }
.hero-demo-link { color: #fff; font-weight: 700; text-decoration: underline; align-self: flex-start; padding: 6px 0; }
@media (max-width: 560px) {
  .hero-signup { padding: 16px; }
  .hero-signup-row .btn { flex: 1 1 100%; }
  /* Sticky header on phones: logo, language, sign in and trial on one row, the menu on a second */
  .nav .container { flex-wrap: wrap; gap: 6px 8px; }
  .nav .brand-name { display: none; }
  .nav .brand-mark { width: 36px; height: 36px; }
  .nav-actions { gap: 2px; margin-left: auto; }
  .nav-actions .region-trigger { padding: 8px; }
  .nav-actions .signin { padding: 10px 8px; font-size: 14px; white-space: nowrap; }
  .nav-actions .btn { padding: 10px 12px; font-size: 14px; white-space: nowrap; }
  .nav-links { gap: 16px; font-size: 15px; }
  .nav-links .menu summary { min-height: 36px; }
  html { scroll-padding-top: 116px; }
}
@media (max-width: 400px) {
  /* long labels (Démarrer l'essai gratuit, Start je gratis proefperiode) on two lines rather than a third header row */
  .nav-actions .btn { white-space: normal; max-width: 140px; line-height: 1.15; text-align: center; padding: 8px 10px; }
  .nav-actions { gap: 0; }
  .nav-actions .signin { padding: 10px 6px; }
  .nav-actions .region-trigger { padding: 6px; }
}

/* Sign-up page: Google and Apple first, the e-mail carried over from the home page marked as such */
.register-form .register-social { margin-bottom: 4px; }
.register-form .hero-signup-or { margin-bottom: 4px; }
.register-form input.is-prefilled { border: 2px solid var(--indigo); background: var(--soft); }
.prefilled-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prefilled-note[hidden] { display: none; }
.link-button { background: none; border: 0; padding: 4px 2px; font: inherit; font-weight: 700; color: var(--indigo); text-decoration: underline; cursor: pointer; }
.register .crumbs, .register .crumbs a { color: var(--muted); } /* readable on the light sign-up page (was the dark-background colour) */

/* Partners: four steps in a row on wide screens */
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Contact page: ways to reach us beside the form, which posts to HubSpot (contact.js) */
.contact-ways { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-ways li { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.contact-ways h2 { font-size: 18px; color: var(--indigo); margin: 0 0 4px; }
.contact-ways p { margin: 0 0 8px; color: var(--muted); }
.contact-ways a { font-weight: 700; color: var(--indigo); }
.contact-form-title { font-size: 24px; color: var(--indigo); }
.register-form select, .register-form textarea { font: inherit; font-size: 16px; color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%; background: #fff; }
.register-form select { min-height: 48px; }
.register-form textarea { resize: vertical; min-height: 140px; }
.register-form select:focus, .register-form textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--indigo); }
.contact-done { display: flex; flex-direction: column; gap: 8px; }
.contact-done[hidden], .register-form [hidden] { display: none; }
.contact-done h2 { font-size: 24px; color: var(--indigo); }

.grid-3-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } /* nine security cards: 3 x 3 */
.final p a:not(.btn) { color: #fff; text-decoration-color: var(--orange); font-weight: 700; }

/* ---- Design refresh (2026-11): eight modules and the product tour ---- */
.modules-8 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.module { position: relative; }
.module .tag-new { align-self: flex-start; background: var(--orange); color: var(--indigo); font-weight: 800; } /* above the title, never over it */

/* Product tour: text beside a picture of the screen, drawn in the app's look (white cards, indigo, orange) */
.tour-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.tour-row.reverse .tour-copy { order: 2; }
.tour-copy { display: flex; flex-direction: column; gap: 16px; }
.tour-copy h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.tour-copy .eyebrow { color: #A26A00; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F105F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

.screen { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 70px rgba(31,16,95,0.16); overflow: hidden; font-size: 14px; color: var(--text); }
.section-soft .screen { box-shadow: 0 30px 70px rgba(31,16,95,0.12); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--border); }
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D9D3EA; }
.screen-bar p { margin-left: 10px; font-weight: 800; color: var(--indigo); font-size: 14px; }
.screen-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.screen-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.screen-row div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.screen-row strong { color: var(--indigo); }
.screen-row span { color: var(--muted); font-size: 13px; }
.screen-row.warn { border-color: #F3D19A; background: #FFF9EE; }
.screen em { font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: #E3F4EA; color: #1E6B3A; }
.pill-warn { background: #FFF1D6; color: #7A4B00; }
.pill-due { background: #EEEAF8; color: var(--indigo); }
.pill-muted { background: #F1F0F5; color: var(--muted); }
.screen-actions { display: flex; gap: 10px; margin-top: 4px; }
.fake-btn { flex: 1; text-align: center; padding: 11px 12px; border-radius: 12px; border: 2px solid var(--indigo); color: var(--indigo); font-weight: 800; }
.fake-btn.primary { background: var(--orange); border-color: var(--orange); }

.recon-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.recon-head strong { font-size: 20px; color: var(--indigo); }
.recon-head span { color: var(--muted); }
.screen .bar { display: flex; height: 10px; border-radius: 999px; background: #EEEAF8; overflow: hidden; }
.screen .bar i { display: block; height: 100%; }
.bar .ok { background: #3BA866; } .bar .ready { background: var(--orange); } .bar .check { background: #8C7FD0; } .bar .doc { background: #E07A5F; }
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lane { border-radius: 12px; padding: 10px; background: var(--soft); border-top: 4px solid; display: flex; flex-direction: column; gap: 2px; }
.lane p { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.25; min-height: 30px; }
.lane strong { font-size: 22px; color: var(--indigo); }
.lane span { font-size: 12px; color: var(--muted); }
.lane { border-left: 0; border-right: 0; border-bottom: 0; }
.lane-ready { border-top-color: var(--orange); } .lane-check { border-top-color: #8C7FD0; } .lane-doc { border-top-color: #E07A5F; } .lane-flag { border-top-color: #C0392B; }

.grid-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid-boxes div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; }
.grid-boxes span { grid-row: span 2; align-self: center; width: 32px; height: 32px; border-radius: 8px; background: var(--indigo); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.grid-boxes p { font-size: 12px; color: var(--muted); }
.grid-boxes strong { color: var(--indigo); font-size: 16px; }
.grid-boxes .total { grid-column: span 2; background: var(--soft); }
.grid-boxes .total span { background: var(--orange); color: var(--indigo); }
.calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.calendar div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; background: var(--soft); }
.calendar p { font-weight: 800; color: var(--indigo); }
.calendar .now { outline: 2px solid var(--orange); background: #fff; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { padding: 12px; border-radius: 12px; background: var(--soft); }
.kpis p { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpis strong { font-size: 20px; color: var(--indigo); }
.kpis .up { color: #1E6B3A; }
.chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 140px; align-items: end; padding: 0 4px; border-bottom: 1px solid var(--border); }
.chart .month { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; padding-bottom: 20px; }
.chart .month i { display: block; width: 40%; border-radius: 4px 4px 0 0; }
.chart .month span { position: absolute; bottom: 0; font-size: 11px; color: var(--muted); }
.chart .in, .legend .in::before { background: var(--indigo); }
.chart .out, .legend .out::before { background: var(--orange); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.budget { display: grid; gap: 6px; }
.budget p { font-weight: 700; color: var(--indigo); }
.budget span { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .tour-row { grid-template-columns: 1fr; gap: 32px; }
  .tour-row.reverse .tour-copy { order: 0; }
}
@media (max-width: 480px) {
  .lanes { grid-template-columns: repeat(2, 1fr); }
  .screen-body { padding: 14px; }
  .kpis strong { font-size: 17px; }
}

/* Partners: "Your clients call us. Not you." - Pilim onboards and supports the firm's clients */
.promise { background: linear-gradient(180deg, #FFF6E6 0%, #FFFFFF 100%); padding: 88px 0; }
.promise .container { display: flex; flex-direction: column; gap: 40px; }
.promise-head { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.promise-head .eyebrow { color: #A26A00; }
.promise-head h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; color: var(--indigo); }
.promise-head .lead { font-size: 20px; }
.promise-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.promise-compare > div { border-radius: 22px; padding: 28px; }
.promise-compare h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.promise-compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise-compare li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.45; }
.promise-compare li::before { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.promise-before { background: #fff; border: 1px solid var(--border); color: var(--muted); }
.promise-before h3 { color: var(--muted); }
.promise-before li::before { content: "\2715"; background: #F1F0F5; color: #8A84A6; }
.promise-after { background: var(--indigo); color: #fff; box-shadow: 0 24px 60px rgba(31,16,95,0.25); }
.promise-after h3 { color: var(--orange); }
.promise-after li::before { content: "\2713"; background: var(--orange); color: var(--indigo); }
.promise-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promise-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.promise-card h3 { font-size: 21px; font-weight: 800; color: var(--indigo); }
.promise-num { width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: var(--indigo); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.promise-zero { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }
.promise-zero strong { font-size: clamp(72px, 9vw, 112px); line-height: 1; font-weight: 900; color: var(--orange); }
.promise-zero span { max-width: 360px; font-size: 22px; font-weight: 800; color: var(--indigo); line-height: 1.3; }
@media (max-width: 760px) {
  .promise { padding: 64px 0; }
  .promise-compare, .promise-cards { grid-template-columns: 1fr; }
  .promise-head .lead { font-size: 18px; }
}
