/* Website Checker landing page. Values mirror the Framer design (colour styles, text styles, spacing). */

@font-face { font-family: "Switzer"; src: url("/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --surface: #121212;
  --surface-raised: #1a1a1a;
  --surface-hover: #242424;
  --border: rgba(255, 255, 255, 0.2);
  --muted: #999;
  --accent: #00ffe1;
  --display: "Switzer", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.2 var(--text);
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Text styles */
.h1 { font: 500 64px/1.2em var(--display); letter-spacing: -0.05em; text-wrap: balance; }
.h2 { font: 500 36px/1.1em var(--display); letter-spacing: -0.05em; }
.h3 { font: 500 19px/1.25em var(--display); letter-spacing: -0.04em; }
.body { font: 400 16px/1.2em var(--text); letter-spacing: -0.04em; }
.small { font: 400 15px/1.5em var(--text); letter-spacing: -0.03em; font-feature-settings: "cv03", "cv04", "cv09", "cv11"; }
.dim-50 { opacity: 0.5; }
.dim-60 { opacity: 0.6; }
.dim-75 { opacity: 0.75; }
.pretty { text-wrap: pretty; }

/* Shared chrome */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 69px;
  padding: 15px 15px 15px 25px;
}
.logo { font: 500 18px/1.2 var(--display); letter-spacing: -0.05em; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 12px;
  background: var(--surface-raised);
  font: 500 16px/1.3 var(--display);
  letter-spacing: -0.05em;
  transition: background-color 0.3s ease;
}
.btn:hover { background: var(--surface-hover); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { opacity: 0.5; transition: opacity 0.2s cubic-bezier(0.44, 0, 0.56, 1); }
.footer-links a:hover, .footer-links a[aria-current="page"] { opacity: 1; }

/* Home: content column + sticky visual */
.page { display: flex; justify-content: flex-end; align-items: flex-start; max-width: 1200px; margin: 0 auto; }
.content { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 120px; padding: 150px 25px 25px; }
.content > .nav { position: absolute; top: 0; left: 0; right: 0; z-index: 1; }
.sections { display: flex; flex-direction: column; gap: 120px; }

.visual { position: sticky; top: 0; flex: 0 0 600px; height: 100vh; padding: 20px; display: flex; }
.visual-box { position: relative; flex: 1; border-radius: 20px; overflow: hidden; background: var(--black); isolation: isolate; }
.visual-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.check3d { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; perspective: 3000px; pointer-events: none; }
.check3d-obj { position: relative; width: clamp(110px, 32%, 180px); aspect-ratio: 1; transform-style: preserve-3d; animation: spin 6s linear infinite; }
.check3d-obj svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes spin { to { transform: rotateY(360deg); } }

/* Hero */
.hero { display: flex; flex-direction: column; gap: 25px; animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.hero-text .body { max-width: 460px; }
@keyframes rise { from { opacity: 0; transform: translateY(50px); } }
.label { padding: 8px; border-radius: 12px; background: var(--surface); }
.shimmer {
  display: block;
  font: 500 16px/1 var(--display);
  letter-spacing: -0.05em;
  color: #adadad;
  background: linear-gradient(90deg, #adadad 0 42%, #fff 50%, #adadad 58% 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.6s linear 1s infinite;
}
@keyframes shimmer { to { background-position: 0 0; } }
.connector { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 480px; padding: 5px 5px 5px 15px; border: 1px solid var(--border); border-radius: 15px; }
.connector-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 14px/1.4 var(--display); letter-spacing: 0; color: var(--muted); }
.copy { flex: none; padding: 9px 15px; border: 0; border-radius: 10px; background: var(--surface-raised); color: var(--white); font: 500 14px/1.3 var(--display); letter-spacing: -0.03em; cursor: pointer; transition: background-color 0.3s ease; }
.copy:hover { background: var(--surface-hover); }
.open-row { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 480px; }
.open-row .body { flex: 1; min-width: 0; }
.arrow { width: 16px; height: 16px; }
.inline-link { text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent); }
.code-card { gap: 12px; }
.code-card .plan-head { justify-content: space-between; }
.code { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--surface); overflow-x: auto; font: 400 13px/1.6 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
.proof { display: flex; align-items: flex-start; gap: 10px; padding: 4px 8px 4px 0; font: 500 14px/1.3em var(--display); letter-spacing: -0.06em; }
.proof svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--accent); }

/* Sections */
.section { display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 15px; background: var(--surface); }
.card-outline { background: none; border: 1px solid var(--border); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.list { display: flex; flex-direction: column; gap: 8px; padding: 0; list-style: none; }
.list li { display: flex; align-items: flex-start; gap: 8px; }
.list li > span + span { flex: 1; min-width: 0; }
.tick { flex: 0 0 16px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.tick svg { width: 14px; height: 14px; }

.steps { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.step { flex-direction: row; gap: 16px; }
.step-num { flex: 0 0 24px; font: 500 14px/24px var(--display); color: var(--accent); }
.step-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.plan { gap: 10px; }
.plan-head { display: flex; align-items: center; gap: 8px; }
.badge { padding: 4px 8px; border-radius: 8px; background: var(--surface-raised); font: 500 13px/1.2 var(--display); letter-spacing: -0.02em; color: var(--accent); }
.price { font: 500 40px/1.1em var(--display); letter-spacing: -0.05em; }
.pricing-body { display: flex; flex-direction: column; gap: 18px; }

.faq { display: flex; flex-direction: column; }
.faq-item { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--border); }

/* Legal and 404 pages */
.doc { min-height: 100vh; display: flex; flex-direction: column; }
.doc-main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 110px 25px 120px; }
.doc-sub { margin-top: 16px; }
.prose { margin-top: 64px; }
.prose h2 { margin: 56px 0 20px; font: 500 24px/1.2 var(--display); letter-spacing: -0.04em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { font: 400 16px/1.4 var(--text); letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.75); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 20px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.doc .footer { padding: 25px; }
.doc .btn { margin-top: 32px; }

@media (max-width: 1199.98px) {
  .h1 { font-size: 48px; }
  .visual { flex-basis: 405px; }
}

@media (max-width: 809.98px) {
  .h1 { font-size: 40px; }
  .page { flex-direction: column; align-items: stretch; }
  .content { gap: 80px; }
  .sections { gap: 80px; }
  .visual { position: relative; flex: none; width: 100%; height: 380px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 15px; }
  .open-row { flex-direction: column; align-items: flex-start; }
  .doc-main { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .shimmer, .check3d-obj { animation: none; }
  .shimmer { -webkit-text-fill-color: currentColor; background: none; }
}
