@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --gray-1: #f2f2f2;
  --gray-2: #d9d9d9;
  --gray-3: #6b6b6b;
  --accent: #008c95;
  --sidebar-width: 248px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --focus: 3px solid var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: var(--paper);
  border-right: 1px solid var(--gray-2);
  z-index: 40;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px 24px;
}

.sidebar__logo img,
.topbar__logo img {
  width: 180px;
  height: auto;
}

.topbar__logo img {
  width: 140px;
}

.sidebar__groups {
  margin-top: 40px;
  flex: 1;
}

.nav-group + .nav-group {
  margin-top: 28px;
}

.nav-group__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-3);
}

.nav-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 7px 10px 7px 12px;
  margin-left: -12px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.nav-link.is-current {
  font-weight: 700;
  border-left-color: var(--ink);
}

.sidebar__footer {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.4;
}

.sidebar-backdrop {
  display: none;
}

.page {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content {
  max-width: 1100px;
  padding: 96px 48px 96px 64px;
}

.page-header {
  margin-bottom: 40px;
}

.page-header h1,
.hero__copy h1 {
  margin: 0 0 16px;
  font-size: 64px;
  font-weight: 750;
  font-stretch: 92%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.page-header p,
.hero__lead,
.section-lead,
.band p,
.prose > p {
  max-width: 68ch;
  color: var(--ink);
}

.tagline {
  margin: 0;
  color: var(--gray-3);
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}

.hero__mark {
  width: auto;
  height: 220px;
  flex-shrink: 0;
}

.hero__mark .signal-bar {
  fill: var(--ink);
  transition: fill 0.25s ease;
}

.hero__mark.is-animating .signal-bar--1 {
  fill: var(--accent);
}

.hero__mark.is-animating .signal-bar--2 {
  fill: var(--accent);
}

.hero__mark.is-animating .signal-bar--3 {
  fill: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .hero__mark .signal-bar {
    transition: none;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.hero__note,
.band__note {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: #262626;
  text-decoration: none;
}

.btn--secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--gray-1);
  text-decoration: none;
}

.btn--small {
  padding: 8px 12px;
  font-size: 13px;
}

.section {
  margin: 72px 0;
  scroll-margin-top: 24px;
}

.section h2,
.band h2,
.apps-teaser h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 28px;
}

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

.service-card {
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 28px;
  background: var(--paper);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 650;
}

.service-card p {
  margin: 0;
  color: var(--ink);
}

.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 68ch;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.text-link {
  font-weight: 600;
}

.apps-teaser {
  margin: 80px 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.app-card {
  display: flex;
  flex-direction: column;
}

.app-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--gray-1);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.app-card__cover > img:not(.app-card__placeholder) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__placeholder {
  width: 80px;
  height: 80px;
  opacity: 0.25;
}

.app-card__body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card__identity {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.app-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.app-card__icon--empty {
  display: block;
  background: var(--gray-1);
}

.app-card__name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 650;
}

.app-card__tagline {
  margin: 0;
  font-size: 15px;
  color: var(--gray-3);
  line-height: 1.4;
}

.app-card__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gray-1);
  font-size: 13px;
  font-weight: 600;
}

.app-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--gray-1);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.filter-pill:hover {
  text-decoration: none;
}

.filter-pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

.filter-pill.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
}

.empty-filter {
  display: none;
  margin: 16px 0 40px;
  max-width: 68ch;
}

.empty-filter.is-visible {
  display: block;
}

.band {
  margin-top: 80px;
  background: var(--gray-1);
  border-radius: 16px;
  padding: 56px;
}

.band .hero__actions {
  margin-top: 24px;
}

.form {
  max-width: 560px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label,
.form-fieldset legend {
  font-size: 15px;
  font-weight: 600;
}

.form-row .hint {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-3);
}

.form-error {
  font-size: 14px;
  color: #a10000;
}

.form-row[hidden],
[hidden] {
  display: none !important;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  font: inherit;
  background: var(--paper);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.radio-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-aside {
  margin-top: 32px;
  color: var(--gray-3);
  font-size: 15px;
}

.form-success {
  max-width: 560px;
  padding: 24px;
  border-radius: 12px;
  background: var(--gray-1);
}

.form-banner {
  display: none;
  margin-bottom: 12px;
  color: #a10000;
  font-size: 15px;
}

.form-banner.is-visible {
  display: block;
}

.faq {
  max-width: 68ch;
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq details {
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 14px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 18px;
}

.faq details p {
  margin: 12px 0 4px;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  font-weight: 650;
}

.prose ul {
  padding-left: 1.2em;
}

.legal-updated {
  color: var(--gray-3);
  font-size: 14px;
  font-weight: 500;
}

.delete-cta {
  margin-top: 28px;
}

.error-page {
  text-align: left;
  max-width: 560px;
}

.error-page img {
  width: 160px;
  height: auto;
  margin-bottom: 28px;
}

@media (max-width: 1023px) {
  body {
    font-size: 17px;
  }

  .topbar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--gray-2);
  }

  .topbar__menu {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    width: min(320px, 88vw);
  }

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

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 35;
  }

  .sidebar-backdrop[hidden] {
    display: none;
  }

  .page {
    margin-left: 0;
  }

  .content {
    padding: 40px 20px 72px;
  }

  .page-header h1,
  .hero__copy h1 {
    font-size: 40px;
  }

  .section h2,
  .band h2,
  .apps-teaser h2 {
    font-size: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__mark {
    display: block;
    width: auto;
    height: 96px;
    max-height: 96px;
    max-width: 100%;
    order: -1;
    justify-self: start;
    margin-bottom: 24px;
  }

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

  .band {
    padding: 32px 24px;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .sidebar {
    transition: none;
  }
}
