:root {
  --sky: #1e1f22;
  --deck: #2b2d31;
  --panel: #383a40;
  --line: #3f4147;
  --runway: #f2f3f5;
  --muted: #b5bac1;
  --amber: #ffb547;
  --amber-ink: #2a1a00;
  --accent-2: #f5a623;
  --blue: #5865f2;
  --green: #23a55a;
  --red: #f23f43;
  --warn: #fbbf24;
  --flap: #111214;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r-sm: 8px;
  --r-md: 12px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sky); color: var(--runway);
  font: 400 16px/1.55 var(--body);
}
a { color: var(--amber); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--body); padding: 12px 20px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber); filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--runway); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(255,100,100,.4); }
.btn-danger:hover { background: rgba(255,100,100,.1); }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--runway); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: var(--panel); }
.brand span { font: 800 20px/1 var(--display); letter-spacing: -.01em; }
.topbar nav { display: flex; align-items: center; gap: 18px; }
.topbar nav a.link { color: var(--muted); text-decoration: none; font-weight: 500; }
.topbar nav a.link:hover { color: var(--runway); }

.hero { padding: clamp(32px, 7vw, 80px) clamp(16px, 4vw, 40px) 40px; max-width: 1180px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(48px, 8vw, 92px); font-weight: 700; line-height: .95; }
.hero p.lede { color: var(--muted); font-size: 19px; max-width: 34ch; margin: 18px 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; gap: 28px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.stats b { display: block; color: var(--runway); font: 600 28px/1 var(--display); }

.board {
  background: var(--flap); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 18px 12px; box-shadow: inset 0 0 0 4px #0f1b2b;
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.board-head h2 { font-size: 22px; color: var(--amber); letter-spacing: .08em; }
.board-head time { font: 500 18px/1 var(--display); color: var(--muted); }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-family: var(--display); }
.board th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: .08em; padding: 0 6px; }
.board td { padding: 0 6px; font-size: 19px; white-space: nowrap; }
.flaps { display: inline-flex; gap: 2px; }
.flap {
  display: inline-block; min-width: .72em; text-align: center; padding: 3px 1px;
  background: #16212f; border-radius: 3px; color: var(--runway);
  box-shadow: inset 0 -1px 0 #000, inset 0 1px 0 #24364d; position: relative;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.board .status-on { color: var(--green); }
.board .status-boarding { color: var(--amber); }
.board td.cmd { font-family: var(--body); font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .flap.spin { animation: flip .09s steps(1) infinite; }
  @keyframes flip { 50% { transform: scaleY(.85); } }
}

.section { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 40px); }
.section > h2 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 8px; }
.section > p.sub { color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px dashed var(--line); }
.step { padding: 22px 24px 0 0; position: relative; }
.step::before {
  content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sky); border: 2px solid var(--amber);
}
.step h3 { font-size: 24px; margin: 6px 0 6px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; }
.step .n { font: 600 16px/1 var(--display); color: var(--amber); }

.cmd-tools { display: flex; gap: 12px; margin-bottom: 16px; }
.input, select, textarea {
  width: 100%; background: var(--deck); color: var(--runway); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 12px; font: 400 15px/1.4 var(--body);
}
.input:focus, select:focus, textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(255,181,71,.18); }
textarea { resize: vertical; min-height: 90px; }
.cmd-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 36px; }
.cmd-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmd-list code { font: 600 16px/1.3 var(--body); color: var(--amber); }
.cmd-list span { display: block; color: var(--muted); font-size: 14px; }
.empty-note { color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 40px); color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .board { overflow-x: auto; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px dashed var(--line); padding-left: 18px; }
  .step { padding: 0 0 26px 8px; }
  .step::before { top: 2px; left: -28px; }
  .board td { font-size: 16px; }
  .board .hide-sm { display: none; }
  .topbar nav a.link { display: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--runway); color: var(--sky); padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.4); max-width: calc(100vw - 32px);
}
.toast.err { background: var(--red); color: #fff; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feat { background: var(--deck); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.feat .fi { font-size: 26px; line-height: 1; }
.feat h3 { font-size: 26px; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.feat code { align-self: flex-start; font: 600 14px/1 var(--body); color: var(--amber); background: var(--panel); border-radius: 4px; padding: 5px 8px; margin-top: 6px; }
.section.premium { position: relative; }
.section.premium::before { content: ""; position: absolute; inset: 20px 0; border-radius: 18px; z-index: -1;
  background: radial-gradient(ellipse at top left, rgba(181,123,255,.16), transparent 60%), radial-gradient(ellipse at bottom right, rgba(255,181,71,.10), transparent 55%); }
.prem-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.prem-head .crown { font-size: 46px; line-height: 1; }
.prem-head h2 { font-size: clamp(32px, 4.5vw, 46px); }
.prem-head .sub { color: var(--muted); margin: 4px 0 0; }
.prem-grid .feat { border-color: rgba(181,123,255,.4); background: linear-gradient(180deg, rgba(181,123,255,.08), var(--deck) 60%); }
.prem-note { color: var(--muted); margin: 18px 0 0; max-width: 75ch; }
.board .status-first { color: #c9a2ff; }

.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 10px; }
.btn-primary { box-shadow: 0 6px 20px -8px rgba(255,181,71,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.04); }
.topbar nav { gap: 22px; }
.topbar nav a.link { font-size: 15px; }
.input, select, textarea { border-radius: var(--r-sm); }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--runway); }
::selection { background: rgba(255,181,71,.35); }

:root[data-theme="light"] {
  --sky: #f5f7fb; --deck: #ffffff; --panel: #eef2f8; --line: #dfe5ee; --runway: #0f172a; --muted: #5a6a80;
  --amber: #f5a623; --amber-ink: #2a1a00; --flap: #edf1f7; --green: #059669; --red: #dc2626; --warn: #b45309;
  color-scheme: light;
}
:root[data-theme="light"] body { background: var(--sky); }

.hdr { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 16px; height: 68px;
  padding: 0 clamp(16px, 3vw, 36px); background: color-mix(in srgb, var(--sky) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
:root:not([data-theme="light"]) .hdr { background: #111214; border-bottom-color: #111214; }
.hdr-brand { display: flex; align-items: center; gap: 10px; color: var(--runway); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.hdr-brand img { height: 32px; width: auto; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--deck); color: var(--runway); font: 600 15px/1 var(--body); text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.hbtn:hover { border-color: color-mix(in srgb, var(--runway) 25%, var(--line)); background: var(--panel); }
.hbtn.amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.hbtn.amber:hover { filter: brightness(1.06); background: var(--amber); }
.hbtn.icon { width: 40px; padding: 0; color: var(--amber); }
.hbtn.team { height: 34px; padding: 0 11px; font-size: 14px; border-radius: 9px;
  border-color: color-mix(in srgb, var(--amber) 55%, transparent); background: color-mix(in srgb, var(--amber) 9%, var(--deck)); }
.hbtn.team:hover, .hbtn.team[aria-current="page"] { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 16%, var(--deck)); }
@media (max-width: 560px) { .hbtn.team { padding: 0 9px; font-size: 13px; } }
.hbtn svg { width: 18px; height: 18px; flex: none; }
.hbtn.chip { padding: 0 14px 0 5px; border-radius: 999px; gap: 10px; }
.hbtn.chip img, .hbtn.chip .ph { width: 30px; height: 30px; border-radius: 50%; background: var(--panel); object-fit: cover; }
.hbtn.chip .ph { display: grid; place-items: center; color: var(--muted); }
.hbtn.chip .ph svg { width: 18px; height: 18px; }
.hbtn .unread { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--deck); }
.hbtn.icon { position: relative; }
.hdr-menu { display: none; }
.hdr-links { display: contents; }
@media (max-width: 1180px) {
  .hdr-menu { display: inline-flex; }
  .hdr-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px clamp(16px, 3vw, 36px) 16px; background: var(--sky); border-bottom: 1px solid var(--line); }
  .hdr-links.open { display: flex; }
  .hdr-links .hbtn { height: 46px; justify-content: flex-start; }
  .hdr-links .hbtn.icon { width: auto; padding: 0 16px; }
  .hdr-links .hbtn .lbl { display: inline; }
}
.hbtn .lbl { display: none; }
@media (max-width: 1180px) { .hbtn .lbl { display: inline; color: var(--runway); } }
@media (max-width: 480px) {
  .hdr-brand span { display: none; }
  .hdr-brand { flex: none; }
  .hbtn.chip { padding: 0 4px; } .hbtn.chip > span:last-child { display: none; }
}
@media (max-width: 380px) {
  .hdr { gap: 8px; padding: 0 12px; }
  .hdr-right { gap: 4px; }
  .hbtn { padding: 0 9px; font-size: 14px; }
  .hbtn.icon { width: 36px; padding: 0; }
  .hbtn.team { padding: 0 8px; font-size: 12.5px; }
}
.hdr-brand img { height: 36px; width: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }

.hbtn.rev img { width: 26px; height: 26px; border-radius: 6px; display: block; }
.hbtn.rev[aria-current="page"] { border-color: var(--amber); }

.hdd { position: relative; }
.hdd [data-dd] svg { width: 15px; height: 15px; transition: transform .15s; }
.hdd [data-dd][aria-expanded="true"] svg { transform: rotate(180deg); }
.hdd [data-dd][data-current="true"] { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); }
.hdd-menu.hdd-small { width: 300px; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px; }
.hdd-small a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--runway); text-decoration: none; }
.hdd-small a:hover, .hdd-small a:focus-visible, .hdd-small a[aria-current="page"] { background: var(--panel); }
.hdd-small a svg { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 9px; background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); transform: none !important; }
.hdd-small b { display: block; font: 600 14.5px/1.2 var(--body); }
.hdd-small small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hdd-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 620px; max-width: calc(100vw - 32px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px; padding: 10px; background: var(--deck); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.45); z-index: 70; }
.hdd-menu[hidden] { display: none; }
.hdd-kick { display: block; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hdd-browse { padding: 10px 6px; min-width: 0; }
.hdd-browse a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--runway); text-decoration: none; }
.hdd-browse a:hover { background: var(--panel); }
.hdd-browse a svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 10px; background: color-mix(in srgb, var(--amber) 15%, transparent); color: var(--amber); }
.hdd-browse b { display: block; font: 700 15px var(--display); }
.hdd-browse small { color: var(--muted); font-size: 13px; }
.hdd-browse p { margin: 8px 10px 2px; color: var(--muted); font-size: 12.5px; }
.hdd-list { background: var(--sky); border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.hdd-list > b { font: 700 17px/1.25 var(--display); }
.hdd-list p { margin: 6px 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.hdd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hdd-tags span { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.hdd-list .hbtn { width: 100%; }
.hdd-link { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.hdd-link:hover { color: var(--runway); }
@media (max-width: 1180px) {
  .hdr-links .hdd, .hdr-links [data-dd] { width: 100%; }
  .hdr-links [data-dd] { justify-content: space-between; }
  .hdd-menu.hdd-small { width: auto; }
  .hdd-menu { position: static; width: auto; max-width: none; grid-template-columns: minmax(0, 1fr); margin-top: 8px; box-shadow: none; }
}
