@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f5eee3;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --ink: #0f172a;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.08);
  --brand: #0f766e;
  --brand-dark: #0a5b54;
  --accent: #1d4ed8;
  --warm: #c67a12;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 12% 10%, rgba(15, 118, 110, 0.16), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(198, 122, 18, 0.16), transparent 24%),
    radial-gradient(circle at 80% 82%, rgba(29, 78, 216, 0.12), transparent 22%),
    linear-gradient(180deg, #f9f5ef 0%, #f0e7da 100%);
}

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

.site-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(245, 238, 227, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-topbar__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #050505;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(198, 122, 18, 0.25);
}

.brand__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__copy strong {
  display: block;
  font-size: 14px;
}

.brand__copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1 1 420px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
  flex-wrap: nowrap;
}

.command-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}

.command-launch span {
  color: var(--muted);
  font-size: 12px;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

.account-chip span {
  color: var(--muted);
  font-size: 12px;
}

.account-chip.is-authenticated {
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.2);
}

@media (max-width: 1360px) {
  .account-chip span {
    display: none;
  }

  .site-topbar__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow: visible;
  }
}

.nav a {
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: rgba(15, 118, 110, 0.1);
  transform: translateY(-1px);
}

.page { padding-top: 30px; }

.hero,
.split-grid,
.contact-grid,
.tools-grid {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
}

.panel,
.section,
.hero-main,
.hero-side,
.card,
.tool,
.mini-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.hero-main,
.hero-side,
.section {
  border-radius: var(--radius-xl);
}

.hero-main {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -62px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
}

.hero-side {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.mini-panel,
.card,
.tool,
.panel {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.mini-panel {
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  max-width: 13ch;
}

.section__head h2,
.card h3,
.tool h3,
.mini-panel h3,
.portal-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hero p,
.section p,
.card p,
.tool p,
.mini-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-logo {
  width: min(100%, 300px);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.18));
}

.identity-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.identity-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.identity-item strong {
  display: block;
  margin-bottom: 4px;
}

.actions,
.filters,
.tags,
.toolbar,
.metric-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions { margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--small {
  padding: 10px 14px;
  font-size: 13px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: var(--shadow-strong);
}

.btn--secondary {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--accent {
  background: linear-gradient(135deg, #d97706, var(--warm));
  color: white;
}

.stats-grid { margin-top: 24px; }
.stats-grid--3,
.stats-grid--4 {
  display: grid;
  gap: 16px;
}

.stats-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kpi {
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 800;
}

.metric {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.section {
  padding: 24px;
  margin-top: 18px;
}

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

.section__head h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section__head p {
  margin: 0;
  max-width: 66ch;
}

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

.cards-grid--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pack-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.portal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-strong);
}

.portal-card h3 {
  margin: 16px 0 12px;
  font-size: 1.8rem;
}

.portal-card p {
  color: rgba(15, 23, 42, 0.78);
}

.portal-card--bts {
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 246, 255, 0.92));
}

.portal-card--business {
  background:
    radial-gradient(circle at top right, rgba(198, 122, 18, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 237, 0.94));
}

.portal-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.portal-points span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 12px;
  font-weight: 700;
}

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

.pack-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,252,0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pack-card--featured {
  background:
    radial-gradient(circle at top right, rgba(198, 122, 18, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,237,0.95));
  border-color: rgba(198, 122, 18, 0.22);
}

.card__top > div {
  min-width: 0;
  flex: 1 1 auto;
}

.badge,
.pill,
.step-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}

.badge {
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand);
}

.step-badge {
  margin-bottom: 12px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand);
}

.pill {
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent);
}

.tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag--a { background: #ecfeff; color: #0f766e; }
.tag--b { background: #fff7ed; color: #c2410c; }
.tag--c { background: #eff6ff; color: #1d4ed8; }

.filters button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.filters button.is-active {
  background: var(--ink);
  color: white;
}

.progress-shell {
  margin-top: 14px;
  height: 10px;
  background: #e7edf4;
  border-radius: 999px;
  overflow: hidden;
}

.progress-shell > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #14b8a6);
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.check-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.check-item input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.check-item.is-done strong {
  text-decoration: line-through;
  opacity: 0.72;
}

.tools-grid { grid-template-columns: 1.1fr 0.9fr; }
.split-grid { grid-template-columns: 1fr 1fr; }
.contact-grid { grid-template-columns: 0.95fr 1.05fr; }

.search,
.field,
.field-area,
.select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.search { max-width: 360px; }

.field-area {
  min-height: 180px;
  resize: vertical;
}

.brief-output,
.lead-list,
.watch-list,
.pitch-output,
.feed-board {
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 14px;
}

.brief-output,
.pitch-output {
  min-height: 220px;
  background: #0f172a;
  color: #f8fafc;
  white-space: pre-wrap;
}

.lead-list,
.watch-list,
.feed-board {
  display: grid;
  gap: 10px;
  background: #fffdfa;
}

.lead-item,
.watch-item,
.resource-line,
.feed-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.lead-item strong,
.watch-item strong,
.resource-line strong,
.feed-item strong {
  display: block;
}

.feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.feed-item h3 {
  margin: 10px 0 8px;
}

.feed-item p {
  margin: 0;
}

.feed-item__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.feed-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(198, 122, 18, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.feed-item--compact h3 {
  font-size: 1rem;
}

.script-shell {
  display: grid;
  gap: 18px;
}

.scenario-card {
  align-content: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.script-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.script-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.script-code {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #0f172a;
  color: #f8fafc;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

.script-code code {
  font-family: "Cascadia Code", "Consolas", monospace;
}

.timer-display {
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #1f3b56);
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  letter-spacing: 0.04em;
}

.jury-question {
  min-height: 160px;
}

.card--compact h3 {
  margin: 0 0 8px;
}

.resource-line a,
.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.resource-line a.btn,
.card a.btn {
  color: inherit;
}

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

.empty-state {
  min-height: 180px;
  align-content: center;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.notice {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 28px 0 8px;
}

.footer--rich {
  text-align: left;
  padding: 36px 0 12px;
}

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

.footer-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.footer-card a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
}

.command-palette.is-open {
  display: block;
}

.command-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}

.command-palette__dialog {
  position: relative;
  max-width: 760px;
  margin: 90px auto 0;
  background: #fffdfa;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
  padding: 20px;
}

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

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
}

.auth-modal.is-open {
  display: block;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
}

.auth-modal__dialog {
  position: relative;
  max-width: 900px;
  margin: 72px auto 0;
  background: #fffdfa;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
  padding: 22px;
}

.auth-modal__head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.auth-panel-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.quick-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.quick-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow-strong);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 16px;
  color: white;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.toast--success {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.toast--warning {
  background: linear-gradient(135deg, #c2410c, #ea580c);
}

.auth-gate {
  display: grid;
  gap: 16px;
  min-height: 360px;
  align-content: center;
  text-align: left;
}

.lane-card {
  display: grid;
  gap: 14px;
}

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

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(198, 122, 18, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 118, 110, 0.92));
  color: white;
  box-shadow: var(--shadow-strong);
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.quality-card {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,252,0.94));
  padding: 18px;
  box-shadow: var(--shadow);
}

.quality-card__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.quality-card__head h3 {
  margin: 0;
}

.quality-card__score {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
}

.quality-meter {
  margin-top: 14px;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.quality-meter__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--warm), var(--brand));
  transition: width 0.24s ease;
}

.quality-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quality-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
}

.quality-item strong {
  font-size: 0.92rem;
}

.quality-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.quality-item.is-done {
  background: rgba(15, 118, 110, 0.1);
}

.quality-item.is-done span {
  color: var(--brand-dark);
  font-weight: 700;
}

.route-card {
  display: grid;
  gap: 14px;
}

.route-card__target {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
}

.route-card__target strong {
  display: block;
  margin-bottom: 6px;
}

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

.compare-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(247,250,252,0.93));
  box-shadow: var(--shadow);
}

.compare-card h3 {
  margin-top: 0;
}

.compare-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.compare-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
}

.hidden-file-input {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hero,
  .tools-grid,
  .contact-grid,
  .split-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }

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

@media (max-width: 820px) {
  .site-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .topbar-actions,
  .command-palette__head {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .auth-modal__head {
    flex-direction: column;
  }

  .auth-panel-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid--3,
  .stats-grid--4 {
    grid-template-columns: 1fr;
  }

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

  .hero-main,
  .hero-side,
  .section {
    padding: 22px;
  }

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