/* ScaleTool
   Light theme. One accent color, used sparingly, with tabular numerals so
   figures line up. The artwork is dark, so the palette stays light. */

:root {
  /* Opts out of browser forced dark modes such as Chrome Auto Dark Theme. */
  color-scheme: only light;

  --bg: #f7f7f8;
  --bg-rail: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f3;
  --surface-head: #fafafb;
  --border: #e6e6e8;
  --border-strong: #d5d5da;

  --text: #101014;
  --text-dim: #55555e;
  --text-faint: #8a8a94;

  --accent: #15803d;
  --accent-hover: #116631;
  --accent-soft: rgba(21, 128, 61, 0.1);
  --danger: #912018;
  --danger-soft: #fef3f2;
  --danger-border: #f4c7c3;
  --warn: #93370d;
  --warn-soft: #fffaeb;
  --warn-border: #f2d6a2;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 1px 3px rgba(16, 24, 40, 0.08), 0 10px 28px -14px rgba(16, 24, 40, 0.18);

  --radius: 14px;
  --radius-sm: 9px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --sidebar-width: 248px;
  --topbar-height: 60px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Soft light from the top edge, so the page does not read as flat grey. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(900px 420px at 50% -160px, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
}

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

a {
  color: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.is-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.06s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn[disabled]:active {
  transform: none;
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.btn--primary:hover:not([disabled]) {
  background-color: var(--accent-hover);
}

.btn--ghost {
  border-color: var(--border-strong);
  background-color: var(--surface);
  color: var(--text-dim);
}

.btn--ghost:hover {
  border-color: #bfbfc6;
  color: var(--text);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  height: 34px;
  padding: 0 13px;
  font-size: 0.8125rem;
}

/* A quiet, text only control for list rows. */
.btn--link {
  height: auto;
  padding: 2px;
  border: 0;
  background: none;
  color: var(--text-faint);
  font-size: 0.8125rem;
  font-weight: 500;
}

.btn--link:hover {
  color: var(--danger);
}

.discord-mark {
  width: 18px;
  height: 18px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* Pills and notices ---------------------------------------------------- */

.pill {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background-color: var(--surface-2);
  color: var(--text-faint);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.notice {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fbfbfc;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.notice--error {
  border-color: var(--danger-border);
  background-color: var(--danger-soft);
  color: var(--danger);
}

.notice--warn {
  border-color: var(--warn-border);
  background-color: var(--warn-soft);
  color: var(--warn);
}

.notice--good {
  border-color: #bbf7d0;
  background-color: #f0fdf4;
  color: #166534;
}

.notice code {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 5px;
  background-color: rgba(16, 24, 40, 0.06);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

/* Sign in page --------------------------------------------------------- */

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 100vh;
  padding: 40px 20px;
}

@supports (min-height: 100dvh) {
  .auth {
    min-height: 100dvh;
  }
}

.auth__card {
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
}

.auth__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 52px;
  margin: 0 auto 26px;
}

.auth__fine {
  margin: 16px 0 0;
  color: var(--text-faint);
  font-size: 0.75rem;
  line-height: 1.6;
}

.auth__footer {
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.auth__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth__legal a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.auth__legal a:hover {
  color: var(--text);
  border-bottom-color: var(--border-strong);
}

.auth__dot {
  color: var(--border-strong);
}

.auth__copy {
  margin: 8px 0 0;
}

/* App shell ------------------------------------------------------------ */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: 100vh;
  padding: 20px 14px 16px;
  border-right: 1px solid var(--border);
  background-color: var(--bg-rail);
}

@supports (height: 100dvh) {
  .sidebar {
    height: 100dvh;
  }
}

.sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 6px 20px;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sidebar__mark {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar__logo {
  width: auto;
  height: auto;
  max-width: 168px;
  max-height: 34px;
}

.sidebar__close {
  display: none;
}

.nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.nav--footer {
  flex: none;
  margin-bottom: 12px;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

a.nav__item:hover {
  background-color: var(--surface-2);
  color: var(--text);
}

.nav__item.is-active {
  background-color: var(--surface-2);
  color: var(--text);
  font-weight: 500;
}

.nav__item.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 2px;
  height: 18px;
  margin-top: -9px;
  border-radius: 0 2px 2px 0;
  background-color: var(--accent);
}

.nav__item.is-active .icon {
  color: var(--accent);
}

.nav__item.is-disabled {
  color: var(--text-faint);
  cursor: default;
}

.nav__label {
  flex: 1;
}

.nav__group {
  display: flex;
  flex-direction: column;
}

.nav__toggle {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  line-height: inherit;
  color: var(--text-dim);
  cursor: pointer;
}

.nav__toggle:hover {
  background-color: var(--surface-2);
  color: var(--text);
}

.nav__chevron {
  display: inline-flex;
  flex: none;
  color: var(--text-faint);
  transition: transform 0.18s ease;
}

.nav__group.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__children {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
  margin-left: 16px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.nav__group.is-open .nav__children {
  display: flex;
}

.nav__child {
  padding: 7px 10px;
  font-size: 0.8125rem;
}

.nav__child.is-active {
  background-color: var(--surface-2);
  color: var(--text);
  font-weight: 500;
}

.nav__child.is-active .icon {
  color: var(--accent);
}

.nav__child.is-active::before {
  content: none;
}

.sidebar__foot {
  padding: 16px 10px 0;
  border-top: 1px solid var(--border);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.status__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.sidebar__meta {
  margin: 8px 0 0;
  color: #a3a3ab;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

.app__main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--topbar-height);
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar__title {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
}

.topbar__menu {
  display: none;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.userchip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 12px 3px 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--surface);
  font-size: 0.8125rem;
}

.userchip__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--surface-2);
}

.userchip__name {
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.backdrop {
  display: none;
}

/* Content -------------------------------------------------------------- */

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1120px;
  padding: 30px 24px 72px;
}

.content__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.content__sub {
  max-width: 62ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Panels and lists ----------------------------------------------------- */

.panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
}

/* A lone card reads better at a reading width than stretched edge to edge. */
.panel--accounts {
  max-width: 760px;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-head);
}

.panel__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.panel__subtitle {
  margin: 3px 0 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.panel__body {
  padding: 18px 20px;
}

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

.account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.account:first-child {
  padding-top: 0;
}

.account:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.account__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background-color: var(--surface-2);
  object-fit: cover;
}

.account__avatar--placeholder {
  display: block;
  border: 1px solid var(--border);
}

.account__body {
  min-width: 0;
}

.account__title {
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__handle {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--text-faint);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Fixed tracks hold the numbers in the same place on every row. */
.account__stats {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 18px;
  margin: 0;
}

.account__stat-label {
  display: block;
  color: var(--text-faint);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}

.account__stat-value {
  display: block;
  margin-top: 3px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* The skill reserves the accent for the number that matters most. */
.account__stat-value--accent {
  color: var(--accent);
  font-weight: 600;
}

.account__actions {
  margin: 0;
}

.empty {
  padding: 34px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  text-align: center;
}

.empty__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
}

.empty__badge .icon {
  width: 20px;
  height: 20px;
}

.empty__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.empty__body {
  max-width: 46ch;
  margin: 6px auto 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.empty__action {
  margin-top: 20px;
}

.empty--plain {
  padding: 20px 16px;
  border: 0;
}

/* Legal and message pages ---------------------------------------------- */

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.doc__back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--text-faint);
  font-size: 0.8125rem;
  text-decoration: none;
}

.doc__back:hover {
  color: var(--text);
}

.doc__title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.doc__updated {
  margin: 0 0 22px;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.doc__intro {
  margin: 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.75;
}

.doc__section {
  margin-top: 30px;
}

.doc__heading {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.doc__body {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.75;
}

.doc__foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.doc__links {
  display: flex;
  gap: 18px;
}

.doc__links a {
  color: var(--text-dim);
  font-size: 0.8125rem;
  text-decoration: none;
}

.doc__links a:hover {
  color: var(--text);
}

.doc__copy {
  margin: 12px 0 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 100vh;
  padding: 40px 24px;
  text-align: center;
}

@supports (min-height: 100dvh) {
  .message {
    min-height: 100dvh;
  }
}

.message__logo {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 40px;
  margin-bottom: 6px;
}

.message__heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.message__body {
  max-width: 44ch;
  margin: 0 0 6px;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Small screens -------------------------------------------------------- */

@media (max-width: 920px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: 274px;
    transform: translateX(-100%);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
  }

  .app.is-nav-open .sidebar {
    transform: none;
  }

  .sidebar__close {
    display: inline-flex;
  }

  .backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 35;
    background-color: rgba(16, 24, 40, 0.35);
  }

  .app.is-nav-open .backdrop {
    display: block;
  }

  .topbar__menu {
    display: inline-flex;
  }

  .content {
    padding: 24px 18px 64px;
  }

  .topbar {
    padding: 0 18px;
  }

  body.is-nav-locked {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .userchip__name {
    display: none;
  }

  .userchip {
    padding-right: 3px;
  }
}

@media (max-width: 760px) {
  .account {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 16px;
  }

  .account__identity {
    grid-column: 1;
    grid-row: 1;
  }

  .account__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .account__stats {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .panel__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Credit balance in the header ---------------------------------------- */

.credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.credits-badge .icon {
  width: 15px;
  height: 15px;
}

.credits-badge:hover {
  background-color: var(--accent-hover);
}

/* Sidebar logout ------------------------------------------------------- */

.sidebar__logout {
  margin: 0 0 14px;
}

.sidebar__logout .btn {
  width: 100%;
}

/* Credits page --------------------------------------------------------- */

.balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.balance__label {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.balance__value {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.package {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.package--best {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.package__tag {
  margin-left: 0;
  align-self: flex-start;
}

.package__price {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
}

.package__credits {
  margin: 0;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.package__bonus {
  margin: 0;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.package__actions {
  margin: 12px 0 0;
}

.content__note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

/* Video review page ---------------------------------------------------- */

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.video {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.video__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--surface-2);
  object-fit: cover;
}

.video--locked .video__thumb {
  opacity: 0.5;
}

.video__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.video__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video__meta {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.video__actions {
  margin-top: auto;
  padding-top: 10px;
}

/* Review page toolbar -------------------------------------------------- */

.review-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.search-field .icon {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 16px;
  height: 16px;
  color: var(--text-faint);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-field__input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
}

.search-field__input::placeholder {
  color: var(--text-faint);
}

.search-field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.channel-filter {
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.channel-filter:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Saved reviews -------------------------------------------------------- */

.past-reviews {
  margin-bottom: 16px;
}

.past-reviews__panel {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.past-reviews__search {
  max-width: 360px;
  margin-bottom: 12px;
}

.past-reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.past-review {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.past-review:last-child {
  border-bottom: 0;
}

.past-review[hidden] {
  display: none;
}

.past-review__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
}

.past-review__delete {
  flex: none;
  margin-left: 12px;
}

.past-review__title {
  min-width: 0;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.past-review__link:hover .past-review__title {
  color: var(--text);
}

.past-review__meta {
  display: flex;
  align-items: center;
  flex: none;
  gap: 12px;
}

.past-review__status {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.past-review__status--done {
  color: var(--accent);
}

.past-review__status--failed {
  color: #b91c1c;
}

.past-review__date {
  color: var(--text-faint);
  font-size: 0.75rem;
}

/* Video statistics and filter hiding ----------------------------------- */

.video__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.video__stat {
  color: var(--text-faint);
  font-size: 0.75rem;
}

.video__stat-value {
  color: var(--text-dim);
  font-weight: 600;
}

.video[hidden],
.empty[hidden] {
  display: none;
}

/* Toast notifications --------------------------------------------------- */

.toasts {
  position: fixed;
  top: 76px;
  right: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 340px;
  max-width: calc(100vw - 32px);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  line-height: 1.45;
  animation: toast-in 0.2s ease;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast--warn {
  border-left-color: #d97706;
}

.toast__icon {
  flex: none;
  margin-top: 1px;
}

.toast__icon .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.toast--warn .toast__icon .icon {
  color: #d97706;
}

.toast__message {
  flex: 1;
  min-width: 0;
}

.toast__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text-faint);
  cursor: pointer;
}

.toast__dismiss:hover {
  color: var(--text);
  background-color: var(--surface-2);
}

.toast__dismiss .icon {
  width: 14px;
  height: 14px;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Review detail -------------------------------------------------------- */

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 0.8125rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.review-url {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.review-url a {
  color: var(--text-faint);
  text-decoration: none;
}

.review-url a:hover {
  color: var(--text);
  text-decoration: underline;
}

.score-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.score-card__value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.score-card__label {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.review-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-media {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.review-media__player {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: #000000;
}

.review-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-info__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.review-info__score-value {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--accent);
}

.review-info__score-label {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.review-info__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.review-info__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.review-info__stat dt {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.review-info__stat dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 760px) {
  .review-media {
    grid-template-columns: 1fr;
  }
}

.review-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-tab {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--surface);
  color: var(--text-dim);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.review-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.review-tab.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 500;
}

.review-panel {
  display: none;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-panel.is-active {
  display: block;
}

.review-panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.review-panel__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.review-panel__score {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pill--meets {
  border-color: var(--accent);
  color: var(--accent);
}

.pill--risky {
  border-color: #d97706;
  color: #b45309;
}

.pill--violates {
  border-color: #dc2626;
  color: #b91c1c;
}

.pill--locked {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: var(--warn-border);
  color: var(--warn);
}

.pill--locked .icon {
  width: 12px;
  height: 12px;
}

.review-panel__summary {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.65;
}

.findings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finding {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-2);
}

.finding__timestamp {
  flex: none;
  padding: 2px 8px;
  border: 0;
  border-radius: 6px;
  background-color: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.finding__timestamp:hover {
  text-decoration: underline;
}

.finding__severity {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.finding__severity--low {
  color: var(--accent);
}

.finding__severity--medium {
  color: #b45309;
}

.finding__severity--high {
  color: #b91c1c;
}

.finding__text {
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Chat ----------------------------------------------------------------- */

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.chat__message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 84%;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.chat__message--assistant {
  align-self: flex-start;
}

.chat__message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat__avatar {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--surface-2);
}

.chat__bubble {
  padding: 9px 12px;
  border-radius: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat__message--assistant .chat__bubble {
  background-color: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat__message--user .chat__bubble {
  background-color: var(--accent-soft);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.chat__bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}

.chat__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-faint);
  animation: chat-blink 1.2s infinite ease-in-out;
}

.chat__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chat-blink {
  0%, 80%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat__form {
  display: flex;
  gap: 8px;
}

.chat__input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
}

.chat__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Review progress ------------------------------------------------------ */

.review-progress {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-progress__label {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.review-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--surface-2);
}

.review-progress__bar {
  height: 100%;
  border-radius: 999px;
  background-color: var(--accent);
  transition: width 0.4s ease;
}

.review-steps {
  display: flex;
  gap: 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.review-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.review-step__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}

.review-step.is-done .review-step__mark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.review-step.is-active {
  color: var(--text);
}

.review-step.is-active .review-step__mark {
  border-color: var(--accent);
  animation: step-pulse 1s ease-in-out infinite;
}

@keyframes step-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 5px var(--accent-soft);
  }
}

/* Review error detail -------------------------------------------------- */

.review-error-detail {
  margin: 8px 0 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

/* Confirm modal -------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(16, 24, 40, 0.35);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
}

.modal__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.modal__body {
  margin: 0 0 6px;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.modal__note {
  margin: 0 0 16px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Video downloader ----------------------------------------------------- */

.downloader {
  max-width: 640px;
}

.downloader__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.downloader__label {
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.downloader__row {
  display: flex;
  gap: 10px;
}

.downloader__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
}

.downloader__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.downloader__input::placeholder {
  color: var(--text-faint);
}

.downloader__status {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

@media (max-width: 520px) {
  .downloader__row {
    flex-direction: column;
  }
}

/* Download history ----------------------------------------------------- */

.downloads {
  max-width: 640px;
}

.downloads__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.download__thumb {
  width: 112px;
  height: 63px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background-color: var(--surface-2);
}

.download__body {
  flex: 1;
  min-width: 0;
}

.download__title {
  margin: 0 0 3px;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.download__meta {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.download__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.modal__dialog--wide {
  max-width: 560px;
}

.download-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: #000000;
}

.download-modal__player {
  margin-bottom: 16px;
}

@media (max-width: 560px) {
  .download {
    flex-wrap: wrap;
  }

  .download__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .download__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Subtitle remover ----------------------------------------------------- */

.remover {
  max-width: 760px;
}

.remover__drop-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 32px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--surface-2);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.remover__drop-body:hover {
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

.remover__drop-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.remover__drop-sub {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.remover__stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.remover__frame {
  position: relative;
  max-width: 340px;
}

.video-player__stage.remover__frame {
  overflow: visible;
}

.remover__player {
  max-width: 340px;
}

.remover__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background-color: #000000;
}

.remover__box {
  position: absolute;
  z-index: 2;
  border: 2px dashed #ffffff;
  background-color: rgba(21, 128, 61, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  cursor: move;
}

.remover__box-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background-color: #ffffff;
  cursor: nwse-resize;
}

.remover__hint {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.remover__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.remover__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.remover__progress-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.removals {
  max-width: 760px;
}

.removals__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.removal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.removal__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.removal__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.removal__meta {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.removal__error {
  margin: 0;
  color: var(--danger);
  font-size: 0.8125rem;
}

.removal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.removal__delete {
  flex: none;
}

.modal__dialog--compare {
  max-width: 520px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.compare__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.compare__label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.compare__video {
  width: 100%;
  border-radius: 10px;
  background-color: #000000;
}

@media (max-width: 640px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* Trust score ----------------------------------------------------------- */

.trust {
  max-width: 760px;
}

.trust__label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.trust__select {
  width: 100%;
  max-width: 360px;
}

.trust__questions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.trust__questions-title {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.trust__question {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust__question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust__count {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust__count-label {
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.trust__count-input {
  width: 84px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
}

.trust__count-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.trust__question-text {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.trust__toggle {
  display: inline-flex;
  gap: 6px;
  flex: none;
}

.trust__choice {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--surface);
  color: var(--text-dim);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.trust__choice.is-selected {
  border-color: var(--accent);
  background-color: var(--accent);
  color: #ffffff;
}

.trust__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.trust__progress-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.trust__result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.trust-result__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-result__score {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.trust-result__label {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.trust-result__meta {
  width: 100%;
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.trust-result__factors {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.trust-factor {
  display: grid;
  grid-template-columns: 140px 1fr 34px;
  align-items: center;
  gap: 12px;
}

.trust-factor__name {
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.trust-factor__bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--surface-2);
}

.trust-factor__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background-color: var(--accent);
}

.trust-factor__value {
  color: var(--text-dim);
  font-size: 0.8125rem;
  text-align: right;
}

.trust-result__tips {
  margin-top: 18px;
}

.trust-result__tips-title {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.trust-result__tips-list,
.trust-check__tips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.trust-checks {
  max-width: 760px;
}

.trust-checks__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-check__score {
  flex: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.trust-check__body {
  flex: 1;
  min-width: 0;
}

.trust-check__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.trust-check__meta {
  margin: 2px 0 6px;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.trust-check__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  align-self: center;
}

/* Thumbnail generator -------------------------------------------------- */

.thumb {
  max-width: 760px;
}

.thumb__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb__label {
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.thumb__input {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  resize: vertical;
}

.thumb__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.thumb__file {
  display: block;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.8125rem;
}

.thumb__file-button {
  align-self: flex-start;
}

.thumb__hint {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.thumb__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.thumb-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 96px;
}

.thumb-preview__image {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--surface-2);
}

.thumb-preview__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--text-dim);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
}

.thumb-preview__remove:hover {
  border-color: var(--danger-border);
  color: var(--danger);
}

.thumb-preview__name {
  overflow: hidden;
  color: var(--text-faint);
  font-size: 0.6875rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.thumb__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb__progress-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.thumb__result {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.thumb-result__image {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--surface-2);
}

.thumb-result__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb-gallery {
  max-width: 760px;
}

.thumb-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.thumb-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.thumb-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--surface-2);
}

.thumb-card__caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
}

.thumb-card__prompt {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.thumb-card__actions {
  display: flex;
}

/* Custom audio player --------------------------------------------------- */

.audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.audio-player__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.audio-player__play:hover {
  background-color: var(--accent-hover);
}

.audio-player__play .icon {
  width: 14px;
  height: 14px;
}

.audio-player__track {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--surface-2);
  cursor: pointer;
}

.audio-player__progress {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background-color: var(--accent);
}

.audio-player__time {
  flex: none;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Video player -------------------------------------------------------- */

.video-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-player__stage {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #000000;
  line-height: 0;
}

.video-player__stage video {
  display: block;
  width: 100%;
}

.video-player__big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(8, 8, 8, 0.55);
  color: #ffffff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.video-player__big-play:hover {
  background-color: rgba(8, 8, 8, 0.78);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-player__big-play .icon {
  width: 20px;
  height: 20px;
}

.video-player.is-playing .video-player__big-play {
  opacity: 0;
  pointer-events: none;
}

.video-player__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-player__play,
.video-player__fullscreen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.video-player__play:hover,
.video-player__fullscreen:hover {
  color: var(--text);
}

.video-player__play .icon,
.video-player__fullscreen .icon {
  width: 16px;
  height: 16px;
}

.video-player__track {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--surface-2);
  cursor: pointer;
}

.video-player__progress {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background-color: var(--accent);
}

.video-player__time {
  flex: none;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.video-player:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  width: 100%;
  height: 100%;
  max-width: none;
  background-color: #000000;
}

.video-player:fullscreen .video-player__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.video-player:fullscreen .video-player__stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MP4 to MP3 ------------------------------------------------------------ */

.mp3 {
  max-width: 760px;
}

.mp3__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp3__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mp3__filename {
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mp3__status {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.mp3__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mp3-result__player {
  width: 100%;
}

.mp3-result__actions {
  display: flex;
}

.mp3-history {
  max-width: 760px;
}

.mp3-history__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp3-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.mp3-item__player {
  width: 260px;
  max-width: 100%;
  flex: none;
}

.mp3-item__body {
  flex: 1;
  min-width: 0;
}

.mp3-item__title {
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mp3-item__meta {
  margin: 2px 0 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

@media (max-width: 560px) {
  .mp3-item {
    flex-wrap: wrap;
  }

  .mp3-item__player {
    width: 100%;
  }
}

/* Audio separator ------------------------------------------------------ */

.separator {
  max-width: 760px;
}

.separator__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.separator__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.separator__filename {
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.separator__hint {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.separator__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.separator__progress-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.separator__result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.separation-stem {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.separation-stem__name {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
}

.separator-history {
  max-width: 760px;
}

.separator-history__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.separation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.separation__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.separation__title {
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.separation__meta {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

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

.separation__delete {
  flex: none;
}

/* Transcription -------------------------------------------------------- */

.transcription {
  max-width: 760px;
}

.transcription__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcription__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.transcription__filename {
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.transcription__hint {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.transcription__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transcription__progress-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.transcription__result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.transcription-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcription-result__player {
  width: 100%;
}

.transcription-result__meta {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.transcription-result__segments {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface-2);
}

.transcription-result__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.transcription-result__plain {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}

.transcription-history {
  max-width: 760px;
}

.transcription-history__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transcription-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.transcription-item__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.transcription-item__body {
  flex: 1;
  min-width: 0;
}

.transcription-item__title {
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.transcription-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.transcription-item__dot {
  color: var(--text-faint);
}

.transcription-item__delete {
  flex: none;
}

.transcription-item__player {
  width: 100%;
}

.transcription-item__transcript {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface-2);
}

.transcription-item__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.transcription-item__plain {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}

.transcription-segment {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background-color: transparent;
  color: var(--text-dim);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.transcription-segment:hover {
  background-color: var(--accent-soft);
}

.transcription-segment.is-active {
  background-color: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--accent);
}

.transcription-segment__time {
  flex: none;
  min-width: 44px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.transcription-segment__speaker {
  flex: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
}

.transcription-segment__text {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Homepage ------------------------------------------------------------- */

.btn--lg {
  height: 50px;
  padding: 0 24px;
  font-size: 0.9375rem;
}

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

.home__header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background-color: rgba(247, 247, 248, 0.86);
  backdrop-filter: blur(10px);
}

.home__header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1120px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

.home__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.home__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 9px;
  object-fit: cover;
}

.home__logo {
  height: 30px;
  width: auto;
}

.home__nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.home__nav a {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.home__nav a:hover {
  color: var(--text);
  background-color: var(--surface-2);
}

.home__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.hero {
  padding: 96px 24px 88px;
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  margin: 22px 0 0;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero__sub {
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__note {
  margin: 20px 0 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.home__section {
  padding: 72px 24px;
}

.home__section--how {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home__section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.home__section-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home__section-sub {
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 0.9375rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.tool-card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tool-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--accent-soft);
  color: var(--accent);
}

.tool-card__icon .icon {
  width: 18px;
  height: 18px;
}

.tool-card__title {
  margin: 14px 0 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tool-card__body {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg);
}

.step__num {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.step__title {
  margin: 12px 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.step__body {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}

.home__cta {
  padding: 88px 24px;
}

.home__cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.home__cta-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home__cta-sub {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 0.9375rem;
}

.home__cta-actions {
  margin-top: 26px;
}

.home__footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.home__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
}

.home__footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.home__footer-mark {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 7px;
  object-fit: cover;
}

.home__footer-logo {
  height: 24px;
  width: auto;
}

.home__footer-legal {
  display: flex;
  gap: 18px;
}

.home__footer-legal a {
  color: var(--text-faint);
  font-size: 0.8125rem;
  text-decoration: none;
}

.home__footer-legal a:hover {
  color: var(--text);
}

.home__footer-copy {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 64px 20px 60px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .home__nav {
    display: none;
  }

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

@media (max-width: 560px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .home__footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
