:root {
  color-scheme: dark;
  --brand-blue: #5ac8fa;
  --brand-violet: #8a5cf6;
  --brand-violet-dark: #6a3ed4;
  --background: #0b0f18;
  --surface: #101522;
  --card: #161c2d;
  --variant: #1e2638;
  --outline: #2a3349;
  --text: #ffffff;
  --muted: #b8c0cc;
  --soft: #606a86;
  --safe: #23c16b;
  --warn: #f7b500;
  --danger: #ff5c5c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, #070a12 0%, var(--background) 42%, #0d1320 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(42, 51, 73, 0.78);
  background: rgba(11, 15, 24, 0.88);
  backdrop-filter: blur(14px);
}

.wordmark,
.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo,
.mini-brand img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

img[src="/assets/itsfake-brand-logo.jpg"],
img[src*="itsfake-brand-logo.jpg"] {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.hero-brand {
  display: none !important;
}

.brand-text,
.mini-brand span {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.brand-text strong,
.mini-brand strong {
  color: var(--brand-violet);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.topnav a {
  padding: 9px 0;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 408px;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 52px 28px 42px;
}

.hero-copy {
  max-width: 640px;
}

.state-pill,
.mini-eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  color: #dbeafe;
  border: 1px solid rgba(90, 200, 250, 0.34);
  border-radius: 8px;
  background: rgba(16, 21, 34, 0.9);
}

.state-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--safe);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}

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

.hero-actions .inactive-cta,
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(138, 92, 246, 0.7);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.hero-actions .inactive-cta {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-violet));
  opacity: 0.9;
  cursor: not-allowed;
  -webkit-text-fill-color: #fff;
}

.hero-actions a {
  color: var(--brand-blue);
  background: rgba(90, 200, 250, 0.08);
}

.phone-shell {
  width: 100%;
  max-width: 392px;
  padding: 12px;
  border: 1px solid rgba(90, 200, 250, 0.18);
  border-radius: 8px;
  background: #070a12;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.phone-status,
.phone-appbar,
.bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  height: 26px;
  padding: 0 8px;
}

.phone-status span {
  display: block;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: #252d44;
}

.phone-status span:last-child {
  width: 34px;
}

.phone-appbar {
  min-height: 54px;
  padding: 0 10px;
  border-bottom: 1px solid var(--outline);
  background: var(--background);
}

.mini-brand img {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
}

.mini-brand span {
  font-size: 16px;
}

.avatar {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(184, 192, 204, 0.35);
  border-radius: 50%;
  background: var(--variant);
}

.phone-content {
  padding: 22px 12px 16px;
  background: var(--background);
}

.phone-content h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.1;
}

.mini-copy {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.scan-item,
.result-panel,
.signal-list {
  border: 1px solid rgba(42, 51, 73, 0.92);
  border-radius: 8px;
  background: var(--card);
}

.scan-item {
  min-height: 112px;
  padding: 14px;
}

.scan-item span,
.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 12px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--brand-violet);
  background: rgba(138, 92, 246, 0.16);
  font-size: 11px;
  font-weight: 900;
}

.scan-item b,
.scan-item small {
  display: block;
}

.scan-item b {
  margin-bottom: 4px;
  font-size: 15px;
}

.scan-item small {
  color: var(--muted);
  font-size: 12px;
}

.result-panel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

.result-panel p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.result-panel strong {
  font-size: 15px;
}

.signal {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.signal-amber {
  color: #2c1d00;
  background: var(--warn);
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  color: var(--muted);
  font-size: 12px;
}

.signal-list div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.blue {
  background: var(--brand-blue);
}

.violet {
  background: var(--brand-violet);
}

.green {
  background: var(--safe);
}

.bottom-nav {
  min-height: 58px;
  padding: 0 12px;
  border-top: 1px solid var(--outline);
  color: var(--soft);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
}

.bottom-nav span {
  padding: 7px 6px;
  border-radius: 8px;
}

.bottom-nav .active {
  color: var(--brand-violet);
  background: rgba(138, 92, 246, 0.16);
}

.surface-band,
.privacy-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 28px;
  border-top: 1px solid rgba(42, 51, 73, 0.78);
}

.section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-title h2,
.privacy-strip h2 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.08;
}

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

.feature-grid article {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  background: var(--card);
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.privacy-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.privacy-strip ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-strip li {
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 34px;
  color: var(--soft);
  border-top: 1px solid rgba(42, 51, 73, 0.78);
  font-size: 13px;
}

.footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--soft);
  text-decoration: none;
}

.footer-links a:hover,
.topnav a:hover {
  color: var(--text);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(90, 200, 250, 0.12), transparent 34rem),
    linear-gradient(180deg, #070a12 0%, var(--background) 44%, #0d1320 100%);
}

.legal-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 78px;
}

.legal-shell h1 {
  margin: 0 0 18px;
}

.legal-shell .lead {
  max-width: 760px;
  margin-bottom: 30px;
}

.legal-card {
  margin: 16px 0;
  padding: 24px;
  border: 1px solid rgba(42, 51, 73, 0.92);
  border-radius: 8px;
  background: rgba(16, 21, 34, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  padding-left: 20px;
}

.help-share-page {
  background:
    linear-gradient(180deg, #070a12 0%, var(--background) 48%, #0d1320 100%);
}

.help-shell {
  max-width: 1120px;
}

.help-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 22px;
}

.help-panel,
.help-section {
  border: 1px solid rgba(90, 200, 250, 0.16);
  background: rgba(16, 21, 34, 0.9);
}

.help-panel {
  padding: 18px;
  border-radius: 8px;
}

.help-panel img,
.help-with-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(42, 51, 73, 0.9);
  border-radius: 8px;
  background: #070a12;
}

.help-panel h2,
.help-section h2 {
  margin: 18px 0 10px;
}

.help-panel p,
.help-section p,
.help-section li {
  color: var(--muted);
  line-height: 1.62;
}

.help-with-image {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

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

.visual-guide-card {
  margin: 22px 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
}

.visual-guide-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #0b1220;
}

.visual-guide-card figcaption {
  margin: 10px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.help-steps {
  margin: 0;
  padding-left: 20px;
}

.help-steps li + li {
  margin-top: 10px;
}

.help-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(247, 181, 0, 0.26);
  border-radius: 8px;
  background: rgba(247, 181, 0, 0.08);
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero,
  .privacy-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 36px 18px 34px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .phone-shell {
    max-width: 420px;
  }

  .feature-grid,
  .privacy-strip ul,
  .help-hero-grid,
  .visual-guide-grid,
  .help-with-image {
    grid-template-columns: 1fr;
  }

  .surface-band,
  .privacy-strip {
    padding: 52px 18px;
  }

  .section-title h2,
  .privacy-strip h2 {
    font-size: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px 30px;
  }
}
