@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  --bs-body-color: #111;
  --bs-body-bg: #fff;
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.web-brand {
  min-height: 32vh;
  padding: 2.5rem 1.5rem;
  background: #000;
}

.web-brand img {
  width: min(70%, 220px);
  height: auto;
}

.web-panel {
  display: flex;
  flex-direction: column;
  min-height: 68vh;
  background: #fff;
}

.web-panel-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.web-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 22.5rem);
}

.web-card {
  width: 100%;
  margin: 0;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.web-eyebrow,
.web-field label,
.web-error,
.web-switch,
.web-todo-number {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.web-eyebrow {
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.web-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.web-field label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.web-field input {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  font: 400 1rem "Plus Jakarta Sans", sans-serif;
  color: #111;
  background: #fff;
}

.web-field input:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
  border-color: #111;
}

.web-card button,
.web-drawer button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.web-card button:hover {
  background: #000;
}

.web-error {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #9b1c1c;
}

.web-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #111;
}

.web-switch {
  color: #111;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.web-switch:hover {
  color: #111;
  text-decoration: underline;
}

.web-home,
.web-doc {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.web-topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  padding: 1.25rem 1.5rem;
}

.web-topbar-logo {
  height: 56px;
  width: auto;
}

.web-account {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.web-account-icon {
  width: 18px;
  height: 18px;
}

.web-account:hover,
.web-account[aria-expanded="true"] {
  background: #f4f4f4;
}

.web-todos {
  width: min(100%, 25.5rem);
  margin: 0 auto;
  padding: 7rem 1.5rem 3rem;
  flex: 1;
}

.web-todos h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.web-list-error {
  margin-top: 1.25rem;
}

.web-todo-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.web-todo-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.web-todo-label {
  flex: 1;
  min-width: 0;
}

.web-todo-number {
  min-width: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.web-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.web-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.web-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3;
  width: min(100%, 18rem);
  height: 100vh;
  padding: 1.5rem;
  background: #000;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.web-drawer.is-open {
  transform: translateX(0);
}

.web-drawer button {
  background: #fff;
  color: #111;
}

.web-drawer button:hover {
  background: #f4f4f4;
}

.web-footer {
  margin-top: auto;
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

.web-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.35rem;
}

.web-footer a {
  color: #111;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.web-footer a:hover {
  text-decoration: underline;
}

.web-footer p {
  margin: 0;
  color: #666;
  font-size: 0.8rem;
}

.web-copy {
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  flex: 1;
}

.web-copy h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.web-copy h2,
.web-copy h3,
.web-copy h4 {
  margin: 1.6rem 0 0.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.web-copy h2 {
  font-size: 1.15rem;
}

.web-copy h3 {
  font-size: 1rem;
}

.web-copy h4 {
  font-size: 0.95rem;
}

.web-copy p,
.web-copy li {
  line-height: 1.6;
}

.web-copy a {
  color: #111;
}

@media (min-width: 992px) {
  .web-brand {
    min-height: 100vh;
    padding: 3rem;
  }

  .web-brand img {
    width: min(68%, 280px);
  }

  .web-panel {
    min-height: 100vh;
  }
}
