:root {
  color-scheme: dark;
  --bg: #0b1119;
  --panel: #121e29;
  --line: #283743;
  --text: #edf4f4;
  --muted: #9dabb8;
  --accent: #79e4c4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
header,
main,
footer {
  max-width: 1240px;
  margin: auto;
  padding: 28px 48px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-size: 23px;
  letter-spacing: 3px;
  font-weight: 800;
}
.brand span {
  color: var(--accent);
  font-size: 15px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}
button {
  cursor: pointer;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #0b211a;
  padding: 13px 20px;
  font: 600 14px Arial;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:hover {
  filter: brightness(1.1);
}
.quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 660px;
  padding: 55px 0 80px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 700;
}
h1 {
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 24px 0;
}
em {
  color: var(--accent);
  font-style: normal;
}
.lead {
  font-size: 17px;
  max-width: 460px;
  color: var(--muted);
  margin: 28px 0;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.flow {
  background: linear-gradient(145deg, #152b30, #121b28);
  border: 1px solid #304348;
  padding: 27px;
  border-radius: 16px;
  box-shadow: 0 25px 100px #050c12;
}
.flow-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.flow-label span {
  color: var(--muted);
  font-size: 8px;
}
.flow article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #101923;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
}
.flow article.highlight {
  border-color: #4c9a87;
  background: #142d2d;
}
.flow i {
  font-style: normal;
  color: var(--accent);
  font-family: monospace;
  font-size: 13px;
}
.flow small {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
h3 {
  font-size: 18px;
  margin: 7px 0;
}
.flow p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.connector {
  text-align: center;
  color: var(--accent);
  line-height: 32px;
}
section:not(.hero) {
  padding: 55px 0;
  border-top: 1px solid var(--line);
}
h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 18px 0 26px;
}
.features,
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 32px 0;
}
.features article {
  padding: 10px 25px 10px 0;
}
.features b {
  font-size: 12px;
  color: var(--accent);
}
.features p,
.muted,
.prices p {
  font-size: 14px;
  color: var(--muted);
}
.prices article {
  background: var(--panel);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prices .featured {
  border-color: var(--accent);
}
.prices small {
  letter-spacing: 2px;
  font-size: 11px;
}
.prices h3 {
  font-size: 46px;
  margin: 20px 0;
}
.prices h3 span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.prices ul {
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
  min-height: 95px;
}
.prices button {
  width: 100%;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding-top: 32px;
  padding-bottom: 42px;
}
dialog {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 35px;
  width: min(480px, 95vw);
}
dialog::backdrop {
  background: #030810c9;
}
label {
  display: block;
  font-size: 13px;
  margin: 15px 0;
}
input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #40515e;
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font: 15px Arial;
}
textarea {
  min-height: 100px;
  max-width: 700px;
  display: block;
  margin-bottom: 16px;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  padding: 5px 12px;
}
#auth-toggle {
  margin-top: 20px;
  border: 0;
  padding-left: 0;
}
#auth-error {
  color: #ffada4;
  font-size: 13px;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0;
}
.workspace-head h1 {
  font-size: 44px;
  letter-spacing: -1px;
}
.seat {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 18px 0;
}
.seat code {
  word-break: break-all;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--accent);
  font-size: 11px;
  margin: 0 12px;
}
.seat button {
  margin: 18px 10px 0 0;
}
.seat p {
  font-size: 13px;
  color: var(--muted);
}
pre {
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--bg);
  padding: 16px;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #10261f;
  padding: 14px 24px;
  border-radius: 7px;
  max-width: 90vw;
  z-index: 10;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  header,
  main,
  footer {
    padding: 20px 22px;
  }
  nav {
    gap: 10px;
  }
  nav a {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 30px;
  }
  .features,
  .prices {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 55px;
  }
  .flow {
    padding: 20px;
  }
  footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  .workspace-head {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  h2 {
    font-size: 29px;
  }
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.consent input {
  width: auto;
  flex-shrink: 0;
}
