:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: rgba(17, 23, 35, 0.88);
  --panel-strong: #121927;
  --panel-soft: rgba(25, 34, 50, 0.58);
  --line: rgba(151, 169, 198, 0.15);
  --line-strong: rgba(151, 169, 198, 0.25);
  --text: #f3f6fb;
  --muted: #9aa7ba;
  --subtle: #66748a;
  --blue: #75a7ff;
  --mint: #7de0c1;
  --purple: #a78bfa;
  --danger: #f59b9b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(96, 165, 250, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 4%, rgba(167, 139, 250, 0.11), transparent 28rem),
    var(--bg);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.app-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #071017;
  background: linear-gradient(145deg, var(--mint), var(--blue));
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(117, 167, 255, 0.18);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.topbar-actions,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(125, 224, 193, 0.1);
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.status::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(125, 224, 193, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  color: #071017;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  border-radius: 11px;
  box-shadow: 0 12px 26px rgba(117, 167, 255, 0.14);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  filter: brightness(1.07);
  box-shadow: 0 16px 32px rgba(117, 167, 255, 0.2);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-quiet {
  min-height: 36px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: center;
  min-height: 570px;
  padding: 78px 0 88px;
}

.hero-copy {
  max-width: 570px;
}

.hero h1 {
  max-width: 620px;
  margin: 22px 0 20px;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
  color: var(--subtle);
  font-size: 11px;
}

.hero-note svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--mint);
}

.index-card,
.surface {
  background: linear-gradient(145deg, rgba(23, 31, 47, 0.94), rgba(12, 17, 27, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.index-card {
  position: relative;
  padding: 10px;
}

.index-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(125, 224, 193, 0.16), transparent 68%);
}

.card-window {
  position: relative;
  padding: 25px;
  overflow: hidden;
  background: rgba(5, 8, 14, 0.44);
  border: 1px solid rgba(151, 169, 198, 0.1);
  border-radius: 12px;
}

.window-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 26px;
}

.window-dot {
  width: 7px;
  height: 7px;
  background: #556175;
  border-radius: 50%;
}

.window-dot:first-child {
  background: #f59b9b;
}

.window-dot:nth-child(2) {
  background: #f4c979;
}

.window-dot:nth-child(3) {
  background: #7de0c1;
}

.card-window h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.card-window > p {
  margin: 9px 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: #c3ccda;
  font-size: 11px;
  font-weight: 650;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.input-wrap svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--subtle);
}

.input-wrap input,
.chat-input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.input-wrap input {
  font-size: 13px;
}

.input-wrap input::placeholder,
.chat-input::placeholder {
  color: var(--subtle);
}

.input-wrap:focus-within,
.composer:focus-within {
  border-color: rgba(125, 224, 193, 0.55);
  box-shadow: 0 0 0 3px rgba(125, 224, 193, 0.08);
}

.index-submit {
  width: 100%;
  margin-top: 12px;
}

.button-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.is-loading .button-spinner {
  display: inline-block;
}

.is-loading > svg {
  display: none;
}

.button:disabled,
.send-button:disabled,
.prompt-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-feedback {
  min-height: 16px;
  margin: 10px 2px 0;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.5;
}

.form-feedback[data-state="loading"] {
  color: var(--blue);
}

.form-feedback[data-state="success"] {
  color: var(--mint);
}

.form-feedback[data-state="error"] {
  color: var(--danger);
}

.card-footnote {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 17px 1px 0;
  color: var(--subtle);
  font-size: 10px;
}

.card-footnote svg {
  width: 13px;
  height: 13px;
  color: var(--mint);
}

.feature-section {
  padding: 0 0 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 13px 0 0;
  font-size: 25px;
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 180px;
  padding: 22px;
  background: rgba(17, 23, 35, 0.64);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--mint);
  background: rgba(125, 224, 193, 0.09);
  border-radius: 9px;
}

.feature-icon svg {
  width: 17px;
  height: 17px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.page-footer {
  width: min(1240px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  color: var(--subtle);
  font-size: 11px;
  border-top: 1px solid var(--line);
}

.page-footer,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner {
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Repository conversation */
.repo-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.repo-header {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--subtle);
  font-size: 11px;
}

.breadcrumb strong {
  color: var(--muted);
  font-weight: 600;
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
}

.repo-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.repo-title-wrap {
  display: flex;
  gap: 14px;
  align-items: center;
}

.repo-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue);
  background: rgba(117, 167, 255, 0.11);
  border: 1px solid rgba(117, 167, 255, 0.2);
  border-radius: 12px;
}

.repo-avatar svg {
  width: 22px;
  height: 22px;
}

.repo-title h1 {
  margin: 0 0 5px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.055em;
}

.repo-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.repo-title p span {
  color: var(--subtle);
}

.repo-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.repo-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  flex: 1;
  margin: 0 auto;
  padding: 28px 0 38px;
}

.repo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sidebar-card {
  padding: 17px;
  background: rgba(17, 23, 35, 0.64);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.repo-meta {
  display: grid;
  gap: 11px;
  margin: 0;
}

.repo-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--subtle);
  font-size: 11px;
}

.repo-meta dd,
.repo-meta dt {
  margin: 0;
}

.repo-meta dd {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.prompt-list {
  display: grid;
  gap: 6px;
}

.prompt-button {
  display: flex;
  gap: 8px;
  align-items: start;
  width: 100%;
  padding: 9px 8px;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease;
}

.prompt-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.prompt-button svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--purple);
}

.prompt-button span {
  font-size: 11px;
  line-height: 1.4;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  overflow: hidden;
}

.chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.chat-toolbar-title {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.chat-toolbar-title svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
}

.chat-toolbar-meta {
  color: var(--subtle);
  font-size: 10px;
}

.messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  padding: 28px 30px 34px;
}

.message {
  display: flex;
  gap: 12px;
  max-width: 760px;
}

.message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 680px;
}

.message-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--mint);
  background: rgba(125, 224, 193, 0.09);
  border: 1px solid rgba(125, 224, 193, 0.15);
  border-radius: 8px;
}

.message.user .message-avatar {
  color: var(--blue);
  background: rgba(117, 167, 255, 0.1);
  border-color: rgba(117, 167, 255, 0.16);
}

.message-avatar svg {
  width: 14px;
  height: 14px;
}

.message-body {
  min-width: 0;
}

.message-label {
  display: block;
  margin: 2px 0 7px;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.message.user .message-label {
  text-align: right;
}

.message-copy {
  margin: 0;
  color: #d4dbe6;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.response-details {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.confidence-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.confidence-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.confidence-badge::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.confidence-high .confidence-badge {
  color: var(--mint);
}

.confidence-medium .confidence-badge {
  color: #f4c979;
}

.confidence-low .confidence-badge {
  color: var(--danger);
}

.confidence-meter {
  display: block;
  flex: 1;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.confidence-meter span {
  display: block;
  height: 100%;
  background: var(--mint);
  border-radius: inherit;
}

.confidence-medium .confidence-meter span {
  background: #f4c979;
}

.confidence-low .confidence-meter span {
  background: var(--danger);
}

.source-details {
  overflow: hidden;
  background: rgba(3, 6, 11, 0.38);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.source-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.source-summary::-webkit-details-marker {
  display: none;
}

.source-summary::after {
  width: 6px;
  height: 6px;
  content: "";
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.source-details[open] .source-summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.source-summary > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-summary > span:first-child::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--purple);
  border-radius: 50%;
}

.source-count {
  margin-left: auto;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 500;
}

.source-list {
  display: grid;
  gap: 7px;
  padding: 0 9px 9px;
}

.source-item {
  display: grid;
  gap: 5px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(151, 169, 198, 0.09);
  border-radius: 8px;
}

.source-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.source-file {
  min-width: 0;
  overflow: hidden;
  color: #b7c7dc;
  font: 11px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-lines {
  flex: 0 0 auto;
  color: var(--subtle);
  font: 10px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.source-symbol {
  overflow: hidden;
  color: var(--purple);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-snippet {
  max-height: 230px;
  margin: 3px 0 0;
  padding: 10px 11px;
  overflow: auto;
  color: #aebed4;
  font: 10px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre;
  background: rgba(3, 6, 11, 0.62);
  border: 1px solid rgba(151, 169, 198, 0.1);
  border-radius: 7px;
  scrollbar-color: rgba(151, 169, 198, 0.3) transparent;
}

.message.pending .message-copy::after {
  display: inline-block;
  width: 1em;
  margin-left: 4px;
  overflow: hidden;
  vertical-align: bottom;
  content: "...";
  animation: ellipsis 1.2s steps(4, end) infinite;
}

.message-error .message-copy {
  color: var(--danger);
}

.message.user .message-copy {
  padding: 11px 13px;
  color: #dce8ff;
  background: rgba(117, 167, 255, 0.1);
  border: 1px solid rgba(117, 167, 255, 0.14);
  border-radius: 12px 4px 12px 12px;
}

.code-preview {
  margin: 15px 0 0;
  overflow: hidden;
  background: rgba(3, 6, 11, 0.68);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.code-preview figcaption {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  color: var(--subtle);
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}

.code-preview pre {
  margin: 0;
  padding: 13px 14px;
  overflow: auto;
  color: #b7c7dc;
  font: 11px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.code-keyword {
  color: var(--purple);
}

.code-function {
  color: var(--mint);
}

.code-comment {
  color: #64758e;
}

.composer-wrap {
  padding: 0 20px 20px;
}

.composer {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 6px 7px 6px 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.chat-input {
  height: 38px;
  font-size: 12px;
}

.send-button {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: #071017;
  cursor: pointer;
  background: var(--mint);
  border-radius: 9px;
}

.send-button .button-spinner {
  width: 14px;
  height: 14px;
}

.send-button:hover {
  filter: brightness(1.08);
}

.send-button svg {
  width: 15px;
  height: 15px;
}

.composer-note {
  margin: 9px 2px 0;
  color: var(--subtle);
  font-size: 10px;
  text-align: center;
}

.composer-note[data-state="loading"] {
  color: var(--blue);
}

.composer-note[data-state="success"] {
  color: var(--mint);
}

.composer-note[data-state="error"] {
  color: var(--danger);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ellipsis {
  0%,
  20% {
    width: 0;
  }

  50% {
    width: 1em;
  }

  90%,
  100% {
    width: 0;
  }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 65px 0 75px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .index-card {
    max-width: 620px;
  }

  .repo-layout {
    grid-template-columns: 1fr;
  }

  .repo-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .chat-panel {
    min-height: 580px;
  }
}

@media (max-width: 620px) {
  .container,
  .repo-layout,
  .topbar,
  .page-footer {
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .topbar-actions .pill {
    display: none;
  }

  .hero {
    padding-top: 53px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .card-window {
    padding: 20px;
  }

  .section-heading,
  .repo-title-row,
  .page-footer,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .feature-grid,
  .repo-sidebar {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .repo-header {
    padding-top: 25px;
  }

  .repo-actions {
    width: 100%;
  }

  .repo-actions .button {
    flex: 1;
  }

  .messages {
    padding: 23px 17px 28px;
  }

  .chat-toolbar {
    padding: 0 15px;
  }

  .chat-toolbar-meta {
    display: none;
  }

  .composer-wrap {
    padding: 0 13px 15px;
  }

  .footer-inner {
    min-height: 80px;
    justify-content: center;
  }
}
