/* fabslots homepage. Everything is scoped under .home so the app screens are unaffected. */
.home {
  --h-purple: #5b2d9f;
  --h-purple-hover: #4c2487;
  --h-purple-tint: #f1ebfa;
  --h-purple-soft: #d9cbef;
  --h-ink: #1c1917;
  --h-text: #1c1917;
  --h-text-2: #57534e;
  --h-text-3: #a8a29e;
  --h-bg: #ffffff;
  --h-warm: #f6f4f2;
  --h-warm-2: #faf9f7;
  --h-line: #e9e6e3;
  --h-line-strong: #dad6d2;
  --h-slot: #ebe8e5;
  --h-ease: cubic-bezier(.65, .05, .25, 1);
  --h-pop: cubic-bezier(.2, .9, .3, 1.3);
  --h-wrap: 1160px;
  flex: 1;
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: normal;
  color: var(--h-text);
  background: var(--h-bg);
  font-size: 16px;
  overflow-x: clip;
}
:where(.home) :where(h1, h2, h3, p) { margin: 0; }
:where(.home) a { text-decoration: none; color: inherit; }
.home :focus-visible { outline: 2px solid var(--h-purple); outline-offset: 3px; border-radius: 6px; }
.h-wrap { width: 100%; max-width: calc(var(--h-wrap) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.h-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.h-btn-lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.h-btn-primary { background: var(--h-purple); color: #fff; box-shadow: 0 1px 2px rgba(60, 20, 120, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.h-btn-primary:hover { background: var(--h-purple-hover); }
.h-btn-secondary { background: #fff; color: var(--h-text); border: 1px solid var(--h-line-strong); box-shadow: 0 1px 2px rgba(28, 25, 23, .06); }
.h-btn-secondary:hover { border-color: #c4bfba; background: var(--h-warm-2); }
.h-btn-light { background: #fff; color: var(--h-purple); }
.h-btn-light:hover { background: var(--h-purple-tint); }
.h-btn svg { transition: transform .2s; }
.h-btn:hover svg { transform: translateX(2px); }

/* ---------- Nav ---------- */
.h-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--h-line); transition: background .25s, border-color .25s; }
.h-nav[data-over-hero] { background: transparent; backdrop-filter: none; border-color: transparent; }
.h-nav[data-over-hero][data-scrolled] { background: rgba(68, 30, 128, .82); backdrop-filter: saturate(160%) blur(14px); border-color: rgba(255, 255, 255, .1); }
.h-nav[data-over-hero] .h-logo-dark, .h-nav:not([data-over-hero]) .h-logo-light { display: none; }
.h-nav[data-over-hero] .h-links a { color: rgba(255, 255, 255, .78); }
.h-nav[data-over-hero] .h-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.h-nav[data-over-hero] .h-btn-primary { background: #fff; color: var(--h-purple); }
.h-nav[data-over-hero] .h-btn-primary:hover { background: #f3eefc; }
.h-nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.h-logo img { display: block; width: 150px; height: auto; }
.h-links { display: flex; gap: 4px; margin-right: auto; }
.h-nav-actions { display: flex; align-items: center; gap: 16px; }
.h-nav-signin { color: var(--h-text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.h-nav-signin:hover { color: var(--h-text); }
.h-nav[data-over-hero] .h-nav-signin { color: rgba(255, 255, 255, .82); }
.h-nav[data-over-hero] .h-nav-signin:hover { color: #fff; }
.h-links a { padding: 6px 10px; border-radius: 8px; color: var(--h-text-2); font-size: 14px; font-weight: 500; transition: color .15s, background .15s; }
.h-links a:hover { color: var(--h-text); background: var(--h-warm); }

/* ---------- Hero ---------- */
.h-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -64px; padding: 120px 0 96px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(160, 110, 255, .45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(30, 10, 70, .55), transparent 70%),
    linear-gradient(160deg, #6a35b8 0%, #5b2d9f 45%, #3f1d78 100%);
  color: #fff;
}
.h-hero-canvas {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  mask-image: radial-gradient(ellipse 75% 95% at 72% 45%, #000 30%, rgba(0, 0, 0, .35) 75%, rgba(0, 0, 0, .15) 100%);
}
.h-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 1px; background: rgba(255, 255, 255, .12); }
.h-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); }
.h-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #c8f56a; box-shadow: 0 0 0 3px rgba(200, 245, 106, .2); animation: h-live 2.4s ease-in-out infinite; }
@keyframes h-live { 50% { box-shadow: 0 0 0 6px rgba(200, 245, 106, 0); } }
.h-hero h1 { margin-top: 20px; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }

/* Headline accents: a lime swoosh under "affordable", a logo-style slanted bar behind "flexible".
   Base styles are the end state; animations only run "from", so reduced motion shows the finished look. */
.h-hl-swoosh { position: relative; white-space: nowrap; }
.h-hl-swoosh svg { position: absolute; left: -2%; bottom: -0.13em; width: 104%; height: .3em; overflow: visible; pointer-events: none; }
.h-hl-swoosh path { fill: none; stroke: #c8f56a; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.h-hl-swoosh path:first-child { stroke-width: 7; animation: h-draw .7s cubic-bezier(.6, .1, .3, 1) .45s both; }
.h-hl-swoosh path:last-child { stroke-width: 4.5; opacity: .75; animation: h-draw .5s cubic-bezier(.6, .1, .3, 1) .95s both; }
@keyframes h-draw { from { stroke-dashoffset: 1; } }

.h-hl-flex { position: relative; display: inline-block; padding: 0 .1em; margin: 0 -.02em; color: var(--h-purple); white-space: nowrap; }
.h-hl-flex::before {
  content: ""; position: absolute; z-index: -1; inset: .1em -.04em .02em;
  border-radius: .16em; background: linear-gradient(100deg, #f0e8ff, #dcc9ff);
  box-shadow: 0 .12em .4em -.1em rgba(20, 5, 50, .35);
  transform: skewX(-16deg); transform-origin: left center;
  animation: h-bar 0.55s cubic-bezier(.65, .05, .25, 1) 1.15s both;
}
.h-hl-flex > span { animation: h-ink .3s ease 1.35s both; }
@keyframes h-bar { from { transform: skewX(-16deg) scaleX(0); } }
@keyframes h-ink { from { color: #fff; } }
.h-lede { margin-top: 20px; max-width: 34em; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.h-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .85); font-size: 14px; }
.h-hero .h-ticks svg { background: rgba(255, 255, 255, .14); color: #fff; }
.h-hero-copy .h-btn-primary { background: #fff; color: var(--h-purple); box-shadow: 0 8px 24px -8px rgba(20, 5, 50, .5); }
.h-hero-copy .h-btn-primary:hover { background: #f3eefc; }
.h-hero-copy .h-btn-secondary { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; backdrop-filter: blur(6px); }
.h-hero-copy .h-btn-secondary:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }
.h-ticks li, .h-perks li { display: flex; align-items: center; gap: 8px; }
.h-ticks svg, .h-perks svg { flex: none; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--h-purple-tint); color: var(--h-purple); }

/* ---------- Hero card ---------- */
.h-hero-visual { display: grid; justify-items: center; gap: 18px; }
.hc {
  --biz: var(--h-purple);
  width: 100%; max-width: 460px; color: var(--h-text);
  background: #fff; border: 1px solid var(--h-line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 5, 50, .1), 0 16px 32px -12px rgba(20, 5, 50, .3), 0 48px 96px -24px rgba(20, 5, 50, .55);
  border-color: rgba(255, 255, 255, .6);
}
.hc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.hc-pattern { color: var(--h-purple); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hc-title { margin-top: 2px; font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.hc-count { margin-top: 2px; padding: 5px 10px; border-radius: 99px; background: var(--h-warm); color: var(--h-text-2); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-count b { color: var(--h-text); font-weight: 600; }

.hc-stage { position: relative; margin: 14px 22px 18px; aspect-ratio: 1; container-type: inline-size; }
.hc-slot {
  position: absolute;
  left: calc((var(--x) - var(--w) / 2) * 1cqw);
  top: calc((var(--y) - var(--h) / 2) * 1cqw);
  width: calc(var(--w) * 1cqw);
  height: calc(var(--h) * 1cqw);
  border-radius: calc(var(--rad) * 1cqw);
  rotate: var(--rot);
  scale: 1;
  background: var(--h-slot);
  transition-property: left, top, width, height, border-radius, rotate, scale, opacity, background-color;
  transition-duration: .9s, .9s, .9s, .9s, .9s, .9s, .5s, .4s, .35s;
  transition-timing-function: var(--h-ease);
  transition-delay: var(--d);
}
.hc-slot[data-state="taken"] { background: var(--h-purple-soft); }
.hc-slot[data-state="staff"] { background: var(--h-ink); }
.hc-slot[data-state="new"] { background: var(--h-purple); }
.hc-slot[data-state="hidden"] { scale: 0; opacity: 0; }
.hc-slot::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--h-purple); opacity: 0; pointer-events: none; }
.hc-slot.is-bumping { animation: hc-bump .55s var(--h-pop); }
.hc-slot.is-bumping::after { animation: hc-ripple .7s ease-out; }
@keyframes hc-bump { 0% { scale: .6; } 55% { scale: 1.25; } 100% { scale: 1; } }
@keyframes hc-ripple { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 1.6; } }

.hc-deco { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.hc-deco.is-on { opacity: 1; transition: opacity .6s ease .45s; }
.hc-lbl {
  position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); translate: -50% -50%;
  color: var(--h-text-3); font-size: calc(3.1 * 1cqw); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hc-lbl.is-start { translate: 0 -50%; }
.hc-lbl.is-muted { font-size: calc(3.3 * 1cqw); color: var(--h-text-2); }
.hc-table {
  position: absolute; display: grid; place-items: center;
  left: calc((var(--x) - var(--w) / 2) * 1cqw); top: calc((var(--y) - var(--h) / 2) * 1cqw);
  width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw);
  border-radius: calc(2.4 * 1cqw); background: var(--h-warm); border: 1px solid var(--h-line);
  color: var(--h-text-3); font-size: calc(2.7 * 1cqw); font-weight: 600;
  transition: background .4s, border-color .4s, color .4s;
}
.hc-table > span { writing-mode: horizontal-tb; }
.hc-table[data-state="taken"] { background: var(--h-purple-tint); border-color: var(--h-purple-soft); color: #8e74bd; }
.hc-table[data-state="new"] { background: #e6dbf6; border-color: #b9a2e0; color: var(--h-purple); }
.hc-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; text-align: center; }
.hc-ring b { font-size: calc(15 * 1cqw); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hc-ring span { margin-top: calc(1.5 * 1cqw); color: var(--h-text-2); font-size: calc(3.6 * 1cqw); }
.hc-ring small { margin-top: calc(.6 * 1cqw); color: var(--h-text-3); font-size: calc(3.2 * 1cqw); }

.hc-toast {
  position: absolute; z-index: 3; left: calc(var(--tx, 50) * 1cqw); top: calc(var(--ty, 50) * 1cqw);
  display: flex; align-items: center; gap: 7px; padding: 6px 11px 6px 6px;
  translate: -50% -100%; opacity: 0; scale: .9; transform-origin: 50% 100%;
  border: 1px solid var(--h-line); border-radius: 99px; background: #fff;
  box-shadow: 0 8px 24px -8px rgba(40, 20, 80, .28), 0 1px 2px rgba(28, 25, 23, .06);
  font-size: 12.5px; font-weight: 500; white-space: nowrap; pointer-events: none;
  transition: opacity .2s, scale .2s;
}
.hc-toast.is-below { translate: -50% 0; transform-origin: 50% 0; }
.hc-toast.is-on { opacity: 1; scale: 1; transition: opacity .25s, scale .35s var(--h-pop); }
.hc-toast-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--h-purple); color: #fff; }
.hc-toast-icon svg { width: 12px; height: 12px; }

.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 22px; background: var(--h-warm-2); border-top: 1px solid var(--h-line); }
.hc-foot-text { display: grid; gap: 1px; min-width: 0; }
.hc-biz { display: flex; align-items: center; gap: 6px; color: var(--h-text-3); font-size: 12.5px; }
.hc-biz-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--biz); transition: background .4s; }
.hc-pick { overflow: hidden; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.hc-book { height: 40px; padding: 0 20px; cursor: default; }
.hc-book.is-pressed { animation: hc-press .45s ease; }
@keyframes hc-press { 0% { transform: scale(1); } 30% { transform: scale(.94); background: var(--h-purple-hover); } 100% { transform: scale(1); } }

/* ---------- Abstract hero (HERO_VISUAL = "abstract" in home.js) ---------- */
.hx { --lime: #c8f56a; width: 100%; max-width: 440px; display: grid; justify-items: center; gap: 22px; }
.hx-stage {
  position: relative; isolation: isolate; width: 100%; aspect-ratio: 1; container-type: inline-size;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
/* A soft dark pool behind the slots so the dot field doesn't compete with them. */
.hx-stage::before { content: ""; position: absolute; inset: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 12, 88, .62), rgba(40, 12, 88, .25) 60%, transparent); pointer-events: none; }
.hx-slot {
  position: absolute;
  left: calc((var(--x) - var(--w) / 2) * 1cqw);
  top: calc((var(--y) - var(--h) / 2) * 1cqw);
  width: calc(var(--w) * 1cqw);
  height: calc(var(--h) * 1cqw);
  border-radius: calc(var(--rad) * 1cqw);
  rotate: var(--rot);
  scale: 1;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
  transition-property: left, top, width, height, border-radius, rotate, scale, opacity, background-color, box-shadow;
  transition-duration: 1s, 1s, 1s, 1s, 1s, 1s, .5s, .4s, .35s, .35s;
  transition-timing-function: var(--h-ease);
  transition-delay: var(--d);
  animation: hx-float 5.2s ease-in-out var(--fd, 0ms) infinite alternate;
}
.hx-slot[data-state="taken"] { background: rgba(255, 255, 255, .58); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.hx-slot[data-state="staff"] { background: #fff; box-shadow: 0 0 0 calc(.8 * 1cqw) rgba(255, 255, 255, .12); }
.hx-slot[data-state="new"] { background: var(--lime); box-shadow: 0 0 calc(3 * 1cqw) rgba(200, 245, 106, .5); transition-delay: 0ms; }
.hx-slot[data-state="hidden"] { scale: 0; opacity: 0; }
.hx-slot::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--lime); opacity: 0; pointer-events: none; }
.hx-slot.is-bumping { animation: hx-float 5.2s ease-in-out var(--fd, 0ms) infinite alternate, hx-bump .55s var(--h-pop); }
.hx-slot.is-bumping::after { animation: hx-ripple .75s ease-out; }
@keyframes hx-float { from { translate: 0 calc(-.5 * 1cqw); } to { translate: 0 calc(.5 * 1cqw); } }
@keyframes hx-bump { 0% { scale: .55; } 55% { scale: 1.22; } 100% { scale: 1; } }
@keyframes hx-ripple { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 1.8; } }

.hx-deco { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.hx-deco.is-on { opacity: 1; transition: opacity .7s ease .5s; }
.hx-table {
  position: absolute;
  left: calc((var(--x) - var(--w) / 2) * 1cqw); top: calc((var(--y) - var(--h) / 2) * 1cqw);
  width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw);
  border-radius: calc(2.4 * 1cqw); border: 1px dashed rgba(255, 255, 255, .3);
  transition: background .5s, border-color .5s;
}
.hx-table[data-state="taken"] { background: rgba(255, 255, 255, .1); border-style: solid; border-color: rgba(255, 255, 255, .22); }
.hx-table[data-state="new"] { background: rgba(200, 245, 106, .16); border-style: solid; border-color: rgba(200, 245, 106, .6); }
.hx-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; color: #fff; }
.hx-ring b { font-size: calc(17 * 1cqw); line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hx-ring span { margin-top: calc(1 * 1cqw); color: rgba(255, 255, 255, .6); font-size: calc(3.8 * 1cqw); }

.hx-cursor {
  position: absolute; z-index: 2; left: calc(var(--cx, 50) * 1cqw); top: calc(var(--cy, 50) * 1cqw);
  width: calc(3.6 * 1cqw); height: calc(3.6 * 1cqw); translate: -50% -50%; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 calc(1.4 * 1cqw) rgba(200, 245, 106, .2), 0 0 calc(5 * 1cqw) rgba(200, 245, 106, .65);
  opacity: 0; pointer-events: none;
  transition: left var(--ct, 0ms) cubic-bezier(.5, 0, .2, 1), top var(--ct, 0ms) cubic-bezier(.5, 0, .2, 1), opacity .3s;
}
.hx-cursor.is-on { opacity: 1; }

.hx-meta { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: 14px; font-variant-numeric: tabular-nums; }
.hx-pattern { color: #fff; font-weight: 600; }
.hx-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.hx-count { display: inline-block; }
.hx-count b { color: var(--lime); font-weight: 600; }

.h-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 480px; }
.h-tab {
  position: relative; overflow: hidden; padding: 7px 13px; border-radius: 99px;
  border: 1px solid transparent; color: rgba(255, 255, 255, .72); font-size: 13.5px; font-weight: 500;
  transition: color .2s, background .2s, border-color .2s;
}
.h-tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.h-tab[aria-selected="true"] { color: var(--h-text); background: #fff; border-color: var(--h-line); box-shadow: 0 1px 2px rgba(28, 25, 23, .05); }
.h-tab-bar { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--h-purple); transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: 0; }
.h-tab[aria-selected="true"] .h-tab-bar { opacity: 1; }

/* ---------- Sections ---------- */
.h-section { padding: 96px 0; }
.h-band { background: var(--h-warm); }
.h-section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.h-section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
.h-section-head p, .h-pricing-copy > p { color: var(--h-text-2); font-size: 17px; line-height: 1.55; text-wrap: pretty; }

/* Shared thumbnail colours */
.thumb { display: block; width: 100%; height: 100%; }
.thumb .t-free { fill: var(--h-slot); }
.thumb .t-taken { fill: var(--h-purple-soft); }
.thumb .t-new { fill: var(--h-purple); }
.thumb .t-staff { fill: var(--h-ink); }
.thumb .t-table { fill: #fff; stroke: var(--h-line-strong); stroke-width: .5; }

/* Use cases */
.h-patterns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.h-pattern { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--h-line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.h-pattern:hover { border-color: var(--h-purple-soft); box-shadow: 0 16px 32px -20px rgba(60, 30, 120, .35); transform: translateY(-2px); }
.h-pattern-thumb { aspect-ratio: 1; padding: 14px; border-radius: 12px; background: var(--h-warm-2); }
.h-pattern h3, .h-guide h3 { margin-top: 18px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.h-pattern > p, .h-guide > p { margin-top: 6px; color: var(--h-text-2); font-size: 14px; line-height: 1.5; }
.h-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 16px 0 0; list-style: none; }
.h-chips li { padding: 3px 9px; border-radius: 99px; background: var(--h-warm); color: var(--h-text-2); font-size: 12.5px; font-weight: 500; }

/* Pricing */
.h-pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: center; }
.h-pricing-copy { display: grid; gap: 14px; }
.h-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.h-price-card { padding: 28px; border: 1px solid var(--h-line); border-radius: 22px; background: #fff; box-shadow: 0 24px 48px -28px rgba(60, 30, 120, .25); }
.h-price-label { color: var(--h-text-2); font-size: 14px; font-weight: 500; }
.h-price-tier + .h-price-tier { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--h-line); }
.h-price-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.h-price-volume { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.h-price-detail { margin-top: 7px; color: var(--h-text-2); font-size: 14px; line-height: 1.5; }
.h-price-foot { display: flex; justify-content: flex-end; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--h-line); }
.h-price { display: flex; align-items: baseline; gap: 6px; }
.h-price b { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h-price span { color: var(--h-text-2); font-size: 15px; }

/* All you need is a smartphone */
.h-mobile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h-mobile-copy { display: grid; gap: 14px; }
.h-mobile-lede { max-width: 30em; color: var(--h-text-2); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.h-mobile-points { display: grid; gap: 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.h-mobile-points li { display: flex; gap: 16px; }
.h-mobile-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--h-purple-tint); color: var(--h-purple); }
.h-mobile-points h3 { font-size: 16px; font-weight: 600; }
.h-mobile-points p { margin-top: 3px; color: var(--h-text-2); font-size: 14.5px; line-height: 1.5; }

.h-mobile-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.h-mobile-visual::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, #ece2fd 0%, rgba(236, 226, 253, 0) 70%);
}
.h-phone {
  position: relative; width: 244px; padding: 6px; border-radius: 36px; background: #17141c;
  box-shadow: inset 0 0 0 1.5px #3a3542, 0 2px 4px rgba(20, 5, 50, .15), 0 40px 80px -30px rgba(40, 15, 90, .5);
  rotate: -2deg;
}
.h-phone::before { content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; translate: -50% 0; width: 62px; height: 17px; border-radius: 99px; background: #17141c; }
.h-phone-screen { position: relative; overflow: hidden; height: 424px; border-radius: 30px; background: #fff; }
.hp-screen-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center; }

.hp-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border: 1px solid var(--h-line); border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 16px 36px -14px rgba(40, 15, 90, .35);
  animation: hp-bob 5s ease-in-out infinite;
}
.hp-float b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.hp-float small { color: var(--h-text-2); font-size: 12px; white-space: nowrap; }
.hp-float-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--h-purple); color: #fff; }
.hp-float-icon.is-lime { background: #c8f56a; color: #2d3a0f; }
.hp-note { top: 18px; right: 0; }
.hp-link { bottom: 14px; left: 0; animation-delay: -2.5s; }
@keyframes hp-bob { 50% { translate: 0 -8px; } }

/* Demos */
.h-demos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-demo { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--h-line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.h-demo:hover { border-color: var(--h-line-strong); box-shadow: 0 16px 32px -20px rgba(28, 25, 23, .3); transform: translateY(-2px); }
.h-demo-banner { position: relative; aspect-ratio: 2 / 1; background: color-mix(in srgb, var(--brand) 9%, #fff); overflow: hidden; }
.h-demo-preview { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.h-demo-body { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.h-demo-logo { display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-top: -34px; border: 3px solid #fff; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 700; box-sizing: content-box; }
.h-demo h3 { font-size: 15.5px; font-weight: 600; }
.h-demo-body p { color: var(--h-text-2); font-size: 13.5px; }
.h-demo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 16px 18px 18px; color: var(--h-purple); font-size: 14px; font-weight: 600; }
.h-demo-link svg { transition: transform .2s; }
.h-demo:hover .h-demo-link svg, .h-guide:hover .h-demo-link svg { transform: translateX(3px); }

/* FAQ */
.h-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.h-faq { border: 1px solid var(--h-line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.h-faq[open] { border-color: var(--h-line-strong); }
.h-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--h-warm); color: var(--h-text-2); transition: rotate .25s, background .2s, color .2s; }
.h-faq[open] .h-faq-icon { rotate: 45deg; background: var(--h-purple-tint); color: var(--h-purple); }
.h-faq p { padding: 0 20px 20px; color: var(--h-text-2); font-size: 15px; line-height: 1.6; }

/* Guides */
.h-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-guide { display: flex; flex-direction: column; padding: 18px 18px 0; border: 1px solid var(--h-line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.h-guide:hover { border-color: var(--h-purple-soft); box-shadow: 0 16px 32px -20px rgba(60, 30, 120, .35); transform: translateY(-2px); }
.h-guide-thumb { height: 150px; padding: 16px; border-radius: 12px; background: var(--h-warm-2); }
.h-guide .h-demo-link { padding-left: 0; }

/* Final CTA */
.h-cta-section { padding-top: 24px; }
.h-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px 48px; border-radius: 24px; background: var(--h-purple); color: #fff;
}
.h-cta h2 { position: relative; max-width: 18em; font-size: clamp(24px, 2.8vw, 32px); }
.h-cta .h-btn { position: relative; }
.h-cta-dots { position: absolute; right: 230px; top: 50%; translate: 0 -50%; display: grid; grid-template-columns: repeat(6, 14px); gap: 10px; opacity: .9; }
.h-cta-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .12); animation: h-cta-dot 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes h-cta-dot { 0%, 70%, 100% { background: rgba(255, 255, 255, .12); } 80%, 90% { background: rgba(255, 255, 255, .55); } }

/* Footer */
.h-footer { border-top: 1px solid var(--h-line); }
.h-footer-inner { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 28px; color: var(--h-text-3); font-size: 14px; }
.h-footer img { display: block; width: 112px; height: auto; }
.h-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-right: auto; }
.h-footer nav a { color: var(--h-text-2); }
.h-footer nav a:hover { color: var(--h-text); }
.h-footer-inner #fabslots-language-control { order: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {

  .h-patterns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-demos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-cta-dots { display: none; }
}
@media (max-width: 900px) {
  .h-mobile { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .h-hero { padding-top: 96px; }
  .h-hero-canvas { mask-image: radial-gradient(ellipse 120% 70% at 50% 75%, #000 30%, rgba(0, 0, 0, .3) 100%); }
  .h-hero-inner, .h-pricing { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .h-guides { grid-template-columns: minmax(0, 1fr); }
  .h-guide { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; padding: 16px; }
  .h-guide-thumb { grid-row: span 3; height: 120px; padding: 12px; }
  .h-guide h3 { margin-top: 2px; }
  .h-guide .h-demo-link { padding: 10px 0 0; }
}
@media (max-width: 720px) {

  .h-wrap { padding: 0 16px; }
  .h-links { display: none; }
  .h-nav-actions { gap: 11px; }
  .h-nav-signin { font-size: 13px; }
  .h-logo img { width: 128px; }
  .h-nav-inner { justify-content: space-between; }
  .h-section { padding: 64px 0; }
  .h-lede { font-size: 17px; }
  .h-patterns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .h-pattern { padding: 14px; }
  .h-faqs { grid-template-columns: minmax(0, 1fr); }
  .h-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .h-footer-inner { flex-wrap: wrap; gap: 16px 24px; }
  .hc-head { padding: 16px 16px 0; }
  .hc-stage { margin: 10px 16px 14px; }
  .hc-foot { padding: 12px 12px 12px 16px; }
  .hc-title { font-size: 22px; }
}
@media (max-width: 440px) {
  .h-mobile-visual { min-height: 580px; }
  .h-phone { width: 220px; }
  .h-phone-screen { height: 388px; }
  .hp-note { top: 0; right: -4px; }
  .hp-link { bottom: 0; left: -4px; }
  .hp-link b { font-size: 12px; }

  .h-patterns, .h-demos { grid-template-columns: minmax(0, 1fr); }
  .h-perks { grid-template-columns: minmax(0, 1fr); }
  .h-pattern-thumb { aspect-ratio: auto; height: 150px; }
  .h-guide { grid-template-columns: 88px minmax(0, 1fr); }
  .h-guide-thumb { height: 88px; padding: 8px; }
  .h-actions .h-btn { flex: 1; }
  .hc-count { display: none; }
  .h-tab { padding: 7px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
}
