:root {
  --brand: #1b5e63;
  --on-brand: #ffffff;
  --accent: #f0b35a;
  --ink: #17201f;
  --muted: #586462;
  --line: #d8dfdc;
  --surface: #ffffff;
  --surface-soft: #fbfcfb;
  --background: #f5f7f6;
  --field-background: #ffffff;
  --danger-surface: #fff7f5;
  --danger-ink: #8a1f14;
  --success-surface: #f0fff4;
  --success-ink: #225c31;
  --success-line: #a7d8b3;
  --notice-surface: #f3f8fc;
  --notice-ink: #24465f;
  --notice-line: #c9d7e5;
  --shadow-ink: rgb(23 32 31 / 0.16);
  --super-admin: #7551a3;
  --super-admin-surface: #f2edf9;
  --super-admin-line: #d8c8ec;
  --pixel-font: "Press Start 2P", "Silkscreen", "Minecraftia", "Courier New",
    ui-monospace, monospace;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7cc7cb;
    --on-brand: #07100f;
    --accent: #f0b35a;
    --ink: #eef6f4;
    --muted: #a9b8b5;
    --line: #33413f;
    --surface: #121a19;
    --surface-soft: #182321;
    --background: #0b1110;
    --field-background: #0e1514;
    --danger-surface: #351714;
    --danger-ink: #ffb6ad;
    --success-surface: #10281a;
    --success-ink: #9fe3ad;
    --success-line: #315f3c;
    --notice-surface: #102232;
    --notice-ink: #b8d8ef;
    --notice-line: #284158;
    --shadow-ink: rgb(0 0 0 / 0.45);
    --super-admin: #d0b6ff;
    --super-admin-surface: #241b31;
    --super-admin-line: #5a4772;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgb(23 32 31 / 0.045) 1px, transparent 1px),
    linear-gradient(rgb(23 32 31 / 0.045) 1px, transparent 1px),
    var(--background);
  background-size: 28px 28px;
  color: var(--ink);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  line-height: 1.45;
}

body > main {
  flex: 1 0 auto;
}

.site-chrome {
  --site-chrome-link-size: clamp(1rem, 1.7vw, 1.2rem);
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.site-chrome-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: auto;
}

.site-chrome-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 2px 0;
  color: var(--ink);
  font-size: var(--site-chrome-link-size);
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
  pointer-events: auto;
}

.site-chrome-logo-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.site-chrome-home:hover {
  color: var(--brand);
}

.site-chrome-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 34px);
  pointer-events: auto;
}

.site-chrome-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: var(--site-chrome-link-size);
  font-weight: 850;
  text-decoration: none;
}

.site-chrome-discord,
.site-chrome-menu-discord,
.discord-community-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-chrome-nav a:hover {
  color: var(--ink);
}

.discord-icon {
  width: 1.15em;
  height: 1.15em;
  max-width: 1.15em;
  max-height: 1.15em;
  flex: 0 0 auto;
  fill: currentColor;
}

.site-chrome-account {
  position: relative;
  pointer-events: auto;
}

.site-chrome-notifications {
  position: relative;
  pointer-events: auto;
}

.site-chrome-notifications summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 10px 4px 8px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.12);
  cursor: pointer;
  list-style: none;
}

.site-chrome-notifications.has-unread summary,
.site-chrome-notifications.is-pulsing summary,
.account-toolbar__notifications.has-unread summary,
.account-toolbar__notifications.is-pulsing summary {
  border-color: color-mix(in srgb, var(--brand) 54%, var(--line));
}

.site-chrome-notifications.has-unread summary::after,
.site-chrome-notifications.is-pulsing summary::after,
.account-toolbar__notifications.has-unread summary::after,
.account-toolbar__notifications.is-pulsing summary::after {
  position: absolute;
  inset: -5px;
  border: 1px solid color-mix(in srgb, var(--brand) 72%, transparent);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  animation: notification-radar-pulse 1.9s ease-out infinite;
}

.site-chrome-notifications summary::-webkit-details-marker {
  display: none;
}

.site-chrome-notifications-bell {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.site-chrome-notifications-bell svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.site-chrome-notifications-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--danger-ink) 30%, transparent);
  background: color-mix(in srgb, var(--danger-surface) 78%, var(--surface));
  color: var(--danger-ink);
  font-size: 0.74rem;
  font-weight: 900;
}

.site-chrome-notifications-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 8px;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.18);
}

.site-chrome-notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 6px;
  border-bottom: 1px solid var(--line);
}

.site-chrome-notifications-head strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.site-chrome-notifications-head button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.site-chrome-notifications-panel ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-chrome-notifications-panel a {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.site-chrome-notifications-panel a:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.site-chrome-notifications-panel strong {
  font-size: 0.83rem;
  font-weight: 900;
}

.site-chrome-notifications-panel span {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-chrome-notification-empty {
  padding: 6px 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-chrome-account summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 4px 8px 4px 6px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.12);
  cursor: pointer;
  list-style: none;
}

.site-chrome-account summary::-webkit-details-marker {
  display: none;
}

.site-chrome-account-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--accent) 92%, white));
  color: var(--on-brand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-chrome-account--super-admin .site-chrome-account-avatar {
  background: linear-gradient(135deg, var(--super-admin), color-mix(in srgb, var(--super-admin) 62%, white));
}

.site-chrome-account-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.site-chrome-account-copy strong {
  overflow: hidden;
  max-width: 220px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-chrome-account-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-chrome-account-caret {
  padding-right: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-chrome-account nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.18);
}

.site-chrome-account-head {
  display: grid;
  gap: 2px;
  padding: 6px 8px 8px;
  border-bottom: 1px solid var(--line);
}

.site-chrome-account-head strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
}

.site-chrome-account-head span {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.site-chrome-account nav a,
.site-chrome-account nav button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 36px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-chrome-account nav a:hover,
.site-chrome-account nav button:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.site-chrome-account nav .site-chrome-account-super-admin-link {
  border: 1px solid var(--super-admin-line);
  background: var(--super-admin-surface);
  color: var(--super-admin);
}

.site-chrome-account nav .site-chrome-account-super-admin-link:hover {
  background: color-mix(in srgb, var(--super-admin-surface) 70%, white);
  color: var(--super-admin);
}

.site-chrome-account form {
  margin: 4px 0 0;
}

.site-chrome-menu {
  position: relative;
  display: none;
  pointer-events: auto;
}

.site-chrome-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.16);
  cursor: pointer;
  list-style: none;
  backdrop-filter: blur(14px);
}

.site-chrome-menu summary::-webkit-details-marker {
  display: none;
}

.site-chrome-menu summary span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--on-brand);
}

.site-chrome-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.18);
}

.site-chrome-menu nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-chrome-menu nav a:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.account-toolbar {
  position: fixed;
  z-index: 19;
  bottom: 10px;
  left: 50%;
  display: flex;
  box-sizing: border-box;
  gap: 6px;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 0 auto;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.account-toolbar__open,
.account-toolbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.account-toolbar__open span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.account-toolbar--super-admin {
  border-color: color-mix(in srgb, var(--super-admin-line) 84%, transparent);
}

.account-toolbar__chip--super-admin {
  border-color: var(--super-admin-line);
  background: var(--super-admin-surface);
  color: var(--super-admin);
}

.account-toolbar__identity,
.account-toolbar__scope {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-toolbar__identity strong,
.account-toolbar__identity span,
.account-toolbar__scope strong,
.account-toolbar__scope span {
  overflow-wrap: anywhere;
}

.account-toolbar__label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.account-toolbar__scope ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.account-toolbar__company {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.account-toolbar__scope li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.account-toolbar__preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  min-width: 0;
  margin-top: 18px;
}

.account-toolbar__preview label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-toolbar__preview select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-background);
  color: var(--ink);
}

.account-toolbar__preview button {
  min-height: 38px;
  padding: 0 12px;
}

.account-toolbar__notifications {
  position: relative;
  justify-self: center;
}

.account-toolbar__notifications summary {
  position: relative;
  display: inline-grid;
  grid-template-columns: 18px auto;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

@keyframes notification-radar-pulse {
  0% {
    opacity: 0.82;
    transform: scale(0.94);
  }

  70% {
    opacity: 0;
    transform: scale(1.22);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.notification-toast-bus {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}

.notification-toast {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.22);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  pointer-events: auto;
  animation: notification-toast-in 180ms ease-out;
}

.notification-toast strong {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-toast span {
  color: var(--ink);
  font-weight: 800;
}

.notification-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

@keyframes notification-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-toolbar__notifications summary::-webkit-details-marker {
  display: none;
}

.account-toolbar__bell svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-toolbar__notification-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--danger-ink) 30%, transparent);
  background: color-mix(in srgb, var(--danger-surface) 78%, var(--surface-soft));
  color: var(--danger-ink);
  font-size: 0.74rem;
  font-weight: 900;
}

.account-toolbar__notification-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 10px;
  width: min(340px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.22);
}

.account-dialog {
  width: min(760px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
}

.account-dialog::backdrop {
  background: rgb(0 0 0 / 0.48);
  backdrop-filter: blur(5px);
}

.account-dialog__panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.28);
}

.account-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-dialog__head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.account-dialog__head button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--brand);
}

.account-dialog__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.account-toolbar__notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-toolbar__notification-head button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.account-toolbar__notification-panel ul {
  display: grid;
  gap: 6px;
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.account-toolbar__notification-panel li {
  margin: 0;
}

.account-toolbar__notification-panel a {
  display: grid;
  gap: 2px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.account-toolbar__notification-panel a span,
.account-toolbar__notification-empty {
  color: var(--muted);
  font-size: 0.86rem;
}

.has-account-toolbar .site-footer {
  margin-bottom: calc(112px + env(safe-area-inset-bottom));
}

.has-account-toolbar .account-shell,
.has-account-toolbar .admin-shell,
.has-account-toolbar .super-admin-shell__content .admin-shell {
  padding-bottom: calc(180px + env(safe-area-inset-bottom));
}

a {
  color: var(--brand);
}

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

button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(0.95);
}

input,
select,
textarea {
  background: var(--field-background);
  color: var(--ink);
}

.narrow {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
}

.home-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 18px;
}

.home-wordmark {
  color: var(--ink);
  font-family: var(--pixel-font);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  text-shadow: 2px 2px 0 rgb(240 179 90 / 0.45);
}

.home-nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.home-nav nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.home-hero {
  display: grid;
  gap: 24px;
  padding: clamp(30px, 7vw, 72px) 0 34px;
  border-bottom: 6px solid var(--accent);
}

.hero-title-block {
  display: grid;
  gap: 14px;
}

.home-hero h1,
.home-split-panel h2,
.home-section h2 {
  font-family: var(--pixel-font);
  font-weight: 900;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.72rem, 6vw, 4.5rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow:
    3px 3px 0 rgb(240 179 90 / 0.7),
    6px 6px 0 rgb(27 94 99 / 0.12);
}

.home-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.home-split-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 3px solid var(--ink);
  border-radius: 4px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface) 72%, transparent)),
    repeating-linear-gradient(
      45deg,
      rgb(27 94 99 / 0.08) 0,
      rgb(27 94 99 / 0.08) 8px,
      transparent 8px,
      transparent 16px
    );
  box-shadow: 8px 8px 0 var(--shadow-ink);
}

.trade-panel {
  --panel-accent: #e1a84b;
  border-color: #28443f;
}

.customer-panel {
  --panel-accent: #76a9d8;
  border-color: #2a526f;
}

.home-split-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-split-panel p {
  margin: 0;
  color: var(--muted);
}

.home-split-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-split-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 720;
}

.home-split-panel li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--panel-accent);
  box-shadow: 2px 2px 0 rgb(23 32 31 / 0.16);
  content: "";
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.home-split-panel .feature-list li {
  position: static;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding-left: 0;
  color: var(--ink);
  font-weight: 740;
}

.home-split-panel .feature-list li::before {
  content: none;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  color: color-mix(in srgb, var(--brand) 82%, var(--ink));
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-kicker {
  justify-self: start;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  background: var(--panel-accent);
  color: var(--ink) !important;
  font-family: var(--pixel-font);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
}

.button-link.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
}

.home-section {
  display: grid;
  gap: 18px;
  padding: 36px 0 0;
}

.home-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.35rem, 3.3vw, 2.45rem);
  line-height: 1.12;
}

.pricing-page__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.pricing-page .pricing-panel {
  --panel-accent: var(--accent);
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 2.5vw, 24px);
  border: 2px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 6px 6px 0 rgb(23 32 31 / 0.08);
}

.pricing-page .pricing-panel h2,
.pricing-page .pricing-panel p {
  margin: 0;
}

.pricing-page .pricing-panel .feature-list {
  margin-top: 2px;
}

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

.home-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transform: translateY(0) scale(1);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  will-change: transform;
}

.home-card:hover,
.home-card:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 6px 8px 0 rgb(23 32 31 / 0.12);
  transform: translateY(-2px) scale(1.01);
}

.home-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 3px;
}

.trade-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.trade-icon {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
}

.trade-icon svg {
  display: block;
  width: 56px;
  height: 56px;
}

.home-card strong {
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.home-card span {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 850;
}

.home-card p,
.home-points p {
  margin: 0;
  color: var(--muted);
}

.home-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.home-card-actions .button-link {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.muted-card span {
  background: var(--surface-soft);
  color: var(--muted);
}

.live-card {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.live-card span {
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
  color: var(--brand);
}

.fit-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
}

.home-points {
  display: grid;
  gap: 10px;
}

.home-points p {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.promise-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
}

.promise-panel {
  padding: 18px;
  border: 2px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-left: 6px solid var(--accent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}

.promise-panel p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.promise-panel p + p {
  margin-top: 10px;
}

.trade-landing {
  --trade-page-accent: var(--accent);
}

.trade-landing-painting {
  --trade-page-accent: #f0b35a;
}

.trade-landing-electrical {
  --trade-page-accent: #f3c74b;
}

.trade-landing-asbestos {
  --trade-page-accent: #d9b84d;
}

.trade-landing-plastering {
  --trade-page-accent: #d6c39b;
}

.trade-landing-plumbing {
  --trade-page-accent: #79b8d8;
}

.trade-landing-garden-outdoor,
.trade-landing-gardening,
.trade-landing-landscaping {
  --trade-page-accent: #86b96a;
}

.trade-landing-patio-paving {
  --trade-page-accent: #d6c39b;
}

.trade-landing-fencing {
  --trade-page-accent: #d9a66a;
}

.trade-landing-drainage {
  --trade-page-accent: #7fb7c9;
}

.trade-landing-windows {
  --trade-page-accent: #b7dff5;
}

.trade-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(30px, 7vw, 74px) 0 36px;
  border-bottom: 6px solid var(--trade-page-accent);
}

.trade-landing-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--pixel-font);
  font-size: clamp(1.64rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow:
    3px 3px 0 rgb(240 179 90 / 0.6),
    6px 6px 0 rgb(27 94 99 / 0.12);
  text-wrap: balance;
}

.trade-landing-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.trade-landing-hero .home-actions {
  margin-top: 18px;
}

.trade-landing-icon {
  display: grid;
  place-items: center;
  min-height: 180px;
}

.trade-landing-icon svg {
  width: min(170px, 72%);
  height: auto;
}

.trade-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
}

.trade-landing-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.trade-landing-card .panel-kicker {
  background: var(--trade-page-accent);
}

.trade-landing-card h2 {
  margin: 0;
  font-family: var(--pixel-font);
  font-size: clamp(1.22rem, 2.3vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.trade-landing-card p {
  margin: 0;
  color: var(--muted);
}

.trade-branch-groups {
  display: grid;
  gap: 24px;
}

.trade-branch-group {
  display: grid;
  gap: 14px;
}

.trade-branch-group__header {
  display: grid;
  gap: 4px;
}

.trade-branch-group__header h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.trade-branch-group__header p {
  margin: 0;
  color: var(--muted);
}

.trade-capture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trade-capture-grid p {
  min-height: 118px;
  margin: 0;
  padding: 16px;
  border: 2px solid var(--line);
  border-left: 8px solid var(--trade-page-accent);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 760;
}

.flyer-shell {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.flyer-sheet {
  display: grid;
  gap: 22px;
  min-height: 1120px;
  padding: clamp(24px, 4vw, 42px);
  border: 3px solid var(--ink);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgb(23 32 31 / 0.05) 1px, transparent 1px),
    linear-gradient(rgb(23 32 31 / 0.05) 1px, transparent 1px),
    var(--surface);
  background-size: 24px 24px;
  box-shadow: 10px 10px 0 var(--shadow-ink);
}

.flyer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 6px solid #f3c74b;
}

.flyer-hero h1,
.flyer-copy h2 {
  margin: 0;
  font-family: var(--pixel-font);
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.flyer-hero h1 {
  font-size: clamp(1.55rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  text-shadow: 3px 3px 0 rgb(243 199 75 / 0.65);
}

.flyer-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.flyer-icon svg {
  width: 150px;
  height: 150px;
  filter: drop-shadow(7px 7px 0 rgb(23 32 31 / 0.14));
}

.flyer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 22px;
  align-items: start;
}

.flyer-copy {
  display: grid;
  gap: 16px;
}

.flyer-copy h2 {
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.flyer-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  font-size: 1.12rem;
  font-weight: 760;
}

.flyer-for-trade {
  margin: 4px 0 0;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}

.flyer-qr-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: var(--surface);
  text-align: center;
}

.flyer-link-box {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgb(23 32 31 / 0.08) 1px, transparent 1px),
    linear-gradient(rgb(23 32 31 / 0.08) 1px, transparent 1px),
    color-mix(in srgb, var(--accent) 22%, var(--surface));
  background-size: 18px 18px;
  color: var(--ink);
  font-family: var(--pixel-font);
  font-size: 1.25rem;
  text-shadow: 2px 2px 0 rgb(243 199 75 / 0.75);
}

.flyer-qr-panel p,
.flyer-qr-panel strong,
.flyer-qr-panel small {
  margin: 0;
}

.flyer-qr-panel strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.flyer-qr-panel small {
  color: var(--muted);
  font-weight: 760;
}

.page-support {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 34px 0 0;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 28px;
  padding: 24px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px 28px;
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.site-footer__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
}

.site-footer__home:hover {
  color: var(--brand);
}

.site-footer__logo-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.site-footer__address {
  display: grid;
  gap: 4px;
  max-width: 38ch;
  margin: 0;
  font-style: normal;
}

.site-footer__address span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer__address strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 760;
}

.site-footer__groups {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.site-footer__utility,
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer__utility a,
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.06);
}

.site-footer__maker strong {
  font-weight: 900;
}

.site-footer__maker-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
  color: var(--ink);
  font-family: var(--pixel-font);
  font-size: 0.56rem;
  line-height: 1;
  box-shadow: 3px 3px 0 rgb(23 32 31 / 0.14);
}

.site-footer__maker-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer__utility a:hover,
.site-footer__social-link:hover {
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  color: var(--brand);
}

.site-footer__social-link--x {
  color: #0f1419;
}

.site-footer__social-link--x:hover {
  border-color: color-mix(in srgb, #0f1419 32%, var(--line));
  color: #0f1419;
}

.site-footer__social-link--youtube {
  color: #cc0000;
}

.site-footer__social-link--youtube:hover {
  border-color: color-mix(in srgb, #cc0000 34%, var(--line));
  color: #b50000;
}

.site-footer__social-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: currentColor;
}

.bug-report-card {
  width: min(760px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, white);
  box-shadow: 0 14px 30px rgb(23 32 31 / 0.08);
}

.bug-report-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.bug-report-card summary::-webkit-details-marker {
  display: none;
}

.bug-report-card__label {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.bug-report-card summary small {
  color: var(--muted);
  font-weight: 700;
}

.bug-report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bug-report-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 760;
}

.bug-report-status--success {
  padding-left: 36px;
  border: 1px solid color-mix(in srgb, var(--brand) 36%, var(--line));
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  color: var(--ink);
}

.bug-report-status--success::before,
.bug-report-status--success::after {
  position: absolute;
  top: 50%;
  left: 14px;
  border-radius: 999px;
  content: "";
}

.bug-report-status--success::before {
  width: 14px;
  height: 14px;
  border: 2px solid color-mix(in srgb, var(--brand) 70%, var(--ink));
  transform: translateY(-50%);
  animation: bug-report-radar-pulse 1.6s ease-out 2;
}

.bug-report-status--success::after {
  width: 6px;
  height: 6px;
  background: var(--brand);
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 58%, transparent);
  transform: translate(6px, -50%);
}

.bug-report-status--warning {
  border: 1px solid color-mix(in srgb, #f2b84b 34%, var(--line));
  background: color-mix(in srgb, #f2b84b 14%, var(--surface));
  color: var(--ink);
}

.bug-report-status a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bug-report-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.bug-report-form label {
  display: grid;
  gap: 6px;
}

.bug-report-form span {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
}

.bug-report-form textarea,
.bug-report-form input {
  width: 100%;
}

.bug-report-form textarea {
  min-height: 118px;
  resize: vertical;
}

.bug-report-submit {
  min-width: 168px;
  border-color: var(--ink);
}

@keyframes bug-report-radar-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 42%, transparent);
  }

  72% {
    box-shadow: 0 0 0 12px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bug-report-status--success::before {
    animation: none;
  }
}

.legal-page {
  width: min(900px, calc(100% - 28px));
  margin: 34px auto 56px;
}

.legal-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 14px 30px rgb(23 32 31 / 0.08);
}

.legal-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.legal-lead {
  max-width: 72ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.terms-panel {
  padding: clamp(18px, 3vw, 34px) 0 0;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.terms-panel h1 {
  max-width: 11ch;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.96;
  text-wrap: balance;
}

.terms-panel .legal-lead {
  max-width: 64ch;
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.terms-panel .legal-copy {
  display: grid;
  max-width: 64ch;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.66;
  text-wrap: pretty;
}

.terms-panel .legal-copy .signup-terms-copy {
  display: grid;
}

.terms-panel .legal-copy p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.terms-panel .legal-copy p:first-child {
  padding-top: 0;
  border-top: 0;
}

.terms-panel .legal-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.32;
}

.terms-panel .legal-copy a {
  color: var(--brand);
  font-weight: 800;
  text-underline-offset: 3px;
}

.terms-panel .legal-meta {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .legal-page {
    width: min(100% - 20px, 900px);
    margin-top: 22px;
  }

  .terms-panel h1 {
    max-width: 100%;
  }

  .terms-panel .legal-copy {
    font-size: 0.96rem;
    line-height: 1.62;
  }
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

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

.contact-form label span {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 780;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-background);
  color: var(--ink);
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 10px 12px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

.legal-panel .error-summary,
.legal-panel .auth-error,
.legal-panel .success-message {
  max-width: 680px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 780;
}

.legal-panel .error-summary,
.legal-panel .auth-error {
  background: var(--danger-surface);
  color: var(--danger-ink);
}

.legal-panel .success-message {
  border: 1px solid var(--success-line);
  background: var(--success-surface);
  color: var(--success-ink);
}

.legal-panel .error-summary h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.legal-panel .error-summary ul {
  margin: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgb(23 32 31 / 0.16);
}

button.button-link {
  justify-content: center;
  border: 2px solid var(--ink);
}

.local-draft-message {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--notice-line);
  border-radius: 6px;
  background: var(--notice-surface);
  color: var(--notice-ink);
  font-size: 0.94rem;
  font-weight: 750;
}

@media (prefers-color-scheme: dark) {
  .home-split-panel {
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface-soft) 80%, transparent)),
      repeating-linear-gradient(
        45deg,
        rgb(124 199 203 / 0.1) 0,
        rgb(124 199 203 / 0.1) 8px,
        transparent 8px,
        transparent 16px
      );
  }

  .home-card span,
  .segmented input:checked + span {
    background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  }

  .site-footer__utility a,
  .site-footer__social-link {
    background: color-mix(in srgb, var(--surface) 84%, transparent);
  }

  .site-footer__social-link--x {
    color: #eef2f5;
  }

  .site-footer__social-link--x:hover {
    color: #eef2f5;
  }

  .site-footer__social-link--youtube {
    color: #ff7676;
  }

  .site-footer__social-link--youtube:hover {
    color: #ff7f7f;
  }
}

@media (max-width: 860px) {
  .site-chrome {
    width: calc(100% - 32px);
  }

  .site-chrome-nav {
    display: none;
  }

  .site-chrome-actions {
    gap: 8px;
  }

  .site-chrome-account summary {
    width: 46px;
    justify-content: center;
    padding: 4px;
  }

  .site-chrome-notifications summary {
    min-width: 66px;
    justify-content: center;
    padding: 4px 8px;
  }

  .site-chrome-account-copy,
  .site-chrome-account-caret {
    display: none;
  }

  .site-chrome-notifications-panel {
    min-width: min(320px, calc(100vw - 32px));
  }

  .site-chrome-account nav {
    min-width: min(280px, calc(100vw - 32px));
  }

  .site-chrome-menu {
    display: block;
  }

  .account-toolbar {
    left: 10px;
    right: 10px;
    justify-content: flex-start;
    width: auto;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 999px;
    transform: none;
  }

  .account-toolbar__preview {
    grid-template-columns: 1fr;
  }

  .account-dialog__grid {
    grid-template-columns: 1fr;
  }

  .home-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-split,
  .home-card-grid,
  .fit-section,
  .pricing-page__plans,
  .trade-landing-hero,
  .trade-landing-grid,
  .trade-capture-grid,
  .flyer-hero,
  .flyer-grid {
    grid-template-columns: 1fr;
  }

  .promise-section {
    grid-template-columns: 1fr;
  }

  .trade-landing-icon {
    min-height: 180px;
  }

  .flyer-sheet {
    min-height: auto;
  }

  .site-footer {
    width: calc(100% - 32px);
    margin-top: 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__groups {
    justify-items: start;
  }

  .site-footer__utility,
  .site-footer__social {
    justify-content: flex-start;
  }
}

@media print {
  html {
    background: #fff;
  }

  body {
    background: #fff;
  }

  .flyer-shell {
    width: 100%;
    padding: 0;
  }

  .flyer-nav {
    display: none;
  }

  .site-chrome {
    display: none;
  }

  .site-footer,
  .page-support {
    display: none;
  }

  .flyer-sheet {
    min-height: auto;
    border: 0;
    box-shadow: none;
  }
}
