/* Public site: home, About, Contact. The application and account pages have their own styles. */
:root { --navy: #1b2a4a; --green: #2fb67a; --ink: #1a1f2e; --muted: #5f6b7a; --line: #e6eaf0; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Inter, 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: #f7f9fb; display: flex; flex-direction: column; }
header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 48px; background: white; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
header .logo img { height: 44px; display: block; }
nav.site { display: flex; align-items: center; gap: 4px; }
nav.site a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
nav.site a:hover { background: #eef2f8; }
nav.site a.current { color: var(--green); font-weight: 600; }
.actions { display: flex; align-items: center; gap: 10px; }
.login-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--navy); color: white; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .15s; }
.login-link:hover { background: #24375f; }
.login-link svg { width: 16px; height: 16px; }
.create-link { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; background: white; }
.create-link:hover { background: #eef2f8; }
main { flex: 1; padding: 56px 24px; }
main.centre { display: flex; align-items: center; justify-content: center; text-align: center; }
.hero { max-width: 680px; }
.hero .mark { width: 96px; height: 96px; margin: 0 auto 28px; }
.hero h1 { font-size: 2.6rem; letter-spacing: -.03em; margin: 0 0 12px; color: var(--navy); }
.hero h1 span { color: var(--green); }
.hero p { font-size: 1.08rem; line-height: 1.6; color: var(--muted); margin: 0 0 28px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px auto 18px; max-width: 640px; text-align: left; }
.price-card { background: white; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 22px; position: relative; }
.price-card.featured { border-color: var(--green); box-shadow: 0 10px 30px rgba(47,182,122,.12); }
.price-badge { position: absolute; top: -11px; right: 16px; background: var(--green); color: white; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.price-name { font-weight: 600; color: var(--navy); font-size: .95rem; }
.price-amount { font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 6px 0 10px; letter-spacing: -.02em; }
.price-amount small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.trial-note { font-size: .88rem !important; color: var(--muted); }
.trial-note a, .page a { color: var(--green); font-weight: 600; text-decoration: none; }
/* text pages */
.page { max-width: 760px; margin: 0 auto; }
.page.wide { max-width: 1040px; }
.page h1 { font-size: 2.2rem; letter-spacing: -.03em; color: var(--navy); margin: 0 0 8px; }
.page .lead { font-size: 1.12rem; color: var(--muted); line-height: 1.6; margin: 0 0 30px; }
.page h2 { font-size: 1.25rem; color: var(--navy); margin: 34px 0 10px; letter-spacing: -.01em; }
.page p, .page li { line-height: 1.65; color: #2b3240; font-size: .98rem; }
.page ul { padding-left: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.fact { background: white; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; }
.fact b { display: block; font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; }
.fact span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid var(--navy); }
.btn.primary { background: var(--navy); color: white; } .btn.primary:hover { background: #24375f; }
.btn.secondary { background: white; color: var(--navy); } .btn.secondary:hover { background: #eef2f8; }
.btn[disabled] { opacity: .6; cursor: default; }
/* contact form */
.form-card { background: white; border: 1.5px solid var(--line); border-radius: 16px; padding: 28px 32px; margin-top: 10px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin: 14px 0 6px; }
input, textarea { width: 100%; padding: 11px 12px; border: 1px solid #dfe5ee; border-radius: 9px; font: inherit; color: var(--ink); background: white; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(47,182,122,.35); border-color: var(--green); }
.captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.captcha .pic { width: 220px; height: 70px; border-radius: 8px; border: 1px solid #dfe5ee; overflow: hidden; background: #f1f4f8; }
.captcha .pic svg { display: block; }
.captcha input { width: 150px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }
.captcha button { background: none; border: none; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 8px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.page .err { display: none; color: #b71c1c; background: #fdecea; border: 1px solid rgba(198,40,40,.35); border-left: 4px solid #c62828; border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: .9rem; line-height: 1.5; margin: 16px 0 0; }
.page .err.on { display: block; }
.page .ok { display: none; color: #1a7a5e; background: #e8f5f0; border: 1px solid rgba(47,182,122,.4); border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: .9rem; margin: 16px 0 0; }
.done { display: none; }
.side { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.side .box { background: white; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 24px; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.side .box b { color: var(--navy); display: block; margin-bottom: 4px; }
/* FAQ page */
.faq { margin: 6px 0 10px; }
.faq .faq-item { border-top: 1px solid var(--line); }
.faq .faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 4px; font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: white; font-size: 18px; font-weight: 600; line-height: 26px; text-align: center; }
.faq details[open] summary::after { content: "\2013"; background: var(--navy); }
.faq summary:hover { color: var(--green); }
.faq summary:focus-visible { outline: 2px solid rgba(47,182,122,.5); outline-offset: 2px; border-radius: 6px; }
.faq .faq-item p { margin: 0; padding: 0 46px 18px 4px; }
/* Products covered: the tick matrix, product rows by life company */
.products-scroll { position: relative; overflow-x: auto; border: 1.5px solid var(--line); border-radius: 14px; background: white; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.products-scroll:focus-visible { outline: 2px solid rgba(47,182,122,.5); outline-offset: 2px; }
.products-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .92rem; line-height: 1.3; }
.products-table thead th { background: var(--navy); color: white; font-weight: 600; font-size: .88rem; padding: 14px 10px; text-align: center; vertical-align: bottom; }
.products-table thead th:first-child { text-align: left; padding-left: 20px; color: rgba(255,255,255,.8); }
.products-table tbody th { text-align: left; font-weight: 600; color: var(--navy); padding: 12px 12px 12px 20px; width: 27%; background: white; }
.products-table tbody th small, .products-table td small { display: block; margin-top: 3px; font-size: .78rem; font-weight: 400; color: var(--muted); }
.products-table td { text-align: center; padding: 10px 6px; vertical-align: middle; }
.products-table tbody tr { border-top: 1px solid var(--line); }
.products-table tr.group th { background: #e8f5f0; color: #1a7a5e; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 9px 20px; width: auto; }
.products-table tr.group th span { float: right; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.products-table td.yes svg { display: block; margin: 0 auto; }
.products-table td.yes circle { fill: var(--green); }
.products-table td.yes path { fill: none; stroke: white; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.products-table td.no { color: #98a2b3; font-size: 1.1rem; }
.products-table .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.products-hint { display: none; margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.products-note { font-size: .9rem !important; color: var(--muted) !important; margin-top: 18px; }
@media (max-width: 900px) {
  .products-hint { display: block; }
  .products-table tbody th, .products-table thead th:first-child { position: sticky; left: 0; z-index: 1; width: 150px; min-width: 150px; padding-left: 12px; box-shadow: 1px 0 0 var(--line); }
  .products-table thead th:first-child { background: var(--navy); }
  .products-table tr.group th { position: static; box-shadow: none; width: auto; padding-left: 12px; }
  .products-table tr.group th span { float: none; margin-left: 10px; }
}
footer a { color: var(--green); text-decoration: none; }
footer { padding: 18px 48px; font-size: .78rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); background: white; }
@media (max-width: 760px) { .pricing, .facts, .form-grid, .side { grid-template-columns: 1fr; } header { padding: 14px 18px; } header .logo img { height: 36px; } nav.site { order: 3; width: 100%; justify-content: flex-start; margin-top: 4px; } .hero h1 { font-size: 2rem; } .page h1 { font-size: 1.7rem; } .form-card { padding: 20px; } main { padding: 36px 18px; } }
