:root {
  --red: #e50914;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --display: "Oswald", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--black);
  background: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
}

code {
  font-family: ui-monospace, "SFMono-Regular", monospace;
}

.wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--black);
}

.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  transition: opacity .15s;
}

.logo:hover {
  opacity: .8;
}

.logo span {
  color: var(--red);
}

.nav-back {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}

.nav-back:hover {
  color: var(--red);
}

/* ============ LANDING ============ */
.landing-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 24px 25px;
  text-align: center;
}

.badge {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--black);
  padding: 6px 16px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(1.3);
  }
}

.badge span:last-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1.headline {
  font-family: var(--display);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
}

h1.headline .red {
  color: var(--red);
}

.sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto 5px;
  line-height: 1.6;
}

.cta {
  color: #fff;
  background: var(--red);
  border: 2px solid var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  padding: 16px 40px;
  transition: background .15s, color .15s, transform .15s;
}

.cta:hover {
  background: #fff;
  color: var(--red);
  transform: scale(1.05);
}

.cta:active {
  transform: scale(.96);
}

.cta-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ============ HOME GRID (direct access) ============ */
.home-grid {
  padding: 8px 24px 56px;
}

.home-grid-title {
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 12px 0;
  overflow: hidden;
  background: var(--black);
  user-select: none;
}

.marquee-track {
  white-space: nowrap;
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-block;
  margin: 0 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  opacity: .8;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============ FEATURE STRIP ============ */
.feature-strip {
  padding: 40px 24px;
}

.feature-strip-grid {
  max-width: 768px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-strip-grid b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.feature-strip-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.feature-strip-grid p {
  font-size: 12px;
  color: var(--gray-400);
}

@media (max-width:640px) {
  .feature-strip-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

footer {
  border-top: 2px solid var(--black);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
}

/* ============ HUB ============ */
.hub-main {
  padding: 40px 24px 64px;
}

.hub-head {
  margin-bottom: 32px;
}

.hub-head h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 8px;
}

.hub-head h2 .red {
  color: var(--red);
}

.hub-head p {
  font-size: 14px;
  color: var(--gray-500);
}

.search-row {
  margin-bottom: 28px;
  max-width: 360px;
}

.search-row input {
  width: 100%;
  font-family: var(--body);
  font-size: 14px;
  border: 2px solid var(--gray-200);
  padding: 12px 16px;
  transition: border-color .15s;
}

.search-row input:focus {
  border-color: var(--black);
  outline: none;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width:640px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:768px) {
  .platform-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width:1024px) {
  .platform-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.p-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: border-color .15s;
}

.p-card:hover {
  border-color: var(--black);
}

.p-card:hover .p-card-icon {
  transform: scale(1.1);
}

.p-card:hover .p-card-view {
  opacity: 1;
}

.p-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .15s;
}

.p-card-icon svg {
  width: 28px;
  height: 28px;
}

.p-card-icon span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  line-height: 1;
}

.p-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.p-card-cat {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  text-align: center;
}

.p-card-view {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--red);
  opacity: 0;
  transition: opacity .15s;
}

#no-results {
  display: none;
  text-align: center;
  padding: 32px 0;
  color: var(--gray-400);
  font-size: 13px;
}

.pro-banner {
  margin-top: 40px;
  border: 2px solid var(--black);
  background: var(--black);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.pro-banner .pro-tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  flex-shrink: 0;
}

.pro-banner p:first-of-type {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.pro-banner p:last-of-type {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.6;
}

.pro-banner code {
  color: #fb923c;
  background: #1f2937;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ============ GUIDE PAGE ============ */
.p-hero {
  border-bottom: 2px solid var(--black);
}

.p-hero-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.p-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-hero-icon svg {
  width: 36px;
  height: 36px;
}

.p-hero-icon span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
}

.p-hero-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 4px;
}

.p-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
}

.p-hero-meta {
  font-size: 14px;
  opacity: .7;
  margin-top: 6px;
}

.guide-main {
  padding: 40px 24px 64px;
}

.guide-grid {
  max-width: 896px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

@media (max-width:860px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.steps-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.steps-heading .bar {
  width: 4px;
  height: 20px;
  background: var(--red);
  display: block;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--gray-100);
  transition: border-color .15s;
}

.step-item:hover {
  border-color: var(--gray-300);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

.step-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.p-note {
  margin-top: 20px;
  border-left: 4px solid var(--red);
  padding: 8px 16px;
  background: #fef2f2;
}

.p-note p {
  font-size: 12px;
  font-weight: 500;
  color: #b91c1c;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-box {
  border: 2px solid var(--black);
  padding: 20px;
}

.side-box h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tool-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tool-list li .arrow {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.tool-list li span {
  font-size: 12px;
  color: var(--gray-700);
  background: var(--gray-50);
  padding: 2px 6px;
  word-break: break-all;
}

.tips-box {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  font-size: 12px;
  color: var(--gray-300);
  line-height: 1.6;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

.back-btn {
  width: 100%;
  text-align: center;
  border: 2px solid var(--black);
  padding: 12px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  transition: background .15s, color .15s;
}

.back-btn:hover {
  background: var(--black);
  color: #fff;
}

@media (max-width:640px) {
  .p-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.ad-title {
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  color: #666;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 2px;
  padding: 5px 0
}