/* Coinware — mobile-first. Layout starts at phone width and only widens
   at the breakpoints below, since most traffic arrives on a phone. */

:root {
  --bg: #06080a;
  --bg-2: #0b0f12;
  --panel: #10151a;
  --line: #1d262e;
  --text: #e9eff3;
  --muted: #8d9aa7;
  --green: #24b448;        /* bright green from the logo */
  --green-lo: #0c6030;     /* deep green from the logo */
  --green-glow: rgba(36, 180, 72, 0.3);
  --radius: 18px;
  --pad: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
        Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* room for the sticky phone CTA */
  padding-bottom: 76px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 5.6vw, 2.4rem); }
h3 { font-size: 1.0625rem; }
p { margin: 0; }

a { color: inherit; }

/* Clipped rather than pushed to -9999px, so it never affects layout width */
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--green); color: #04150a; padding: 10px 16px; border-radius: 8px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  width: auto; height: auto; overflow: visible; clip-path: none;
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  background: rgba(6, 8, 10, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* The logo's green is mixed for light backgrounds and only clears 3:1 against
   this page, so every placement gets lifted to stay legible on the dark theme. */
.logo { filter: brightness(1.3) saturate(1.1); }
.brand img { width: 128px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 650; font-size: 0.95rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--green), #11913a);
  color: #04150a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.28) inset, 0 10px 26px -8px var(--green-glow);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.btn:hover { filter: brightness(1.07); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 34px -8px var(--green-glow); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 15px; font-size: 0.86rem; }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-ghost {
  background: rgba(255,255,255,0.045);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); filter: none; box-shadow: none; }
.tg { width: 19px; height: 19px; fill: currentColor; flex: 0 0 auto; }

/* ---------------- hero ---------------- */
.hero {
  padding: 36px var(--pad) 8px;
  display: grid; gap: 34px;
  position: relative;
}
/* soft green bloom behind the hero */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: -120px; transform: translateX(-50%);
  width: 680px; height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(36,180,72,0.17), transparent 72%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9fe6b4;
  background: rgba(36,180,72,0.1);
  border: 1px solid rgba(36,180,72,0.28);
  padding: 7px 13px; border-radius: 999px;
  margin-bottom: 18px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(36,180,72,0.22);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.lede { color: var(--muted); font-size: 1.0625rem; margin-top: 16px; max-width: 46ch; }

.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 19px; height: 19px; fill: #ffc43d; }
.rating-txt { font-size: 0.9rem; color: var(--muted); }
.rating-txt b { color: var(--text); }

/* Stacked and full width on a phone so the two buttons don't look ragged;
   they sit side by side once there's room for both. */
.cta-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.cta-row > .btn { flex: 1 1 100%; }
@media (min-width: 420px) {
  .cta-row > .btn { flex: 0 0 auto; }
}
.fineprint { margin-top: 14px; font-size: 0.82rem; color: #6f7c89; }

.hero-art img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03);
}

/* ---------------- press ---------------- */
.press { padding: 30px var(--pad) 6px; text-align: center; }
.press-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #5d6873; margin-bottom: 16px;
}
.press-logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 13px;
  opacity: 0.6;
}
.press-logos li { display: flex; align-items: center; }
/* Each wordmark keeps its own aspect, so width is derived from the height.
   Heights are balanced for equal optical weight, not equal cap height. */
.pl { display: block; fill: #c3ced8; }
.pl-forbes { height: 15px; width: 56.6px; }   /* 1000 x 265.1 */
.pl-wired  { height: 12px; width: 43.9px; }   /* 1000 x 273.4 */
.pl-nyt    { height: 11px; width: 108.3px; }  /* 1000 x 101.6 */
@media (min-width: 560px) {
  .press-logos { gap: 22px 34px; }
  .pl-forbes { height: 23px; width: 86.8px; }
  .pl-wired  { height: 18px; width: 65.8px; }
  .pl-nyt    { height: 17px; width: 167.3px; }
}

/* ---------------- sections ---------------- */
.section { padding: 52px var(--pad); }
.kicker {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); font-weight: 650; margin-bottom: 12px;
}
.section > h2 { margin-bottom: 30px; max-width: 24ch; }

.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; }
.steps li {
  background: linear-gradient(180deg, var(--panel), #0c1114);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(36,180,72,0.14); border: 1px solid rgba(36,180,72,0.3);
  color: #9fe6b4; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 13px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card .ic { width: 24px; height: 24px; fill: var(--green); margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.93rem; }

/* ---------------- horizontal rails ---------------- */
.shots, .reviews {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* bleed to the screen edges so the rail reads as swipeable */
  margin: 0 calc(var(--pad) * -1);
  padding: 4px var(--pad) 18px;
}
.shots::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
.shots figure, .reviews figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }

.shots img {
  width: 208px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -22px rgba(0,0,0,0.95);
}
.shots figcaption {
  text-align: center; margin-top: 10px;
  font-size: 0.82rem; color: var(--muted);
}
.reviews img {
  width: 232px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.scroll-hint { font-size: 0.8rem; color: #5d6873; }

/* ---------------- final cta ---------------- */
.final {
  margin: 20px var(--pad) 46px;
  padding: 42px 24px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(36,180,72,0.26);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(36,180,72,0.16), transparent 70%),
    linear-gradient(180deg, var(--panel), #090d10);
}
.final-logo {
  width: 164px; margin: 0 auto 20px;
  filter: brightness(1.3) saturate(1.1) drop-shadow(0 0 16px rgba(36,180,72,0.22));
}
.final h2 { margin-bottom: 12px; }
.final p { color: var(--muted); margin-bottom: 26px; max-width: 42ch; margin-inline: auto; }

/* ---------------- footer ---------------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px var(--pad) 40px;
  text-align: center;
  color: var(--muted); font-size: 0.86rem;
}
.foot img { width: 112px; margin: 0 auto 16px; opacity: 0.8; }
.foot p { margin-bottom: 10px; }
.disclaimer { font-size: 0.78rem; color: #5d6873; max-width: 56ch; margin-inline: auto; }
.copy a { color: #9fe6b4; text-decoration: none; }

/* ---------------- sticky phone CTA ---------------- */
.sticky-cta {
  position: fixed; z-index: 50;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), #11913a);
  color: #04150a; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.28) inset;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
/* Stand down once the real CTA is on screen, so two identical green buttons
   never sit on top of each other */
.sticky-cta.is-hidden {
  opacity: 0; transform: translateY(120%); pointer-events: none;
}

/* ---------------- wider screens ---------------- */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .shots img { width: 232px; }
  .final { padding: 58px 32px; }
}

@media (min-width: 900px) {
  :root { --pad: 44px; }
  body { padding-bottom: 0; }
  /* the sticky bar is a phone affordance; desktop has the nav button */
  .sticky-cta { display: none; }
  .nav { padding: 14px var(--pad); }
  .brand img { width: 150px; }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    padding: 70px var(--pad) 30px;
    max-width: 1200px; margin-inline: auto;
  }
  .hero-art { order: 2; }
  .section, .press { max-width: 1200px; margin-inline: auto; }
  .section { padding: 74px var(--pad); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .final { max-width: 1112px; margin-inline: auto; }
  .shots, .reviews { margin: 0; padding: 4px 0 18px; }
  .shots { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .btn { transition: none; }
}
