:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #242424;
  background: #f7f7f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: #6260a8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.launcher-page {
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
}

.launcher-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

.launcher-card {
  display: flex;
  width: min(374px, 100%);
  min-height: 353px;
  flex-direction: column;
  align-items: center;
  padding: 71px 28px 28px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 3%);
}

.brand-logo {
  display: block;
  width: 90px;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
}

.app-mark {
  position: relative;
  display: block;
}

.app-mark-large {
  width: 90px;
  margin-bottom: 28px;
}

.launcher-card h1 {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.button-primary {
  background: #6260a8;
  color: #fff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 18%);
}

.button-primary:hover {
  background: #514f94;
  text-decoration: none;
}

.button-secondary {
  border-color: #e7e7e7;
  background: #fff;
  color: #242424;
  box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}

.button-secondary:hover {
  background: #fafafa;
  text-decoration: none;
}

.launcher-card .button {
  width: 100%;
}

.launcher-card .button + .button {
  margin-top: 7px;
}

.download-prompt {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  line-height: 19px;
}

.app-mark-small {
  width: 20px;
  margin: 0 auto 5px;
  border-radius: 7px;
}

.brand-logo-footer {
  width: 16px;
  border-radius: 5px;
  box-shadow: none;
}

.download-prompt p {
  margin: 0;
}

.invite-greeting {
  margin: -20px 0 6px;
  color: #242424;
  font-size: 15px;
  text-align: center;
}

.invite-recipient {
  max-width: 100%;
  margin: 0 0 18px;
  color: #555;
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: center;
}

.site-footer {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 18px;
  color: #6260a8;
  font-size: 10px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #555;
}

.brand-squares {
  width: 10px;
  height: 10px;
  background: conic-gradient(#db5b46 0 25%, #f0c84b 0 50%, #69aa6c 0 75%, #4f8cca 0);
}

.meeting-page {
  background: #fff;
}

.meeting-layout {
  display: grid;
  width: min(100% - 80px, 1120px);
  min-height: 100vh;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: clamp(24px, 6vw, 72px);
  margin: 0 auto;
  padding: 40px 0;
}

.meeting-form-section {
  align-self: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.brand-wordmark {
  width: clamp(140px, 22vw, 210px);
  border-radius: 20px;
  box-shadow: none;
}

.wordmark:hover {
  text-decoration: none;
}

.meeting-form-section h1 {
  margin: 4px 0 34px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

#join-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#join-form label {
  margin: 0 0 6px;
  font-size: 14px;
}

#join-form input {
  width: 100%;
  height: 43px;
  margin: 0 0 16px;
  padding: 8px 10px;
  border: 1px solid #777;
  border-radius: 0;
  background: #fff;
  color: #242424;
  font: inherit;
  font-size: 14px;
}

#join-form input:focus {
  border-color: #38347e;
  outline: 1px solid #38347e;
  outline-offset: -1px;
}

#join-form .button {
  min-width: 128px;
  padding: 0 18px;
}

#join-form .form-message {
  margin: -10px 0 12px 8px;
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #514f94;
  font-size: 13px;
}

.admin-page {
  background: #f7f7f7;
}

.admin-main {
  width: min(100% - 40px, 480px);
  margin: 0 auto;
  padding: 48px 0;
}

.admin-wordmark {
  margin-bottom: 20px;
  font-size: 32px;
}

.admin-card {
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}

.admin-card h1 {
  margin: 0 0 14px;
  font-size: 23px;
}

.demo-notice {
  margin: 0 0 22px;
  padding: 12px;
  border-left: 3px solid #b67a15;
  background: #fff8e8;
  color: #513d1b;
  font-size: 13px;
  line-height: 1.5;
}

#invite-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#invite-form label,
.generated-label {
  margin: 0 0 6px;
  font-size: 14px;
}

#invite-form input,
#generated-link {
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0 0 16px;
  padding: 8px 10px;
  border: 1px solid #777;
  border-radius: 0;
  background: #fff;
  color: #242424;
  font: inherit;
  font-size: 14px;
}

#invite-form input:focus,
#generated-link:focus {
  border-color: #38347e;
  outline: 1px solid #38347e;
  outline-offset: -1px;
}

.admin-card .button {
  min-width: 128px;
  padding: 0 18px;
}

.generated-label {
  display: block;
  margin-top: 20px;
}

#generated-link {
  margin-bottom: 10px;
}

#copy-link {
  margin-top: 2px;
}

#copy-link:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.meeting-art {
  overflow: hidden;
}

.meeting-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .meeting-layout {
    width: min(100% - 40px, 420px);
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding: 36px 0;
  }
}

@media (max-width: 480px) {
  .launcher-main {
    padding-top: 28px;
  }

  .launcher-card {
    min-height: 330px;
    padding-top: 58px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .meeting-form-section h1 {
    font-size: 27px;
  }
}

/* Honeypot – invisible to users, visible to most bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-message.is-success {
  color: #2e7d32;
}

.form-message.is-error {
  color: #c62828;
}

.form-message.is-loading {
  color: #514f94;
}

#join-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
