:root {
  color-scheme: light;
  --paper: #faf8f5;
  --ink: #211e1d;
  --muted: #625c57;
  --line: #e7e0d9;
  --accent: #f64e36;
  --accent-text: #c73422;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #ff775f; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
section, #demo { scroll-margin-top: 24px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; font-size: 1.45rem; font-weight: 780; letter-spacing: -.075em; line-height: 1; }
.wordmark svg, .wordmark img { width: 31px; height: 31px; margin-right: 9px; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: clamp(20px, 4vw, 46px); color: var(--muted); font-size: .92rem; font-weight: 600; }
nav a:hover, .footer-inner > a:last-child:hover { color: var(--accent-text); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: .95rem; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 39px; padding: 0 15px; background: var(--ink); color: white; font-size: .88rem; }
.button-small:hover { background: #3b3431; }
.button-primary { background: var(--accent); color: #211512; box-shadow: 0 2px 2px #6f291a1f, 0 8px 22px #f64e362a; }
.button-primary:hover { background: #ff694e; }
.button-outline { border-color: #ded6cf; background: #fffefb; }
.button-outline:hover { border-color: #a89e96; }
.button-outline .icon { width: 16px; height: 16px; }

.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; background-image: linear-gradient(#dfd4c877 1px, transparent 1px), linear-gradient(90deg, #dfd4c877 1px, transparent 1px), radial-gradient(ellipse at center, #faf8f5 26%, #ffdfd1 100%); background-size: 42px 42px, 42px 42px, cover; background-position: center top; mask-image: radial-gradient(ellipse at 50% 27%, #000 8%, transparent 71%); opacity: .64; }
.hero-inner { position: relative; text-align: center; padding-top: 65px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-text); font: 700 .75rem/1.6 var(--mono); letter-spacing: .085em; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.hero .eyebrow { border: 1px solid #f3d8d0; background: #fff6f1; border-radius: 6px; padding: 5px 10px; }
h1 { margin: 19px auto 0; font-size: clamp(2.7rem, 6.3vw, 5.65rem); font-weight: 770; line-height: .99; letter-spacing: -.078em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { margin-top: 23px; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.2rem); line-height: 1.52; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.console { margin: 44px auto 0; width: min(100%, 1050px); border: 1px solid #3a3430; border-radius: 13px; background: #191716; color: #f7f1eb; text-align: left; box-shadow: 0 24px 55px #42291d25, 0 3px 12px #42291d22; overflow: hidden; }
.console-top { height: 39px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid #37312e; background: #211e1c; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #514742; }
.window-dots i:first-child { background: #ff7059; }
.console-address, .demo-label { color: #bdb1aa; font: .75rem var(--mono); }
.demo-label { justify-self: end; color: #ff9c89; letter-spacing: .06em; }
.console-body { min-height: 388px; display: grid; grid-template-columns: 176px minmax(0, 1fr); }
.console-sidebar { border-right: 1px solid #37312e; padding: 17px 11px; background: #1d1a19; }
.workspace { display: flex; align-items: center; gap: 9px; margin: 2px 6px 28px; font-size: .87rem; font-weight: 700; }
.workspace svg { width: 26px; height: 26px; flex: none; }
.workspace small { display: block; color: #bdb1aa; font: .72rem/1.45 var(--mono); }
.sidebar-label { margin: 0 8px 9px; color: #bdb1aa; font: .72rem var(--mono); letter-spacing: .04em; }
.console-tabs { display: grid; gap: 3px; }
.console-tabs button { display: flex; align-items: center; gap: 8px; text-align: left; min-height: 36px; padding: 5px 8px; color: #cbc0b8; background: transparent; border: 1px solid transparent; border-radius: 5px; font-size: .875rem; }
.console-tabs button .icon { width: 16px; height: 16px; }
.console-tabs button:hover, .console-tabs button[aria-selected="true"] { background: #382622; color: #ff9c89; }
.console-tabs button[aria-selected="true"] { border-color: #56322a; }
.console-main { min-width: 0; padding: 18px 20px; }
.console-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.console-heading h2 { font-size: 1.3rem; letter-spacing: -.035em; }
.console-heading p { margin-top: 3px; font-size: .82rem; color: #bdb1aa; }
.console-heading code { font-family: var(--mono); color: #ddd2ca; }
.range { display: flex; align-items: center; gap: 5px; padding: 0 6px 0 9px; border-radius: 6px; border: 1px solid #453c36; background: #25211f; color: #d9cdc4; }
.range[hidden] { display: none; }
.range .icon { width: 15px; height: 15px; }
.range select { appearance: none; min-height: 32px; padding: 0 20px 0 1px; border: 0; border-radius: 2px; background: transparent; color: inherit; font-size: .79rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23d9cdc4' stroke-width='1.3'/%3E%3C/svg%3E"); background-position: right 2px center; background-repeat: no-repeat; }
.range option { background: #25211f; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 9px; }
.stat, .app-card { border: 1px solid #3b342f; border-radius: 7px; background: #211e1c; }
.stat { padding: 10px 12px; }
.stat span { display: block; font-size: .78rem; color: #bdb1aa; }
.stat strong { display: inline-block; margin-top: 3px; font-size: clamp(1rem, 2.2vw, 1.65rem); letter-spacing: -.035em; }
.stat small { font: .72rem var(--mono); color: #bdb1aa; margin-left: 4px; }
.stat.alert strong { color: #ff826d; }
.app-card { padding: 12px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.card-header h3 { font-size: .89rem; font-weight: 650; }
.card-header small, .chart-labels { color: #bdb1aa; font: .72rem var(--mono); }
.chart { display: block; width: 100%; height: 132px; overflow: visible; }
.chart-labels { display: flex; justify-content: space-between; margin: 2px 0 0; padding-left: 1px; }
.signal-action { color: #ff9c89; background: transparent; border: 0; padding: 3px 0; font-size: .82rem; font-weight: 650; text-align: left; }
.signal-action:hover { text-decoration: underline; }
.incident-link { margin-top: 8px; }
.log-list { margin: 0; padding: 0; list-style: none; }
.log-filter { border: 1px solid #453c36; border-radius: 5px; padding: 4px 6px; color: #ded1c8; background: #25211f; font-size: .78rem; }
.log-empty { padding: 12px 0; color: #bdb1aa; font-size: .85rem; }
.log-row { display: grid; grid-template-columns: 5.8rem 3.75rem minmax(0, 1fr); align-items: start; gap: 7px; padding: 10px 0; border-top: 1px solid #3b342f; font-size: .82rem; }
.log-row time, .log-level { font: .72rem/1.5 var(--mono); color: #bdb1aa; }
.log-level.error { color: #ff9c89; }
.log-level.warn { color: #f0c17e; }
.log-level.info { color: #9ec8a1; }
.log-message { overflow-wrap: anywhere; }
.log-message .signal-action { display: block; margin-top: 3px; }
.trace-meta { margin-bottom: 11px; color: #ff9c89; font-size: .84rem; }
.trace-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 3.4rem; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid #3b342f; font: .75rem var(--mono); }
.trace-row > :last-child { text-align: right; color: #bdb1aa; }
.trace-track { height: 9px; border-radius: 3px; background: #302925; }
.trace-track span { display: block; height: 100%; border-radius: inherit; background: #fa6a50; }
.trace-track .neutral { background: #c3a291; }
.demo-caption { display: flex; justify-content: space-between; gap: 12px; width: min(100%, 1050px); margin: 12px auto 0; padding-bottom: 26px; color: var(--muted); font: .74rem var(--mono); }
.demo-caption a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

.section { padding-block: 79px; }
.section-title { margin-top: 11px; font-size: clamp(2.25rem, 4.6vw, 3.85rem); line-height: 1.04; letter-spacing: -.07em; }
.section-copy { max-width: 600px; margin-top: 15px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 31px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; background: #fffdfa; border: 1px solid var(--line); border-radius: 11px; padding: 23px; }
.feature-icon { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 8px; background: #ffebe3; color: var(--accent-text); }
.feature h3 { margin-top: 18px; font-size: 1.36rem; letter-spacing: -.045em; }
.feature p { margin: 8px 0 16px; color: var(--muted); line-height: 1.55; }
.feature a { margin-top: auto; color: var(--accent-text); font-size: .92rem; font-weight: 700; }
.feature a:hover { text-decoration: underline; }
.language-tabs { display: flex; flex-wrap: wrap; gap: 3px; }
.language-tabs button { background: transparent; color: #cec1b9; border: 0; border-radius: 5px; min-height: 33px; padding: 0 8px; font-size: .875rem; }
.language-tabs button:hover, .language-tabs button[aria-selected="true"] { background: #3d2923; color: #ff9c89; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 26px; color: var(--muted); font-size: .9rem; }
.footer-inner .wordmark { color: var(--ink); }

.signup-main { position: relative; isolation: isolate; display: grid; align-items: center; min-height: calc(100svh - 73px); padding: 40px 16px; }
.signup-main .hero-art { z-index: -1; height: min(100%, 620px); }
.signup-card { width: min(100%, 475px); justify-self: center; padding: clamp(20px, 6vw, 38px); background: #fffdfa; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px #42291d12; }
.signup-card h1, .signup-card h2 { margin: 12px 0 0; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 770; line-height: 1.02; letter-spacing: -.065em; }
.signup-card p { margin-top: 12px; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.signup-card form { display: grid; gap: 9px; margin-top: 24px; }
.signup-card label { font-size: .92rem; font-weight: 700; }
.signup-card input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cec3ba; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.signup-card input::placeholder { color: #71675f; }
.signup-card form .button { margin-top: 5px; }
.signup-card button:disabled { opacity: .55; cursor: default; transform: none; }
.signup-card .signup-note { margin-top: 17px; font-size: .86rem; }
.signup-card [hidden] { display: none !important; }
.signup-status-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--accent-text); background: #ffebe3; border-radius: 9px; }
.signup-card .signup-retry { margin-top: 20px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .header-inner nav { gap: 14px; }
  .header-inner > .button { display: none; }
  .landing-header .header-inner > .button { display: inline-flex; }
  .hero-inner { padding-top: 51px; }
  .desktop-break { display: none; }
  .hero-copy { max-width: 490px; margin-inline: auto; }
  .console-body { grid-template-columns: 1fr; }
  .console-sidebar { border: 0; border-bottom: 1px solid #37312e; padding: 6px 9px; }
  .workspace, .sidebar-label { display: none; }
  .console-tabs { display: flex; flex-wrap: wrap; }
  .console-main { padding: 13px 10px; }
  .section { padding-block: 54px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 19px; }
  .footer-inner p { order: 1; width: 100%; }
}
@media (max-width: 560px) {
  .landing-header .header-inner { flex-wrap: wrap; padding-block: 10px; gap: 9px; }
  .landing-header nav { order: 1; width: 100%; justify-content: center; padding-bottom: 2px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .wordmark { font-size: 1.2rem; }
  .wordmark svg, .wordmark img { width: 25px; height: 25px; margin-right: 6px; }
  .header-inner nav { gap: 10px; font-size: .85rem; }
  .console-tabs button { gap: 4px; padding-inline: 4px; font-size: .81rem; }
  .console-tabs button .icon { width: 14px; height: 14px; }
  .stat { padding-inline: 6px; }
  .log-row { grid-template-columns: 3.8rem 2.75rem minmax(0, 1fr); gap: 4px; }
  .trace-row { grid-template-columns: 7rem minmax(0, 1fr) 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
