/* SimpleBooked — "Open Sign" homepage.
   Deliberately single-theme: a lit sign against the dark. The living gradient
   in the hero is the identity; everything else stays quiet around it. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/archivo-var.woff2') format('woff2');
}

:root {
  --bg: #0c0a12;
  --bg2: #120f1c;
  --ink: #f4f2f7;
  --mut: #b9b3c6;
  --dim: #857e97;
  --hair: rgba(244, 242, 247, .13);
  --g1: #ff8d66;
  --g2: #ff5da2;
  --g3: #b07cff;
  --ok: #7fd6a8;
  --card: #17141f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; border-radius: 2px; }

/* ── nav ─────────────────────────────────────────────── */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 1160px; margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 48px);
  font-size: 13.5px;
}
.logo { font-weight: 760; font-size: 19px; letter-spacing: -.03em; }
.logo span {
  background: linear-gradient(92deg, var(--g1), var(--g2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.navlinks { display: flex; gap: 26px; color: var(--mut); }
.navlinks a:hover { color: var(--ink); }
@media (max-width: 680px) { .navlinks { display: none; } }
.navcta {
  border: 1px solid rgba(244, 242, 247, .28);
  border-radius: 999px; padding: 9px 20px;
  font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
  backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s;
}
.navcta:hover { border-color: var(--g2); background: rgba(255, 93, 162, .08); }

/* ── hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  /* top padding clears the absolutely-positioned nav */
  padding: clamp(124px, 16vw, 210px) clamp(20px, 5vw, 48px) 0;
  overflow: hidden;
}
#sign { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; }
h1 {
  margin: 0 0 8px;
  font-size: clamp(46px, 10.5vw, 138px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .97;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 span { display: block; }
.thin { font-weight: 300; letter-spacing: -.03em; }
.always {
  background: linear-gradient(92deg, var(--g1), var(--g2) 45%, var(--g3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .04em; /* keep the italic-ish overhang of the gradient glyphs unclipped */
}
.sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--mut);
  max-width: 46ch; line-height: 1.6;
  margin: 26px 0 38px;
}
.sub b { color: var(--ink); font-weight: 700; }

.ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta { font-weight: 700; font-size: 14.5px; }
.cta--solid {
  background: var(--ink); color: #14101c;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.cta--solid:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 93, 162, .28); }
.cta--play { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.cta--play i {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(244, 242, 247, .3);
  display: grid; place-items: center;
  font-style: normal; font-size: 12px;
  backdrop-filter: blur(6px);
}
.cta--play:hover i { border-color: var(--g1); color: var(--g1); }

.ticker {
  position: relative;
  max-width: 1160px;
  margin: clamp(56px, 9vw, 110px) auto 0;
  border-top: 1px solid var(--hair);
  padding: 18px 0 26px;
  display: flex; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.ticker b { color: var(--mut); font-weight: 600; }

/* ── shared section furniture ───────────────────────── */
section { position: relative; }
.kicker {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 14px;
  background: linear-gradient(92deg, var(--g1), var(--g2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  text-wrap: balance;
}
h2 .thin { font-weight: 300; }
.section-sub { color: var(--mut); font-size: clamp(15.5px, 1.6vw, 18px); max-width: 54ch; margin: 0; }

/* ── flow ────────────────────────────────────────────── */
.flow {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) clamp(20px, 5vw, 48px);
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.flowgrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px; align-items: stretch;
}
@media (max-width: 880px) {
  .flowgrid { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); margin: 0 auto; }
}
.card {
  background: var(--card);
  border: 1px solid rgba(244, 242, 247, .09);
  border-radius: 18px;
  padding: 20px;
  font-size: 13px;
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cap {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--dim);
}
.cap .live { color: var(--ok); font-weight: 500; }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.wave i {
  flex: 1; border-radius: 2px;
  background: linear-gradient(180deg, var(--g2), var(--g3));
  animation: wave 1.3s ease-in-out infinite;
  transform-origin: bottom;
}
.wave i:nth-child(2n) { animation-delay: .18s; }
.wave i:nth-child(3n) { animation-delay: .32s; }
.wave i:nth-child(5n) { animation-delay: .5s; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.tr { margin: 0; color: var(--mut); line-height: 1.6; }
.tr b { color: var(--ink); }
.sms { display: flex; flex-direction: column; gap: 7px; }
.bub {
  background: rgba(244, 242, 247, .08);
  border-radius: 12px 12px 12px 4px;
  padding: 9px 12px; color: var(--mut); line-height: 1.5; max-width: 95%;
}
.bub--link { background: rgba(176, 124, 255, .16); color: #cdb2ff; font-weight: 600; }
.paid { display: flex; flex-direction: column; gap: 8px; }
.paidrow { display: flex; justify-content: space-between; color: var(--mut); font-variant-numeric: tabular-nums; }
.paidrow--total { border-top: 1px solid rgba(244, 242, 247, .12); padding-top: 8px; font-weight: 700; color: var(--ink); }
.badge {
  align-self: flex-start;
  background: rgba(127, 214, 168, .14); color: var(--ok);
  font-weight: 700; font-size: 11px; border-radius: 999px; padding: 4px 10px;
}
.arrow { color: var(--dim); font-size: 20px; align-self: center; }
.flow-note { margin: 18px 0 0; font-size: 11.5px; color: var(--dim); }

/* ── verticals ───────────────────────────────────────── */
.verticals {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--bg2);
}
.verticals {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 1160px; margin: 0 auto;
}
@media (max-width: 880px) { .verticals { grid-template-columns: 1fr; } }
.vert { padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); }
.vert + .vert { border-left: 1px solid var(--hair); }
@media (max-width: 880px) { .vert + .vert { border-left: 0; border-top: 1px solid var(--hair); } }
.vert h3 {
  margin: 0 0 10px; font-size: 20px; font-weight: 760; letter-spacing: -.025em;
}
.vert p { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.65; }

/* ── deposits ────────────────────────────────────────── */
.deposits {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
@media (max-width: 880px) { .deposits { grid-template-columns: 1fr; } }
.dep-card {
  background: var(--ink); color: #221d24;
  border-radius: 18px; padding: 22px 24px;
  font-size: 13.5px; max-width: 340px; justify-self: center;
  box-shadow: 0 30px 80px rgba(255, 93, 162, .16), 0 6px 24px rgba(0, 0, 0, .5);
  transform: rotate(1.6deg);
}
.dep-card .hd {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: #b4437c; margin-bottom: 12px;
}
.svc {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px dashed #ddd6df;
  font-variant-numeric: tabular-nums; color: #4c4552;
}
.svc:last-of-type { border-bottom: 0; }
.svc b { color: #221d24; }
.depbtn {
  margin-top: 12px; background: #14101c; color: var(--ink);
  text-align: center; border-radius: 10px; padding: 12px;
  font-weight: 700; font-size: 13px;
}

/* ── final CTA ───────────────────────────────────────── */
.demo {
  border-top: 1px solid var(--hair);
  text-align: center;
  padding: clamp(72px, 11vw, 150px) clamp(20px, 5vw, 48px);
}
.demo h2 { font-size: clamp(34px, 5.6vw, 68px); }
.demo .section-sub { margin: 0 auto 32px; }
.demo .cta--solid { display: inline-block; }

/* ── footer ──────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--hair);
  max-width: 1160px; margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 48px) 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--dim);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i { animation: none; transform: scaleY(.6); }
  .cta--solid { transition: none; }
}
