/* Inkbright website. No inline styles or scripts (CSP: style-src 'self'; script-src 'none'). */
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --line-2: #cbd5e1;
  --bg: #ffffff; --bg-soft: #f8fafc; --bg-tint: #eff4ff;
  --brand: #1d4ed8; --brand-dark: #1e3a8a; --brand-soft: #dbe6fe; --ok: #047857; --warn: #b45309;
  --radius: 12px; --radius-lg: 18px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px; color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
img, svg { max-width: 100%; }
code { font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #93b4fb; outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand b { color: var(--brand); font-weight: 800; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.signin { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 650; font-size: 15.5px; border: 1px solid var(--brand); transition: background .15s, box-shadow .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.secondary:hover { background: var(--bg-soft); color: var(--ink); }
.btn.small { padding: 8px 14px; font-size: 14.5px; }
.btn.block { width: 100%; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 0 0 18px; letter-spacing: -0.03em; font-weight: 800; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before, .checks li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23dbe6fe'/%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.8' fill='none' stroke='%231d4ed8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Email mock */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 24px 60px rgba(30,58,138,.14); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
.mock-bar span { margin-left: 8px; font-weight: 600; color: var(--ink-2); }
.mock-body { padding: 20px 22px 22px; font-size: 14.5px; }
.mock-line { height: 9px; border-radius: 6px; background: #eef2f7; margin: 0 0 9px; }
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; margin-bottom: 20px; }
.sig { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0 0; border-top: 1px dashed var(--line); align-items: center; }
.sig-photo { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #93c5fd, #1d4ed8); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sig-name { font-weight: 800; color: var(--ink); font-size: 16px; }
.sig-name small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.sig-role { color: var(--muted); font-size: 13.5px; }
.sig-contact { font-size: 13px; margin-top: 4px; color: var(--ink-2); }
.sig-contact b { color: var(--brand); font-weight: 650; }
.sig-banner { grid-column: 1 / -1; margin-top: 12px; border-radius: 10px; padding: 12px 14px; background: linear-gradient(110deg, #1e3a8a, #1d4ed8 60%, #3b82f6); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.sig-banner strong { font-size: 14.5px; display: block; }
.sig-banner em { font-style: normal; background: #fff; color: var(--brand-dark); border-radius: 99px; padding: 5px 11px; font-weight: 700; white-space: nowrap; font-size: 12px; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 12px; font-weight: 800; }
.section-head p { font-size: 17.5px; color: var(--muted); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: step; }
.step::before { content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 18.5px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature .icon { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17.5px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); background: #fff; }
.panel h3 { margin: 6px 0 12px; font-size: 21px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; font-size: 15.5px; }
.checks li::before { margin-top: 4px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 19px; }
.plan .for { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.price strong { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 15px; }
.yearly { font-size: 14px; color: var(--muted); margin: 4px 0 20px; min-height: 1.6em; }
.yearly b { color: var(--ok); font-weight: 650; }
.plan .checks { margin: 0 0 24px; flex: 1; }
.plan .checks li { font-size: 15px; margin: 7px 0; }
.fineprint { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.fineprint p { margin: 0; }
.fineprint b { color: var(--ink); }

/* FAQ / details */
.faq { max-width: 800px; margin: 0 auto; }
details.q { border-bottom: 1px solid var(--line); }
details.q summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 650; color: var(--ink); font-size: 16.5px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
details.q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.q .a { padding: 0 0 18px; color: var(--ink-2); }
details.q .a p:first-child { margin-top: 0; }

.cta-band { background: var(--brand-dark); color: #dbe6fe; border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 28px; }
.cta-band p { margin: 0; }
.cta-band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--brand-soft); }

/* Docs (help, guides, legal) */
.page-head { background: var(--bg-tint); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.025em; }
.page-head p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 40em; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink-2); transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink-2); }
.card .icon { width: 36px; height: 36px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.card .icon svg { width: 19px; height: 19px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 44px 0 72px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; max-height: calc(100vh - 110px); overflow: auto; }
.toc h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.toc ul { list-style: none; margin: 0 0 22px; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc li a:hover { color: var(--brand); border-left-color: var(--brand); }
.prose { max-width: 760px; }
.prose > section { margin-bottom: 56px; }
.prose h2 { font-size: 27px; margin: 0 0 6px; font-weight: 800; }
.prose .sub { color: var(--muted); margin: 0 0 22px; font-size: 16.5px; }
.prose h3 { font-size: 19px; margin: 34px 0 8px; }
.prose p, .prose li { font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose i { font-style: normal; font-weight: 600; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; white-space: nowrap; }
.article { padding: 22px 0; border-top: 1px solid var(--line); }
.article:first-of-type { border-top: 0; padding-top: 4px; }
.article h3 { margin: 0 0 8px; }
ol.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 16px 0; }
ol.steps-list > li { counter-increment: s; position: relative; padding: 0 0 18px 50px; margin: 0; }
ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14.5px; }
ol.steps-list > li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
ol.steps-list > li:last-child::after { display: none; }
ol.steps-list > li > b:first-child { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.callout { background: var(--bg-tint); border: 1px solid var(--brand-soft); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; font-size: 15.5px; }
.callout.warn { background: #fffbeb; border-color: #fde68a; }
.callout b:first-child { color: var(--ink); }
.meta { color: var(--muted); font-size: 14px; }
.prose table, table { width: 100%; border-collapse: collapse; margin: 14px 0 26px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 650; font-size: 13px; background: var(--bg-soft); }
.table-wrap { overflow-x: auto; }
.help-box { margin-top: 8px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.help-box h3 { margin: 0 0 2px; font-size: 17px; }
.help-box p { margin: 0; color: var(--muted); font-size: 15px; }

/* Simple centred pages */
.centre { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.centre h1 { font-size: 34px; margin: 0 0 10px; }
.centre p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 36px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid .brand { margin-bottom: 10px; }
.legal-line { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .features, .plans, .steps, .fineprint { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .signin { display: none; }
  .features, .plans, .steps, .split, .fineprint, .cards { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0; }
  .plan.featured { margin-top: 8px; }
  .cta-band { padding: 30px; }
  table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.centre .actions { justify-content: center; }
.centre .meta { margin-top: -8px; }
.faq-more { text-align: center; margin-top: 22px; }
.sig-banner span strong { margin-bottom: 1px; }
