:root {
  --color-primary: #1a1a1a;
  --color-accent: #c9a227;
  --color-bg: #0e0e10;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  scroll-behavior: smooth;
}

#gear-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.55) saturate(1.1);
}

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 cover */
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    rgba(14, 14, 16, 0.4) 0%,
    rgba(14, 14, 16, 0.85) 80%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 720px;
}

.hero__inner img {
  max-height: 90px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.hero__inner h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.05;
}

.hero__legal {
  margin-top: 0.75rem;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero__cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

.lookup {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  padding: 6rem 1.5rem;
}

.lookup__inner {
  max-width: 540px;
  margin: 0 auto;
}

.lookup h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lookup p {
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.lookup form {
  display: grid;
  gap: 0.75rem;
}

.lookup input,
.lookup button {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.lookup input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.lookup button {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  cursor: pointer;
  font-weight: 500;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.lookup button:hover {
  opacity: 0.92;
}

.lookup button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#lookup-result {
  margin-top: 1rem;
  font-size: 0.95rem;
}

#lookup-result.error {
  color: #b91c1c;
}

#lookup-result a {
  color: var(--color-accent);
  font-weight: 600;
}

.trust {
  position: relative;
  z-index: 1;
  background: #f7f7f8;
  padding: 5rem 1.5rem;
}

.trust__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.trust__item {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid #ececec;
}

.trust__num {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.trust__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.trust__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  background: var(--color-bg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

footer .meta {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
}

[data-anim] {
  opacity: 0;
  transform: translateY(20px);
}
