/* Jewell Made — dark energy theme. Navy depths, teal energy slash, orange
   spark accents: the same visual language as the Advertisement Ends Here
   icon. Sharp and indie-dev, not corporate SaaS. */

:root {
  --bg-deep: #0b1220;
  --bg-navy: #0f172a;
  --ink: #e2e8f0;
  --bright: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --teal: #2dd4bf;
  --teal-deep: #14b8a6;
  --cyan: #06b6d4;
  --teal-glow: rgba(45, 212, 191, 0.45);
  --teal-line: rgba(45, 212, 191, 0.28);
  --teal-faint: rgba(45, 212, 191, 0.12);
  --spark: #fb923c;
  --spark-line: rgba(251, 146, 60, 0.4);
  --card: rgba(15, 23, 42, 0.72);
  --card-edge: rgba(45, 212, 191, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(6, 182, 212, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(20, 184, 166, 0.06), transparent 50%),
    linear-gradient(160deg, #0a111e 0%, #0e1626 45%, #0a141f 100%);
  background-color: #0a141f;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  background: transparent;
}

/* Subtle energy grid over everything, fading at the edges. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header ----------------------------------------------------------- */

header.site {
  padding: 26px 0 8px;
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.35);
  flex: none;
}

.wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bright);
  text-decoration: none;
}

.wordmark span {
  color: var(--teal);
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

header.site nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

header.site nav a:hover {
  color: var(--teal);
  text-shadow: 0 0 18px var(--teal-glow);
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  padding: 72px 0 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--bright);
}

.hero h1 em,
h1 .glow {
  font-style: normal;
  color: var(--teal);
  text-shadow: 0 0 40px var(--teal-glow);
}

/* The energy slash, straight off the icon. */
.slash {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin: 0 0.06em;
  vertical-align: -0.08em;
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.8);
  transform: skewX(-18deg);
  border-radius: 2px;
}

.hero p.sub {
  margin: 24px auto 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

.hero p.sub strong {
  color: var(--muted-strong);
  font-weight: 600;
}

.hero-cta {
  justify-content: center;
  margin-top: 38px;
}

/* --- Cards / sections --------------------------------------------------- */

.panel {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(8, 14, 26, 0.6),
    0 18px 44px rgba(2, 8, 20, 0.55);
  padding: 28px;
  margin: 26px 0;
  backdrop-filter: blur(4px);
}

.panel h2 {
  color: var(--bright);
}

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

.panel a {
  color: var(--teal) !important;
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 44px 0 56px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(2, 8, 20, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a.product-card {
  text-decoration: none;
  color: inherit;
}

a.product-card:hover {
  border-color: var(--teal-line);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px var(--teal-line),
    0 0 40px rgba(45, 212, 191, 0.18),
    0 22px 44px rgba(2, 8, 20, 0.6);
}

.card-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.12);
  box-shadow: 0 10px 26px rgba(2, 8, 20, 0.45);
}

.product-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  color: var(--bright);
}

.product-card .tagline {
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 0 16px rgba(45, 212, 191, 0.35);
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.product-card.coming {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.25);
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--muted);
  min-height: 180px;
}

.product-card.coming strong {
  color: var(--muted-strong);
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(251, 146, 60, 0.12);
  color: var(--spark);
  border: 1px solid var(--spark-line);
  width: fit-content;
  margin-top: auto;
}

.badge.live {
  background: var(--teal-faint);
  color: var(--teal);
  border-color: var(--teal-line);
}

/* --- Product page ------------------------------------------------------- */

.product-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 48px 0 8px;
  flex-wrap: wrap;
}

.product-hero img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  flex: none;
  box-shadow: 0 0 34px rgba(45, 212, 191, 0.3);
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bright);
}

.product-hero .tagline {
  color: var(--teal);
  font-weight: 800;
  margin: 6px 0 0;
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.4);
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  margin: 44px 0;
}

.feature:nth-child(even) .shot {
  order: -1;
}

.feature h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--bright);
}

.feature p {
  color: var(--muted);
  margin: 0 0 12px;
}

.feature ul {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.feature li {
  margin: 7px 0;
}

.feature li::marker {
  color: var(--teal);
}

.shot {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  box-shadow:
    0 0 36px rgba(45, 212, 191, 0.12),
    0 18px 44px rgba(2, 8, 20, 0.55);
  padding: 12px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0 8px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--teal-line);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  border-color: transparent;
  color: #042f2e;
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.disabled {
  opacity: 0.75;
  pointer-events: none;
}

.fine {
  color: var(--muted);
  font-size: 13px;
}

/* --- Legal / prose pages ------------------------------------------------ */

.prose {
  max-width: 780px;
}

.prose h1 {
  font-size: 32px;
  margin: 40px 0 8px;
  color: var(--bright);
  letter-spacing: -0.02em;
}

.prose h2 {
  font-size: 20px;
  margin: 30px 0 8px;
  color: var(--teal);
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 15px;
}

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

.prose a {
  color: var(--teal) !important;
}

.prose code {
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--muted-strong);
}

.prose li::marker {
  color: var(--teal);
}

.updated {
  color: var(--muted);
  opacity: 0.8;
  font-size: 13px;
}

/* --- Footer -------------------------------------------------------------- */

footer.site {
  margin: 64px 0 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(45, 212, 191, 0.14);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

footer.site a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.site a:hover {
  color: var(--teal);
}

footer.site .spacer {
  margin-left: auto;
}

@media (max-width: 840px) {
  .products {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(even) .shot {
    order: 0;
  }
}
