/* -------------------------------------------------------------------------- */
/* Theme tokens and global color system                                       */
/* -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg-0: #050b14;
  --bg-1: #071525;
  --card: rgba(9, 25, 42, 0.72);
  --line: rgba(89, 168, 219, 0.25);
  --text: #d9ebfb;
  --muted: #9ec2dd;
  --accent: #3aa3e8;
  --accent-2: #6fd3ff;
}

/* Base reset and document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}
  
html,
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: var(--bg-0);
  font-size: 112.5%;
}

/* App-wide background treatment */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(49, 144, 212, 0.32), transparent 70%),
    radial-gradient(800px 500px at -10% 0%, rgba(35, 110, 180, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

/* Page/container primitives */
.page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page.narrow {
  width: 100%;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Top navigation and account pill */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.top-links {
  display: flex;
  gap: 0.6rem;
}

.top-links a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
}

.top-links a:hover,
.top-links a.active {
  color: var(--text);
  border-color: rgba(111, 211, 255, 0.55);
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 23, 37, 0.55);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.account-avatar-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(111, 211, 255, 0.35);
}

.account-avatar-fallback {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(42, 146, 211, 0.28);
  border: 1px solid rgba(111, 211, 255, 0.35);
}

/* Hero and typography primitives */
.hero {
  padding: 1.4rem 1.5rem;
}

.hero-actions {
  margin-top: 0.8rem;
}

.hero-micro{
  margin-top: 10px;
  opacity: 0.75;
  font-size: 0.85rem;
  line-height: 1.4;
}

.mini-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mini-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(9, 23, 37, 0.55);
}

.kicker {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.lead {
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Generic layout utilities */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* About panel: resources */
.about-panel .lead { margin-bottom: 10px; }

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

.about-actions .btn.subtle{
  padding: 14px 14px;
  text-align: left;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.2;
}

.about-actions .btn-title{
  font-weight: 700;
  font-size: 16px;
}

.about-actions .btn-sub{
  opacity: .75;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 820px){
  .about-actions{ grid-template-columns: 1fr; }
}

.value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  display: block;
  opacity: 0.95;
}

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-copy h2,
.cta-band h2 {
  margin-bottom: 0.35rem;
}

.home-page .feature-copy h2,
.home-page .preview-card h2,
.home-page .cta-band h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.3rem);
}

.home-page .feature-copy .lead,
.home-page .cta-band .lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.clean-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.home-page .clean-list {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

.preview-card {
  display: grid;
  gap: 0.7rem;
}

.preview-stack {
  display: grid;
  gap: 0.55rem;
}

.preview-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(8, 20, 33, 0.65);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
}

.preview-row-icon {
  width: 30px;
  height: 30px;
  display: block;
  opacity: 0.96;
}

.preview-row-copy {
  display: grid;
  gap: 0.2rem;
}

.preview-row strong {
  font-size: 0.95rem;
}

.preview-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.home-page .preview-row strong {
  font-size: clamp(1.42rem, 1.9vw, 1.7rem);
}

.home-page .preview-row span {
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
}

.cta-band {
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.cta-band .actions {
  justify-content: center;
}

/* Sponsored placement blocks */
.sponsored-slot {
  display: grid;
  gap: 0.55rem;
  background:
    radial-gradient(560px 180px at 50% -20%, rgba(111, 211, 255, 0.11), transparent 72%),
    rgba(8, 20, 33, 0.66);
}

.sponsored-slot h2 {
  margin-bottom: 0.15rem;
}

.sponsored-slot .lead {
  margin-top: 0;
}

.sponsored-slot .actions {
  justify-content: center;
}

.sponsored-adsense-wrap {
  width: 100%;
  min-height: 120px;
}

/* Sponsored fallback (used in ?ads_test=1 or when AdSense fails) */
.sponsored-adsense-wrap .sponsored-fallback {
  width: 100%;
  display: flex;
  justify-content: center; /* centers the inner card inside your slot */
}

.sponsored-fallback-inner {
  width: min(720px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.sponsored-fallback-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.sponsored-fallback-label {
  color: rgba(125, 211, 252, 0.95);
}

.sponsored-fallback-title {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 6px;
}

.sponsored-fallback-body {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
  margin-bottom: 12px;
}

.sponsored-fallback-actions {
  display: flex;
  justify-content: flex-start;
}

/* Footer and legal navigation */
/* Clean footer layout */
.legal-footer {
  border: 1px solid rgba(89, 168, 219, 0.16);
  background: rgba(7, 18, 31, 0.48);
  box-shadow: none;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  margin-top: auto;
}

.legal-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  flex-wrap: wrap;
}

.legal-main > strong {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Left meta line */
.legal-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  font-size: 0.82rem;
  color: rgba(158, 194, 221, 0.7);
  line-height: 1.35;
  padding-top: 0.1rem;
}

.legal-copy span + span::before {
  content: "|";
  margin-right: 0.7rem;
  color: rgba(158, 194, 221, 0.35);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.legal-links a {
  position: relative;
  color: rgba(158, 194, 221, 0.72);
  text-decoration: none;
  transition: color 120ms ease;
}

.legal-links a + a {
  padding-left: 0.9rem;
}

.legal-links a + a::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(158, 194, 221, 0.42);
  transform: translateY(-50%);
}

.legal-links .sep { 
  opacity:.5;
  user-select:none;
}

.legal-links a:hover {
  color: var(--text);
}

/* Mobile: stack nicely */
@media (max-width: 680px) {
  .legal-footer {
    gap: 0.7rem;
  }

  .legal-main {
    align-items: flex-start;
  }

  .legal-links {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .legal-copy {
    gap: 0.45rem;
  }

  .legal-copy span + span::before {
    content: "";
    margin: 0;
  }
}

.steps-grid {
  display: grid;
  gap: 0.6rem;
}

.step-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.65);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 1rem;
  font-weight: 700;
  align-self: center;
}

.step-row strong {
  font-size: 0.95rem;
}

.step-row p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-legal h1 {
  margin-top: 0.2rem;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
}

.legal-content {
  display: grid;
  gap: 0.9rem;
}

.legal-content h2 {
  margin-bottom: 0.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.55;
}

.feature-tab {
  background:
    radial-gradient(600px 240px at 70% -30%, rgba(126, 244, 255, 0.18), transparent 75%),
    rgba(9, 25, 42, 0.72);
}

.feature-tab-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.feature-tab-item {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(8, 21, 35, 0.92), rgba(9, 31, 49, 0.62));
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.feature-tab-item h2 {
  margin-bottom: 0.2rem;
}

.feature-tab-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.feature-tab-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: radial-gradient(circle at 30% 25%, rgba(123, 226, 255, 0.25), rgba(8, 19, 31, 0.65));
  box-shadow: inset 0 0 0 6px rgba(10, 25, 40, 0.45);
}

.feature-tab-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.screenshot-tab {
  display: grid;
  gap: 0.7rem;
}

.screenshot-frame {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.78);
  min-height: 260px;
  display: grid;
  place-items: center;
}

.screenshot-frame img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.preview-clickable {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.preview-clickable:hover {
  transform: scale(1.01);
  filter: brightness(1.04);
}

.screenshot-frame img[src=""] {
  display: none;
}

.stack {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 2.9rem;
}

.password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 999px;
  background: rgba(9, 23, 37, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--text);
  border-color: rgba(111, 211, 255, 0.55);
}

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

.twofa-block {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(89, 168, 219, 0.22);
  display: grid;
  gap: 0.55rem;
}

.twofa-block h2 {
  margin: 0;
}

.twofa-setup {
  border: 1px solid rgba(89, 168, 219, 0.22);
  border-radius: 12px;
  background: rgba(8, 21, 35, 0.5);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.twofa-qr {
  width: 172px;
  height: 172px;
  border-radius: 10px;
  border: 1px solid rgba(89, 168, 219, 0.3);
  background: #fff;
  padding: 6px;
}

.avatar-preview-wrap {
  margin-top: 0.6rem;
  border: 1px solid rgba(89, 168, 219, 0.22);
  border-radius: 12px;
  background: rgba(8, 21, 35, 0.5);
  padding: 0.75rem;
  display: grid;
  gap: 0.7rem;
}

.avatar-preview-frame {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 1px solid rgba(89, 168, 219, 0.3);
  overflow: hidden;
  position: relative;
  background: rgba(7, 18, 31, 0.9);
  cursor: grab;
  touch-action: none;
}

.avatar-preview-frame img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.avatar-preview-frame.dragging {
  cursor: grabbing;
}

.avatar-preview-controls {
  display: grid;
  gap: 0.45rem;
  max-width: 360px;
}

.avatar-preview-controls .hint {
  margin: 0;
}

.avatar-preview-controls .btn {
  justify-self: start;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(7, 18, 31, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input[type="file"] {
  padding: 0.35rem 0.45rem;
}

input[type="file"]::file-selector-button {
  margin-right: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(9, 23, 37, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(9, 23, 37, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
  border-color: rgba(111, 211, 255, 0.55);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  background: rgba(9, 23, 37, 0.7);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  border-color: rgba(111, 211, 255, 0.55);
}

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

.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(42, 146, 211, 0.85), rgba(31, 120, 177, 0.9));
  border-color: rgba(111, 211, 255, 0.8);
}

.btn-danger {
  border-color: rgba(233, 99, 99, 0.55);
  background: rgba(76, 20, 24, 0.68);
  color: #ffd7dc;
}

.btn-danger:hover {
  border-color: rgba(255, 136, 136, 0.85);
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.output {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Cascadia Mono", "Consolas", monospace;
  background: rgba(7, 18, 31, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  max-height: 360px;
  overflow: auto;
}

.hidden { 
  display: none !important; 
}

.consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 2rem));
  bottom: 1rem;
  z-index: 1300;
  border: 1px solid rgba(89, 168, 219, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(520px 180px at 100% -20%, rgba(111, 211, 255, 0.12), transparent 72%),
    rgba(7, 19, 31, 0.98);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.46),
    0 0 0 2px rgba(89, 168, 219, 0.08);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.consent-banner-copy {
  display: grid;
  gap: 0.45rem;
}

.consent-banner-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #f2f8ff;
}

.consent-banner-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.consent-settings-btn {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 680px) {
  .consent-banner {
    width: calc(100vw - 1rem);
    bottom: 0.5rem;
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
  }

  .consent-banner-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

.auth-shell {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  background: rgba(16, 22, 34, 0.85);
}

.auth-mode-switch {
  margin-top: 0.2rem;
}

.auth-subtitle {
  margin-top: 0.25rem;
  margin-bottom: 0.1rem;
  font-size: 1.05rem;
}

.auth-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.auth-provider {
  justify-content: center;
  width: 100%;
  border-radius: 11px;
  background: rgba(37, 43, 57, 0.85);
  border-color: rgba(118, 139, 165, 0.2);
  color: #d5e3f2;
}

.auth-provider-google {
  background: linear-gradient(180deg, rgba(64, 129, 183, 0.95), rgba(44, 98, 148, 0.95));
  border-color: rgba(129, 197, 255, 0.7);
}

.auth-legal-note {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

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

.auth-legal-note a:hover {
  text-decoration: underline;
}

.home-page .page {
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.15rem;
}

.home-page .page > section.card {
  text-align: center;
}

.home-page .clean-list {
  margin-top: 0.8rem;
  margin-bottom: 0;
  max-width: 56ch;
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
}

.home-page .hero {
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(520px 240px at 82% -22%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.72);
}

.home-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.home-page .hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.home-page .hero .lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: #b8d8ee;
}

.home-page .hero-actions {
  margin-top: 1rem;
  justify-content: center;
}

.home-page .hero-shot {
  margin: 0;
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.home-page .hero-shot img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.home-page .trust-strip {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-page .trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 21, 35, 0.58);
  color: #c2e6ff;
  font-size: 0.84rem;
  padding: 0.34rem 0.68rem;
}

.home-page .feature-benefits {
  background: rgba(9, 25, 42, 0.68);
  text-align: center;
}

.home-page .benefits-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .benefit-card {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  background: rgba(8, 20, 33, 0.67);
  padding: 1rem;
}

.home-page .benefit-card h2 {
  font-size: 1.02rem;
  text-align: center;
}

.home-page .benefit-card p {
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.home-page .split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.home-page .panel-copy {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.home-page .split-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.home-page .panel-note {
  margin-top: 0.7rem;
  color: #bfe7ff;
  font-weight: 700;
}

.home-page .panel-visual {
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.74);
}

.home-page .panel-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.home-page .theme-pills {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-page .theme-pills span {
  border: 1px solid rgba(89, 168, 219, 0.34);
  border-radius: 999px;
  padding: 0.34rem 0.65rem;
  font-size: 0.82rem;
  color: #b8e4ff;
  background: rgba(9, 23, 37, 0.66);
}

.home-page .cta-mid {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.8rem;
  background: rgba(9, 25, 42, 0.75);
  border-radius: 14px;
}

.home-page .cta-mid h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.25rem;
}

.home-page .cta-mid .cta-copy .hint {
  margin-top: 0;
}

.home-page .cta-mid .actions {
  justify-content: center;
}

.home-page .performance-panel {
  background: rgba(9, 25, 42, 0.69);
  text-align: center;
}

.home-page .performance-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.42rem, 2.3vw, 1.9rem);
}

.home-page .perf-grid,
.home-page .creator-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .perf-grid article,
.home-page .creator-grid article {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 12px;
  padding: 0.82rem;
  background: rgba(8, 20, 33, 0.58);
  text-align: center;
}

.home-page .perf-grid h3,
.home-page .creator-grid h3 {
  margin: 0 0 0.25rem;
  font-size: 0.97rem;
}

.home-page .perf-grid p,
.home-page .creator-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.93rem;
}

.home-page .compare-panel {
  background: rgba(9, 25, 42, 0.72);
}

.home-page .compare-panel h2 {
  margin-top: 0.35rem;
}

.home-page .compare-table {
  margin-top: 0.75rem;
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

.home-page .compare-head,
.home-page .compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .compare-head {
  background: rgba(14, 35, 55, 0.82);
}

.home-page .compare-head span,
.home-page .compare-row span {
  padding: 0.7rem 0.75rem;
  text-align: center;
}

.home-page .compare-head span {
  font-weight: 700;
}

.home-page .compare-row span {
  border-top: 1px solid rgba(89, 168, 219, 0.22);
  color: var(--muted);
}

.home-page .compare-row:nth-child(even) span {
  background: rgba(8, 22, 37, 0.42);
}

.home-page .compare-head span + span,
.home-page .compare-row span + span {
  border-left: 1px solid rgba(89, 168, 219, 0.22);
}

.home-page .download-home {
  text-align: center;
  display: grid;
  gap: 0.35rem;
}

.home-page .download-home h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.home-page .download-home .actions {
  margin-top: 0.8rem;
  justify-content: center;
}

.home-page .feature-benefits,
.home-page .sync-panel,
.home-page .themes-panel,
.home-page .cta-mid,
.home-page .performance-panel,
.home-page .compare-panel,
.home-page .creator-panel,
.home-page .download-home {
  animation: home-rise 280ms ease-out both;
}

.home-page .card {
  border-radius: 14px;
}

.home-page .sync-panel {
  background: rgba(9, 25, 42, 0.72);
}

.home-page .themes-panel {
  background: rgba(9, 25, 42, 0.7);
}

.home-page .creator-panel {
  background: rgba(9, 25, 42, 0.66);
  text-align: center;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-page .bg {
  background:
    radial-gradient(920px 560px at 50% -15%, rgba(38, 122, 198, 0.44), transparent 68%),
    radial-gradient(760px 420px at 100% 20%, rgba(26, 83, 145, 0.28), transparent 72%),
    radial-gradient(760px 420px at 0% 22%, rgba(17, 69, 127, 0.26), transparent 72%),
    linear-gradient(180deg, #06142b, #040b18);
}

.download-hero {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background:
    radial-gradient(640px 220px at 50% 0%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.78);
}

.download-hero h1 {
  max-width: 18ch;
  margin: 0.55rem auto 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.07;
}

.download-hero .lead {
  max-width: 60ch;
  margin: 0.85rem auto 0;
}

.download-hero .hero-actions {
  justify-content: center;
}

.download-summary {
  margin-top: 0.35rem;
}

.download-options {
  text-align: center;
  padding: 1.25rem 1.2rem 1.35rem;
}

.download-showcase {
  text-align: center;
  padding: 1.35rem 1.2rem 1.45rem;
  background:
    radial-gradient(700px 260px at 50% -16%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.74);
}

.download-showcase h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
}

.download-showcase .hint {
  max-width: 60ch;
  margin: 0.45rem auto 0;
}

.download-shot-grid {
  margin: 1.1rem auto 0;
  max-width: 1320px;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(460px, 1fr));
  align-items: start;
}

.download-shot-col {
  display: grid;
  gap: 1rem;
}

.download-shot-col-right {
  margin-top: 34px;
}

.download-shot {
  margin: 0;
  border: 1px solid rgba(89, 168, 219, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(240px 120px at 50% -15%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(7, 19, 31, 0.78);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-template-rows: auto auto;
}

.download-shot img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.download-shot-image {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.download-shot:hover .download-shot-image {
  transform: scale(1.015);
  filter: brightness(1.05);
}

.download-shot figcaption {
  margin: 0;
  padding: 0.62rem 0.74rem 0.76rem;
  border-top: 1px solid rgba(89, 168, 219, 0.2);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.download-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.download-lightbox.hidden {
  display: none;
}

.download-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.78);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.download-lightbox.is-open .download-lightbox-backdrop {
  opacity: 1;
}

.download-lightbox-stage {
  position: relative;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 180ms ease, transform 220ms ease;
}

.download-lightbox.is-open .download-lightbox-stage {
  opacity: 1;
  transform: scale(1);
}

.download-lightbox-stage img {
  display: block;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(89, 168, 219, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
  background: rgba(7, 19, 31, 0.96);
}

.download-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.45);
  background: rgba(7, 19, 31, 0.95);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.download-lightbox-close:hover {
  border-color: rgba(111, 211, 255, 0.7);
}

.release-notes-modal {
  position: fixed;
  inset: 0;
  z-index: 1220;
  display: grid;
  place-items: center;
}

.release-notes-modal.hidden {
  display: none;
}

.release-notes-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.release-notes-modal.is-open .release-notes-backdrop {
  opacity: 1;
}

.release-notes-panel {
  position: relative;
  width: min(900px, calc(100vw - 2rem));
  max-height: min(84vh, 820px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(89, 168, 219, 0.35);
  background:
    radial-gradient(520px 220px at 50% -12%, rgba(111, 211, 255, 0.12), transparent 70%),
    rgba(7, 19, 31, 0.96);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.58);
  transform: scale(0.985);
  opacity: 0;
  transition: transform 220ms ease, opacity 180ms ease;
}

.release-notes-modal.is-open .release-notes-panel {
  transform: scale(1);
  opacity: 1;
}

.release-notes-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(89, 168, 219, 0.2);
}

.release-notes-header h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.release-notes-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.45);
  background: rgba(8, 19, 31, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}

.release-notes-close:hover {
  border-color: rgba(111, 211, 255, 0.7);
}

.release-notes-body {
  max-height: calc(min(84vh, 820px) - 118px);
  overflow: auto;
  padding: 0.95rem 1rem 1.15rem;
  display: grid;
  gap: 0.62rem;
}

.release-notes-body h1,
.release-notes-body h2,
.release-notes-body h3 {
  margin: 0.2rem 0 0.1rem;
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
}

.release-notes-body p,
.release-notes-body li {
  color: var(--muted);
  line-height: 1.56;
  margin: 0;
}

.release-notes-body ul,
.release-notes-body ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.32rem;
}

.release-notes-body a {
  color: var(--accent-2);
}

.release-notes-body code {
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.92em;
  color: #d4efff;
  background: rgba(9, 23, 37, 0.84);
  border: 1px solid rgba(89, 168, 219, 0.26);
  border-radius: 7px;
  padding: 0.08rem 0.38rem;
}

.download-options h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.download-platforms {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
}

.download-platform {
  padding: 1.5rem 1rem;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  background: rgba(7, 19, 31, 0.42);
}

.download-platform + .download-platform {
  border-left: 1px solid rgba(89, 168, 219, 0.26);
}

.download-platform-active {
  background:
    radial-gradient(260px 100px at 50% 0%, rgba(111, 211, 255, 0.12), transparent 74%),
    rgba(7, 21, 36, 0.68);
}

.download-platform h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.download-platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(111, 211, 255, 0.42);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: rgba(8, 20, 33, 0.75);
}

.download-platform-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.download-platform-icon.windows {
  color: #8ed7ff;
}

.download-platform-icon.apple {
  color: #d7e4f0;
}

.download-platform-icon.linux {
  color: #a5ddff;
}

.download-legal {
  margin-top: 1.1rem;
  color: var(--muted);
}

.download-legal a {
  color: var(--text);
}

/* Public profile page */
.profile-page .page {
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.15rem;
}

.profile-layout {
  display: grid;
  gap: 1rem;
}

.profile-hero {
  background:
    radial-gradient(520px 220px at 88% -20%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.76);
}

.profile-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.profile-avatar-wrap {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  border: 1px solid rgba(111, 211, 255, 0.4);
  background: rgba(8, 21, 35, 0.8);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(89, 168, 219, 0.2);
}

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

.profile-avatar-fallback {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d6edff;
}

.profile-identity-copy h1 {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.profile-badges {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-tier-badge,
.profile-subtle-pill {
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  font-size: 0.82rem;
  border: 1px solid rgba(89, 168, 219, 0.34);
}

.profile-tier-badge {
  color: #d8f3ff;
  background: linear-gradient(180deg, rgba(42, 146, 211, 0.56), rgba(31, 120, 177, 0.56));
  border-color: rgba(111, 211, 255, 0.62);
  font-weight: 700;
}

.profile-subtle-pill {
  color: var(--muted);
  background: rgba(9, 23, 37, 0.62);
}

.profile-stats-grid {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.profile-stat-card {
  border: 1px solid rgba(89, 168, 219, 0.24);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.6);
  padding: 0.82rem;
}

.profile-stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-stat-value {
  margin: 0.5rem 0 0;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}

.profile-benchmark-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.profile-benchmark-card .lead {
  margin-top: 0.6rem;
}

.profile-setups-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.7rem;
}

.profile-setup-card {
  border: 1px solid rgba(89, 168, 219, 0.24);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.6);
  padding: 0.82rem;
}

.profile-setup-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.profile-setup-meta {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.profile-missing {
  text-align: center;
  display: grid;
  gap: 0.55rem;
}

.profile-missing .actions {
  justify-content: center;
}

/* Ads info + publisher dashboard pages */
.ads-page .page {
  max-width: 1180px;
  margin: 0 auto;
  gap: 1rem;
}

.ads-page .bg {
  background:
    radial-gradient(900px 520px at 60% -18%, rgba(47, 137, 206, 0.4), transparent 70%),
    radial-gradient(780px 440px at 0% 26%, rgba(17, 71, 134, 0.28), transparent 72%),
    linear-gradient(180deg, #06172d, #041020);
}

.ads-hero {
  text-align: center;
  background:
    radial-gradient(640px 220px at 50% -15%, rgba(111, 211, 255, 0.16), transparent 72%),
    rgba(9, 25, 42, 0.78);
}

.ads-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

.ads-hero .lead {
  max-width: 70ch;
  margin: 0.75rem auto 0;
}

.ads-hero .actions {
  justify-content: center;
  margin-top: 0.95rem;
}

.ads-stat-grid,
.ads-placement-grid,
.ads-kpi-grid,
.ads-tools-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

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

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

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

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

.ads-form-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ads-placement-picker {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ads-placement-picker label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(89, 168, 219, 0.24);
  border-radius: 10px;
  background: rgba(8, 20, 33, 0.56);
  padding: 0.52rem 0.62rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.ads-placement-picker input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.ads-stat-card,
.ads-placement-card,
.ads-kpi-card {
  border: 1px solid rgba(89, 168, 219, 0.26);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.6);
  padding: 0.82rem;
}

.ads-stat-label,
.ads-kpi-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ads-stat-value {
  margin: 0.45rem 0 0;
  line-height: 1.45;
}

.ads-kpi-value {
  margin: 0.45rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
}

.ads-placement-card h3 {
  margin: 0;
  font-size: 1rem;
}

.ads-placement-meta {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-controls {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ads-bars {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.7rem;
}

.ads-bar-row {
  display: grid;
  gap: 0.38rem;
}

.ads-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.ads-bar-meta strong {
  color: var(--text);
  font-size: 0.94rem;
}

.ads-bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.28);
  background: rgba(7, 19, 31, 0.62);
  overflow: hidden;
}

.ads-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(56, 162, 233, 0.9), rgba(111, 211, 255, 0.95));
}

.dashboard-table-wrap {
  margin-top: 0.7rem;
  overflow: auto;
  border: 1px solid rgba(89, 168, 219, 0.24);
  border-radius: 12px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.campaign-select {
  width: 16px;
  height: 16px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid rgba(89, 168, 219, 0.18);
  text-align: left;
  vertical-align: top;
}

.dashboard-table th {
  color: #d5eeff;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(9, 24, 38, 0.74);
}

.dashboard-table td {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-table td:nth-child(1),
.dashboard-table td:nth-child(4),
.dashboard-table td:nth-child(5),
.dashboard-table td:nth-child(6),
.dashboard-table td:nth-child(7),
.dashboard-table td:nth-child(8),
.dashboard-table th:nth-child(1),
.dashboard-table th:nth-child(4),
.dashboard-table th:nth-child(5),
.dashboard-table th:nth-child(6),
.dashboard-table th:nth-child(7),
.dashboard-table th:nth-child(8) {
  white-space: nowrap;
}

.dashboard-table td:nth-child(5),
.dashboard-table td:nth-child(6),
.dashboard-table td:nth-child(7),
.dashboard-table td:nth-child(8),
.dashboard-table th:nth-child(5),
.dashboard-table th:nth-child(6),
.dashboard-table th:nth-child(7),
.dashboard-table th:nth-child(8) {
  text-align: right;
}

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

.status-pill {
  display: inline-flex;
  padding: 0.2rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.35);
  text-transform: capitalize;
  font-size: 0.78rem;
  color: var(--text);
}

.status-active {
  border-color: rgba(70, 206, 147, 0.55);
  background: rgba(15, 67, 48, 0.55);
}

.status-paused {
  border-color: rgba(223, 176, 90, 0.55);
  background: rgba(86, 57, 12, 0.55);
}

.status-review {
  border-color: rgba(112, 174, 234, 0.55);
  background: rgba(16, 46, 82, 0.55);
}

@media (max-width: 980px) {
  .home-page .hero-grid,
  .home-page .split-panel {
    grid-template-columns: 1fr;
  }

  .home-page .cta-mid {
    grid-template-columns: 1fr;
  }

  .home-page .cta-mid .actions {
    justify-content: center;
  }

  .home-page .benefits-grid,
  .home-page .perf-grid,
  .home-page .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ads-stat-grid,
  .ads-placement-grid,
  .ads-kpi-grid,
  .dashboard-controls,
  .ads-form-grid,
  .ads-placement-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page,
  .page.narrow {
    width: 100%;
    padding: 0.75rem;
  }

  .legal-footer {
    gap: 0.7rem;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .top-left {
    justify-content: space-between;
  }

  .feature-tab-grid {
    grid-template-columns: 1fr;
  }

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

  .home-page .hero {
    padding: 1rem;
  }

  .home-page .benefits-grid,
  .home-page .perf-grid,
  .home-page .creator-grid,
  .home-page .compare-head,
  .home-page .compare-row {
    grid-template-columns: 1fr;
  }

  .home-page .compare-head span + span,
  .home-page .compare-row span + span {
    border-left: 0;
  }

  .home-page .download-home .actions {
    justify-content: center;
  }

  .download-hero {
    padding: 1.35rem 1rem;
  }

  .download-platforms {
    grid-template-columns: 1fr;
  }

  .download-shot-grid {
    grid-template-columns: 1fr;
  }

  .download-shot-col-right {
    margin-top: 0;
  }

  .download-shot-col {
    gap: 1rem;
  }

  .download-platform + .download-platform {
    border-left: 0;
    border-top: 1px solid rgba(89, 168, 219, 0.26);
  }

  .profile-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-badges {
    justify-content: center;
  }

  .ads-stat-grid,
  .ads-placement-grid,
  .ads-kpi-grid,
  .ads-tools-grid,
  .dashboard-controls,
  .ads-form-grid,
  .ads-placement-picker {
    grid-template-columns: 1fr;
  }

  .ads-bar-meta {
    flex-direction: column;
    gap: 0.2rem;
  }
}

