:root {
  --bg: #07090d;
  --panel: #10141b;
  --panel-2: #171d27;
  --line: rgba(150, 169, 198, 0.18);
  --text: #f4f7fb;
  --muted: #9ba8ba;
  --soft: #6f7b8d;
  --accent: #58c7ff;
  --black: #07090d;
  --danger: #ff5b5b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, rgba(88, 199, 255, 0.16), transparent 32%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

.brand-panel,
.app-panel {
  border: 1px solid var(--line);
  background: rgba(16, 20, 27, 0.78);
  backdrop-filter: blur(18px);
  border-radius: 28px;
}

.brand-panel {
  min-height: 680px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-panel {
  min-height: 680px;
  padding: 22px;
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 199, 255, 0.46);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.94;
}

h2 {
  font-size: 32px;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 22px 0 34px;
}

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

.proof-grid div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.auth-card,
.dashboard {
  height: 100%;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 18px;
}

.tab,
.ghost {
  border: 0;
  cursor: pointer;
}

.tab {
  min-height: 44px;
  border-radius: 16px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.tab.active,
.primary {
  background: var(--accent);
  color: var(--black);
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  min-height: 48px;
  padding: 0 14px;
  outline: none;
}

select option {
  color: #10141b;
}

textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(88, 199, 255, 0.68);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
}

.compact {
  min-height: 48px;
}

.message {
  color: var(--muted);
  min-height: 22px;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ghost {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 21px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 900;
}

.composer,
.post {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.composer {
  padding: 14px;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.composer .form-row {
  grid-template-columns: 1fr 1fr auto;
}

.feed {
  max-height: 430px;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

.post {
  padding: 16px;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.source {
  font-weight: 900;
}

.meta,
.summary,
.stats {
  color: var(--muted);
}

.meta,
.stats {
  font-size: 12px;
}

.headline {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 8px;
}

.summary {
  line-height: 1.45;
  margin: 0 0 12px;
}

.pill {
  border: 1px solid rgba(88, 199, 255, 0.36);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 840px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .brand-panel,
  .app-panel {
    min-height: auto;
  }

  .brand-panel {
    padding: 28px;
  }

  .proof-grid,
  .form-row,
  .composer .form-row {
    grid-template-columns: 1fr;
  }

  .feed {
    max-height: none;
  }
}
