:root {
  --bg: #0b0e14;
  --bg-soft: #12161f;
  --bg-card: #161b26;
  --border: #262c3a;
  --text: #e8ecf3;
  --muted: #9aa4b5;
  --accent: #63e6be;
  --accent-strong: #2fbf8f;
  --accent-dim: #1f7a5d;
  --code-bg: #0e1219;
  --radius: 10px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
header { border-bottom: 1px solid var(--border); background: rgba(11,14,20,0.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand img { height: 38px; width: auto; }
.brand a { color: var(--text); }
.brand a:hover { text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 20px; font-size: 0.93rem; }
.navlinks a { color: var(--muted); }
.navlinks a:hover { color: var(--text); text-decoration: none; }
.navright { display: flex; align-items: center; gap: 14px; font-size: 0.93rem; }

.btn { display: inline-block; background: var(--accent); color: #07120d; font-weight: 600; padding: 9px 18px; border-radius: 8px; border: 1px solid transparent; }
.btn:hover { background: var(--accent-strong); text-decoration: none; color: #07120d; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--muted); background: var(--bg-soft); }
.btn-lg { padding: 12px 22px; font-size: 1rem; }

/* hero */
.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(47,191,143,0.10), transparent 70%); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
h1 { font-size: 2.6rem; line-height: 1.12; margin: 14px 0 18px; letter-spacing: -0.025em; }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.herocta { display: flex; gap: 14px; flex-wrap: wrap; }
.herotrust { margin-top: 26px; color: var(--muted); font-size: 0.85rem; }

/* hero media */
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(0,0,0,0.5); background: var(--bg-soft); }
.shot img { display: block; width: 100%; height: auto; }
.shotcap { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--bg-soft); border-top: 1px solid var(--border); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.shotcap i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.shotcap i:nth-child(1) { background: #ff5f57; }
.shotcap i:nth-child(2) { background: #febc2e; }
.shotcap i:nth-child(3) { background: #28c840; }
.shotcap span { margin-left: 8px; }

.figure { margin: 30px 0; }
.figure img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.figure .figcap { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
.figure.small img { max-width: 660px; }

.split-fig { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; margin: 10px 0 4px; }
.split-fig .figcap { margin-top: 8px; }

/* sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section h2 { font-size: 1.7rem; margin: 0 0 10px; letter-spacing: -0.02em; }
section .sub { color: var(--muted); margin: 0 0 34px; max-width: 700px; font-size: 1.02rem; }
.secthdr { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.secthdr a { font-size: 0.9rem; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card .price { color: var(--text); font-weight: 700; font-size: 1.5rem; margin-bottom: 4px; }
.card .per { color: var(--muted); font-size: 0.85rem; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.card ul li { margin: 6px 0; }

ul.plain { color: var(--muted); margin: 0; padding-left: 18px; }
ul.plain li { margin: 7px 0; }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; }
td { vertical-align: top; }
tr:hover td { background: var(--bg-soft); }

/* code */
code, pre { font-family: var(--mono); font-size: 0.88rem; }
pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 10px; padding: 18px; overflow-x: auto; line-height: 1.55; color: #d7dee8; }
code { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; font-size: 0.86em; }
pre code { background: none; border: none; padding: 0; font-size: 0.9rem; }

/* code syntax highlighting */
pre code .tok-p { color: #6b7482; }
pre code .tok-c { color: #667080; font-style: italic; }
pre code .tok-cmd { color: #7aa2f7; }
pre code .tok-fl { color: #e0af68; }
pre code .tok-u { color: #63e6be; }
pre code .tok-s { color: #9ece6a; }
pre code .tok-k { color: #7aa2f7; }
pre code .tok-j { color: #8892a6; }

/* page head */
.pagehead { padding: 60px 0 26px; }
.pagehead h1 { font-size: 2.2rem; margin: 8px 0 10px; }
.pagehead p { color: var(--muted); max-width: 700px; }

/* blog */
.bloglist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.post { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.post .date { color: var(--muted); font-size: 0.82rem; }
.post h2 { font-size: 1.15rem; margin: 6px 0 8px; line-height: 1.35; }
.post p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.article { max-width: 760px; }
.article h1 { font-size: 2rem; margin-bottom: 8px; }
.article .byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 34px; }
.article h2 { font-size: 1.4rem; margin-top: 40px; }
.article p, .article li { color: var(--muted); }
.article p { font-size: 1.02rem; }

/* status */
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.status-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-item .statl { display: flex; align-items: center; gap: 11px; min-width: 0; }
.status-item .statl img { width: 20px; height: 20px; flex: none; }
.status-item .name { font-weight: 600; }
.status-item .val { font-size: 0.85rem; white-space: nowrap; }
.ok-txt { color: #28c840; }
.warn-txt { color: #febc2e; }

/* legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 34px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin: 6px 0; }

/* changelog */
.changelog { max-width: 760px; }
.cl-item { border-left: 2px solid var(--border); padding: 0 0 30px 26px; position: relative; }
.cl-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-strong); }
.cl-item .date { font-family: var(--mono); color: var(--accent); font-size: 0.82rem; }
.cl-item h3 { margin: 4px 0 8px; font-size: 1.05rem; }
.cl-item ul { margin: 0; padding-left: 18px; color: var(--muted); }
.cl-item li { margin: 5px 0; }

/* footer */
footer { padding: 48px 0 40px; color: var(--muted); font-size: 0.88rem; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footgrid h4 { color: var(--text); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; }
.footgrid a { display: block; color: var(--muted); margin: 6px 0; }
.footgrid a:hover { color: var(--text); }
.footbottom { border-top: 1px solid var(--border); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.notice { border: 1px solid var(--border); border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 14px 18px; border-radius: 8px; margin: 20px 0; color: var(--muted); }
.tag { display: inline-block; background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; padding: 2px 9px; border-radius: 20px; }
.tag.green { color: var(--accent); border-color: var(--accent-dim); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 2rem; }
  .footgrid { grid-template-columns: 1fr 1fr; }
  .navlinks { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
}

/* logo strip */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 52px; margin-top: 8px; }
.logos img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.logos img:hover { opacity: 1; }
.logostrip-label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 22px; }

/* icons */
.icon { filter: brightness(0) invert(1); opacity: 0.85; }
.iconhead { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.iconhead img { width: 25px; height: 25px; }
.iconhead h2, .iconhead h3 { margin: 0; }
.staticon { width: 25px; height: 25px; margin-bottom: 10px; }
ul.checks { list-style: none; padding: 0; margin: 14px 0 0; }
ul.checks li { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; color: var(--muted); font-size: 0.9rem; }
ul.checks li img { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.quote { font-size: 1.02rem; color: var(--muted); margin: 0; }
.qicon { width: 23px; height: 23px; margin-bottom: 10px; display: block; }
.iconcell { display: flex; align-items: center; gap: 10px; }
.iconcell img { width: 23px; height: 23px; flex: none; }
.iconcell strong { font-weight: 600; }

/* team photos */
.teamgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.team { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.team img.photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; display: block; margin: 0 auto 14px; border: 1px solid var(--border); }
.team h3 { margin: 0 0 2px; font-size: 1.02rem; }
.team .role { color: var(--accent); font-size: 0.85rem; margin-bottom: 8px; }
.team p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* signup */
.signupbox { max-width: 460px; margin: 40px auto 0; }
.field { margin-bottom: 16px; }
.field label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.field input { width: 100%; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: 8px; font-size: 0.95rem; font-family: var(--font); }
.field input:focus { outline: none; border-color: var(--accent-dim); }

/* docs layout */
.docs { display: grid; grid-template-columns: 210px 1fr; gap: 40px; padding: 40px 0 70px; align-items: start; }
.docsside { position: sticky; top: 90px; font-size: 0.9rem; }
.docsside h4 { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 10px; }
.docsside a { display: block; color: var(--muted); padding: 6px 10px; border-radius: 6px; margin-bottom: 2px; }
.docsside a:hover { color: var(--text); text-decoration: none; background: var(--bg-soft); }
.docsside a.active { color: var(--accent); background: var(--bg-soft); }
.docsbody { min-width: 0; max-width: 820px; }
.docsbody h1 { font-size: 1.9rem; margin: 0 0 6px; }
.docsbody .lede { color: var(--muted); margin: 0 0 26px; font-size: 1.02rem; }
.docsbody h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.docsbody h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.docsbody p, .docsbody li { color: var(--muted); }
