/* AutoApply website — shared styles
   No build step, no external fonts or scripts. Light/dark via prefers-color-scheme. */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #f1f1f8;
  --border: #e2e2ed;
  --border-strong: #cfd0e0;
  --text: #15151c;
  --muted: #555768;
  --accent: #5b5bd6;
  --accent-hover: #4a4ac2;
  --accent-text: #4b4bc6;
  --accent-soft: #eeeefc;
  --on-accent: #ffffff;
  --success: #17794a;
  --success-soft: #e5f5ec;
  --warn: #8f5400;
  --warn-soft: #fff3df;
  --success-border: #8fcfae;
  --success-ring: rgba(23, 121, 74, 0.12);
  --accent-border: #a9a9ec;
  --accent-ring: rgba(91, 91, 214, 0.14);
  --warn-border: #e2b46e;
  --header-bg: rgba(255, 255, 255, 0.86);
  --glow: rgba(91, 91, 214, 0.18);
  --focus: #5b5bd6;
  --shadow-sm: 0 1px 2px rgba(20, 20, 50, 0.06);
  --shadow: 0 1px 2px rgba(20, 20, 50, 0.06), 0 12px 32px -8px rgba(20, 20, 50, 0.14);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e14;
    --bg-soft: #12121a;
    --surface: #17171f;
    --surface-2: #1f1f2a;
    --border: #2b2b39;
    --border-strong: #3a3a4c;
    --text: #ececf4;
    --muted: #a6a8bb;
    --accent: #5b5bd6;
    --accent-hover: #6c6ce0;
    --accent-text: #a9aaf8;
    --accent-soft: #22224a;
    --on-accent: #ffffff;
    --success: #62d29b;
    --success-soft: #10281c;
    --warn: #f2b55c;
    --warn-soft: #2d2110;
    --success-border: #2f7a55;
    --success-ring: rgba(98, 210, 155, 0.14);
    --accent-border: #4d4db0;
    --accent-ring: rgba(169, 170, 248, 0.16);
    --warn-border: #8a6428;
    --header-bg: rgba(14, 14, 20, 0.86);
    --glow: rgba(91, 91, 214, 0.22);
    --focus: #a9aaf8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  }
}

/* ── Base ─────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

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

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

kbd {
  display: inline-block;
  padding: 0.05em 0.45em;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.6em 1.15em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

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

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

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45em 0.95em;
  font-size: 0.9375rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ── Header ───────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg {
  width: 32px;
  height: 32px;
}

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

.site-nav a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.lang-toggle {
  min-height: 38px;
  padding: 0.4em 0.8em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.lang-toggle:hover {
  background: var(--surface-2);
}

[hidden] { display: none !important; }
.lang-select { max-width: 145px; color-scheme: light dark; }
.lang-select option { background: var(--bg); color: var(--text); }
.simple-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 8px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav a {
    padding: 8px 8px;
  }
}

@media (max-width: 420px) {
  .header-cta {
    display: none;
  }
}

/* ── Sections ─────────────────────────────────────────── */

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent-text);
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex: none;
}

/* ── Hero mock (decorative illustration of the product) ── */

.mock {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.mock-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-body {
  padding: 18px 18px 34px;
}

.mock-job {
  margin-bottom: 14px;
}

.mock-job strong {
  display: block;
  font-size: 1rem;
}

.mock-job span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.mock-field {
  margin-bottom: 11px;
}

.mock-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-input {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-input.is-filled {
  border-color: var(--success-border);
  box-shadow: 0 0 0 3px var(--success-ring);
}

.mock-input.is-ai {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-ring);
  white-space: normal;
  line-height: 1.45;
}

.mock-input.is-review {
  border-color: var(--warn-border);
  border-style: dashed;
  color: var(--muted);
}

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

.mock-file svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  flex: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip-filled {
  background: var(--success-soft);
  color: var(--success);
}

.chip-ai {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.chip-review {
  background: var(--warn-soft);
  color: var(--warn);
}

.mock-fab {
  position: absolute;
  right: 20px;
  bottom: -20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(91, 91, 214, 0.6);
}

.mock-fab svg {
  width: 16px;
  height: 16px;
}

.mock-summary {
  position: absolute;
  left: -12px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  font-weight: 600;
}

.mock-summary svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

@media (max-width: 560px) {
  .mock-fab {
    right: 12px;
    bottom: 60px;
  }
  .mock-summary {
    position: static;
    width: fit-content;
    margin: 36px auto 0;
  }
}

/* ── Steps ────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

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

.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.step h3 {
  font-size: 1.1875rem;
}

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

/* ── Feature grid ─────────────────────────────────────── */

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

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

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

.feature {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature .icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.feature .icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9625rem;
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
}

.pill-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  flex: none;
}

/* ── Pricing ──────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.plan h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.plan-sub {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

.price {
  margin-bottom: 4px;
  font-size: 1.875rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.price small {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-note {
  min-height: 1.6em;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.875rem;
}

.plan ul {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9625rem;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success-soft);
}

.plan li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.35em + 4px);
  width: 4px;
  height: 7px;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plan li.is-missing {
  color: var(--muted);
}

.plan li.is-missing::before {
  background: var(--surface-2);
}

.plan li.is-missing::after {
  left: 6px;
  top: calc(0.35em + 7px);
  width: 8px;
  height: 0;
  border-width: 0 0 2px 0;
  border-color: var(--muted);
  transform: none;
}

.plan .btn {
  width: 100%;
}

.fine-print {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Privacy highlights ───────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

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

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

.check-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.check-list .icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--success-soft);
  color: var(--success);
}

.check-list .icon svg {
  width: 22px;
  height: 22px;
}

.check-list strong {
  display: block;
  margin-bottom: 2px;
}

.check-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9625rem;
}

/* ── FAQ ──────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details > div {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ── CTA band ─────────────────────────────────────────── */

.cta-band {
  padding: clamp(36px, 6vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
}

.cta-band h2 {
  color: var(--on-accent);
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.cta-band .btn {
  background: #ffffff;
  color: #2d2d8f;
}

.cta-band .btn:hover {
  background: #ececfd;
}

.cta-band :focus-visible {
  outline-color: #ffffff;
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  padding-block: 48px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand p {
  max-width: 340px;
  margin-top: 12px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

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

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
}

.footer-bottom p {
  margin-bottom: 6px;
}

/* ── Legal documents ──────────────────────────────────── */

.doc-header {
  padding-block: clamp(40px, 6vw, 72px) 24px;
}

.doc-header h1 {
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  letter-spacing: -0.025em;
}

.doc-meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.lang-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--warn-border);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  color: var(--text);
  font-size: 0.9375rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

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

.doc {
  padding-bottom: 72px;
}

.doc section {
  padding-top: 8px;
}

.doc h2 {
  margin-top: 2.2em;
  font-size: 1.5rem;
}

.doc h3 {
  margin-top: 1.6em;
  font-size: 1.125rem;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc li::marker {
  color: var(--muted);
}

.toc {
  margin: 24px 0 8px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

.table-wrap {
  margin: 0 0 1.4em;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

th,
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  font-weight: 650;
}

tr:last-child td {
  border-bottom: 0;
}

.lang-divider {
  margin: 56px 0 0;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.back-top {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.9375rem;
}

/* ── Small status pages (billing, 404) ────────────────── */

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

.status-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
}

.status-card {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.status-icon svg {
  width: 32px;
  height: 32px;
}

.status-icon.neutral {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.status-card h1,
.status-card .lang-block h2 {
  font-size: clamp(1.375rem, 3.4vw, 1.75rem);
}

.status-card .note {
  font-size: 0.875rem;
}

.status-card p {
  color: var(--muted);
}

.status-card .steps-mini {
  margin: 20px 0;
  padding: 16px 18px 16px 2.2em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.9375rem;
  text-align: left;
}

.status-card .steps-mini li {
  margin-bottom: 6px;
}

.status-card .steps-mini li:last-child {
  margin-bottom: 0;
}

.status-card .lang-block + .lang-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.status-card .lang-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.simple-header {
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
}

.simple-footer {
  padding-block: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.simple-footer a {
  color: var(--muted);
}

/* ── Print ────────────────────────────────────────────── */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .lang-jump,
  .back-top {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  a {
    color: #000;
  }
}


/* ============================================================
   AutoApply landing / editorial redesign
   Scoped to the landing page so legal and billing pages retain
   their established accessible UI. Inspired by the restrained,
   product-first approach of Raycast and Linear, not their assets.
   ============================================================ */
body:has(.hero) {
  --bg: #f8f8f5;
  --bg-soft: #eeeeea;
  --surface: #ffffff;
  --surface-2: #f4f4f0;
  --border: #deded8;
  --border-strong: #c9cac3;
  --text: #20231f;
  --muted: #646963;
  --accent: #225b45;
  --accent-hover: #164734;
  --accent-text: #225b45;
  --accent-soft: #e4eee7;
  --accent-border: #a7cab6;
  --accent-ring: rgba(34,91,69,.12);
  --on-accent: #fff;
  --header-bg: rgba(248,248,245,.94);
  --glow: rgba(111,143,113,.14);
  --focus: #225b45;
  --shadow: 0 36px 110px -55px rgba(21,35,26,.30),0 6px 25px rgba(21,35,26,.06);
  --shadow-sm: none;
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1240px;
  color-scheme: light;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.55;
}
body:has(.hero) .site-header {
  border-bottom-color: rgba(30,55,35,.11);
  box-shadow: none;
}
body:has(.hero) .header-inner { min-height: 76px; }
body:has(.hero) .brand { font-size: 1.32rem; font-weight: 800; letter-spacing: -.05em; }
body:has(.hero) .brand svg { width: 35px; height: 35px; }
body:has(.hero) .site-nav { margin-left: 7vw; gap: 15px; }
body:has(.hero) .site-nav a { color: #50564e; font-size: .88rem; font-weight: 550; }
body:has(.hero) .site-nav a:hover { color: #163b2c; background: transparent; }
body:has(.hero) .btn { border-radius: 8px; font-size: .94rem; letter-spacing: -.01em; min-height: 48px; padding-inline: 23px; }
body:has(.hero) .btn-sm { min-height: 39px; padding-inline: 17px; }
body:has(.hero) .btn-primary { background: #225b45; color: white; box-shadow: 0 5px 16px rgba(34,91,69,.12); }
body:has(.hero) .btn-primary:hover { background: #174633; }
body:has(.hero) .btn-secondary { background: transparent; border: 1px solid #c5cac2; }
body:has(.hero) .lang-toggle { border-radius: 7px; }
body:has(.hero) .hero {
  padding: 104px 0 126px;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 65% at 83% 47%,#e5ebe3 0%,transparent 82%),#f8f8f5;
}
body:has(.hero) .hero::before { display: none; }
body:has(.hero) .hero-grid {
  grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
  gap: clamp(45px,7vw,108px);
}
body:has(.hero) .eyebrow {
  border: 0; border-radius: 0; padding: 0;
  background: transparent; color: #32664f;
  text-transform: uppercase; font-weight: 750; letter-spacing: .15em;
  font-size: .72rem; margin-bottom: 26px;
}
body:has(.hero) .eyebrow .dot { height: 6px; width: 6px; }
body:has(.hero) .hero h1 {
  font-size: clamp(3.6rem,5.6vw,6.1rem);
  line-height: 1.04; font-weight: 780; letter-spacing: -.075em;
  margin-bottom: 28px; max-width: 660px; text-wrap: balance;
}
body:has(.hero) .hero h1 .accent { color: #55846c; }
body:has(.hero) .hero .lead {
  color: #5b605a; font-size: clamp(1rem,1.3vw,1.13rem);
  line-height: 1.83; max-width: 525px; margin-bottom: 30px;
}
body:has(.hero) .cta-row { gap: 11px; margin-bottom: 35px; }
body:has(.hero) .trust-list { border-top: 1px solid #d9ded5; padding-top: 21px; font-size: .79rem; gap: 10px 20px; }
body:has(.hero) .trust-list svg { color: #32664f; width: 16px; height: 16px; }
body:has(.hero) .mock {
  max-width: 640px; margin-inline: 0;
  transform: rotate(-1.3deg);
  filter: drop-shadow(0 35px 40px rgba(30,50,37,.11));
}
body:has(.hero) .mock-window { border: 1px solid #d8dfd8; border-radius: 15px; box-shadow: 0 24px 65px -29px rgba(25,48,30,.28); background: #fff; }
body:has(.hero) .mock-bar { background: #f4f6f3; padding: 13px 18px; }
body:has(.hero) .mock-bar i { background: #d1d9d0; width: 9px; height: 9px; }
body:has(.hero) .mock-url { background: #fff; border: 1px solid #e7eae5; border-radius: 6px; text-align: center; }
body:has(.hero) .mock-body { padding: 27px 31px 36px; }
body:has(.hero) .mock-job { padding-bottom: 17px; border-bottom: 1px solid #e5eae4; margin-bottom: 22px; }
body:has(.hero) .mock-job strong { font-size: 1.23rem; letter-spacing: -.04em; color: #1b2920; }
body:has(.hero) .mock-field { margin-bottom: 15px; }
body:has(.hero) .mock-input { border-color: #e1e7e0; padding: 10px 12px; color: #243128; }
body:has(.hero) .mock-input.is-filled { border-color: #b4d0b8; box-shadow: none; background: #f8fcf8; }
body:has(.hero) .mock-input.is-ai { border-color: #b6c9ba; box-shadow: none; background: #f1f7f2; }
body:has(.hero) .mock-fab {
  right: -14px; bottom: 34px; border-radius: 8px;
  padding: 14px 20px; background: #235e46;
  box-shadow: 0 12px 30px rgba(28,85,58,.23);
}
body:has(.hero) .mock-summary {
  left: -32px; bottom: 105px; border-radius: 9px;
  box-shadow: 0 14px 42px rgba(30,50,37,.14);
  padding: 12px 18px; background: #fff;
}
body:has(.hero) .section { padding-block: clamp(82px,9vw,146px); }
body:has(.hero) .section-soft { background: #eeefea; border-color: #e0e4db; }
body:has(.hero) .section-head { max-width: 735px; margin-bottom: 61px; }
body:has(.hero) .section-head.center { max-width: 750px; }
body:has(.hero) .section h2 { font-size: clamp(2.5rem,4.4vw,4.1rem); line-height: 1.1; letter-spacing: -.065em; font-weight: 730; }
body:has(.hero) .section-head .lead { color: #616660; font-size: 1.1rem; line-height: 1.75; }
body:has(.hero) .kicker { color: #2f7252; letter-spacing: .15em; font-weight: 760; font-size: .72rem; margin-bottom: 20px; }
body:has(.hero) .steps { gap: 0; border-top: 1px solid #cfd7ca; border-bottom: 1px solid #cfd7ca; }
body:has(.hero) .step {
  padding: 32px 33px 36px; border: 0; border-right: 1px solid #cfd7ca;
  border-radius: 0; background: transparent; box-shadow: none;
}
body:has(.hero) .step:last-child { border-right: none; }
body:has(.hero) .step-num {
  background: transparent; width: auto; height: auto; display: block;
  text-align: left; color: #357253; font-size: .85rem;
  font-variant-numeric: tabular-nums; margin-bottom: 28px;
}
body:has(.hero) .step h3 { font-size: 1.24rem; letter-spacing: -.035em; }
body:has(.hero) .step p { font-size: .94rem; line-height: 1.77; }
body:has(.hero) .feature-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0; border-top: 1px solid #d9ddd5; border-left: 1px solid #d9ddd5;
}
body:has(.hero) .feature {
  padding: 37px 30px; border: 0; border-right: 1px solid #d9ddd5; border-bottom: 1px solid #d9ddd5;
  background: transparent; border-radius: 0; box-shadow: none;
}
body:has(.hero) .feature .icon { background: #e9eee7; color: #2d6549; border-radius: 11px; }
body:has(.hero) .feature h3 { font-size: 1.11rem; letter-spacing: -.025em; }
body:has(.hero) .feature p { font-size: .91rem; line-height: 1.76; }
body:has(.hero) .cta-band { background: #1e4433; border-radius: 14px; padding-block: clamp(60px,7vw,95px); }
body:has(.hero) .cta-band h2 { color: #fff; letter-spacing: -.055em; }
body:has(.hero) .cta-band .btn { background: #e8f1df; color: #1d4433; }
body:has(.hero) .site-footer { background: #e9ece6; }
body:has(.hero) .faq details { border-radius: 8px; }
@media (max-width: 1020px) {
  body:has(.hero) .site-nav { margin-left: 2vw; gap: 3px; }
  body:has(.hero) .hero-grid { gap: 35px; }
  body:has(.hero) .hero h1 { font-size: clamp(3.3rem,6vw,5rem); }
}
@media (max-width: 920px) {
  body:has(.hero) .hero { padding: 80px 0 94px; }
  body:has(.hero) .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 65px; }
  body:has(.hero) .mock { max-width: 610px; margin: auto; transform: none; }
  body:has(.hero) .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body:has(.hero) .mock-summary { left: 5px; }
}
@media (max-width: 680px) {
  body:has(.hero) .hero { padding: 65px 0 85px; }
  body:has(.hero) .hero h1 { font-size: clamp(3rem,12vw,4.6rem); }
  body:has(.hero) .hero .lead { font-size: 1rem; line-height: 1.7; }
  body:has(.hero) .section { padding-block: 78px; }
  body:has(.hero) .section h2 { font-size: clamp(2.3rem,9vw,3.2rem); }
  body:has(.hero) .steps { grid-template-columns: 1fr; }
  body:has(.hero) .step { border-right: 0; border-bottom: 1px solid #cfd7ca; padding: 30px 14px; }
  body:has(.hero) .step:last-child { border-bottom: none; }
  body:has(.hero) .feature-grid { grid-template-columns: 1fr; }
  body:has(.hero) .feature { padding: 28px 22px; }
  body:has(.hero) .mock-body { padding: 20px 17px 25px; }
  body:has(.hero) .mock-fab { right: 8px; bottom: 48px; }
  body:has(.hero) .mock-summary { position: relative; bottom: auto; left: auto; margin: 22px auto 0; width: fit-content; }
  body:has(.hero) .header-inner { min-height: 64px; }
  body:has(.hero) .site-nav { margin-left: 0; }
  body:has(.hero) .trust-list { gap: 10px; }
}


/* Raycast-inspired dark treatment; AutoApply remains an independent brand. */
body:has(.hero) {
  --bg: #0b0b0e;
  --bg-soft: #111115;
  --surface: #18181d;
  --surface-2: #222228;
  --border: #2b2b32;
  --border-strong: #41414b;
  --text: #f6f5f6;
  --muted: #a3a2ad;
  --accent: #ec645c;
  --accent-hover: #f47a72;
  --accent-text: #ff8f83;
  --accent-soft: #3b252b;
  --accent-border: #80515b;
  --accent-ring: rgba(236,100,92,.18);
  --on-accent: #fff;
  --success: #79d3a8;
  --success-soft: #15362a;
  --success-border: #2c6e53;
  --warn: #f2b979;
  --warn-soft: #382a1a;
  --warn-border: #785b39;
  --header-bg: rgba(11,11,14,.91);
  --glow: rgba(232,93,86,.11);
  --focus: #ff8f83;
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body:has(.hero) .site-header {
  border-bottom-color: #28282e;
}
body:has(.hero) .site-nav a { color: #aba9b2; }
body:has(.hero) .site-nav a:hover { color: #fff; }
body:has(.hero) .btn-primary {
  background: #ed665d;
  color: #fff;
  box-shadow: 0 6px 20px rgba(237,102,93,.15);
}
body:has(.hero) .btn-primary:hover { background: #fc8078; }
body:has(.hero) .btn-secondary {
  background: #1a1a20;
  border-color: #3c3b46;
  color: #eee;
}
body:has(.hero) .btn-secondary:hover { background: #292831; }
body:has(.hero) .hero {
  padding-block: 95px 122px;
  background:
    radial-gradient(ellipse 48% 58% at 77% 50%,rgba(154,60,89,.23),transparent 80%),
    radial-gradient(ellipse 35% 52% at 54% 15%,rgba(90,59,131,.13),transparent 85%),
    #0b0b0e;
}
body:has(.hero) .eyebrow {
  color: #e7a4a0;
  font-weight: 650;
  letter-spacing: .125em;
}
body:has(.hero) .eyebrow .dot { background: #ff897d; }
body:has(.hero) .hero h1 {
  font-weight: 760;
  color: #fcfbfd;
  letter-spacing: -.075em;
}
body:has(.hero) .hero h1 .accent {
  color: #fb897e;
  display: block;
}
html body:has(.hero) .hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}
body:has(.hero) .hero .lead { color: #b5b2bf; }
body:has(.hero) .trust-list { border-color: #32313a; color: #a7a6b0; }
body:has(.hero) .trust-list svg { color: #7ed4a6; }
body:has(.hero) .mock {
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
  filter: drop-shadow(0 35px 52px rgba(0,0,0,.45));
}
body:has(.hero) .mock-window {
  background: #17171c;
  border: 1px solid #4b4553;
  box-shadow: 0 32px 115px rgba(0,0,0,.57),0 0 0 1px rgba(255,255,255,.04);
}
body:has(.hero) .mock-bar { background: #202026; border-color: #39353f; }
body:has(.hero) .mock-bar i { background: #55525c; }
body:has(.hero) .mock-url { background: #15151a; border-color: #34323b; color: #9997a3; }
body:has(.hero) .mock-job { border-color: #38343d; }
body:has(.hero) .mock-job strong { color: #f5f3f7; }
body:has(.hero) .mock-job span { color: #a6a2ad; }
body:has(.hero) .mock-label { color: #aba7b0; }
body:has(.hero) .mock-input { color: #eeeaf1; background: #202026; border-color: #45414a; }
body:has(.hero) .mock-input.is-filled { background: #192c27; border-color: #386e5a; color: #e7f7ee; }
body:has(.hero) .mock-input.is-ai { background: #29212e; border-color: #775c85; color: #f1e7fa; }
body:has(.hero) .mock-input.is-review { background: #2a261e; border-color: #87704d; color: #d8c5a1; }
body:has(.hero) .mock-fab {
  background: #ed665d;
  box-shadow: 0 15px 42px rgba(237,102,93,.32);
  color: #fff;
}
body:has(.hero) .mock-summary {
  background: #23232a;
  border-color: #48444f;
  box-shadow: 0 15px 44px rgba(0,0,0,.4);
  color: #f4f1f5;
}
body:has(.hero) .section-soft {
  background: #121216;
  border-color: #29282e;
}
body:has(.hero) .section h2 { color: #f5f4f7; }
body:has(.hero) .section-head .lead { color: #aaa7b0; }
body:has(.hero) .kicker { color: #f18b83; }
body:has(.hero) .steps,body:has(.hero) .step { border-color: #38353e; }
body:has(.hero) .step-num { color: #ef8880; }
body:has(.hero) .step p,body:has(.hero) .feature p { color: #aaa7b2; }
body:has(.hero) .feature-grid,body:has(.hero) .feature { border-color: #302f37; }
body:has(.hero) .feature .icon { background: #25232a; color: #f18b83; }
body:has(.hero) .feature h3 { color: #f4f1f6; }
body:has(.hero) .cta-band {
  background: linear-gradient(135deg,#2a1a28,#492830 65%,#5a323a);
  border: 1px solid #66434e;
}
body:has(.hero) .cta-band .btn { background: #fff; color: #221922; }
body:has(.hero) .site-footer { background: #111115; border-color: #28282f; }
body:has(.hero) .faq details { background: #18181d; border-color: #34313b; }
@media (max-width: 920px) {
  body:has(.hero) .mock { transform: none; }
}
@media (max-width: 680px) {
  body:has(.hero) .hero { padding-block: 68px 82px; }
  body:has(.hero) .hero h1 { font-size: clamp(2.9rem,11.4vw,4.2rem); }
  html body:has(.hero) .hero h1 { font-size: clamp(2.25rem, 9vw, 3.4rem); }
  body:has(.hero) .step { border-color: #38353e; }
}

/* Private admin dashboard */
.admin-page { min-height: 100vh; background: #f5f6fa; color: #161a28; }
.admin-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 52px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.admin-brand { color: #191c2a; font-size: 1.25rem; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.admin-label,.admin-kicker { color: #655be4; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.admin-auth { max-width: 560px; margin: 9vh auto 0; padding: clamp(28px, 5vw, 48px); }
.admin-page h1 { margin: 5px 0 10px; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.055em; }
.admin-page h2 { margin: 3px 0 10px; font-size: 1.35rem; letter-spacing: -.035em; }
.admin-page p { line-height: 1.55; }
.panel,.admin-card { background: #fff; border: 1px solid #e3e5ed; border-radius: 18px; box-shadow: 0 12px 35px rgba(27,34,65,.045); }
.admin-auth > p:not(.admin-kicker) { color: #63697a; }
.admin-button { min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.admin-button:disabled { opacity: .55; cursor: wait; }
.admin-button-primary { background: #5950db; color: #fff; }
.admin-button-primary:hover { background: #453cc2; }
.admin-button-secondary { background: #fff; border-color: #dcdfea; color: #202438; }
.admin-button-text { background: transparent; color: #616779; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-actions { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; }
.admin-muted,.admin-card-note { color: #777e90; font-size: .84rem; }
.admin-message { min-height: 1.4em; color: #63697a; font-size: .9rem; }
.admin-message[data-kind="error"] { color: #a3313b; }
.admin-message[data-kind="success"] { color: #187348; }
.admin-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin: 24px 0; }
.admin-card { min-width: 0; padding: 20px; }
.admin-card-label { margin: 0 0 11px; color: #656c7d; font-size: .84rem; font-weight: 600; }
.admin-metric { display: block; color: #181c2b; font-size: clamp(1.8rem, 3vw, 2.5rem); font-variant-numeric: tabular-nums; font-weight: 760; letter-spacing: -.055em; }
.admin-card-note { margin: 9px 0 0; font-size: .78rem; }
.admin-section { padding: 24px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th,.admin-table td { padding: 12px 10px; border-bottom: 1px solid #edf0f5; font-size: .9rem; }
.admin-table th { color: #687083; font-size: .78rem; font-weight: 650; }
.admin-table td:last-child,.admin-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.admin-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.admin-multi-currency { margin: 10px 0 0; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-external-link { display: inline-block; margin-top: 6px; color: #5048d0; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.admin-upload-label { display: block; margin-top: 20px; color: #34394a; font-size: .84rem; font-weight: 650; }
.admin-file-input { display: block; max-width: 100%; margin-top: 8px; color: #5d6475; font: inherit; font-size: .8rem; }
.admin-release { margin: 16px 0; }
.admin-release-form { margin-top: 20px; }
.admin-version-field { display: grid; gap: 8px; margin-top: 16px; color: #30364a; font-size: .9rem; font-weight: 650; }
.admin-version-field input { width: min(100%, 360px); min-height: 44px; padding: 0 12px; border: 1px solid #d9ddea; border-radius: 9px; background: #fff; color: #171b29; font: inherit; font-variant-numeric: tabular-nums; }
.admin-version-field input:disabled { background: #f4f5f8; color: #6c7281; }
.admin-version-field span { color: #747b8b; font-size: .8rem; font-weight: 400; }
.admin-release-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.admin-release-actions .admin-muted { margin: 0; }
.admin-footer { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: .83rem; }
.admin-footer a { color: #737a8a; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .admin-shell { width: min(100% - 28px, 520px); padding-top: 22px; }
  .admin-header { margin-bottom: 28px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .admin-actions { padding-bottom: 0; }
  .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 16px 0; }
  .admin-card { padding: 16px; }
  .admin-bottom-grid { grid-template-columns: 1fr; }
  .admin-section { padding: 18px; }
}
