@import url("/brand-tokens.css");

/* Final theme layer: shared component roles, independent of page layout. */
:root,
body.funnel,
body:not(.funnel) {
  --paper: var(--platina-void);
  --night: var(--platina-void);
  --ink: var(--platina-white);
  --text: var(--platina-white);
  --muted: var(--platina-muted);
  --line: var(--platina-border);
  --orange: var(--platina-violet);
  color-scheme: dark;
  color: var(--text);
  background-color: var(--platina-void);
}
body:not(.funnel) {
  background: radial-gradient(ellipse at 85% 0%, rgb(154 134 200 / 7%), transparent 50%), var(--platina-void);
}
::selection {
  color: var(--platina-white);
  background: #514266;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: var(--platina-focus);
  outline-offset: 3px;
}
.skip,
.noscript-note {
  background: var(--platina-platinum);
  color: var(--platina-void);
}
.site-head {
  background: var(--platina-surface);
  color: var(--platina-white);
  border-color: var(--line);
}
.funnel {
  position: relative;
}
.funnel::before {
  position: absolute;
  bottom: auto;
  height: 1100px;
  max-height: 100%;
  mask-image: linear-gradient(#000 60%, transparent);
  background:
    radial-gradient(ellipse 75% 55% at 75% 25%, rgb(154 134 200 / 13%), transparent 85%),
    radial-gradient(ellipse 65% 50% at 100% 65%, rgb(199 134 150 / 9%), transparent 80%),
    radial-gradient(ellipse 65% 50% at 10% 100%, rgb(189 213 227 / 8%), transparent 85%);
}
.brand span,
.funnel .brand span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.065em;
}
.brand img,
.funnel .brand img {
  width: 34px;
}
.desktop-nav a,
.login-link,
.scan-country,
.scan-reassurance,
.footer-line,
.footer-wordmark {
  color: var(--platina-platinum);
}
.menu-btn span {
  background: var(--platina-white);
}
.nav-scan,
#mobile-menu a,
.tabs,
.removal-steps article,
.scan-faq details {
  border-color: var(--line);
}
.scan-entry {
  padding-block: 48px 80px;
}
.scan-entry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 48px;
  text-align: left;
  align-items: start;
}
.scan-entry-inner > :not(.platinum-sculpture) {
  grid-column: 1;
}
.scan-kicker {
  grid-row: 1;
  color: var(--platina-ice);
}
.scan-entry h1 {
  grid-row: 2;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.4rem, 3.7vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.1;
  text-wrap: pretty;
}
.gradient-text {
  color: var(--platina-white);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.scan-intro {
  grid-row: 3;
  margin-left: 0;
  color: var(--muted);
}
.scan-entry .scan-form {
  grid-row: 4;
  width: 100%;
  margin-left: 0;
}
.scan-reassurance {
  justify-content: flex-start;
}
.scan-entry .sample-link,
.scan-disclosures,
.footer-links > span,
.ink-kicker,
.funnel .view .lead,
.funnel .ink-kicker,
.scan-faq p,
.removal-steps p,
.funnel .plan-assurance,
.funnel .pro > p,
.funnel .pro .bill-note,
.pro > p,
.pro .bill-note {
  color: var(--muted);
}
.scan-country .ico,
.scan-reassurance .ico,
.removal-steps .ico,
.funnel .listing-actions .text-btn,
.funnel .listing-actions .guide-link,
.guide-link {
  color: var(--platina-ice);
}
.scan-input-ring {
  background: var(--platina-liquid);
  box-shadow: 0 12px 40px rgb(0 0 0 / 25%);
}
.scan-input-ring:focus-within {
  outline: var(--platina-focus);
  outline-offset: 4px;
  box-shadow: 0 0 32px rgb(154 134 200 / 18%);
}
.scan-input-inner {
  background: var(--platina-void);
}
#hero-phone {
  color: var(--platina-white);
}
.scan-submit,
.orange,
.ink,
.funnel .orange,
.funnel .ink {
  color: var(--platina-void);
  background: var(--platina-platinum);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgb(247 246 250 / 65%), 0 4px 18px rgb(0 0 0 / 16%);
}
.btn {
  white-space: normal;
}
.scan-submit:hover,
.orange:hover,
.ink:hover,
.funnel .orange:hover,
.funnel .ink:hover {
  background: var(--platina-white);
}
.btn:disabled,
.scan-submit:disabled {
  cursor: wait;
  transform: none;
}
.outline,
.funnel .outline,
.nav-scan {
  border-color: var(--platina-input-border);
  color: var(--platina-white);
}
.outline:hover,
.funnel .outline:hover,
.nav-scan:hover {
  background: rgb(215 216 224 / 8%);
}
.text-btn:hover,
.sample-link:hover,
.funnel .form-panel .back-link:hover,
.funnel .form-panel .sample-login:hover {
  color: var(--platina-white);
}
.funnel .view h1,
.removal-story h2 {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.panel,
.plan-card,
.stat,
.listing-card,
body:not(.funnel) .panel,
body:not(.funnel) .stat,
.funnel .panel,
.funnel .plan-card,
.funnel .stat,
.funnel .listing-card {
  color: var(--platina-white);
  background: var(--platina-surface);
  border-color: var(--line);
  border-radius: 16px;
}
.panel,
.plan-card {
  box-shadow: var(--platina-shadow);
}
.funnel .plan-card.pro,
.plan-card.pro,
.report-offer,
.funnel .report-offer {
  color: var(--platina-white);
  background: linear-gradient(140deg, rgb(154 134 200 / 12%), transparent 65%), var(--platina-surface);
  border: 1px solid rgb(154 134 200 / 45%);
}
.pro .included {
  border-color: var(--line);
}
.pro > .ico,
.pro .included .ico,
.accent {
  color: var(--platina-violet);
}
.input,
.light-phone,
.phone-box,
.funnel .input,
.funnel .light-phone {
  color: var(--platina-white);
  background-color: var(--platina-void);
  border-color: var(--platina-input-border);
}
.phone-box:focus-within {
  border-color: var(--platina-ice);
  outline: var(--platina-focus);
  outline-offset: 3px;
}
.dial,
.light-phone .dial,
.funnel .light-phone .dial {
  border-color: var(--platina-input-border);
}
.input::placeholder,
.light-phone input::placeholder,
.phone-box input::placeholder,
.funnel .input::placeholder,
.funnel .light-phone input::placeholder,
#hero-phone::placeholder {
  color: var(--muted);
  opacity: 1;
}
.input:is(select) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23d7d8e0' stroke-width='1.5'/%3E%3C/svg%3E");
}
.input option {
  color: var(--platina-white);
  background: var(--platina-surface);
}
.consent input {
  accent-color: var(--platina-violet);
}
.notice,
.demo-strip,
.panel .notice,
.funnel .notice,
.funnel .demo-strip,
.funnel .panel .notice {
  color: var(--platina-platinum);
  background: var(--platina-status-surface);
  border: 1px solid var(--line);
}
.error,
.funnel .error {
  color: var(--platina-error);
}
.feedback {
  color: var(--platina-success);
}
.form-status,
.funnel .form-panel .back-link,
.funnel .form-panel .sample-login,
.household-options > summary {
  color: var(--platina-platinum);
}
.funnel-steps {
  color: var(--muted);
}
.funnel-steps li + li::before {
  background: var(--platina-input-border);
}
.funnel-steps [aria-current="step"] {
  color: var(--platina-white);
}
.funnel-steps .complete {
  color: var(--platina-ice);
}
.tiny-line,
.funnel .tiny-line {
  background: var(--platina-liquid);
}
.billing-toggle,
.funnel .billing-toggle {
  background: var(--platina-surface);
  border-color: var(--line);
}
.billing-toggle button[aria-pressed="true"],
.funnel .billing-toggle button[aria-pressed="true"] {
  color: var(--platina-void);
  background: var(--platina-platinum);
}
.tabs a[aria-current] {
  color: var(--platina-white);
  border-color: var(--platina-violet);
}
.badge,
.saving,
.pro .saving,
.site-icon,
.funnel .site-icon,
.listing-status,
.funnel .listing-status {
  color: var(--platina-ice);
  background: var(--platina-status-surface);
  border-color: var(--line);
}
.listing-status.removed,
.funnel .listing-status.removed {
  color: var(--platina-success);
  background: var(--platina-success-surface);
}
.listing-status.returned,
.listing-status.blocked,
.funnel .listing-status.returned,
.funnel .listing-status.blocked {
  color: var(--platina-warning);
  background: var(--platina-warning-surface);
}
.listing-status.ignored,
.listing-status.unknown,
.funnel .listing-status.ignored,
.funnel .listing-status.unknown {
  color: var(--platina-muted);
  background: var(--platina-status-surface);
}
.funnel .listing-meta strong {
  color: var(--platina-white);
}
.scan-pulse {
  color: var(--platina-ice);
  border-color: var(--platina-violet);
  animation-name: platinum-scan-pulse;
}
@keyframes platinum-scan-pulse {
  from { box-shadow: 0 0 0 0 rgb(154 134 200 / 24%); }
  to { box-shadow: 0 0 0 16px rgb(154 134 200 / 0%); }
}

/* Purely decorative material: no network asset, canvas, or animation loop. */
.platinum-sculpture {
  grid-column: 2;
  grid-row: 1 / 5;
  position: relative;
  align-self: center;
  width: 100%;
  height: 340px;
  pointer-events: none;
  isolation: isolate;
}
.platinum-sculpture::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15% -5%;
  background: var(--platina-atmosphere);
  filter: blur(40px);
}
.platinum-ring {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  top: 50%;
  left: 47%;
  transform: translate(-50%, -50%) rotate(-24deg);
  border-radius: 44% 56% 63% 37% / 46% 35% 65% 54%;
  background: conic-gradient(from 25deg, var(--platina-chrome-shadow) 0deg, var(--platina-platinum) 26deg, var(--platina-white) 39deg, var(--platina-steel) 50deg, var(--platina-chrome-shadow) 79deg, var(--platina-rose) 110deg, var(--platina-white) 135deg, var(--platina-steel) 156deg, var(--platina-chrome-shadow) 181deg, var(--platina-violet) 213deg, var(--platina-white) 249deg, var(--platina-ice) 262deg, var(--platina-chrome-shadow) 285deg, var(--platina-steel) 316deg, var(--platina-white) 337deg, var(--platina-chrome-shadow) 360deg);
  box-shadow: inset 3px 4px 5px rgb(247 246 250 / 65%), inset -5px -5px 12px rgb(9 9 15 / 75%), 10px 24px 40px rgb(0 0 0 / 55%);
}
.platinum-ring::after {
  content: "";
  position: absolute;
  inset: 25% 27% 26% 26%;
  border-radius: 49% 51% 37% 63% / 55% 35% 65% 45%;
  background: radial-gradient(ellipse at 85% 50%, #282331, var(--platina-void) 83%);
  box-shadow: -3px -4px 3px rgb(247 246 250 / 80%), 3px 4px 4px rgb(9 9 15 / 80%), inset 5px 8px 14px rgb(0 0 0 / 90%);
}
.platinum-drop {
  position: absolute;
  width: 46px;
  height: 54px;
  right: 0;
  bottom: 8%;
  transform: rotate(28deg);
  border-radius: 43% 57% 51% 49% / 59% 42% 58% 41%;
  background: radial-gradient(ellipse at 28% 22%, var(--platina-white), var(--platina-platinum) 15%, var(--platina-steel) 26%, var(--platina-chrome-shadow) 47%, var(--platina-violet) 66%, var(--platina-white) 80%, var(--platina-chrome-shadow));
  box-shadow: 7px 12px 22px rgb(0 0 0 / 65%);
}
@supports (backdrop-filter: blur(20px)) {
  .site-head {
    background: var(--platina-glass);
    backdrop-filter: blur(var(--platina-glass-blur));
  }
  .funnel .site-head {
    background: transparent;
    backdrop-filter: none;
  }
}
@media (max-width: 1000px) {
  .scan-entry-inner {
    display: block;
    max-width: 720px;
    text-align: center;
  }
  .platinum-sculpture {
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
  }
  .platinum-drop {
    width: 28px;
    height: 33px;
    right: -6px;
    bottom: 4px;
  }
  .scan-entry .scan-form,
  .scan-intro {
    margin-inline: auto;
  }
  .scan-reassurance {
    justify-content: center;
  }
}
@media (max-width: 550px) {
  .scan-entry {
    padding-top: 16px;
  }
  .scan-entry h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    letter-spacing: -0.055em;
  }
  .platinum-sculpture {
    width: 136px;
    height: 136px;
    margin-bottom: 28px;
  }
  .platinum-drop {
    width: 23px;
    height: 27px;
  }
  .funnel .view h1 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    overflow-wrap: anywhere;
  }
  .scan-kicker,
  .stat span,
  .funnel .stat span {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .scan-pulse { animation: none; }
  .btn,
  .scan-submit,
  .scan-input-ring { transition: none; }
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .platinum-sculpture { display: none; }
  .scan-input-ring { border: 1px solid CanvasText; }
}
