:root {
  color-scheme: dark;
  --bg: #151d37;
  --surface: #1b2545;
  --raised: #212d52;
  --border: #354165;
  --text: #edf1f9;
  --muted: #b0bbd1;
  --accent: #72d4f7;
  --primary: #2c3e90;
  --mono: "Cascadia Code", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.navigation { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; white-space: nowrap; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.navigation-links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.navigation-links > a:not(.button) { color: var(--muted); }
.navigation-links > a:hover, .footer a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 21px; border: 1px solid #84dfff; border-radius: 6px; background: var(--accent); color: #0d2031; font-size: 14px; font-weight: 650; transition: background .15s; }
.button:hover { background: #a2e5fc; }
.button-small { padding: 8px 15px; }
.text-link { color: var(--text); font-size: 14px; text-decoration: underline; text-decoration-color: #687595; text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.mobile-menu { display: none; }
.menu-toggle { cursor: pointer; list-style: none; border: 1px solid var(--border); padding: 7px 12px; border-radius: 5px; font-size: 13px; }
.menu-toggle::-webkit-details-marker { display: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 4.9vw, 66px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 24px; }
h1 > span { color: var(--accent); }
h2 { font-size: clamp(29px, 3vw, 40px); font-weight: 550; letter-spacing: -.035em; line-height: 1.22; margin-bottom: 20px; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.45; }
.eyebrow { color: var(--muted); font: 11px/1.5 var(--mono); letter-spacing: .07em; margin-bottom: 22px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.8; }
.lead strong { color: var(--text); font-weight: 550; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 54px 76px; padding-block: 70px 75px; align-items: center; }
.hero-copy { max-width: 690px; }
.hero-copy .lead { max-width: 590px; }
.actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 28px; }
.hero-sdk { padding-left: 28px; border-left: 1px solid var(--border); }
.hero-sdk > code { display: block; font-size: 18px; color: var(--accent); margin-bottom: 17px; overflow-wrap: anywhere; }
.hero-sdk p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
code { font-family: var(--mono); }
.investigation { grid-column: 1 / -1; margin: 0; border: 1px solid #475575; border-radius: 8px; overflow: hidden; background: #111a30; }
.investigation figcaption { display: flex; align-items: center; justify-content: space-between; padding: 18px 23px; gap: 18px; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.investigation figcaption strong { display: inline-block; color: var(--text); font-size: 14px; font-weight: 550; margin-left: 18px; }
.sample-label { font: 11px/1.5 var(--mono); }
.investigation-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 23px; border-bottom: 1px solid var(--border); font-size: 13px; }
.application-label { display: inline-flex; align-items: center; gap: 10px; }
.app-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; background: #2c3e90; border: 1px solid #5166b5; border-radius: 5px; font-weight: 600; }
.query-label { color: var(--muted); font-size: 12px; }
.query-label code { color: var(--text); margin-left: 9px; }
.investigation-grid { display: grid; grid-template-columns: 1.2fr 1fr; }
.event-list { padding: 24px 0 0; min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font: 11px/1.6 var(--mono); }
.event-list .panel-heading { padding: 0 23px 17px; }
.events { list-style: none; padding: 0; margin: 0; }
.events li { display: grid; grid-template-columns: 67px 53px 1fr 15px; align-items: start; gap: 14px; padding: 18px 23px; border-top: 1px solid #25324e; }
.events time { font: 12px/1.8 var(--mono); color: var(--muted); }
.events strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.events small { display: block; color: var(--muted); font: 11px/1.7 var(--mono); margin-top: 5px; }
.event-selected { background: #20304c; box-shadow: inset 3px 0 #ed979b; }
.selected-mark { color: #ed979b; }
.level { display: inline-block; font: 10px/1.6 var(--mono); padding: 2px 6px; border-radius: 3px; }
.level-error { color: #ffc0c2; background: #512e42; }
.level-info { color: #9bdfff; background: #214b66; }
.event-note { color: var(--muted); padding: 18px 23px; margin: 0; font-size: 12px; }
.event-detail { border-left: 1px solid var(--border); padding: 24px; background: #18223a; min-width: 0; }
.event-detail h2 { font-size: 21px; margin: 20px 0 17px; letter-spacing: -.015em; }
.detail-metadata { display: flex; gap: 30px; margin: 0 0 20px; }
.detail-metadata dt { font-size: 11px; color: var(--muted); }
.detail-metadata dd { margin: 2px 0 0; font-size: 12px; }
.event-detail pre { padding: 0; font-size: 13px; }
.redacted { color: #9ae0b8; }
.detail-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.detail-note > span { color: #9ae0b8; margin-right: 5px; }
.investigation-footer { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 14px 23px; font-size: 12px; color: var(--muted); }
.investigation-footer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.section { padding-block: 70px; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--muted); max-width: 560px; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 42px; border-top: 1px solid var(--border); }
.feature { padding: 27px 0 30px; border-bottom: 1px solid var(--border); }
.feature-number { display: block; color: var(--accent); font: 11px/1.5 var(--mono); margin-bottom: 15px; }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 14px; color: var(--muted); margin-bottom: 0; line-height: 1.8; }
.level-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.level-list span { color: var(--muted); font: 11px/1.6 var(--mono); }
#features { border-top: 1px solid var(--border); }
.privacy-section { padding-block: 75px; background: #111a30; border-block: 1px solid var(--border); }
.privacy-layout, .integration-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.privacy-steps { margin-block: 24px; }
.privacy-steps > div { display: flex; gap: 16px; margin-block: 18px; }
.privacy-steps > div > span { color: var(--accent); font: 12px/1.9 var(--mono); }
.privacy-steps p { color: var(--muted); font-size: 14px; margin: 0; }
.privacy-steps strong { display: block; color: var(--text); font-weight: 550; margin-bottom: 3px; }
.muted { color: var(--muted); }
.privacy-detail { font-size: 13px; line-height: 1.8; }
.redaction-example, .code-panel { border: 1px solid var(--border); border-radius: 7px; overflow: hidden; background: var(--surface); min-width: 0; }
.code-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; color: var(--muted); font: 11px/1.5 var(--mono); border-bottom: 1px solid var(--border); }
.demo-label { color: var(--muted); font: 11px/1.5 var(--mono); }
pre { margin: 0; padding: 22px; overflow-x: auto; font: 13px/1.9 var(--mono); tab-size: 2; }
.code-label { display: block; color: var(--muted); font-size: 12px; padding: 18px 22px 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9ae0b8; margin-right: 5px; }
.redaction-before { background: #172037; }
.redaction-before pre { color: var(--muted); padding-top: 10px; }
.redaction-after { border-top: 1px solid var(--border); }
.redaction-after pre { padding-top: 10px; }
.redaction-after b { color: #9ae0b8; font-weight: 400; }
.check-list { padding: 0; list-style: none; color: var(--muted); font-size: 14px; margin-block: 24px; }
.check-list li { padding-left: 24px; position: relative; margin-block: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.install-command { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: #111a30; border-bottom: 1px solid var(--border); }
.install-command code { color: var(--accent); font-size: 15px; }
.install-command button { color: var(--text); background: transparent; border: 1px solid #60708e; border-radius: 4px; font-size: 12px; padding: 5px 12px; }
.copy-status { font-size: 12px; color: #9ae0b8; margin: 0; padding-inline: 22px; }
.copy-status:not(:empty) { padding-block: 8px; }
.syntax-keyword { color: #b4c4ff; }
.syntax-string { color: #9ae0b8; }
.code-footer { color: var(--muted); border-top: 1px solid var(--border); padding: 14px 22px; font-size: 12px; }
.documentation-link { margin: 17px 0 0; }
.getting-started { padding-block: 15px 70px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid var(--border); padding-top: 18px; }
.steps li > span { color: var(--accent); font: 12px/1.5 var(--mono); }
.steps h3 { margin: 12px 0 10px; font-size: 17px; }
.steps p { color: var(--muted); font-size: 14px; }
.faq-section { padding-top: 0; }
.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--border); padding-block: 20px; }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 500; }
.faq-list p { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 1px solid var(--border); padding-block: 45px 65px; }
.closing .eyebrow { margin-bottom: 15px; }
.closing h2 { margin: 0; font-size: 32px; }
.closing .button { flex-shrink: 0; }
.footer { display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--border); padding-block: 28px; }
.footer .brand { font-size: 16px; }
.footer p { color: var(--muted); font-size: 12px; margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; margin-left: auto; color: var(--muted); font-size: 12px; }
.legal-content { max-width: 850px; padding-block: 55px 70px; }
.legal-content h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 28px; }
.legal-content h2 { font-size: 23px; margin: 34px 0 14px; }
.legal-content p { color: var(--muted); margin-bottom: 14px; overflow-wrap: anywhere; }
.legal-content strong { color: var(--text); }
.legal-content a, .legal-back { color: var(--accent); }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-back { font-size: 13px; }
.documentation pre { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; margin-block: 20px; }
.documentation ul { color: var(--muted); padding-left: 24px; }
.documentation li { margin-bottom: 10px; }
.documentation h3 { margin-top: 28px; }
@media (max-width: 1050px) {
  .navigation-links { gap: 15px; font-size: 12px; }
  .hero { gap: 40px; }
  .hero-sdk { padding-left: 22px; }
  .hero-sdk > code { font-size: 15px; }
  .privacy-layout, .integration-layout { gap: 35px; }
  .events li { gap: 9px; padding-inline: 17px; grid-template-columns: 65px 47px 1fr 10px; }
  .features-grid { gap: 0 28px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .navigation { min-height: 70px; }
  .navigation-links { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-links { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--border); max-height: 65vh; overflow-y: auto; box-shadow: 0 12px 24px #080e2440; }
  .mobile-links > a { padding: 9px 12px; font-size: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 45px 50px; gap: 32px; }
  .hero-sdk { padding: 17px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .hero-sdk .eyebrow { margin-bottom: 12px; }
  .hero-sdk p:not(.eyebrow) { margin-bottom: 12px; }
  .investigation-grid { grid-template-columns: minmax(0, 1fr); }
  .event-detail { border-left: 0; border-top: 1px solid var(--border); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-layout, .integration-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .section, .privacy-section { padding-block: 50px; }
  .faq-section { padding-top: 0; }
  .steps { gap: 25px; }
  .closing { flex-direction: column; align-items: flex-start; }
  .footer nav { margin-left: 0; justify-content: flex-start; width: 100%; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 42px; }
  .lead { font-size: 16px; }
  .eyebrow { font-size: 10px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .actions .button { width: 100%; }
  .hero-sdk > code { font-size: 17px; }
  .investigation figcaption { align-items: flex-start; flex-direction: column; padding: 15px; gap: 8px; }
  .investigation figcaption strong { display: block; margin: 3px 0 0; }
  .investigation-toolbar { align-items: flex-start; flex-direction: column; padding: 14px 15px; gap: 10px; }
  .event-list .panel-heading { padding-inline: 15px; }
  .events li { grid-template-columns: 66px 1fr; gap: 10px; padding: 16px 15px; }
  .events li > span:nth-of-type(1) { justify-self: start; }
  .events li > span:nth-of-type(2) { grid-column: 1 / -1; }
  .selected-mark { display: none; }
  .events strong { font-size: 15px; }
  .events small { font-size: 12px; }
  .event-detail { padding: 20px 15px; }
  .detail-metadata { flex-wrap: wrap; gap: 15px 25px; }
  .event-detail pre { font-size: 12px; }
  .investigation-footer { justify-content: flex-start; gap: 8px 15px; padding: 15px; }
  .features-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .feature { padding-block: 22px; }
  .section-heading { margin-bottom: 28px; }
  pre { padding: 17px; font-size: 12px; }
  .install-command { padding-inline: 17px; }
  .install-command code { font-size: 13px; }
  .code-heading { padding-inline: 17px; font-size: 10px; }
  .closing h2 { font-size: 29px; }
  .closing .button { width: 100%; }
  .footer { gap: 16px; }
  .legal-content { padding-block: 35px 45px; }
  .legal-back { font-size: 12px; }
  .faq-list summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
