:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #100e13;
  --line: #2d2734;
  --dim: #a89bae;
  --text: #e5e0e9;
  --violet: #c794ff;
  --green: #a7c7a3;
  --amber: #dfc39a;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #00000013 3px 4px);
  opacity: .38;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input, summary { outline-offset: 5px; }
:is(a, button, input, summary):focus-visible { outline: 2px solid var(--violet); }
::selection { background: #714697; color: white; }
.shell { max-width: 1320px; padding: 0 48px; margin: auto; }
.muted { color: var(--dim); }
.violet { color: var(--violet); }
.skip { position: fixed; top: -80px; left: 20px; z-index: 10; background: var(--violet); color: var(--bg); padding: 10px; }
.skip:focus { top: 12px; }

.site-header {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 700; letter-spacing: -1px; }
.wordmark-divider { width: 1px; height: 27px; flex: none; background: #65457d; }
.identity-avatar {
  display: inline-block;
  flex: none;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #08060b;
  vertical-align: middle;
}
.identity-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.header-avatar { width: 38px; height: 38px; }
.owner-avatar { width: 28px; height: 28px; }
.site-header nav { display: flex; justify-content: flex-end; gap: 27px; margin-left: auto; font-size: .875rem; }
.nav-link { color: var(--dim); }
.nav-link:focus-visible { color: var(--violet); }

.terminal { border: 1px solid #49414f; scroll-margin-top: 24px; }
.terminal-title { padding: 9px 17px; background: #141217; border-bottom: 1px solid #39313f; display: flex; justify-content: space-between; gap: 15px; color: #c5becb; font-size: .8125rem; }
.tiny-glyph { color: var(--violet); padding-right: 8px; }
.window-marks { color: #8e8397; white-space: nowrap; }
.terminal-body { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: stretch; gap: 44px; padding: 35px 27px; overflow: hidden; }
.portrait-panel { position: relative; min-width: 0; }
.portrait { position: absolute; inset: 0; border: 0; border-radius: 0; overflow: hidden; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.welcome { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.command { color: var(--dim); font-size: .8125rem; margin: 0 0 23px; }
.command span { color: var(--violet); }
.eyebrow { color: #b7a7c5; font-size: .75rem; letter-spacing: 1.6px; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 3.65vw, 51px); line-height: 1.16; font-weight: 400; letter-spacing: -2.8px; margin: 0 0 21px; }
.cursor { color: var(--violet); animation: blink 1.4s steps(1, end) infinite; }
.intro { color: #bfb5c7; font-size: 1rem; line-height: 1.85; margin: 0 0 23px; }
.connection { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .75rem; }
.terminal-footer { border-top: 1px solid var(--line); padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; font-size: .75rem; color: #a99db4; background: var(--panel); }

.build-status { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center; }
.section-label { font-size: .75rem; letter-spacing: 1.1px; color: var(--dim); }
.build-status-label > div { display: flex; gap: 12px; align-items: baseline; margin-top: 4px; }
.build-status-label strong { color: var(--violet); font-size: 27px; font-weight: 400; line-height: 1.2; }
.build-status-label .muted { font-size: .75rem; }
.progress-track { height: 10px; border: 1px solid #392b46; background: repeating-linear-gradient(90deg, #17131d 0 5px, transparent 5px 8px); padding: 1px; }
.progress-track > div { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--violet) 0 5px, transparent 5px 8px); transition: width .2s; }
.build-status-center p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; margin: 8px 0 0; color: var(--dim); font-size: .75rem; }

.roadmap-section { padding: 36px 0; }
h2 { font-weight: 400; font-size: 26px; letter-spacing: -1px; line-height: 1.3; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.channel { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; border: 1px solid #39313f; border-radius: 12px; overflow: hidden; background: #0d0c10; }
.channel-header { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding: 18px 24px; background: #131016; }
.channel-icon { overflow: hidden; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: #21152e; color: var(--violet); }
.channel-icon img { width: 100%; height: 100%; object-fit: cover; }
.channel-heading { min-width: 0; }
.channel-heading h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.channel-heading p { color: var(--dim); font-size: .875rem; margin: 3px 0 0; }
.channel-menu { display: grid; place-items: center; width: 36px; height: 40px; flex: none; margin-left: auto; padding: 0; border: 0; background: transparent; color: #a89eaf; font: 28px/1 system-ui, sans-serif; cursor: default; }
.channel-body { padding: 30px 24px; }
.channel-message { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
.message-avatar { width: 42px; height: 42px; }
.message-avatar img { object-position: center 35%; }
.message-content { min-width: 0; }
.channel-followup { margin-top: 28px; }
.channel-followup .message-text { margin-bottom: 0; }
.message-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; line-height: 1.4; }
.message-meta a { color: #f2f0f4; font-size: 1rem; font-weight: 700; }
.message-meta time { color: #9c919f; font-size: .8125rem; font-weight: 400; }
.message-text { font-size: 1rem; margin: 9px 0 22px; }
.step-list { padding: 8px 22px; margin: 0; border: 1px solid #343037; border-radius: 12px; list-style: none; background: #111014; }
.task-step { position: relative; padding-left: 48px; }
.task-step::before { content: ""; position: absolute; top: 0; bottom: 0; left: 13px; width: 1px; background: #454149; }
.task-step:first-child::before { top: 31px; }
.task-step:last-child::before { bottom: calc(100% - 31px); }
.task-step.is-complete::before { background: #397e57; }
.step-marker { position: absolute; z-index: 1; top: 17px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #625b69; border-radius: 50%; background: #111014; color: #b2a9ba; font-family: sans-serif; font-size: 19px; line-height: 1; }
.is-complete .step-marker { color: #7bdca1; border-color: #599d72; background: #12251b; }
.is-current .step-marker { border-color: var(--violet); background: #21152e; box-shadow: 0 0 0 4px #c794ff0b; }
.step-details { min-width: 0; }
.step-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; }
.step-copy { min-width: 0; }
.step-title { display: block; font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.is-current .step-title { color: var(--violet); }
.is-pending .step-title { color: #aaa3af; }
.step-chevron { width: 8px; height: 8px; flex: none; margin-right: 3px; border-right: 1.5px solid #9d92a5; border-bottom: 1.5px solid #9d92a5; transform: rotate(45deg) translateY(-2px); }
.channel-composer { display: flex; align-items: center; gap: 12px; margin: 0 24px 24px; padding: 12px 14px; border: 1px solid #403b46; border-radius: 10px; background: #100f13; color: #a395b0; }
.channel-composer textarea { display: block; flex: 1; width: 100%; min-width: 0; height: 28px; min-height: 28px; overflow: hidden; resize: none; border: 0; padding: 0; background: transparent; font: .875rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #a99faf; -webkit-text-fill-color: #a99faf; opacity: 1; cursor: not-allowed; }
.channel-composer textarea::placeholder { color: #a99faf; opacity: 1; }
.composer-actions { display: flex; align-items: center; flex: none; }
.locked-send { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #4d4057; border-radius: 50%; color: #a996b9; background: #21192a; opacity: 1; cursor: not-allowed; }
.locked-send svg { width: 17px; height: 17px; }
.coming-soon { margin: 54px 0 64px; }
.coming-soon-content { padding: clamp(28px, 6vw, 72px); }
.coming-soon-content h1 { margin: 18px 0 24px; }
.coming-soon-content .intro { max-width: 650px; }
.coming-soon-content .eyebrow { color: var(--violet); }
.back-link { display: inline-block; padding: 9px 16px; border: 1px solid #76538e; color: var(--violet); margin: 8px 0 12px; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 28px; }
.footer-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 0 0 34px;
}
.footer-column { flex: 1 1 max-content; min-width: 0; }
.footer-column .section-label {
  margin: 0 0 16px;
  padding: 0;
  color: #d9cce2;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.65;
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a {
  padding: 2px 0;
  color: #b9a9c4;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--dim);
  text-align: center;
  font-size: .875rem;
}
.footer-bottom p { margin: 0; text-align: center; }
.owner-link { display: inline-flex; align-items: center; gap: 7px; margin-left: 3px; vertical-align: middle; color: inherit; }
.site-footer .owner-link:focus-visible { color: inherit; text-decoration: underline; }
.rights-line { font-size: .8125rem; }

/* Touch browsers may keep :hover after a tap; reserve hover styles for a mouse. */
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--violet); }
  .message-meta a:hover { text-decoration: underline; }
  .back-link:hover { background: #21152e; }
  .site-footer a:hover { color: var(--violet); text-decoration: underline; }
  .site-footer .owner-link:hover { color: inherit; text-decoration: underline; }
}

@keyframes blink { 50% { opacity: 0; } }
@media (min-width: 1500px) {
  .shell { max-width: 1420px; }
  h1 { font-size: 55px; }
}
@media (max-width: 1050px) {
  .shell { padding: 0 28px; }
  .site-header nav { margin-left: auto; }
  .terminal-body { gap: 28px; padding: 28px 24px; }
  .connection { gap: 7px; }
  .build-status { grid-template-columns: 155px 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  .shell { padding: 0 18px; }
  .site-header { min-height: 95px; gap: 12px; flex-wrap: wrap; align-content: center; margin-bottom: 20px; padding: 15px 0; }
  .site-header nav { margin: 0 0 0 auto; gap: 18px; }
  .terminal-title { font-size: .75rem; padding: 9px 11px; }
  .terminal-body { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .portrait-panel { aspect-ratio: 1176 / 912; }
  .command { font-size: .8125rem; }
  .eyebrow { font-size: .75rem; letter-spacing: 1px; }
  h1 { font-size: 41px; letter-spacing: -2.2px; margin-bottom: 17px; }
  .terminal-footer { padding: 8px 11px; gap: 9px; font-size: .75rem; }
  .build-status { padding: 22px 0; grid-template-columns: 1fr; gap: 14px; }
  .build-status-label { display: flex; justify-content: space-between; align-items: center; }
  .build-status-label > div { margin: 0; }
  .roadmap-section { padding: 28px 0; }
  .channel-header { padding: 15px; gap: 10px; }
  .channel-heading p { font-size: .8125rem; }
  .channel-body { padding: 20px 14px; }
  .channel-message { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .message-avatar { width: 30px; height: 30px; }
  .message-meta { gap: 10px; }
  .message-text { margin-bottom: 18px; }
  .step-list { padding: 5px 12px; margin-left: -40px; }
  .task-step { padding-left: 39px; }
  .step-marker { width: 24px; height: 24px; top: 17px; font-size: 17px; }
  .task-step::before { left: 11px; }
  .task-step:first-child::before { top: 29px; }
  .task-step:last-child::before { bottom: calc(100% - 29px); }
  .step-summary { gap: 12px; padding: 16px 0; }
  .channel-composer { margin: 0 14px 16px; padding: 12px; }
  .coming-soon { margin: 28px 0 36px; }
  h2 { font-size: 23px; }
  .footer-directory { gap: 24px; }
}
@media (max-width: 380px) {
  .site-header nav { width: 100%; margin: 0; }
  h1 { font-size: 35px; }
  .terminal-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
