:root {
  --ink: #15231f;
  --muted: #66736f;
  --line: rgba(21, 35, 31, 0.13);
  --green: #17684e;
  --green-dark: #0c4936;
  --lime: #c5f462;
  --paper: #f7f7f0;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.shell::before {
  background-image:
    linear-gradient(rgba(23, 104, 78, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 104, 78, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.nav,
.hero,
.footer {
  margin: 0 auto;
  max-width: 1240px;
  position: relative;
  z-index: 1;
}

.nav {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 27px 22px 23px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  height: 29px;
  justify-content: center;
  margin-right: 10px;
  position: relative;
  width: 29px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  border: 1.7px solid var(--lime);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.brand-mark::before {
  height: 15px;
  width: 15px;
}

.brand-mark::after {
  height: 7px;
  width: 7px;
}

.brand-mark span {
  border-width: 1.2px;
  height: 21px;
  width: 21px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #53615c;
  font-size: 13px;
  font-weight: 540;
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--green);
}

.hero {
  align-items: center;
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  min-height: calc(100svh - 154px);
  padding: 74px 22px 80px;
}

.hero-copy {
  padding-left: clamp(0px, 2.4vw, 34px);
}

.eyebrow {
  align-items: center;
  color: var(--green);
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--lime);
  border: 3px solid rgba(23, 104, 78, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
  height: 8px;
  margin-right: 11px;
  width: 8px;
}

h1 {
  font-size: clamp(50px, 6.2vw, 84px);
  font-weight: 520;
  letter-spacing: -0.068em;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

h1 span {
  color: var(--green);
}

.intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 28px 0 0;
  max-width: 530px;
}

.capabilities {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  max-width: 560px;
  padding-top: 22px;
}

.capabilities div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.capabilities strong {
  font-size: 12px;
  font-weight: 650;
}

.capabilities span {
  color: #77817e;
  font-size: 11px;
  line-height: 1.4;
}

.login-panel {
  background: var(--green-dark);
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(17, 60, 47, 0.18);
  color: var(--white);
  max-width: 440px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.login-panel::before {
  border: 1px solid rgba(197, 244, 98, 0.17);
  border-radius: 50%;
  content: "";
  height: 240px;
  position: absolute;
  right: -130px;
  top: -130px;
  width: 240px;
}

.panel-glow {
  background: var(--lime);
  filter: blur(90px);
  height: 120px;
  opacity: 0.12;
  position: absolute;
  right: -50px;
  top: -40px;
  width: 120px;
}

.panel-content {
  padding: 44px 43px 37px;
  position: relative;
}

.workspace-icon {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  display: flex;
  height: 43px;
  justify-content: center;
  margin-bottom: 27px;
  position: relative;
  width: 43px;
}

.workspace-icon::before,
.workspace-icon::after,
.workspace-icon span {
  border: 1.4px solid var(--lime);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.workspace-icon::before {
  height: 22px;
  width: 22px;
}

.workspace-icon::after {
  height: 13px;
  width: 13px;
}

.workspace-icon span {
  height: 5px;
  width: 5px;
}

.panel-label {
  color: #a7c0b7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h2 {
  font-size: 31px;
  font-weight: 520;
  letter-spacing: -0.045em;
  margin: 0;
}

.panel-note {
  color: #abc1b9;
  font-size: 13px;
  margin: 8px 0 27px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  color: #d5e0dc;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 8px;
}

input {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: white;
  font-size: 13px;
  height: 47px;
  outline: none;
  padding: 0 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

input::placeholder {
  color: #789187;
}

input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
}

.primary-button,
.sso-button {
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  height: 47px;
  transition: transform 160ms ease, background 160ms ease;
  width: 100%;
}

.primary-button {
  align-items: center;
  background: var(--lime);
  border: 0;
  color: #163d31;
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  padding: 0 16px;
}

.primary-button:hover {
  background: #d0fa77;
}

.primary-button:active,
.sso-button:active {
  transform: translateY(1px);
}

.separator {
  align-items: center;
  color: #718b82;
  display: flex;
  font-size: 10px;
  gap: 12px;
  margin: 20px 0;
}

.separator::before,
.separator::after {
  background: rgba(255, 255, 255, 0.11);
  content: "";
  flex: 1;
  height: 1px;
}

.sso-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5ece9;
  display: flex;
  justify-content: center;
}

.sso-button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sso-symbol {
  color: var(--lime);
  font-size: 18px;
  margin-right: 9px;
}

.access-message {
  color: #f5d99b;
  font-size: 11px;
  line-height: 1.45;
  margin: 14px 0 0;
  min-height: 32px;
}

.invite-note {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #758e85;
  font-size: 10px;
  margin: 11px 0 0;
  padding-top: 18px;
  text-align: center;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #78827f;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding: 20px 22px 26px;
}

.footer p {
  margin: 0;
}

.footer div,
.status {
  align-items: center;
  display: flex;
}

.footer div {
  gap: 26px;
}

button.status {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.status i {
  background: #42a87c;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(66, 168, 124, 0.12);
  height: 6px;
  margin-right: 7px;
  width: 6px;
}

button.status:hover {
  color: var(--green);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.info-dialog {
  background: transparent;
  border: 0;
  color: var(--ink);
  max-height: calc(100svh - 36px);
  max-width: 620px;
  padding: 0;
  width: calc(100% - 36px);
}

.info-dialog::backdrop {
  background: rgba(7, 25, 20, 0.68);
  backdrop-filter: blur(7px);
}

.dialog-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
  box-shadow: 0 32px 90px rgba(4, 26, 19, 0.3);
  margin: 0;
  overflow: auto;
  padding: 38px;
}

.dialog-header {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.dialog-header h2 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  max-width: 470px;
}

.dialog-label {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.dialog-close {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #68736f;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 300;
  height: 35px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  transition: background 160ms ease, color 160ms ease;
  width: 35px;
}

.dialog-close:hover {
  background: var(--green);
  color: white;
}

.dialog-copy,
.privacy-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.dialog-copy {
  border-bottom: 1px solid var(--line);
  margin: 25px 0 0;
  padding-bottom: 25px;
}

.dialog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

.dialog-grid section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px 15px;
}

.dialog-grid section > span {
  color: var(--green);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  margin-bottom: 23px;
}

.dialog-grid strong {
  display: block;
  font-size: 12px;
}

.dialog-grid p {
  color: #76817d;
  font-size: 10px;
  line-height: 1.5;
  margin: 7px 0 0;
}

.security-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.security-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 12px;
  padding: 13px 2px;
}

.security-list li:last-child {
  border-bottom: 0;
}

.security-list span {
  background: var(--lime);
  border: 3px solid rgba(23, 104, 78, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
  height: 7px;
  margin-right: 12px;
  width: 7px;
}

.status-list {
  margin-top: 18px;
}

.status-list > div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 15px 2px;
}

.status-list > div:last-child {
  border-bottom: 0;
}

.status-list strong {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 10px;
  font-weight: 600;
}

.status-list i {
  background: #42a87c;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(66, 168, 124, 0.12);
  height: 6px;
  margin-right: 8px;
  width: 6px;
}

.privacy-copy {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 8px;
}

.privacy-copy p {
  margin: 16px 0 0;
}

@media (max-width: 860px) {
  .hero {
    gap: 58px;
    grid-template-columns: 1fr;
    padding-bottom: 64px;
    padding-top: 64px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .login-panel {
    justify-self: center;
  }

  h1 {
    font-size: clamp(48px, 11vw, 74px);
  }
}

@media (max-width: 560px) {
  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    padding: 50px 18px 54px;
  }

  h1 {
    font-size: 47px;
  }

  .intro {
    font-size: 15px;
  }

  .capabilities {
    gap: 12px;
    margin-top: 37px;
  }

  .panel-content {
    padding: 35px 25px 29px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer div {
    flex-wrap: wrap;
    gap: 13px 20px;
  }

  .dialog-card {
    padding: 28px 23px;
  }

  .dialog-header h2 {
    font-size: 25px;
  }

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

  .dialog-grid section > span {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
