/* Compliance in a Box: marketing site styles.
   No external fonts, scripts or trackers: the site makes no third-party requests. */

:root {
  color-scheme: light;

  /* Brand, sampled from the logo */
  --navy-900: #0b2a4a;
  --navy-800: #0e3a66;
  --navy-700: #0e5487;
  --blue-600: #2b72b2;
  --blue-100: #e6f0fa;
  --blue-50: #f3f8fd;
  --orange-500: #f08a3c;
  --orange-100: #fdeedd;
  --green-600: #2f9a45;
  --green-100: #e3f4e6;

  /* Neutrals */
  --ink: #14212f;
  --ink-soft: #46566a;
  --ink-faint: #6b7a8c;
  --line: #dde5ee;
  --surface: #ffffff;
  --surface-alt: #f6f9fc;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06), 0 1px 3px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 18px 40px -12px rgba(11, 42, 74, 0.25), 0 4px 10px rgba(11, 42, 74, 0.06);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.brand img { width: 34px; height: auto; }
.brand:hover { color: var(--navy-900); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: var(--radius-sm); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy-900); background: var(--blue-50); }
.site-nav .btn { margin-left: 8px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--navy-900); }
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 13px 20px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-accent { background: var(--orange-500); color: var(--navy-900); }
.btn-accent:hover { background: #e47b2a; color: var(--navy-900); }
.btn-ghost { background: var(--surface); color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-600); color: var(--navy-900); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; background: var(--navy-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(43, 114, 178, 0.14), transparent 60%),
    radial-gradient(700px 360px at -10% 110%, rgba(240, 138, 60, 0.10), transparent 60%),
    var(--surface);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy-700); background: var(--blue-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); }
.hero h1 .accent { color: var(--blue-600); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: 0.9rem; color: var(--ink-faint); margin: 0; }
.hero-note strong { color: var(--ink-soft); }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* Product mock: a stylised Confluence page with the app's byline and policy list. */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.9rem;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4dce6; }
.mock-bar .mock-url { width: auto; height: auto; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-faint); font-size: 0.75rem; padding: 3px 10px; margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { padding: 18px; }
.mock-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mock-title strong { color: var(--navy-900); font-size: 1rem; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs span { padding: 6px 10px; color: var(--ink-faint); font-size: 0.8rem; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs span.on { color: var(--navy-700); border-color: var(--navy-700); }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.row .name { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .meta { color: var(--ink-faint); font-size: 0.76rem; display: block; font-weight: 400; }
.lozenge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.lz-green { background: var(--green-100); color: #1f6e31; }
.lz-blue { background: var(--blue-100); color: var(--navy-700); }
.lz-orange { background: var(--orange-100); color: #9a4b0f; }
.lz-grey { background: #edf1f5; color: var(--ink-soft); }
.mock-progress { margin-top: 14px; padding: 12px; background: var(--surface-alt); border-radius: var(--radius-sm); }
.mock-progress .label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; }
.bar { height: 8px; background: #dfe7ef; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--green-600)); border-radius: 99px; }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.strip li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-weight: 500; font-size: 0.94rem; }
.strip svg { color: var(--green-600); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 68px; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.kicker { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 10px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.icon-blue { background: var(--blue-100); color: var(--navy-700); }
.icon-green { background: var(--green-100); color: var(--green-600); }
.icon-orange { background: var(--orange-100); color: #c8621b; }

.highlight { padding: 28px; }
.highlight h3 { font-size: 1.25rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: var(--navy-700); color: #fff; font-weight: 700;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature svg { color: var(--green-600); margin-top: 3px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* What's in the box */
.box-split { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 920px) { .box-split { grid-template-columns: 1fr; } }
.stat-list { display: grid; gap: 14px; }
.stat { display: flex; align-items: baseline; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.stat b { font-size: 2.2rem; line-height: 1; color: var(--navy-700); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.stat span { color: var(--ink-soft); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; color: var(--ink-soft); }
.chips.activities li { border-color: #cfe3d3; background: #f5fbf6; }
.box-split h3 { margin-top: 4px; }
.fineprint { font-size: 0.88rem; color: var(--ink-faint); }

/* Security band */
.security { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #dbe7f3; }
.security h2, .security h3 { color: #fff; }
.security .section-head p { color: #b9cde2; }
.security .kicker { color: #ffb47a; }
.security .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.security .card p { color: #c5d6e8; }
.security .icon { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy-700); box-shadow: var(--shadow-lg); }
.plan .tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--green-100); color: #1f6e31; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.plan > p { color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-soft); font-size: 0.96rem; }
.plan li svg { color: var(--green-600); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; color: var(--navy-900); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 20px; }

/* CTA band */
.cta-band { padding: clamp(48px, 7vw, 80px) 0; }
.cta-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 20px; padding: clamp(24px, 4vw, 40px);
}
.cta-card img { width: 84px; }
.cta-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.cta-card p { margin: 0; color: var(--ink-soft); }
.cta-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bdd2; padding: 48px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand img { background: #fff; border-radius: 8px; padding: 3px; width: 36px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3e1ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; color: #8ea6bf; }

/* ---------- Content pages (privacy, terms, support) ---------- */
.page-hero { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 48px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; max-width: 46em; }
.page-hero .updated { font-size: 0.9rem; color: var(--ink-faint); margin-top: 12px; }

.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } }
.toc { position: sticky; top: 92px; align-self: start; font-size: 0.9rem; }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; color: var(--ink-soft); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--navy-900); border-color: var(--blue-600); }
@media (max-width: 900px) { .toc { position: static; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 2.2em 0 0.6em; padding-top: 0.2em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: #2b3a4c; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-alt); color: var(--navy-900); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.callout { border: 1px solid var(--blue-100); background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.4em; }
.callout p:last-child { margin: 0; }
.callout-warn { background: #fff8f1; border-color: var(--orange-100); border-left-color: var(--orange-500); }

/* Support page */
.support-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-bottom: 48px; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy-900); color: #d3e1ef; border-radius: var(--radius); padding: 32px; }
.contact-card h2 { color: #fff; font-size: 1.4rem; }
.contact-card .email { display: inline-block; font-size: clamp(1.1rem, 2.6vw, 1.45rem); font-weight: 700; color: #fff; word-break: break-all; margin: 6px 0 20px; }
.contact-card .email:hover { color: #ffb47a; }
.contact-card p { color: #b9cde2; }
.sla-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.sla-figure { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.sla-figure b { font-size: 3.6rem; line-height: 1; color: var(--navy-700); letter-spacing: -0.03em; }
.sla-figure span { font-size: 1.2rem; font-weight: 600; color: var(--navy-900); }
.sla-card p { color: var(--ink-soft); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound img { width: 120px; margin: 0 auto 24px; }
