:root {
  --bg: #f3f5f7;
  --bg-strong: #e9edf2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-muted: #f8fafc;
  --ink: #111827;
  --ink-soft: #4b5563;
  --ink-faint: #7b8794;
  --line: rgba(148, 163, 184, 0.24);
  --line-strong: rgba(148, 163, 184, 0.4);
  --accent: #1d7df2;
  --accent-strong: #0d5fcc;
  --accent-glow: rgba(29, 125, 242, 0.18);
  --success: #0f9f6e;
  --hot: #f05c3c;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.08);
  --shadow-card: 0 14px 28px rgba(15, 23, 42, 0.06);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Archivo", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(29, 125, 242, 0.11), transparent 24rem),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(var(--max-w), calc(100% - 2rem));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 249, 251, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.9rem;
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.header-link {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.header-link:hover {
  color: var(--accent-strong);
}

.hero-section {
  position: relative;
  padding: 4rem 0 2.5rem;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-a {
  width: 22rem;
  height: 22rem;
  top: -7rem;
  left: calc(50% - 18rem);
  background: rgba(29, 125, 242, 0.14);
}

.hero-glow-b {
  width: 18rem;
  height: 18rem;
  top: 7rem;
  right: calc(50% - 24rem);
  background: rgba(15, 159, 110, 0.1);
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero-inner h1 {
  margin: 0 auto;
  max-width: 9.4em;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16em;
}

.hero-title-static {
  color: var(--ink);
}

.hero-title-dynamic-line {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  min-height: 1.1em;
  padding: 0.06em 0.2em 0.1em;
  border-radius: 0.34em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 38px rgba(29, 125, 242, 0.1);
}

.hero-title-dynamic {
  color: var(--accent);
  white-space: nowrap;
}

.hero-cursor {
  width: 0.09em;
  height: 0.92em;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0.5em rgba(29, 125, 242, 0.28);
  animation: blink-cursor 1s steps(1, end) infinite;
}

@keyframes blink-cursor {
  0%,
  48% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes float-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 0.8rem, 0);
  }
}

.hero-glow-a,
.hero-glow-b {
  animation: float-glow 8s ease-in-out infinite;
}

.hero-glow-b {
  animation-delay: -2s;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #2a8cff 0%, #156fe4 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(29, 125, 242, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(29, 125, 242, 0.28);
  background: linear-gradient(180deg, #3a95ff 0%, #1d7df2 100%);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: 0 10px 20px rgba(29, 125, 242, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 54rem;
  margin: 2.6rem auto 0;
}

.hero-stat {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.08);
}

.hero-stat-label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero-stat strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.marketplace-section {
  padding: 2rem 0 5rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.results-meta {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
  text-align: right;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 125, 242, 0.28);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-featured {
  background: rgba(240, 92, 60, 0.12);
  color: #bc3d22;
}

.badge-standard {
  background: rgba(29, 125, 242, 0.1);
  color: var(--accent-strong);
}

.badge-new {
  background: rgba(15, 159, 110, 0.12);
  color: #0d7c56;
}

.card-code,
.card-spec-key,
.preview-note,
.price-label {
  font-family: "IBM Plex Mono", monospace;
}

.card-code {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.card-copy {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.preview-box {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.preview-line {
  height: 0.48rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.72), rgba(226, 232, 240, 0.96));
}

.preview-line:last-child {
  margin-bottom: 0;
}

.w-45 {
  width: 45%;
}

.w-68 {
  width: 68%;
}

.w-82 {
  width: 82%;
}

.preview-note {
  margin-top: 0.8rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
  background: rgba(29, 125, 242, 0.08);
  color: var(--accent-strong);
  font-size: 0.68rem;
  text-align: center;
}

.card-specs {
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.card-spec {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.card-spec-key {
  color: var(--ink-faint);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-spec-value {
  color: var(--ink-soft);
  text-align: right;
}

.card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.price-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.btn-buy:hover,
.btn-buy:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  color: var(--ink-soft);
}

.email-section {
  padding: 0 0 4.5rem;
}

.email-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem clamp(1.3rem, 4vw, 3rem);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top center, rgba(29, 125, 242, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
  text-align: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.email-icon {
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1.15rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(29, 125, 242, 0.14), rgba(29, 125, 242, 0.08));
  border: 1px solid rgba(29, 125, 242, 0.14);
  position: relative;
}

.email-icon::before,
.email-icon::after {
  content: "";
  position: absolute;
  inset-inline: 1rem;
  border-radius: 0.2rem;
  background: var(--accent-strong);
}

.email-icon::before {
  top: 1.32rem;
  height: 1.35rem;
  border: 2px solid var(--accent-strong);
  background: transparent;
}

.email-icon::after {
  top: 1.46rem;
  height: 0.1rem;
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
}

.email-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.email-panel > p {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.email-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  max-width: 34rem;
  margin: 1.8rem auto 0;
}

.email-form input[type="email"] {
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.email-form input[type="email"]:focus {
  border-color: rgba(29, 125, 242, 0.48);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  min-height: 1.5rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.form-msg.success {
  color: var(--success);
}

.form-msg.error {
  color: #bf3f2a;
}

.email-footnote {
  margin-top: 0.35rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.site-footer {
  padding: 0 0 2.2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-row p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-section {
    padding-top: 2.2rem;
  }

  .email-form {
    grid-template-columns: 1fr;
  }

  .email-form .btn-primary {
    width: 100%;
  }

  .hero-stats,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-row {
    align-items: start;
    flex-direction: column;
  }

  .results-meta {
    text-align: left;
  }

  .card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max-w), calc(100% - 1rem));
  }

  .header-row {
    min-height: 4rem;
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-title-dynamic-line {
    white-space: normal;
  }

  .hero-title-dynamic {
    white-space: normal;
  }

  .btn-buy,
  .card-footer {
    width: 100%;
  }

  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow-a,
  .hero-glow-b,
  .hero-cursor {
    animation: none;
  }
}
