/* The landing page and the privacy page: the mockup's look; the phone page keeps participant.css. */
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/assets/jetbrains-mono-700.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/assets/jetbrains-mono-800.woff2") format("woff2");
}

body.landing {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #14161c;
  line-height: 1.5;
  overflow-x: hidden;
}
.landing a {
  color: #2f5bea;
}
.landing a:hover {
  color: #1e3fa8;
}
.landing h1,
.landing h2,
.landing h3 {
  color: #14161c;
}
.landing .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.landing .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing .site {
  border-bottom: 1px solid #e2e5eb;
}
.landing .site .bar {
  padding-top: 16px;
  padding-bottom: 16px;
}
.landing .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #14161c;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.landing .site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}
.landing .site nav a {
  color: #14161c;
  text-decoration: none;
}

/* The hero: the join form on the left, the pitch on the right. */
.landing .hero {
  background: #f3f4f7;
}
.landing .hero .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}
.landing #app {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 480px;
  margin: 0;
  padding: 32px;
  background: #fff;
  border: 2px solid #14161c;
  border-radius: 16px;
}
.landing #app h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
}
.landing #app p {
  color: #3a3f4a;
  font-size: 15px;
}
.landing #app input {
  height: 64px;
  font-family: inherit;
  font-weight: 700;
  font-size: 30px;
}
.landing #app button {
  min-height: 56px;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
}
.landing .pitch {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.landing .pitch .kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #c2410c;
}
.landing .pitch h2 {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  text-wrap: balance;
}
.landing .pitch p {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: #3a3f4a;
}
.landing .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.landing .button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid #14161c;
  border-radius: 10px;
  color: #14161c;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.landing .button.solid {
  background: #14161c;
  color: #fff;
}

.landing .part {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
}
.landing .part > h2 {
  margin: 0 0 30px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
}
.landing .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}
.landing .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid #d5d9e0;
  border-radius: 14px;
}
.landing .card .number {
  font-size: 14px;
  font-weight: 700;
  color: #c2410c;
}
.landing h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.landing .card p,
.landing .panel p,
.landing .dashed p,
.landing .dashed li {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3f4a;
}
.landing .note {
  font-size: 13px;
  color: #545a66;
}
.landing .panel,
.landing .dashed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  border-radius: 14px;
}
.landing .panel {
  background: #f3f4f7;
}
.landing .panel > div {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: #14161c;
  border-radius: 10px;
  color: #c9ced8;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
}
.landing pre b {
  color: #8ca6ff;
  font-weight: 400;
}
.landing .dashed {
  flex-direction: column;
  align-items: stretch;
  border: 2px dashed #c9ced8;
}
.landing .dashed ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}
.landing .dashed .small {
  font-size: 14px;
  color: #545a66;
}

.landing .connect {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 36px;
  background: #14161c;
  border-radius: 16px;
  color: #fff;
}
.landing .connect > div {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing .connect h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.landing .connect p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #c9ced8;
}
.landing .connect .shell {
  padding: 16px 18px;
  overflow-x: auto;
  background: #23262f;
  border-radius: 10px;
}
.landing .connect code {
  font-family: inherit;
  font-size: 14px;
  color: #c9ced8;
  white-space: nowrap;
}
.landing .connect code.address {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.landing .connect code b {
  color: #8ca6ff;
  font-weight: 400;
}
.landing .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
}
.landing .facts div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.landing .facts h3 {
  font-size: 17px;
}
.landing .facts p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3a3f4a;
}

.landing .site-footer {
  border-top: 1px solid #e2e5eb;
  font-size: 13px;
  color: #545a66;
}
.landing .site-footer .bar {
  padding-top: 20px;
  padding-bottom: 20px;
}
.landing .powered {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing .powered img {
  display: block;
  height: 35px;
  width: auto;
}
.landing .site-footer nav {
  display: flex;
  gap: 20px;
}

/* The phone page of a room: none of the landing page shows. */
body.phone .landing-part {
  display: none;
}
body.phone .hero,
body.phone .hero .wrap {
  display: block;
  padding: 0;
  background: none;
}

@media (max-width: 600px) {
  .landing .pitch h2 {
    font-size: 38px;
  }
  .landing #app {
    padding: 22px;
  }
  .landing .connect {
    padding: 24px;
  }
}

.landing .aside {
  margin: 0 0 28px;
  font-size: 14px;
  color: #545a66;
}
.landing .table-box + .aside {
  margin: 16px 0 0;
}
.landing .table-box {
  overflow-x: auto;
  border: 1px solid #d5d9e0;
  border-radius: 14px;
}
.landing table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.landing thead tr {
  background: #f3f4f7;
  text-align: left;
}
.landing th,
.landing td {
  padding: 12px 18px;
  text-align: left;
}
.landing tbody tr {
  border-top: 1px solid #e2e5eb;
}
.landing tbody th {
  font-weight: 700;
}
.landing .usual {
  color: #545a66;
}
.landing tr.point {
  border-top: 2px solid #14161c;
  background: #14161c;
  color: #fff;
}
.landing tr.point th,
.landing tr.point td {
  padding: 18px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.landing tr.point td.usual {
  color: #9aa1ae;
  font-weight: 400;
}
.landing tr.point td:last-child {
  color: #8ca6ff;
}

/* The connect section: copy buttons, tabs and guides. */
.landing .connect .intro,
.landing .connect .how {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing .connect .how {
  flex-basis: 480px;
}
.landing .connect .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.landing .connect .shell code {
  overflow-x: auto;
}
.landing .connect button.copy {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #5a606c;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.landing .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.landing .tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid #fff;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.landing .tabs button[aria-selected="true"] {
  background: #fff;
  color: #14161c;
}
.landing .guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.landing .guide[hidden] {
  display: none;
}
.landing .guide h3 {
  color: #fff;
  font-size: 16px;
}
.landing .guide ol {
  margin: 0;
  padding-left: 22px;
  color: #c9ced8;
  font-size: 14px;
  line-height: 1.6;
}
.landing .guide p {
  margin: 0;
  font-size: 14px;
  color: #c9ced8;
}
.landing .guide a.light {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #fff;
  color: #14161c;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.landing .guide .note {
  color: #9aa1ae;
  font-size: 13px;
}
.landing .guide .shell {
  align-self: stretch;
}
.landing .connect .shell code {
  flex: 1;
  min-width: 0;
}
