:root {
  color-scheme: dark;
  --bg: #010203;
  --bg-soft: #05080b;
  --panel: #0d1218;
  --panel-strong: #111923;
  --ink: #f8fbff;
  --muted: #93a4b8;
  --line: rgba(34, 215, 255, 0.13);
  --orange: #ff9f12;
  --gold: #ffc83d;
  --green: #43d38b;
  --blue: #139cff;
  --cyan: #22d7ff;
  --pink: #ff4fd8;
  --card-glow: rgba(255, 159, 18, 0.14);
  --cyan-glow: rgba(34, 215, 255, 0.18);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.44), 0 0 24px rgba(19, 156, 255, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(34, 215, 255, 0.045), transparent 340px),
    var(--bg);
  color: var(--ink);
}

a {
  color: var(--cyan);
}

.site-header,
.site-footer,
main > section {
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  padding-right: max(24px, calc((100vw - 1120px) / 2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 2, 3, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  filter:
    drop-shadow(0 0 10px rgba(34, 215, 255, 0.32))
    drop-shadow(0 0 12px rgba(255, 159, 18, 0.2));
}

.nav-links,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links {
  justify-content: flex-end;
}

.nav-links a,
.footer-links a {
  color: #c7d4df;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-links .nav-action {
  border-color: rgba(34, 215, 255, 0.34);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(34, 215, 255, 0.08);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 2, 3, 0.98) 0%, rgba(1, 2, 3, 0.76) 48%, rgba(1, 2, 3, 0.42) 100%),
    url("/assets/brand/soloops-logo-with-background.png") center right / min(760px, 80vw) auto no-repeat,
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.86;
  text-shadow:
    0 0 26px rgba(34, 215, 255, 0.22),
    0 0 34px rgba(255, 159, 18, 0.14);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 750;
  line-height: 1.22;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(34, 215, 255, 0.44);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green), var(--gold));
  color: #021015;
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(34, 215, 255, 0.22),
    0 0 18px rgba(255, 159, 18, 0.12);
}

.button-secondary {
  border-color: rgba(34, 215, 255, 0.26);
  background: rgba(17, 25, 35, 0.72);
  color: var(--ink);
  box-shadow: inset 0 0 18px rgba(34, 215, 255, 0.04);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.proof-strip article {
  min-height: 116px;
  padding: 24px;
  background: var(--bg-soft);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.proof-strip span {
  color: var(--muted);
}

.section-layout,
.device-band,
.pricing-band,
.cta-band {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.section-layout.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature-grid,
.safety-list,
.miner-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-list {
  grid-template-columns: 1fr;
}

.card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 215, 255, 0.055), rgba(255, 159, 18, 0.025)),
    var(--panel);
  padding: 22px;
  box-shadow: 0 0 18px rgba(34, 215, 255, 0.055);
}

.card p:last-child,
.device-band p:last-child,
.cta-band p:last-child {
  margin-bottom: 0;
}

.device-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
  background: var(--bg-soft);
}

.filter-tabs,
.miner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tabs {
  margin-bottom: 16px;
}

.filter-tabs button,
.miner-list span {
  border: 1px solid rgba(255, 159, 18, 0.28);
  border-radius: 999px;
  background: rgba(255, 159, 18, 0.08);
  color: #ffd98a;
  font-weight: 800;
  padding: 10px 14px;
}

.filter-tabs button {
  cursor: pointer;
}

.filter-tabs button.is-active {
  border-color: rgba(34, 215, 255, 0.72);
  background: rgba(34, 215, 255, 0.14);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(34, 215, 255, 0.12);
}

.tool-section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.tool-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.planner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow);
}

.planner label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner input,
.planner select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(34, 215, 255, 0.16);
  border-radius: 8px;
  background: #090b0e;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.planner-output {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid rgba(34, 215, 255, 0.22);
  border-radius: 8px;
  background: rgba(34, 215, 255, 0.07);
  padding: 16px;
}

.metric span,
.miner-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.35rem;
}

.miner-card,
.diagnostic-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 0 18px rgba(34, 215, 255, 0.055);
}

.miner-card h3,
.diagnostic-card h3 {
  margin-bottom: 8px;
}

.miner-card p,
.diagnostic-card p {
  margin-bottom: 12px;
}

.diagnostic-card ul {
  margin: 0;
  padding-left: 20px;
}

.pricing-band {
  background: var(--bg-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.included-note {
  max-width: 760px;
  color: var(--ink);
  font-weight: 850;
}

.restore-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0;
  border: 1px solid rgba(34, 215, 255, 0.3);
  border-radius: 8px;
  background: rgba(34, 215, 255, 0.075);
  padding: 22px;
}

.restore-panel > div {
  max-width: 720px;
}

.price-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 215, 255, 0.06), rgba(255, 159, 18, 0.035)),
    var(--panel);
  padding: 22px;
  box-shadow: 0 0 18px rgba(34, 215, 255, 0.07);
}

.price-card.is-featured {
  border-color: rgba(34, 215, 255, 0.5);
  background:
    linear-gradient(145deg, rgba(34, 215, 255, 0.11), rgba(255, 159, 18, 0.05)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.price-card span,
.offer {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.checkout-button {
  width: 100%;
  margin-top: auto;
}

.checkout-button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.cta-band > div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 120px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.page-shell .site-header,
.page-shell .site-footer {
  position: static;
  min-height: auto;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.page-shell .brand {
  align-items: flex-start;
  flex-direction: column;
}

.page-shell .brand img {
  display: none;
}

.page-shell .brand span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.page-shell .hero,
.page-shell .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-shell .hero {
  min-height: auto;
  display: block;
  margin: 28px 0;
  padding: 36px;
  background: var(--panel);
}

.paywall-shell {
  width: min(1120px, calc(100% - 32px));
}

.paywall-shell h1 {
  font-size: clamp(3.6rem, 10vw, 7rem);
}

.paywall-hero {
  background:
    linear-gradient(90deg, rgba(13, 18, 24, 0.98), rgba(13, 18, 24, 0.8)),
    url("/assets/brand/soloops-logo-with-background.png") center right / min(540px, 72vw) auto no-repeat,
    var(--panel);
}

.paywall-section {
  padding: 18px 0 38px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.callout {
  border: 1px solid rgba(255, 159, 18, 0.3);
  border-radius: 8px;
  background: rgba(255, 159, 18, 0.1);
  padding: 16px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .restore-panel,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
    align-items: end;
    padding-top: 260px;
    background:
      linear-gradient(180deg, rgba(1, 2, 3, 0.1) 0%, rgba(1, 2, 3, 0.94) 52%, var(--bg) 100%),
      url("/assets/brand/soloops-logo-with-background.png") top center / min(620px, 130vw) auto no-repeat,
      var(--bg);
  }

  .proof-strip,
  .section-layout,
  .section-layout.reverse,
  .device-band,
  .feature-grid,
  .miner-grid,
  .price-grid,
  .planner,
  .planner-output {
    grid-template-columns: 1fr;
  }

  .proof-strip article {
    min-height: auto;
  }

  .section-layout,
  .device-band,
  .pricing-band,
  .cta-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
