@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --orange: #ffad00;
  --charcoal: #424242;
  --muted: #a4a7a9;
  --line: #d9dcde;
  --canvas: #f5f6f6;
  --blue: #509ee3;
  --violet: #8377ed;
  --green: #83ad49;
  --pink: #ed73b5;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.baseTheme {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 20%, rgb(255 173 0 / 7%), transparent 32rem),
    var(--canvas);
}

.basePageClass {
  min-height: 100vh;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e7e8;
  background: #eef0f0;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}

.brand {
  display: flex;
  min-width: 258px;
  height: 64px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 50%;
}

.brand span {
  overflow: hidden;
  color: #55585a;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
}

.help-link {
  color: #777a7c;
  font-size: 13px;
  text-decoration: none;
}

.help-link:hover,
.help-link:focus-visible {
  color: var(--charcoal);
}

.user-dot {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #b1b3b4;
}

.app-rail {
  position: fixed;
  z-index: 10;
  top: 64px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 68px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-right: 1px solid #e0e1e2;
  background: #fafafa;
  padding-top: 26px;
}

.rail-home,
.rail-item {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
}

.rail-home {
  color: white;
  background: var(--blue);
  box-shadow: 0 4px 10px rgb(80 158 227 / 24%);
}

.rail-home svg {
  width: 19px;
  fill: currentcolor;
}

.rail-item {
  opacity: 0.92;
}

.rail-blue {
  background: var(--violet);
}

.rail-violet {
  background: var(--orange);
}

.rail-orange {
  background: var(--pink);
}

.rail-pink {
  margin-top: auto;
  margin-bottom: 24px;
  background: #afb1b2;
}

.workspace {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 98px 40px 38px 108px;
}

.welcome-card,
.message-card,
.trial-panel {
  width: min(100%, 820px);
  border: 1px solid #e0e1e2;
  background: white;
  box-shadow: 0 10px 34px rgb(50 52 54 / 9%);
}

.welcome-card,
.message-card {
  width: min(100%, 540px);
  padding: 52px 54px 48px;
  text-align: center;
}

.welcome-logo {
  display: block;
  margin: 0 auto 24px;
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 9px;
  color: #96999b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #3e4041;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}

.welcome-copy {
  max-width: 380px;
  margin: 18px auto 0;
  color: #848789;
  font-size: 15px;
  line-height: 1.65;
}

.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  padding: 0 22px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  background: var(--orange);
  color: #3f3e3c;
  box-shadow: 0 2px 5px rgb(169 112 0 / 20%);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #f5a600;
}

.secondary-button {
  border: 1px solid #cfd1d2;
  background: white;
  color: #6d7072;
}

.trial-panel {
  align-self: start;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 28px 34px 24px;
}

.panel-heading h1 {
  font-size: 24px;
}

.close-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #929597;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.close-button:hover,
.close-button:focus-visible {
  color: #4d4f50;
}

.trial-form {
  padding: 30px 34px 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.trial-form label {
  display: grid;
  gap: 8px;
}

.trial-form label > span {
  color: #686b6d;
  font-size: 12px;
  font-weight: 500;
}

.trial-form label b {
  color: #dd5e52;
  font-weight: 500;
}

.trial-form input,
.trial-form textarea {
  width: 100%;
  border: 1px solid #cfd2d3;
  border-radius: 2px;
  outline: none;
  background: white;
  color: #404243;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.trial-form input {
  height: 42px;
  padding: 0 12px;
}

.trial-form textarea {
  min-height: 102px;
  resize: vertical;
  padding: 11px 12px;
}

.trial-form input:focus,
.trial-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgb(255 173 0 / 13%);
}

.trial-form [aria-invalid="true"] {
  border-color: #d75d53;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 20px;
  margin: 18px 0 0;
  color: #7b7e80;
  font-size: 13px;
  line-height: 1.5;
}

.form-status.error {
  color: #c64f46;
}

.form-status.success {
  color: #5b7f2c;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eceeef;
  margin-top: 12px;
  padding-top: 22px;
}

.text-button {
  background: transparent;
  color: #818486;
}

.error-card p:not(.eyebrow) {
  color: #838688;
  line-height: 1.6;
}

.error-card .primary-button {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    padding-left: 12px;
  }

  .brand span {
    font-size: 16px;
  }

  .topbar-actions {
    gap: 13px;
    padding: 0 13px;
  }

  .help-link {
    display: none;
  }

  .app-rail {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 58px;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid #e0e1e2;
    border-right: 0;
    padding: 0 12px;
  }

  .rail-home,
  .rail-item {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .rail-pink {
    margin: 0;
  }

  .workspace {
    align-items: start;
    padding: 84px 14px 78px;
  }

  .welcome-card,
  .message-card {
    padding: 38px 24px;
  }

  .welcome-actions {
    flex-direction: column;
  }

  .panel-heading,
  .trial-form {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .wide-field {
    grid-column: auto;
  }
}
