:root {
  --ink: #2b2b2b;
  --paper: #f0eee7;
  --card: #f8f6ef;
  --line: #c9c5ba;
  --acid: #b7b556;
  --orange: #c24928;
  --muted: #63676d;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.eyebrow,
.tool-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(
    120deg,
    var(--ink) 0 49.9%,
    var(--acid) 50%
  );
}

.login-card {
  width: min(680px, 100%);
  padding: 56px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
}

.login-card h1,
.hub-header h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 96px);
  line-height: 0.84;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.lede {
  max-width: 420px;
  margin: 28px 0 46px;
  color: var(--muted);
  font-size: 18px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-email {
  width: 100%;
  margin-bottom: 16px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: white;
}

.password-row {
  display: flex;
}

.password-row input {
  min-width: 0;
  flex: 1;
  padding: 16px;
  border: 2px solid var(--ink);
  background: white;
}

.password-row button {
  padding: 16px 22px;
  border: 2px solid var(--ink);
  border-left: 0;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.password-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-note.error {
  color: #a12d16;
}

.hub-shell {
  max-width: 1440px;
  margin: auto;
  padding: 44px;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 2px solid var(--ink);
}

.hub-header h1 {
  font-size: clamp(54px, 9vw, 120px);
}

.text-button {
  border: 0;
  border-bottom: 1px solid;
  padding: 4px 0;
  background: none;
  cursor: pointer;
  font-weight: 700;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tool-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  background: var(--card);
  transition: 0.2s;
}

.tool-card-active:hover {
  background: var(--acid);
  transform: translate(-5px, -5px);
  box-shadow: 5px 5px 0 var(--ink);
}

.tool-number {
  font: 700 13px monospace;
}

.tool-card h2 {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.tool-card p {
  max-width: 280px;
  line-height: 1.5;
}

.tool-arrow {
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 28px;
}

.is-soon {
  opacity: 0.48;
}

@media (max-width: 800px) {
  .login-card {
    padding: 34px 24px;
  }

  .password-row {
    display: grid;
  }

  .password-row button {
    border: 2px solid var(--ink);
    border-top: 0;
  }

  .hub-shell {
    padding: 24px;
  }

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

  .tool-card {
    min-height: 260px;
  }
}
