@font-face {
  font-family: "InterVariable";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "InterVariable";
  src: url("/assets/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #343434;
  --bg-deep: #242424;
  --bg-soft: #3d3d3d;
  --surface: #2b2b2b;
  --surface-2: #404040;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.34);
  --accent: #ffc907;
  --accent-hover: #e9b900;
  --accent-soft: rgba(255, 201, 7, 0.12);
  --danger: #ff6b5f;
  --ok: #55d17a;
  --google: #ffffff;
  --discord: #5865f2;
  --font: "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 6px;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: rgba(255, 201, 7, 0.32);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 54px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(28, 28, 28, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.brand.small {
  min-width: 0;
  font-size: 12px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: inline-block;
  overflow: hidden;
  background: url("/assets/samply-icon.png") center / cover no-repeat;
  flex: 0 0 auto;
}

.brand-mark span {
  display: none;
}

.brand.small .brand-mark {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 36px;
}

.site-nav a,
.nav-link-lite {
  padding: 7px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 120ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-link-lite:hover {
  color: var(--text);
}

.mobile-nav-toggle {
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  color: var(--text);
  outline: 0;
}

.mobile-nav-toggle span,
.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
  content: "";
  width: 18px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: none;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: min(300px, calc(100vw - 64px));
  height: 100vh;
  display: none;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(35, 35, 35, 0.98);
  transform: translateX(-100%);
  transition: transform 170ms ease;
}

.mobile-nav-drawer nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.mobile-nav-drawer a {
  padding: 10px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 120ms ease;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  color: var(--text);
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}

.site-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-login-link {
  padding: 7px 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, opacity 120ms ease;
}

.btn-lg {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 14px;
}

.btn-accent {
  background: var(--accent);
  color: #221900;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-muted {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-muted:hover {
  background: rgba(255, 255, 255, 0.11);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.avatar-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: var(--accent);
  color: #211800;
  font-weight: 700;
}

.avatar-button:hover {
  background: var(--accent-hover);
}

.account-menu-wrap {
  position: relative;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 232px;
  display: none;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #242424;
  z-index: 50;
}

.account-menu.open {
  display: block;
}

.account-menu-head {
  padding: 9px 10px 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}

.account-menu-head strong,
.account-menu-head span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-head strong {
  font-size: 13px;
}

.account-menu-head span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 2px;
}

.account-menu a,
.account-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  text-decoration: none;
  font-size: 13px;
}

.account-menu a:hover,
.account-menu button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.account-menu button.account-menu-logout {
  color: var(--danger);
}

.account-menu button.account-menu-logout:hover {
  background: rgba(255, 107, 95, 0.12);
  color: #ff8a80;
}

.hero-section {
  max-width: none;
  margin: 0;
  padding: 74px 0 72px;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 50%;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 201, 7, 0.055) 0%, transparent 63%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 201, 7, 0.18);
  border-radius: 3px;
  background: var(--accent-soft);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 250;
  letter-spacing: 0;
}

.hero-copy h1 strong {
  color: #fff;
  font-weight: 600;
}

.hero-lede {
  max-width: 540px;
  margin: 18px 0 26px;
  margin-left: auto;
  margin-right: auto;
  color: rgb(255 255 255 / 86%);
  font-size: 17px;
  font-weight: 400;
}

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

.hero-note {
  margin: 13px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11.5px;
}

.hero-copy.is-launch-mode {
  max-width: 880px;
}

.launch-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.launch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, max-content));
  justify-content: center;
  gap: 2px;
  max-width: 460px;
  margin: 0 auto 22px;
}

.launch-countdown span {
  min-width: 0;
  padding: 8px 6px 10px;
}

.launch-countdown strong {
  display: block;
  color: #fff;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
}

.launch-countdown em {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.launch-copy {
  margin-bottom: 10px;
}

.launch-platform-copy {
  max-width: 710px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

.launch-actions {
  min-height: 48px;
}

.launch-waitlist {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.launch-waitlist-form {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: 1fr 42px 42px;
  gap: 6px;
  animation: waitlistExpand 160ms ease both;
}

.launch-waitlist-form[hidden] {
  display: none;
}

.launch-waitlist-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 201, 7, 0.38);
  border-radius: 4px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.launch-waitlist-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.launch-icon-btn {
  height: 42px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.launch-confirm {
  background: var(--accent);
  color: #221900;
}

.launch-waitlist-status {
  max-width: 430px;
  min-height: 18px;
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.launch-waitlist-status.is-error {
  color: var(--danger);
}

.launch-waitlist-status.is-success {
  color: var(--ok);
}

@keyframes waitlistExpand {
  from {
    opacity: 0;
    transform: scaleX(0.82);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.product-stage {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 58px auto 0;
  padding: 0 32px;
  min-width: 0;
}

.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.stats-strip,
.split-section {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stats-strip div {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.stats-strip span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 58px 34px;
  border-top: 0;
}

.split-section h2 {
  max-width: 430px;
  font-size: 34px;
  font-weight: 600;
}

.split-copy {
  color: var(--muted);
  font-size: 17px;
}

.split-copy p {
  margin: 0;
}

.problem-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 34px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-copy h2 {
  max-width: 430px;
  font-size: 32px;
  font-weight: 500;
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.problem-list span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 14px;
}

.content-section,
.workflow-section,
.page-shell,
.dashboard-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 34px;
}

.section-heading {
  max-width: 650px;
}

.section-heading h2,
.page-heading h1,
.dashboard-head h1,
.auth-visual h1 {
  font-size: 42px;
  font-weight: 500;
}

.section-heading p:not(.section-kicker),
.page-heading p,
.dashboard-head p,
.auth-visual p {
  color: var(--muted);
  font-size: 16px;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid article {
  min-height: 205px;
  padding: 28px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.feature-grid h3 {
  font-size: 17px;
  font-weight: 600;
}

.feature-grid p {
  color: var(--muted);
  font-size: 13px;
}

.feature-showcase {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 34px 92px;
  border-top: 1px solid var(--line);
}

.showcase-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.showcase-head h2 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 500;
  line-height: 1.04;
}

.showcase-head p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.feature-story.flip .feature-story-copy {
  order: 2;
}

.feature-story-copy span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.feature-story-copy h3 {
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.08;
}

.feature-story-copy p {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-story-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-story-copy li {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.feature-story-media {
  margin: 0;
  min-width: 0;
}

.feature-story-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal-shell {
  max-width: 880px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 72px 34px;
}

.legal-heading {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
}

.legal-heading p:not(.section-kicker) {
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 22px;
  padding-top: 34px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 600;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.admin-shell {
  max-width: 1160px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 72px 34px;
}

.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
}

.admin-head p:not(.section-kicker) {
  color: var(--muted);
}

.admin-locked,
.admin-password-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-password-panel {
  max-width: 620px;
}

.admin-password-panel .admin-options-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-locked p {
  color: var(--muted);
}

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

.admin-entry-card {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: var(--text);
  text-align: left;
}

.admin-entry-card:hover {
  border-color: rgba(255, 202, 15, 0.42);
  background: linear-gradient(145deg, rgba(255, 202, 15, 0.12), rgba(255, 255, 255, 0.035));
}

.admin-entry-card span {
  width: fit-content;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255, 202, 15, 0.13);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-entry-card strong {
  font-size: 28px;
  font-weight: 650;
}

.admin-entry-card em {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.5;
}

.admin-view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-back-btn {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

.admin-options-panel {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-options-panel h2 {
  font-size: 30px;
  font-weight: 650;
}

.admin-options-panel h2 span {
  color: var(--accent);
}

#admin-launch-state.is-locked {
  color: var(--danger);
}

#admin-launch-state.is-unlocked {
  color: var(--ok);
}

.admin-option-copy {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-version-form {
  width: min(100%, 560px);
  display: grid;
  gap: 13px;
}

.admin-version-form label {
  display: grid;
  gap: 7px;
}

.admin-version-form .admin-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-version-form .admin-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.admin-version-form .admin-checkbox-label span {
  color: var(--muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

.admin-release-files {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-release-availability {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-release-availability-title {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-version-form label span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-version-form input,
.admin-version-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
}

.admin-version-form input {
  height: 50px;
  padding: 0 13px;
}

.admin-version-form input[type="file"] {
  height: auto;
  min-height: 50px;
  padding: 13px;
}

.admin-version-form textarea {
  min-height: 124px;
  padding: 13px;
  resize: vertical;
  line-height: 1.55;
}

.admin-version-form input:focus,
.admin-version-form textarea:focus {
  border-color: rgba(255, 202, 15, 0.72);
  outline: none;
}

.admin-version-form .admin-checkbox-label input {
  width: 16px;
  height: 16px;
  padding: 0;
  flex: 0 0 16px;
  accent-color: var(--accent);
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: var(--danger);
}

.admin-release-history {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.admin-release-history h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.admin-release-list {
  display: grid;
  gap: 10px;
}

.admin-release-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-release-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-release-top strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.admin-release-item p {
  margin: 7px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.admin-release-item ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-notice-current {
  display: grid;
  gap: 10px;
  max-width: 680px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-notice-current h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 650;
}

.admin-notice-current p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-notice-current .btn {
  width: fit-content;
  min-height: 36px;
  opacity: 1;
}

.admin-notice-current-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.admin-notice-current em,
.admin-notice-button-label {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.admin-notice-list {
  max-width: 760px;
}

.admin-notice-item {
  grid-template-columns: minmax(0, 1fr);
}

.admin-notice-message {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.admin-delete-release-btn,
.admin-delete-notice-btn {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(210, 85, 75, 0.5);
  border-radius: 5px;
  background: rgba(210, 85, 75, 0.1);
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.admin-delete-release-btn:disabled,
.admin-delete-notice-btn:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--faint);
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tabs button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.admin-tabs button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-tabs span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 14px;
  align-items: start;
}

.feedback-inbox,
.feedback-detail {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feedback-inbox {
  overflow: hidden;
}

.feedback-empty {
  padding: 22px;
  color: var(--faint);
}

.feedback-item {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.feedback-item:hover,
.feedback-item.active {
  background: rgba(255, 255, 255, 0.055);
}

.feedback-item.is-new {
  box-shadow: inset 3px 0 0 var(--accent);
}

.feedback-item.is-read {
  opacity: 0.72;
}

.feedback-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.feedback-item-top strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-item-top em {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
}

.feedback-item-meta,
.feedback-item-date {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-detail {
  padding: 24px;
}

.feedback-detail-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.feedback-detail h2 {
  font-size: 26px;
  font-weight: 600;
}

.feedback-subject {
  color: var(--muted);
}

.feedback-author {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.feedback-author span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.feedback-message {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  line-height: 1.65;
}

.feedback-meta {
  display: grid;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.feedback-meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  min-height: 36px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.feedback-meta dt {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.feedback-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.page-shell {
  min-height: calc(100vh - 58px);
}

.pricing-shell {
  max-width: 1120px;
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  padding: 76px 34px;
}

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

.pricing-hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 300;
}

.pricing-hero h1 strong {
  color: #fff;
  font-weight: 600;
}

.pricing-hero p:not(.section-kicker) {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: stretch;
}

.pricing-card,
.pricing-side-panel,
.pricing-faq article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-color: rgba(255, 201, 7, 0.26);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  background: var(--accent);
}

.pricing-card-top,
.pricing-side-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.pricing-card-top {
  align-items: start;
}

.pricing-card h2 {
  font-size: 30px;
  font-weight: 600;
}

.price-line {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 30px 0 18px;
}

.price-line strong {
  color: #fff;
  font-size: clamp(60px, 9vw, 96px);
  font-weight: 650;
  line-height: 0.88;
}

.price-line span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  padding-bottom: 7px;
}

.pricing-copy {
  max-width: 560px;
  color: var(--muted);
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  min-height: 34px;
  padding: 8px 10px 8px 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.032);
  font-size: 13px;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.pricing-buy-btn {
  width: 100%;
}

.pricing-buy-btn.is-launch-locked {
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.pricing-auth-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.pricing-auth-note a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-auth-note a:hover {
  color: var(--accent-hover);
}

.pricing-side-panel {
  display: grid;
  align-content: stretch;
  overflow: hidden;
}

.pricing-side-panel div {
  min-height: 150px;
  flex-direction: column;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.pricing-side-panel div:last-child {
  border-bottom: 0;
}

.pricing-side-panel span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.pricing-side-panel strong {
  display: block;
  font-size: 16px;
}

.pricing-side-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-faq {
  margin-top: 70px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.pricing-redesign {
  max-width: 1040px;
}

.pricing-grid-v2 {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 42px;
}

.pricing-card-old {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 32px 28px;
  transition: border-color 150ms ease, background 150ms ease;
}

.pricing-card-old:hover {
  border-color: var(--line-strong);
}

.pricing-card-old-featured {
  border-color: rgba(255, 201, 7, 0.22);
  background: rgba(28, 24, 8, 0.7);
}

.pricing-card-old-featured:hover {
  border-color: rgba(255, 201, 7, 0.38);
}

.pricing-card-free {
  opacity: 0.88;
}

.pricing-badge {
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--accent);
  color: #1a1200;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-name {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.pricing-desc {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 5px;
}

.pricing-currency {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 300;
}

.pricing-amount {
  color: #fff;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
}

.pricing-note {
  margin-bottom: 24px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.pricing-divider {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

.pricing-features-old {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-features-old li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-features-old .chk {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}

.pricing-card-old .form-submit {
  width: 100%;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.pricing-faq article {
  min-height: 170px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: var(--bg);
}

.pricing-faq h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 600;
}

.pricing-faq p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.success-shell {
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  padding: 76px 34px;
  overflow: hidden;
}

.success-panel {
  position: relative;
  width: min(100%, 620px);
  text-align: center;
}

.success-panel::before,
.success-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.24;
  pointer-events: none;
}

.success-panel::before {
  width: 280px;
  height: 280px;
  left: 50%;
  top: -72px;
  background: var(--accent);
  transform: translateX(-62%);
  animation: success-drift 7s ease-in-out infinite alternate;
}

.success-panel::after {
  width: 210px;
  height: 210px;
  right: 4%;
  bottom: -72px;
  background: rgba(255, 255, 255, 0.18);
  animation: success-drift 8s ease-in-out infinite alternate-reverse;
}

.success-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 201, 7, 0.3);
  border-radius: 16px;
  background: #1f1f1f;
}

.success-mark span {
  width: 30px;
  height: 17px;
  border-left: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  transform: rotate(-45deg) translate(2px, -2px);
}

.success-panel h1 {
  max-width: 620px;
  margin: 8px auto 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 500;
  line-height: 0.98;
}

.success-panel p:not(.section-kicker) {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.success-progress {
  width: min(100%, 380px);
  height: 5px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.success-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: success-progress 1.15s ease-in-out infinite alternate;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.success-countdown {
  color: var(--faint) !important;
  font-family: var(--mono);
  font-size: 12px !important;
}

@keyframes success-progress {
  from { transform: translateX(-72%); }
  to { transform: translateX(210%); }
}

@keyframes success-drift {
  from { transform: translate3d(-62%, 0, 0) scale(0.96); }
  to { transform: translate3d(-52%, 18px, 0) scale(1.04); }
}

.page-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.download-layout {
  display: grid;
  gap: 14px;
}

.download-panel,
.dash-panel,
.username-setup {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.download-panel {
  min-height: 176px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px;
}

.download-panel.primary {
  border-color: rgba(255, 201, 7, 0.22);
}

.download-panel.muted {
  opacity: 0.64;
}

.download-panel h2,
.dash-panel h2,
.username-setup h2 {
  font-size: 24px;
  font-weight: 600;
}

.download-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 7px;
}

.download-panel-top .panel-kicker {
  margin: 0;
}

.download-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.download-segmented button {
  min-width: 62px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.download-segmented button.active {
  background: rgba(255, 201, 7, 0.18);
  color: var(--accent);
}

.download-panel p:not(.panel-kicker),
.dash-panel p,
.username-setup p {
  color: var(--muted);
}

.download-version {
  width: fit-content;
  margin: 16px 0 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--faint);
  font-size: 13px;
}

.download-version strong {
  color: var(--text);
  font-weight: 600;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: auto;
}

.download-os-icon,
.os-symbol {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.download-os-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.download-os-icon .apple-download-icon {
  width: 31px;
  height: 31px;
  transform: translate(-1px, 1px);
}

.patch-notes-shell {
  max-width: 980px;
}

.patch-notes-list {
  display: grid;
  gap: 14px;
}

.patch-note-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.patch-note-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 201, 7, 0));
}

.patch-note-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
}

.patch-note-meta span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.patch-note-body h2 {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

.patch-note-body h2::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 201, 7, 0.35);
  vertical-align: 0.12em;
}

.patch-note-body p {
  max-width: 640px;
  margin: 10px 0 16px;
  color: var(--muted);
}

.patch-note-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.patch-note-body li + li {
  margin-top: 7px;
}

.patch-note-body li::marker {
  color: var(--accent);
}

.os-symbol.apple::before {
  content: "";
  position: absolute;
  inset: 11px 13px 9px;
  border-radius: 45% 45% 50% 50%;
  background: rgba(255, 255, 255, 0.72);
}

.os-symbol.apple::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 27px;
  width: 9px;
  height: 14px;
  border-radius: 10px 0 10px 0;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(26deg);
}

.os-symbol.windows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 10px;
}

.os-symbol.windows::before,
.os-symbol.windows::after {
  content: "";
  display: block;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 15px 0 0 rgba(255, 255, 255, 0.5), 0 15px 0 rgba(255, 255, 255, 0.5), 15px 15px 0 rgba(255, 255, 255, 0.5);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 11px;
}

.status-pill-ok {
  border-color: rgba(85, 209, 122, 0.28);
  color: var(--ok);
  background: rgba(85, 209, 122, 0.1);
}

.status-pill-no {
  border-color: rgba(255, 107, 95, 0.28);
  color: var(--danger);
  background: rgba(255, 107, 95, 0.1);
}

.release-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.release-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.release-strip div:last-child {
  border-right: 0;
}

.release-strip strong,
.release-strip span {
  display: block;
}

.release-strip strong {
  font-size: 13px;
}

.release-strip span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 330px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #202020;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-shell,
.auth-shell.signup {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: minmax(0, 480px);
  align-content: start;
  justify-content: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  padding: 58px 18px 72px;
}

.auth-visual {
  max-width: 480px;
  text-align: center;
}

.auth-visual h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 46px);
}

.auth-visual p:not(.section-kicker) {
  max-width: 430px;
  margin: 0 auto;
}

.auth-form-zone {
  width: 100%;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.auth-switch {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 28px;
}

.auth-switch a {
  position: relative;
  height: 28px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 110ms ease;
}

.auth-switch a:hover,
.auth-switch a:focus-visible {
  color: rgba(255, 255, 255, 0.72);
  outline: 0;
}

.auth-switch a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 120ms ease, transform 120ms ease;
}

.auth-switch a.active {
  color: #fff;
}

.auth-switch a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.social-grid {
  display: grid;
  gap: 10px;
}

.social-btn {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

.oauth-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.social-btn.google {
  background: var(--google);
  color: #202124;
}

.social-btn.discord {
  background: var(--discord);
  color: #fff;
}

.google-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
  position: relative;
}

.google-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.discord-mark {
  width: 20px;
  height: 14px;
  border-radius: 8px 8px 5px 5px;
  background: #fff;
  position: relative;
}

.discord-mark::before,
.discord-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--discord);
}

.discord-mark::before { left: 5px; }
.discord-mark::after { right: 5px; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.account-form {
  display: grid;
  gap: 13px;
}

.account-form.tight {
  gap: 11px;
}

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

.account-form label span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.account-form input,
.inline-form input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: 0;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.25;
}

.account-form input:focus,
.inline-form input:focus {
  border-color: rgba(255, 201, 7, 0.42);
}

.account-form input::placeholder,
.inline-form input::placeholder {
  color: var(--faint);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--faint);
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: 0;
}

.password-toggle svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--ok);
}

.dashboard-shell {
  min-height: calc(100vh - 58px);
  max-width: 1080px;
}

.dashboard-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  grid-template-areas:
    "licence account"
    "machines machines";
  gap: 14px;
}

.dash-panel,
.username-setup {
  padding: 24px;
}

.licence-panel {
  grid-area: licence;
}

.account-panel {
  grid-area: account;
}

.machines-panel {
  grid-area: machines;
}

.account-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.avatar-large {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #211800;
  font-size: 22px;
  font-weight: 700;
}

.account-line h2 {
  margin-bottom: 4px;
}

.account-line p {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.account-edit-list {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--line);
}

.account-edit-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.035);
}

.account-edit-row.static {
  grid-template-columns: 92px minmax(0, 1fr);
}

.account-edit-row span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.account-edit-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-inline-input {
  min-width: 0;
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 201, 7, 0.38);
  border-radius: 4px;
  outline: 0;
  background: rgba(0, 0, 0, 0.16);
  color: var(--text);
  font-size: 14px;
}

.inline-edit-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transform: scaleX(-1);
}

.inline-edit-btn:hover {
  background: transparent;
  color: var(--text);
}

.account-edit-row.editing .inline-edit-btn {
  background: transparent;
  color: var(--accent);
  transform: none;
}

.access-ok {
  color: var(--ok) !important;
}

.access-no {
  color: var(--danger) !important;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 13px;
}

.detail-list dd {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.account-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--line);
}

.account-summary div {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.account-summary span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.account-summary strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.licence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.licence-actions .btn {
  min-width: 150px;
}

.panel-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.panel-row .panel-kicker {
  margin-bottom: 0;
}

.machine-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.machine-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
}

.machine-card strong {
  display: block;
  margin-bottom: 3px;
}

.machine-card span {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.machine-card button {
  min-width: 76px;
}

.hint {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.username-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.account-setup-form {
  min-width: 0;
}

.inline-form {
  display: flex;
  gap: 8px;
}

.inline-form input {
  width: 220px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav-toggle,
  .mobile-nav-backdrop,
  .mobile-nav-drawer {
    display: flex;
  }

  .mobile-nav-drawer {
    display: block;
  }

  .brand {
    min-width: 0;
  }

  .hero-section,
  .auth-shell,
  .auth-shell.signup,
  .problem-band,
  .split-section,
  .dashboard-grid,
  .username-setup {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-areas:
      "licence"
      "account"
      "machines";
  }

  .hero-section,
  .content-section,
  .feature-showcase,
  .workflow-section,
  .problem-band,
  .pricing-shell,
  .success-shell,
  .page-shell,
  .dashboard-shell,
  .auth-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .section-heading h2,
  .problem-copy h2,
  .page-heading h1,
  .dashboard-head h1,
  .auth-visual h1 {
    font-size: 34px;
  }

  .feature-grid,
  .problem-list,
  .stats-strip,
  .pricing-grid-v2,
  .pricing-layout,
  .pricing-features,
  .faq-grid,
  .release-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .pricing-faq article,
  .problem-list span,
  .stats-strip div,
  .release-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child,
  .pricing-faq article:last-child,
  .problem-list span:last-child,
  .stats-strip div:last-child,
  .release-strip div:last-child {
    border-bottom: 0;
  }

  .download-panel {
    grid-template-columns: 48px 1fr;
  }

  .patch-note-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-story,
  .feature-story.flip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0;
  }

  .feature-story.flip .feature-story-copy {
    order: 0;
  }

  .download-panel .btn,
  .download-panel .status-pill {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-head,
  .admin-head,
  .admin-layout,
  .footer-main,
  .footer-links,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-form {
    width: 100%;
  }

  .admin-home {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-entry-card {
    min-height: 170px;
  }

  .admin-view-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-form input {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-actions .btn-muted:not(.keep-mobile),
  .site-actions .nav-link-lite {
    display: none;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .launch-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .launch-countdown strong {
    font-size: 40px;
  }

  .launch-countdown em {
    margin-top: 5px;
    font-size: 9px;
  }

  .launch-countdown span {
    padding: 4px 2px 6px;
  }

  .launch-kicker {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
    line-height: 1.35;
  }

  .launch-copy,
  .launch-platform-copy {
    font-size: 14px;
    line-height: 1.45;
  }

  .launch-waitlist-form {
    grid-template-columns: 1fr 40px 40px;
    width: 100%;
  }

  .btn-lg {
    width: 100%;
  }

  .auth-shell {
    padding-top: 34px;
  }
}
