/* Clubface landing page. Black and white, Jost headings like the Classic Black theme. */
:root {
  --ink: #0a0a0a;
  --ink-2: #4b4b4b;
  --muted: #767676;
  --line: #e4e4e4;
  --soft: #f5f5f3;
  --bg: #ffffff;
  --black: #0a0a0a;
  --head: Jost, Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }
.dark code, .hero code { background: rgba(255,255,255,.12); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 4.6vw, 54px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.eyebrow { font: 600 13px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 18px; }
.eyebrow.dark { color: var(--muted); }
.sub { color: var(--ink-2); font-size: 18px; margin: 16px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1.5px solid var(--black);
  background: var(--black); color: #fff; font: 600 14px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 999px; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn.line { background: transparent; color: var(--black); }
.btn.line:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn.white { background: #fff; color: var(--black); border-color: #fff; }
.btn.white:hover { background: #e9e9e9; border-color: #e9e9e9; }
.btn.line-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.line-white:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 12.5px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid #8a8a8a; outline-offset: 3px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 Inter, sans-serif; letter-spacing: -.02em; text-decoration: none; color: #000; }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.bar-tools { display: flex; gap: 10px; align-items: center; }

/* hero */
.hero { background: var(--black); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.82); margin: 24px 0 0; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.cta .btn { min-width: 230px; }
.center-cta { justify-content: center; }
.hero-note { font-size: 14px; color: rgba(255,255,255,.6); margin: 16px 0 0; }
.shot { margin: 0; background: #1c1c1c; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: #262626; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4a4a; }

/* sections */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--black); color: #fff; }
.section.dark .sub { color: rgba(255,255,255,.75); }

/* the new skin: the page as built, then Clubface's look laid over it from the top down */
.skin { position: relative; max-width: 760px; margin: 48px auto 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.skin-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.skin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d3; }
.skin-url { margin: 0 auto; padding: 4px 16px; border-radius: 999px; background: #fff; font-size: 12.5px; color: var(--muted); transform: translateX(-17px); }
.skin-view { position: relative; overflow: hidden; }
.skin-new { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.7s cubic-bezier(.65,0,.35,1); }
.skin-new > img { width: 100%; height: 100%; }
.skin-edge { position: absolute; left: 0; right: 0; top: 0; height: 0; opacity: 0; pointer-events: none; transition: top 1.7s cubic-bezier(.65,0,.35,1), opacity .3s; }
/* a band of light leading the new look down the page */
.skin-edge::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: #fff; box-shadow: 0 0 18px 6px rgba(255,255,255,.85); }
.skin-edge span { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  background: var(--black); color: #fff; font: 800 14px/1 Inter, sans-serif; letter-spacing: -.01em; }
.skin-edge svg { width: 17px; height: 17px; }
.skin.go .skin-edge { opacity: 1; }
.skin[data-state="new"] .skin-new { clip-path: inset(0 0 0 0); }
.skin[data-state="new"] .skin-edge { top: 100%; }
.skin.done .skin-edge { opacity: 0; }
.pin { position: absolute; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.95); color: var(--ink); font: 500 14px/1.2 var(--head); opacity: 0; transition: opacity .4s, transform .4s; }
.pin b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: #fff; font: 600 12px/1 Inter, sans-serif; }
.skin.done .pin { opacity: 1; transform: translate(-50%, 0); }
.skin.done .pin:nth-of-type(2) { transition-delay: .25s; }
.skin.done .pin:nth-of-type(3) { transition-delay: .5s; }
.skin-ctl { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.seg { min-height: 42px; padding: 0 20px; border: 1.5px solid var(--black); border-radius: 999px; background: #fff; color: var(--black); font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--black); color: #fff; }
.replay { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 12px; border: 0; background: none; color: var(--ink-2); font: 500 14px/1 Inter, sans-serif; cursor: pointer; }
.replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.replay:hover { color: var(--ink); }

/* what you get */
.gets { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gets li { background: #fff; padding: 30px 28px; border: 1px solid var(--line); border-radius: 22px; }
.gets .ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--black); color: #fff; margin-bottom: 20px; }
.gets .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gets p { color: var(--ink-2); margin: 10px 0 0; font-size: 15.5px; }

/* visitor reports: an example email */
.report-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: rgba(255,255,255,.85); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.mail { margin: 0; background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; display: grid; gap: 18px; }
.mail-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mail-top b { font: 500 20px/1.2 var(--head); }
.mail-top span { font-size: 13px; color: var(--muted); }
.mail-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mail-big div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; display: grid; gap: 2px; }
.mail-big .n { font: 500 30px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.mail-big .l { font-size: 13px; color: var(--muted); line-height: 1.3; }
.mail-big .ch { font-size: 13px; color: #1f7a3d; }
.mail-big .ch.down { color: #a33a2a; }
.mail-h { margin: 0; font: 600 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mail-bars { display: grid; gap: 9px; font-size: 14px; }
.mail-bars div { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.mail-bars i { height: 9px; border-radius: 9px; background: var(--soft); overflow: hidden; }
.mail-bars b { display: block; height: 100%; background: var(--black); border-radius: 9px; }
.mail-bars span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mail-note { margin: 0; font-size: 14px; color: var(--ink-2); }

/* steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { background: #fff; padding: 30px 26px; border: 1px solid var(--line); border-radius: 22px; }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; font: 600 16px/1 var(--head); margin-bottom: 20px; }
.steps p { color: var(--ink-2); margin: 10px 0 0; font-size: 15.5px; }

/* block examples: swipe cards, as the Slider Block's Swipe cards (a row that scrolls sideways,
   the next card peeking in, arrows and a progress line below) */
.sw { --pad: max(24px, calc((100% - 1132px) / 2)); margin-top: 56px; }
.sw-track { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 6px var(--pad) 16px; scrollbar-width: none; overscroll-behavior-x: contain; outline: 0; cursor: grab; }
.sw-track::-webkit-scrollbar { display: none; }
.sw-track:focus-visible { box-shadow: inset 0 0 0 2px #8a8a8a; }
.sw-track.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.sw-track.drag * { pointer-events: none; }
.sw-card { flex: 0 0 clamp(280px, 36vw, 440px); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; background: var(--soft); border-radius: 26px; overflow: hidden; }
/* each picture framed inside its grey card */
.sw-card img, .sw-card video { display: block; width: calc(100% - 28px); height: auto; margin: 14px 14px 0; border-radius: 16px; aspect-ratio: 6 / 5; object-fit: cover; object-position: center top;
  background: #fff; -webkit-user-drag: none; }
.sw-card.sw-wide { flex-basis: clamp(300px, 52vw, 640px); }
.sw-card.sw-wide video, .sw-card.sw-wide img { aspect-ratio: 16 / 9.4; object-position: center; }
.sw-phone video { object-fit: contain; padding: 14px 0 0; background: #fff; }
.sw-card img[src$="text-black.jpg"] { object-fit: contain; background: #111; padding: 0 18px; }
.sw-card figcaption { padding: 22px 26px 28px; color: var(--ink-2); font-size: 15.5px; }
.sw-card figcaption b { display: block; font: 500 21px/1.3 var(--head); color: var(--ink); margin-bottom: 6px; }
.sw-bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--pad) 0; }
.sw-prog { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.sw-prog span { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--black); transition: transform .15s linear; }
.sw-btn { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--black); background: #fff; color: var(--black); cursor: pointer; padding: 0; transition: background .15s, color .15s, opacity .15s; }
.sw-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sw-btn:hover { background: var(--black); color: #fff; }
.sw-btn:disabled { opacity: .3; cursor: default; background: #fff; color: var(--black); }

/* phones: an app-style bar along the bottom (as on.com) */
.appbar { display: none; }

/* questions */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 19px/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 Inter, sans-serif; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 22px; color: var(--ink-2); }

/* footer */
.foot { background: var(--black); color: rgba(255,255,255,.8); padding: 56px 0; }
.foot .logo { color: #fff; }
.foot-in p { margin: 14px 0 0; }
.foot-in a:not(.logo) { color: #fff; }
.foot .small { font-size: 13.5px; color: rgba(255,255,255,.55); }

/* sign in and sign up */
dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; padding: 30px 30px 26px; border-radius: 0; box-shadow: 0 30px 90px rgba(0,0,0,.35); color: var(--ink); }
dialog::backdrop { background: rgba(0,0,0,.6); }
.dlg-close { position: absolute; top: 8px; right: 10px; margin: 0; }
.dlg-close button { border: 0; background: none; font-size: 28px; line-height: 1; padding: 6px 8px; cursor: pointer; color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin: 6px 0 24px; }
.tabs button { border: 0; background: none; padding: 12px 0; font: 600 13px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--black); }
.auth-form h2 { font-size: 26px; }
.auth-form .hint { color: var(--ink-2); font-size: 15px; margin: 8px 0 20px; }
.auth-form .hint.small { font-size: 13.5px; margin: 16px 0 0; }
.auth-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.auth-form input { display: block; width: 100%; margin-top: 6px; padding: 12px 12px; font: 16px Inter, sans-serif; border: 1px solid #c9c9c9; border-radius: 0; background: #fff; color: var(--ink); }
.auth-form input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.auth-form small { font-weight: 400; color: var(--muted); font-size: 13px; }
.auth-form small { display: block; margin-top: 4px; }
.auth-form .btn { margin-top: 8px; }
.err { background: #fdecec; color: #8a1c1c; padding: 10px 12px; font-size: 14px; margin: 0 0 16px; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-in { grid-template-columns: 1fr; gap: 44px; }
  .nav { display: none; }
  .bar-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hide-sm { display: none; }
  .cta .btn { width: 100%; min-width: 0; }
  .gets { grid-template-columns: 1fr; }
  .skin { border-radius: 16px; }
  .pin { font-size: 12px; padding: 5px 10px 5px 5px; gap: 6px; }
  .pin b { width: 20px; height: 20px; font-size: 11px; }
  .mail { padding: 20px 16px; }
  .mail-big .n { font-size: 24px; }
  /* the steps become a row to swipe, like the examples */
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 40px -16px 0; padding: 4px 16px 12px; gap: 12px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { flex: 0 0 82%; scroll-snap-align: start; }
  .sw-card { flex-basis: 84%; }
  .sw-btn { display: none; }
  dialog { padding: 26px 20px 22px; }
}
@media (max-width: 980px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .appbar { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
    height: 64px; padding: 6px; gap: 4px; border-radius: 22px; background: rgba(10,10,10,.9); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
    box-shadow: 0 12px 32px rgba(0,0,0,.28); }
  .appbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 16px; color: #fff; text-decoration: none;
    font: 500 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
  .appbar a:active { background: rgba(255,255,255,.14); }
  .appbar a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .appbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .appbar .appbar-go { flex: 1.3; background: #fff; color: var(--black); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .skin-new, .skin-edge, .pin { transition: none !important; } }
