:root {
  --bg: #0f1115;
  --panel: #151922;
  --panel-2: #10141c;
  --text: #e7eaf0;
  --muted: #a7afbf;
  --stroke: rgba(255, 255, 255, 0.12);
  --accent: #6aa6ff;
  --accent-hover: #8bb8ff;
  --green: #49d18a;
  --warn: #ffcc66;
  --red: #ff8a65;
  --header-bg: rgba(15, 17, 21, 0.92);
  --btn-secondary-hover: rgba(255, 255, 255, 0.05);
  --body-gradient-a: rgba(106, 166, 255, 0.07);
  --body-gradient-b: rgba(73, 209, 138, 0.05);
  --notice-bg: rgba(106, 166, 255, 0.08);
  --notice-border: rgba(106, 166, 255, 0.35);
  --notice-title: inherit;
  --radius: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-2: #f0f2f6;
  --text: #1c2333;
  --muted: #5f6b82;
  --stroke: rgba(28, 35, 51, 0.12);
  --accent: #245bdb;
  --accent-hover: #1a4ab8;
  --green: #168a52;
  --warn: #b45309;
  --red: #c62828;
  --header-bg: rgba(247, 248, 251, 0.96);
  --btn-secondary-hover: rgba(28, 35, 51, 0.05);
  --body-gradient-a: rgba(36, 91, 219, 0.04);
  --body-gradient-b: rgba(22, 138, 82, 0.03);
  --notice-bg: #ffffff;
  --notice-border: rgba(28, 35, 51, 0.12);
  --notice-title: #1c2333;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1000px 700px at 15% 0%, var(--body-gradient-a), transparent 55%),
    radial-gradient(900px 600px at 85% 5%, var(--body-gradient-b), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.wrap-wide { max-width: 1100px; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: none;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.site-header--landing {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 6px 20px;
}

.site-header--landing .logo {
  font-size: 26px;
  line-height: 1.1;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.site-header--landing .site-nav {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-left: auto;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.site-header--landing .site-nav a,
.site-header--landing .site-nav .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.header-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border: none;
  background: transparent;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.header-banner::before,
.header-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  z-index: 1;
  pointer-events: none;
}

.header-banner::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}

.header-banner::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.header-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center top;
}

.header-banner .header-banner__img--light {
  display: none;
}

[data-theme="light"] .header-banner .header-banner__img--dark {
  display: none;
}

[data-theme="light"] .header-banner .header-banner__img--light {
  display: block;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--accent); }

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

nav.site-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

nav.site-nav a.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

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

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

[hidden] {
  display: none !important;
}

html.auth-logged-out [data-nav-user] {
  display: none !important;
}

html.auth-logged-in [data-nav-guest] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #0a0e14;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0a0e14;
  text-decoration: none;
}

/* nav a перебивал color у кнопки — тёмный текст на голубом */
nav.site-nav a.btn-primary,
nav.site-nav a.btn-primary:hover {
  color: #0a0e14;
  font-weight: 650;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}

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

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

.hero {
  text-align: center;
  padding: 48px 0 32px;
}

.hero--below-banner {
  padding: 20px 0 10px;
  margin: 0;
  text-align: center;
}

.hero--below-banner h1 {
  margin-top: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.25;
  max-width: 100%;
}

.hero--below-banner .hero-lead {
  margin-bottom: 16px;
  max-width: 900px;
  font-size: 17px;
  line-height: 1.45;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

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

.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.panel h2 {
  margin: 0 0 16px;
  font-size: 17px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.price-card.featured {
  border-color: rgba(106, 166, 255, 0.45);
  background: rgba(106, 166, 255, 0.06);
}

.price-card .credits {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.price-card .price {
  font-size: 20px;
  margin: 8px 0 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14px;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-narrow { max-width: 400px; margin: 0 auto; }
.form-narrow-wide { max-width: 480px; }

.file-field {
  border: 2px dashed var(--stroke);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
}

.file-field:hover,
.file-field.dragover,
.file-field:focus-visible {
  border-color: var(--accent);
  background: rgba(106, 166, 255, 0.05);
}

.file-field.has-file {
  border-style: solid;
  border-color: rgba(73, 209, 138, 0.45);
  background: rgba(73, 209, 138, 0.06);
}

.file-field input { display: none; }

.file-field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.file-field-name {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--green);
  word-break: break-all;
}

.feedback-files-note {
  margin: -8px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.msg-error { background: rgba(255, 138, 101, 0.15); color: var(--red); border: 1px solid rgba(255, 138, 101, 0.35); }
.msg-success { background: rgba(73, 209, 138, 0.15); color: var(--green); border: 1px solid rgba(73, 209, 138, 0.35); }
.msg-info { background: rgba(106, 166, 255, 0.12); color: var(--accent); border: 1px solid rgba(106, 166, 255, 0.3); }

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.badge-rb { background: rgba(73, 209, 138, 0.2); color: var(--green); }
.badge-rk { background: rgba(255, 204, 102, 0.2); color: var(--warn); }
.badge-kg { background: rgba(255, 204, 102, 0.18); color: var(--warn); }
.badge-edi { background: rgba(255, 204, 102, 0.18); color: var(--warn); }

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

.converters-section h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

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

.converter-card {
  position: relative;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.converter-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.converter-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.converter-card__status {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.converter-card__status--ready {
  background: rgba(73, 209, 138, 0.18);
  color: var(--green);
  border: 1px solid rgba(73, 209, 138, 0.35);
}

.converter-card__status--planned {
  background: rgba(255, 152, 0, 0.14);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.35);
}

.converter-card--ready {
  grid-column: 1 / -1;
  border-color: rgba(73, 209, 138, 0.45);
  background: rgba(73, 209, 138, 0.08);
}

.converter-card--ready h3 {
  font-size: 17px;
}

.converter-card--ready p {
  max-width: 720px;
}

.converter-card--planned {
  border-color: rgba(255, 152, 0, 0.38);
  background: rgba(255, 152, 0, 0.07);
  padding: 12px 14px;
}

.converter-card--planned h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.converter-card--planned p {
  font-size: 13px;
  line-height: 1.35;
}

.converter-card--planned .converter-card__status {
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 10px;
}

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

  .converter-card--ready {
    grid-column: auto;
  }
}

[data-theme="light"] .converter-card__status--ready {
  background: rgba(22, 138, 82, 0.12);
  color: #168a52;
  border-color: rgba(22, 138, 82, 0.28);
}

[data-theme="light"] .converter-card__status--planned {
  background: rgba(230, 126, 34, 0.12);
  color: #c56a12;
  border-color: rgba(230, 126, 34, 0.28);
}

[data-theme="light"] .converter-card--ready {
  border-color: rgba(22, 138, 82, 0.35);
  background: rgba(22, 138, 82, 0.07);
}

[data-theme="light"] .converter-card--planned {
  border-color: rgba(230, 126, 34, 0.32);
  background: rgba(230, 126, 34, 0.06);
}

.balance-pill {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(73, 209, 138, 0.15);
  color: var(--green);
  border: 1px solid rgba(73, 209, 138, 0.35);
}

.dropzone {
  border: 2px dashed var(--stroke);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent);
  background: rgba(106, 166, 255, 0.05);
}

.dropzone input { display: none; }

.dropzone p { margin: 0; color: var(--muted); font-size: 14px; }

.dropzone-filename {
  margin-top: 8px !important;
  font-size: 13px !important;
  color: var(--text) !important;
  word-break: break-all;
}

.dropzone.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.dropzone.is-locked {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.converter-panel--locked .converter-actions .btn-primary {
  opacity: 0.55;
  cursor: not-allowed;
}

.account-page > .account-beta-status,
.account-page > .account-dev-help,
.account-page > .account-lock-notice,
.account-page > .converter-panel,
.account-page > #converter-unavailable {
  margin-top: 16px;
}

.account-beta-status {
  padding: 14px 18px;
  border-color: rgba(255, 204, 102, 0.5);
  background: rgba(255, 204, 102, 0.07);
}

.account-beta-status h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--warn);
}

.account-beta-status p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 214, 130, 0.95);
}

.account-beta-status strong {
  color: var(--warn);
  font-weight: 600;
}

.account-dev-help {
  padding: 14px 18px;
  border-color: rgba(91, 156, 255, 0.45);
  background: rgba(91, 156, 255, 0.08);
}

.account-dev-help h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.account-dev-help p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.account-dev-help strong {
  color: var(--text);
}

.account-dev-help .btn {
  width: auto;
}

.account-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: stretch;
  margin-top: 20px;
  border-color: rgba(106, 166, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(106, 166, 255, 0.08) 0%,
    rgba(106, 166, 255, 0.02) 55%,
    transparent 100%
  );
}

.account-hero__user {
  min-width: 0;
}

.account-hero__kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-hero__email {
  margin: 0 0 14px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-all;
}

.account-hero__country-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.account-hero__country-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.account-hero__country-row .badge {
  font-size: 14px;
  padding: 6px 12px;
}

.account-hero__country-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.account-hero__stats {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.account-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 108px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  text-align: center;
}

.account-stat--warn {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.08);
}

.account-stat--warn .account-stat__value {
  color: #ff9a9a;
}

.account-stat__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.account-stat__label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .account-hero {
    grid-template-columns: 1fr;
  }

  .account-hero__stats {
    justify-content: stretch;
  }

  .account-stat {
    flex: 1;
  }
}

.converter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.converter-panel__lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.converter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.convert-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
}

.convert-status--loading {
  background: rgba(106, 166, 255, 0.1);
  border: 1px solid rgba(106, 166, 255, 0.35);
  color: var(--text);
}

.convert-status--success {
  background: rgba(73, 209, 138, 0.1);
  border: 1px solid rgba(73, 209, 138, 0.35);
  color: var(--text);
}

.convert-status--error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: var(--text);
}

.convert-status a { color: var(--accent); }

.convert-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.convert-hint code {
  font-size: 12px;
  word-break: break-all;
}

footer.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.step {
  flex: 1;
  min-width: 140px;
  padding: 12px;
  background: var(--panel-2);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.step strong { display: block; color: var(--accent); margin-bottom: 4px; }

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-lead { max-width: 620px; }

.beta-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(73, 209, 138, 0.15);
  color: var(--green);
  border: 1px solid rgba(73, 209, 138, 0.35);
}

.privacy-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  margin: 0 0 28px;
  border-radius: var(--radius);
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
}

.privacy-banner strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--notice-title); }
.privacy-banner p { margin: 0; font-size: 14px; color: var(--muted); }
.privacy-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.privacy-icon__svg {
  width: 28px;
  height: 28px;
  display: block;
}

[data-theme="light"] .privacy-icon {
  color: #245bdb;
}

.privacy-inline {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--green);
}

.process-section { margin: 8px 0 28px; }
.process-section h2 { margin: 0 0 16px; font-size: 18px; }

.process-pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.process-pipeline li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.process-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(106, 166, 255, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.process-pipeline strong { display: block; margin-bottom: 4px; font-size: 15px; }
.process-pipeline p { margin: 0; font-size: 13px; color: var(--muted); }

.feedback-cta { margin-top: 24px; border-color: rgba(255, 204, 102, 0.35); }
.feedback-cta h2 { margin: 0 0 8px; font-size: 16px; }

.beta-notice {
  margin: 20px 0;
  border-color: var(--notice-border);
  background: var(--notice-bg);
}

.beta-notice h2 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--notice-title);
}
.beta-notice p { margin: 0; font-size: 14px; color: var(--muted); }

.slogans { text-align: center; margin-top: 32px; }
.slogan-alt {
  margin: 6px 0;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

.feedback-hint {
  margin-top: 16px;
  border-color: rgba(255, 204, 102, 0.35);
  background: rgba(255, 204, 102, 0.06);
}

.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.feedback-overlay[hidden],
#feedback-post-overlay[hidden] { display: none; }

.feedback-overlay--mandatory {
  cursor: default;
}

.feedback-overlay--mandatory .feedback-modal {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

body.modal-open { overflow: hidden; }

.feedback-modal {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

.feedback-modal h2 { margin: 0 0 8px; font-size: 18px; }

.feedback-intro {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}

textarea:focus { outline: none; border-color: var(--accent); }

.feedback-actions { margin-top: 8px; }
.feedback-actions .btn { width: 100%; }

.feedback-choice-lead {
  margin: 0 0 14px;
  font-size: 15px;
  text-align: center;
}

.feedback-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-feedback-ok {
  background: rgba(73, 209, 138, 0.2);
  border: 1px solid rgba(73, 209, 138, 0.55);
  color: var(--green);
  font-weight: 600;
  padding: 14px 12px;
  min-height: 52px;
}

.btn-feedback-ok:hover {
  background: rgba(73, 209, 138, 0.32);
  border-color: var(--green);
}

.btn-feedback-issues {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.5);
  color: #ff8a8a;
  font-weight: 600;
  padding: 14px 10px;
  min-height: 52px;
  line-height: 1.25;
}

.btn-feedback-issues:hover {
  background: rgba(255, 107, 107, 0.22);
  border-color: #ff8a8a;
}

.feedback-choice-lead--compact {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 14px;
}

.feedback-files-policy {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.feedback-choice-row--files {
  margin-bottom: 12px;
}

.btn-feedback-files {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-weight: 600;
  padding: 12px 10px;
  min-height: 44px;
}

.btn-feedback-files:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-feedback-files.is-active {
  background: rgba(106, 166, 255, 0.14);
  border-color: rgba(106, 166, 255, 0.55);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(106, 166, 255, 0.25);
}

.feedback-attached-files {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  font-size: 13px;
}

.feedback-attached-files__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feedback-attached-files__list li + li { margin-top: 4px; }

.feedback-manual-files {
  margin-top: 4px;
}

.feedback-manual-files .form-group {
  margin-bottom: 12px;
}

.feedback-manual-files .form-group label {
  font-size: 13px;
}

.feedback-files-policy--resume {
  margin-bottom: 14px;
}

.feedback-files-policy--picked {
  margin: 0 0 6px;
}

.feedback-email-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .feedback-choice-row {
    grid-template-columns: 1fr;
  }
}

.req { color: var(--red); }

.nav-active {
  color: var(--accent);
  font-weight: 600;
}

.demo-credentials {
  margin-top: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.demo-credentials h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.demo-credentials code {
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
}

.demo-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.demo-user-row:hover {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
}

.demo-user-row strong {
  font-weight: 600;
}

.demo-user-row span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header--landing {
    padding: 6px 14px;
    gap: 8px;
  }

  .site-header--landing .logo {
    font-size: 22px;
  }

  .site-header--landing .site-nav {
    gap: 6px;
  }

  .site-header--landing .nav-link {
    font-size: 14px;
  }

  .site-header--landing .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }

  .site-header__brand .beta-pill {
    font-size: 11px;
    padding: 4px 9px;
  }
}

@media (max-width: 600px) {
  .site-header--landing {
    padding: 5px 12px;
    gap: 8px;
  }

  .site-header--landing .logo {
    font-size: 20px;
  }

  .site-header__brand {
    gap: 8px;
  }

  .site-header--landing .btn-primary {
    padding: 7px 9px;
    font-size: 11px;
  }

  .site-header--landing .nav-link {
    font-size: 12px;
  }

  .header-banner img { max-height: 160px; }
  .header-banner::before,
  .header-banner::after { height: 10px; }
  .hero--below-banner { padding: 8px 0 16px; }
  .hero--below-banner .hero-lead { font-size: 15px; max-width: 100%; }
  .privacy-banner { flex-direction: column; }
}

.theme-switch {
  display: inline-flex;
  align-items: stretch;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--panel-2);
  flex-shrink: 0;
}

.theme-switch__btn {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

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

.theme-switch__btn.is-active {
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .account-beta-status {
  border-color: rgba(180, 83, 9, 0.35);
  background: #fffaf0;
}

[data-theme="light"] .account-beta-status p {
  color: #6b4a12;
}

[data-theme="light"] .account-beta-status h2,
[data-theme="light"] .account-beta-status strong {
  color: #9a5f0a;
}

[data-theme="light"] .account-hero {
  border-color: rgba(28, 35, 51, 0.1);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(28, 35, 51, 0.04);
}

[data-theme="light"] .beta-pill {
  background: rgba(22, 138, 82, 0.1);
  border-color: rgba(22, 138, 82, 0.25);
  color: #168a52;
}

[data-theme="light"] .hero--below-banner .hero-lead {
  color: var(--muted);
}

[data-theme="light"] .hero--below-banner .hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

[data-theme="light"] .beta-notice,
[data-theme="light"] .privacy-banner {
  box-shadow: 0 1px 2px rgba(28, 35, 51, 0.04);
}

[data-theme="light"] .privacy-banner {
  border-left: 3px solid rgba(36, 91, 219, 0.45);
}

[data-theme="light"] .msg-info {
  background: #f0f4fc;
  color: #245bdb;
  border-color: rgba(36, 91, 219, 0.2);
}

[data-theme="light"] .msg-success {
  background: #edf8f1;
  color: #168a52;
  border-color: rgba(22, 138, 82, 0.22);
}

[data-theme="light"] .msg-error {
  background: #fdf0ed;
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.2);
}

[data-theme="light"] .dropzone:hover,
[data-theme="light"] .dropzone.dragover {
  background: rgba(36, 91, 219, 0.04);
}

[data-theme="light"] .process-num {
  background: rgba(36, 91, 219, 0.1);
  color: var(--accent);
}

[data-theme="light"] .theme-switch__btn.is-active {
  box-shadow: 0 1px 2px rgba(28, 35, 51, 0.06);
}

[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #ffffff;
  border-color: rgba(28, 35, 51, 0.16);
}

[data-theme="light"] .file-field {
  background: #fafbfc;
}

[data-theme="light"] .file-field:hover,
[data-theme="light"] .file-field.dragover,
[data-theme="light"] .file-field:focus-visible {
  background: #f3f6fc;
}

[data-theme="light"] .feedback-hint {
  background: #fffaf0;
  border-color: rgba(180, 83, 9, 0.28);
}

@media (max-width: 900px) {
  .theme-switch__btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}
