@font-face {
  font-family: Portal;
  src: local('Inter'), local('Arial');
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f5f5f1;
  --fg: #202521;
  --muted: #656d65;
  --line: #dce0d7;
  --panel: #fff;
  --green: #42613b;
  --tint: #e8eddf;
  --shadow: 0 12px 48px #27392008;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Portal, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #7e9966;
  outline-offset: 5px;
}
.shell {
  max-width: 1280px;
  min-height: 100svh;
  padding: 0 64px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 10px;
  margin-right: 12px;
  font-size: 26px;
}
.brand-dot,
.accent {
  color: var(--green);
}
.header-label {
  font-size: 13px;
  color: var(--muted);
}
main {
  flex: 1;
}
footer {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.045em;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d8556;
  flex-shrink: 0;
}
h1 {
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 520;
  margin: 25px 0 22px;
}
h1 span:not(.accent) {
  color: var(--green);
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 74px 0 100px;
}
.project-chips {
  display: flex;
  gap: 8px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.project-chips span {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 14px;
}
.login-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.lock-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--tint);
  border-radius: 13px;
  color: var(--green);
  font-size: 26px;
  margin-bottom: 25px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  font-weight: 550;
  margin: 0 0 12px;
}
.login-panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 9px;
}
input[type='password'] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--fg);
  padding: 13px 14px;
  font-size: 16px;
}
button {
  cursor: pointer;
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  padding: 14px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  font-size: 14px;
  font-weight: 550;
}
.login-panel button {
  width: 100%;
  margin-top: 15px;
}
.privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 23px;
}
.privacy span {
  margin-right: 5px;
}
.error {
  padding: 12px;
  border-radius: 8px;
  background: #fae9e4;
  color: #8e3423;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.home {
  padding: 62px 0 80px;
}
.home-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.home h1 {
  font-size: 52px;
  margin: 22px 0 14px;
}
.logout {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  gap: 23px;
  font-size: 13px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: var(--panel);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-top {
  height: 128px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #e8eddf;
}
.atlas .card-top {
  background: #ece7dd;
}
.platform .card-top {
  background: #e4e9ed;
}
.project-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff9;
  border-radius: 13px;
  font-size: 26px;
  font-weight: 600;
  color: #42613b;
}
.atlas .project-icon {
  color: #7a6543;
}
.platform .project-icon {
  color: #4e6579;
}
.arrow {
  color: #52614e;
  font-size: 22px;
}
.card-content {
  padding: 25px 25px 28px;
  flex: 1;
}
.card-index {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.card h2 {
  font-size: 25px;
  margin: 13px 0 12px;
  overflow-wrap: anywhere;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.card-action {
  border-top: 1px solid var(--line);
  padding: 19px 25px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.home-note {
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171c19;
    --fg: #eef0e9;
    --muted: #abb4a9;
    --line: #343e35;
    --panel: #202722;
    --green: #9bb78a;
    --tint: #34432e;
    --shadow: 0 14px 40px #0002;
  }
  .brand-dot {
    color: #9bb78a;
  }
  button {
    color: #172015;
  }
  .card-top {
    background: #35432d;
  }
  .atlas .card-top {
    background: #443e30;
  }
  .platform .card-top {
    background: #303e49;
  }
  .project-icon {
    background: #ffffffc9;
  }
  .arrow {
    color: #d5dfd1;
  }
  .error {
    background: #492c25;
    color: #ffd3c5;
  }
}
@media (max-width: 900px) {
  .shell {
    padding: 0 30px;
  }
  .login-layout {
    gap: 35px;
  }
  h1 {
    font-size: 52px;
  }
  .login-panel {
    padding: 28px;
  }
  .cards {
    gap: 12px;
  }
  .card-content,
  .card-top {
    padding: 20px;
  }
  .card-action {
    padding: 18px 20px;
  }
  .card h2 {
    font-size: 22px;
  }
}
@media (max-width: 650px) {
  .shell {
    padding: 0 22px;
  }
  header {
    height: 83px;
  }
  .brand {
    font-size: 22px;
  }
  .header-label {
    font-size: 10px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    margin-right: 9px;
  }
  .login-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 38px 0 45px;
    align-items: stretch;
  }
  .intro h1 {
    font-size: 43px;
    letter-spacing: -1.9px;
    margin: 17px 0 14px;
  }
  .intro h1 br {
    display: none;
  }
  .intro .lead {
    font-size: 14px;
    line-height: 1.65;
  }
  .intro .lead br {
    display: none;
  }
  .project-chips {
    margin-top: 21px;
  }
  .project-chips span {
    font-size: 11px;
    padding: 6px 11px;
  }
  .login-panel {
    padding: 26px;
    border-radius: 17px;
  }
  .lock-icon {
    margin-bottom: 19px;
    width: 38px;
    height: 38px;
  }
  .login-panel h2 {
    font-size: 23px;
  }
  .login-panel p {
    font-size: 13px;
    margin-bottom: 22px;
  }
  footer {
    font-size: 10px;
    padding: 22px 0;
    gap: 12px;
  }
  .home {
    padding: 37px 0 45px;
  }
  .home-heading {
    align-items: flex-start;
    gap: 8px;
  }
  .home h1 {
    font-size: 37px;
    letter-spacing: -1.7px;
    margin: 17px 0 12px;
  }
  .home .lead {
    font-size: 14px;
  }
  .home .eyebrow {
    font-size: 10px;
  }
  .logout {
    padding: 10px 12px;
    min-height: 40px;
    gap: 12px;
    font-size: 11px;
    margin-top: -3px;
  }
  .cards {
    grid-template-columns: 1fr;
    margin-top: 29px;
    gap: 17px;
  }
  .card {
    min-height: 0;
  }
  .card-top {
    height: 94px;
    padding: 20px;
  }
  .project-icon {
    width: 43px;
    height: 43px;
    font-size: 24px;
  }
  .card-content {
    padding: 20px;
  }
  .card h2 {
    font-size: 25px;
    overflow-wrap: normal;
  }
  .card-action {
    padding: 17px 20px;
  }
  .home-note {
    font-size: 10px;
    margin-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
