/* SoloOps home page. Loaded after styles.css; everything here is scoped to body.home. */
body.home {
  --bg: #050608;
  --ink: #f5f5f7;
  --soft: #9aa3ae;
  --faint: #6b737e;
  --accent: #f5a524;
  --accent-soft: rgba(245, 165, 36, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.home a { color: inherit; text-decoration: none; }
.home h1, .home h2 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.home p { margin: 0; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem max(1.25rem, env(safe-area-inset-left));
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.bar-brand { font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.bar-links { display: flex; align-items: center; gap: 1.1rem; font-size: 0.88rem; color: var(--soft); }
.bar-links a:hover { color: var(--ink); }
@media (max-width: 420px) {
  .bar { flex-wrap: wrap; gap: 0.6rem; }
  .bar-brand { width: 100%; }
  .bar-links { width: 100%; justify-content: space-between; gap: 0.5rem; font-size: 0.8rem; }
  .bar-links .pill.small { padding: 0.4rem 0.65rem; font-size: 0.78rem; }
}

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  background: linear-gradient(180deg, #ffb948, var(--accent));
  color: #1a1206 !important; font-weight: 650; font-size: 1rem;
  box-shadow: 0 10px 30px -10px rgba(245, 165, 36, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(245, 165, 36, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.pill.small { padding: 0.45rem 0.95rem; font-size: 0.85rem; }
.ghost { color: var(--ink); font-weight: 500; padding: 0.85rem 0.4rem; }
.ghost::after { content: " ›"; color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  display: grid; gap: 3rem; justify-items: center; text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.25rem 2rem;
  max-width: 1180px; margin: 0 auto;
}
.hero h1 { font-size: clamp(2.9rem, 12.5vw, 6.2rem); }
.hero h1 span { background: linear-gradient(90deg, #ffd08a, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { margin-top: 1.25rem; color: var(--soft); font-size: clamp(1.1rem, 4.4vw, 1.45rem); letter-spacing: -0.01em; }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; align-items: center; margin-top: 2rem; flex-wrap: wrap; }
.live-note { margin-top: 1rem !important; font-size: 0.82rem !important; color: var(--faint) !important; }
.hero-device { position: relative; perspective: 1600px; width: min(76vw, 360px); }
.glow {
  position: absolute; inset: -18% -40%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 165, 36, 0.32), rgba(245, 165, 36, 0.08) 55%, transparent 75%);
  filter: blur(10px);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; text-align: left; justify-items: start; align-items: center; min-height: calc(100vh - 60px); padding-top: 3rem; }
  .hero-cta { justify-content: flex-start; }
  .hero-device { justify-self: center; width: 380px; }
}

/* Phone mockup */
.device {
  position: relative; z-index: 1;
  padding: 3.2%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2a2f36, #0c0e11 40%, #1b1f25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(245, 165, 36, 0.35);
}
.device-screen { position: relative; overflow: hidden; border-radius: 12.4% / 5.8%; background: #000; }
.device-screen img { display: block; width: 100%; height: auto; }
.device-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 42%);
}
.device.tilt { transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotateY(-11deg) rotateX(4deg) rotateZ(0.5deg) translateY(-10px); } }

/* Film */
.film { display: grid; justify-items: center; padding: 3rem 1.25rem 6rem; }
.film-frame {
  position: relative; width: min(86vw, 400px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden;
  background: #05070a;
}
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle {
  margin-top: 1rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 15, 0.55); color: #e6e9ee;
  font: 500 0.75rem var(--font); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* Full-bleed chip scenes */
.bleed {
  position: relative; overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid; place-items: center; text-align: center;
  padding: 6rem 1.5rem;
  isolation: isolate;
}
.bleed.tall { min-height: min(100vh, 860px); }
@media (max-width: 760px) {
  .bleed { min-height: 112vw; padding: 4rem 1.25rem; }
  .bleed.tall { min-height: 125vw; }
  .bleed.final { min-height: 95vw; }
}
.bleed-img {
  position: absolute; inset: -12% 0; z-index: -2;
  width: 100%; height: 124%; object-fit: cover;
  transform: translate3d(0, var(--shift, 0px), 0) scale(1.04);
  will-change: transform;
}
.bleed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 6, 8, 0.1) 18%, rgba(5, 6, 8, 0.12) 78%, var(--bg) 100%),
    radial-gradient(60% 45% at 50% 50%, rgba(5, 6, 8, 0.55), rgba(5, 6, 8, 0.05) 80%);
}
.bleed h2 { font-size: clamp(2.4rem, 10vw, 5rem); text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.bleed .pill { margin-top: 2rem; }
.bleed-cap { position: absolute; left: 1.25rem; bottom: 1.25rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.02em; }
.quiet { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.4rem; color: #d7dbe1; font-size: clamp(1.1rem, 4.4vw, 1.4rem); }

/* Feature scenes */
.scene {
  display: grid; gap: 2.75rem; justify-items: center; text-align: center;
  max-width: 1080px; margin: 0 auto;
  padding: clamp(5rem, 14vw, 9rem) 1.5rem;
  position: relative;
}
.scene + .scene { border-top: 1px solid var(--line); }
.scene h2 { font-size: clamp(2.3rem, 9.5vw, 4.4rem); }
.scene p { margin-top: 0.9rem; color: var(--soft); font-size: clamp(1.1rem, 4.2vw, 1.35rem); }
.label {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.scene-device { position: relative; width: min(74vw, 340px); }
.scene-device::before {
  content: ""; position: absolute; inset: 8% -30%; z-index: 0;
  background: radial-gradient(closest-side, rgba(245, 165, 36, 0.16), transparent 70%);
}
@media (min-width: 900px) {
  .scene { grid-template-columns: 1fr 1fr; text-align: left; justify-items: start; align-items: center; gap: 5rem; }
  .scene-device { justify-self: center; }
  .scene.flip .scene-copy { order: 2; }
}

/* Pricing */
.pricing { max-width: 960px; margin: 0 auto; padding: clamp(5rem, 14vw, 8rem) 1.5rem; text-align: center; }
.pricing h2 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
.home .plans { display: grid; gap: 0.9rem; margin: 2.5rem 0 2rem; }
.home .plans p {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  margin: 0; padding: 1.25rem 1.4rem; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--soft);
}
.home .plans strong { color: var(--ink); font-weight: 650; }
.home .plans .is-primary { border-color: rgba(245, 165, 36, 0.45); background: linear-gradient(180deg, rgba(245, 165, 36, 0.1), rgba(245, 165, 36, 0.03)); }
.home .plans em { position: absolute; top: -0.65rem; left: 1.2rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--accent); color: #1a1206; font: 600 0.68rem var(--font); }
@media (min-width: 760px) {
  .home .plans { grid-template-columns: repeat(3, 1fr); }
  .home .plans p { flex-direction: column; gap: 0.5rem; padding: 2rem 1rem; }
  .home .plans em { left: 50%; transform: translateX(-50%); }
}
.home .badge { display: inline-block; }
.home .badge img { display: block; }

/* Hardware details and footer */
.more { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem; scroll-margin-top: 6.5rem; }
.more summary { cursor: pointer; color: var(--soft); font-size: 0.95rem; }
.more .fine { margin: 1rem 0; }
.hardware-filters { display: none; }
.js .hardware-filters { display: flex; }
.miner-grid[hidden] { display: none; }
.filters [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fine { color: var(--faint); font-size: 0.8rem; }
.foot {
  max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 1rem; color: var(--soft); font-size: 0.85rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.foot a:hover { color: var(--ink); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .device.tilt { animation: none; }
  .bleed-img { transform: none; }
  html { scroll-behavior: auto; }
}

/* Keep glows and parallax images from widening the page. */
.home main { overflow: hidden; }
@supports (overflow: clip) { .home main { overflow: visible; overflow-x: clip; } }

/* Inner pages */
.bar-links a[aria-current="page"] { color: var(--ink); }
.doc { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; overflow-x: clip; }
.doc-hero { padding: clamp(4rem, 12vw, 7rem) 0 2.5rem; }
.doc-hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); }
.doc-hero p { margin-top: 1rem; color: var(--soft); font-size: clamp(1.1rem, 4.2vw, 1.35rem); }
.doc-hero .pill { margin-top: 1.5rem; }
.prose { padding-bottom: 5rem; color: #c9ced6; }
.prose h2 { margin: 2.6rem 0 0.7rem; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); }
.prose p { margin: 0 0 1rem; }
.prose a:not(.pill) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(245, 165, 36, 0.6); text-underline-offset: 3px; }
.prose .draft { color: var(--faint); font-size: 0.85rem; }
.prose .pill { margin-top: 1.5rem; }
.prose .plans { margin-top: 0.5rem; }
.home .plans small { display: block; margin-top: 0.2rem; color: var(--faint); font-size: 0.78rem; }
.ticks { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.ticks li::before { content: "\2713"; color: var(--accent); margin-right: 0.6rem; }
.ghost-button { margin: 0.5rem 0 1.5rem; padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--faint); font: 500 0.9rem var(--font); }
.feat { padding: 1.6rem 1.4rem; margin-bottom: 1rem; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.feat h2 { margin: 0 0 0.9rem; font-size: 1.35rem; }
.feat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.feat li { padding-left: 1.1rem; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0.08rem 0.5rem; border-radius: 999px; border: 1px solid rgba(245, 165, 36, 0.4); color: var(--accent); font: 600 0.66rem var(--font); font-style: normal; letter-spacing: 0.04em; text-transform: none; vertical-align: 0.15em; white-space: nowrap; }
.label .tag { margin-left: 0.5rem; vertical-align: 0.05em; }
.pricing-lead { margin-top: 0.9rem !important; color: var(--soft); font-size: 1.15rem; }
