/* Clubpost website. Colours and type match the app (lib/core/theme). */
:root {
  --lime: #a3e635;
  --lime-deep: #4d7c0f;
  --on-lime: #14210a;
  --ink: #16191c;
  --ink-2: #5b635f;
  --ink-3: #939b94;
  --paper: #f6f8f3;
  --card: #ffffff;
  --line: #e3e7de;
  --night: #0f1310;
  --night-2: #191e1a;
  --night-3: #222923;
  --night-line: #2b322c;
  --night-ink: #eceFEA;
  --night-ink-2: #9ba39c;
  --gold: #f5c518;
  --radius: 20px;
  --max: 1160px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lime-deep);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(15 19 16 / 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 800 22px/1 var(--display);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--lime);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--night-ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.site-nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-lime {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 8px 24px rgb(163 230 53 / 0.25);
}

.btn-ghost {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.14);
}

.site-nav .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--on-lime);
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 85% 10%,
      rgb(163 230 53 / 0.16),
      transparent 60%
    ),
    var(--night);
  color: #fff;
  padding: 72px 0 80px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(163 230 53 / 0.12);
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  margin: 20px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero p.lead {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--night-ink-2);
  max-width: 34em;
  margin: 0 0 32px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  text-decoration: none;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.store-badge small {
  display: block;
  font-size: 11px;
  color: rgb(255 255 255 / 0.7);
  line-height: 1.1;
}

.store-badge strong {
  display: block;
  font-size: 17px;
  line-height: 1.15;
}

.soon {
  font-size: 14px;
  color: var(--night-ink-2);
}

.hero-shots {
  position: relative;
  height: 720px;
}

.phone {
  position: absolute;
  width: 280px;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(160deg, #2c332d, #0b0e0c);
  box-shadow: 0 40px 80px rgb(0 0 0 / 0.55),
    inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.phone img {
  border-radius: 36px;
  width: 100%;
}

.hero-shots .phone.front {
  left: 8%;
  top: 20px;
  z-index: 2;
}

.hero-shots .phone.back {
  right: 2%;
  top: 90px;
  transform: rotate(5deg);
  opacity: 0.95;
}

/* ── Sections ───────────────────────────────────────────────────────── */

section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head .kicker {
  color: var(--lime-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  margin: 10px 0 14px;
}

.section-head p {
  color: var(--ink-2);
  font-size: 18px;
  margin: 0;
}

.dark {
  background: var(--night);
  color: #fff;
}

.dark .section-head p {
  color: var(--night-ink-2);
}

.dark .section-head .kicker {
  color: var(--lime);
}

/* Gallery strip of real exports */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.35);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.gallery figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--night-ink-2);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-body {
  padding: 26px 26px 0;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-2);
  margin: 0 0 22px;
  font-size: 16px;
}

.step-shot {
  margin-top: auto;
  background: var(--paper);
  padding: 22px 22px 0;
  display: flex;
  justify-content: center;
  height: 340px;
  overflow: hidden;
}

.step-shot img {
  width: 230px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.12);
  align-self: flex-start;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ecf7d9;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime-deep);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Spotlights (alternating text + phone) */
.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.spot + .spot {
  margin-top: 96px;
}

.spot.flip .spot-text {
  order: 2;
}

.spot-text h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  margin: 10px 0 16px;
}

.spot-text p {
  color: var(--ink-2);
  font-size: 18px;
}

.spot-text ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.spot-text li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.spot-text li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314210a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

.spot-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.spot-visual .phone {
  position: relative;
  width: 270px;
}

.spot-visual .float {
  position: absolute;
  width: 210px;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.25);
}

.spot-visual {
  min-height: 560px;
}

.spot-visual .float.right {
  right: 2%;
  bottom: 10px;
  transform: rotate(5deg);
}

.spot-visual .float.left {
  left: 2%;
  bottom: 10px;
  transform: rotate(-5deg);
}

.spot-visual .phone {
  margin-inline: auto;
}

.spot-visual:has(.float.right) .phone {
  margin-left: 6%;
}

.spot-visual:has(.float.left) .phone {
  margin-right: 6%;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
}

.plan {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
}

.plan.pro {
  background: linear-gradient(160deg, #1f2a12, var(--night-2) 60%);
  border-color: rgb(163 230 53 / 0.45);
}

.plan h3 {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan .badge {
  font: 800 11px/1 var(--body);
  letter-spacing: 0.06em;
  background: var(--gold);
  color: #2a2000;
  padding: 5px 8px;
  border-radius: 6px;
}

.plan .price {
  font: 800 40px/1 var(--display);
  margin: 18px 0 4px;
}

.plan .price small {
  font: 500 16px var(--body);
  color: var(--night-ink-2);
}

.plan .sub {
  color: var(--night-ink-2);
  font-size: 15px;
  margin: 0 0 22px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  font-size: 15.5px;
}

.plan li {
  display: flex;
  gap: 10px;
}

.plan li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 800;
}

.plan li.no::before {
  content: "–";
  color: var(--night-ink-2);
}

.plan li.no {
  color: var(--night-ink-2);
}

.fine {
  color: var(--night-ink-2);
  font-size: 14px;
  margin-top: 22px;
  max-width: 900px;
}

/* Privacy band */
.privacy-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
}

.privacy-band h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.privacy-band p {
  color: var(--ink-2);
  margin: 0 0 12px;
}

.privacy-points {
  display: grid;
  gap: 14px;
}

.privacy-points div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
  font-size: 15.5px;
}

.privacy-points strong {
  display: block;
}

.privacy-points span {
  color: var(--ink-2);
}

/* FAQ */
.faq {
  max-width: 820px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font: 700 19px/1.35 var(--display);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font: 400 26px/1 var(--body);
  color: var(--lime-deep);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  color: var(--ink-2);
  margin: 12px 0 0;
}

/* CTA */
.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--night-ink-2);
  font-size: 19px;
  margin: 0 auto 30px;
  max-width: 36em;
}

.cta .store-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: var(--night-ink-2);
  padding: 48px 0 40px;
  border-top: 1px solid var(--night-line);
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a {
  color: var(--night-ink-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* ── Legal / support pages ──────────────────────────────────────────── */

.doc-hero {
  background: var(--night);
  color: #fff;
  padding: 64px 0 56px;
}

.doc-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
}

.doc-hero p {
  color: var(--night-ink-2);
  margin: 12px 0 0;
}

.doc {
  padding: 56px 0 96px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h2 {
  font-size: 26px;
  margin: 44px 0 12px;
}

.doc h3 {
  font-size: 19px;
  margin: 26px 0 8px;
}

.doc p,
.doc li {
  color: #2f3532;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.doc .summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 8px;
}

.doc .summary p {
  margin: 6px 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  background: #eef2e8;
  font-weight: 700;
}

.doc tr:last-child td {
  border-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 18px 0;
}

.contact-card strong {
  font-family: var(--display);
  font-size: 19px;
}

ol.steps-list {
  counter-reset: s;
  list-style: none;
  padding: 0;
}

ol.steps-list li {
  counter-increment: s;
  display: flex;
  gap: 14px;
  margin: 12px 0;
}

ol.steps-list li::before {
  content: counter(s);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero .wrap,
  .spot,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .spot.flip .spot-text {
    order: 0;
  }

  .hero-shots {
    height: 720px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-shots {
    height: 580px;
  }

  .phone {
    width: 220px;
    border-radius: 36px;
    padding: 7px;
  }

  .phone img {
    border-radius: 30px;
  }

  .hero-shots .phone.front {
    left: 0;
  }

  .hero-shots .phone.back {
    right: 0;
    top: 70px;
  }

  .steps,
  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .gallery {
    gap: 12px;
  }

  .spot-visual .phone {
    width: 230px;
  }

  .spot-visual {
    min-height: 0;
  }

  .spot-visual .float {
    width: 140px;
    bottom: -10px;
  }

  .privacy-band {
    padding: 28px 22px;
  }

  .plan {
    padding: 26px 22px;
  }
}

/* Let grid children shrink below their images' natural width. */
.gallery > *,
.steps > *,
.features > *,
.spot > *,
.plans > *,
.hero .wrap > *,
.privacy-band > * {
  min-width: 0;
}

/* Player card layouts */
.card-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}

.card-trio figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.card-trio img {
  width: min(100%, 300px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgb(0 0 0 / 0.22));
  transition: transform 0.2s ease;
}

.card-trio figure:hover img {
  transform: translateY(-6px) rotate(-1.5deg);
}

.card-trio figcaption {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 300px;
  margin-inline: auto;
}

.card-trio figcaption strong {
  display: block;
  color: var(--ink);
  font: 800 20px/1.3 var(--display);
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .card-trio {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 56px;
  }

  .card-trio img {
    width: 240px;
  }
}
