/* Gigly brand tokens from the public gogigly.com homepage / earlier SNF mockup:
   navy #1A1459, cyan #13B5DD, light gray #E9EEF5, white #FFFFFF, accent #4E5FE4. */
:root {
  --ink: #1A1459;
  --cyan: #13B5DD;
  --accent: #4E5FE4;
  --mint: #E9EEF5;
  --cream: #FFFFFF;
  --muted: #54595F;
  --line: #D9D9D9;
  --shadow: #1A145914;
  --radius: 16px;
  --wrap: 1120px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, a { touch-action: manipulation; }
button { cursor: pointer; font: inherit; }
img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 12px; }

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand i {
  color: var(--cyan);
  font-style: normal;
  font-size: 0.7em;
}

.btn {
  border: 0;
  border-radius: 9px;
  padding: 12px 20px;
  min-height: 44px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
}
.btn:hover { filter: brightness(1.12); }
.btn.cyan {
  background: var(--cyan);
  color: var(--ink);
}
.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn.secondary:hover { filter: none; background: var(--mint); }
.nav-cta { font-size: 14px; padding: 10px 16px; }

/* Hero */
.hero {
  padding: 36px 0 28px;
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 8.4vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 750;
}

.lead {
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 0;
  max-width: 36rem;
}

.actions {
  display: grid;
  gap: 10px;
  margin: 22px 0 10px;
}

.micro {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Illustrative shift board — reused from the SNF mockup */
.hero-art {
  background: var(--mint);
  border-radius: 24px;
  padding: 18px 14px 16px;
}
.art-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 650;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  padding: 5px 10px;
  background: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px var(--shadow);
  padding: 16px;
}
.windowhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.tiny { font-size: 12px; color: var(--muted); }
.shift {
  padding: 14px 0;
  border-bottom: 1px solid var(--mint);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.shift strong { font-size: 14px; }
.reward {
  background: var(--cyan);
  color: var(--ink);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.avatars {
  display: flex;
  align-items: center;
  margin-top: 14px;
  gap: 6px;
}
.avatar {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.avatar:nth-child(2) { background: var(--cyan); }
.toast {
  background: var(--ink);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 10px 25px var(--shadow);
}
.check {
  background: var(--cyan);
  color: var(--ink);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.art-caption {
  margin: 12px 4px 0;
  font-size: 11px;
  color: var(--muted);
}

/* Fixes / bullets */
.fixes {
  padding: 12px 0 48px;
}
.fixes h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.muted { color: var(--muted); }

.bullet-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.bullet-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 16px 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.bullet-list h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.bullet-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

/* How it works */
.how {
  background: var(--mint);
  padding: 48px 0;
}
.how h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 20px 20px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: 0 8px 24px var(--shadow);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.steps h3 { margin: 2px 0 6px; font-size: 1.1rem; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); }

/* Booking */
.booking {
  padding: 48px 0 32px;
}
.booking h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.booking-frame {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px var(--shadow);
  overflow: hidden;
  min-height: 720px;
}
#calendly-embed {
  min-width: 320px;
  height: 760px;
}
#calendly-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.fallback {
  display: block;
  text-align: center;
  padding: 12px 16px 20px;
  font-size: 14px;
  color: var(--muted);
}
.fallback a { color: var(--accent); font-weight: 700; }

/* FAQ */
.faq {
  padding: 16px 0 56px;
}
.faq h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 16px 40px 16px 0;
  position: relative;
  min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
}
details[open] summary::after { content: "–"; }
details p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 42rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 13px;
}
footer .brand { font-size: 24px; color: var(--ink); }
.foot-row {
  display: grid;
  gap: 8px;
}
footer p { margin: 0; }

/* Mobile sticky CTA — reserved space so it never covers content */
.mobile-cta {
  position: fixed;
  z-index: 25;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -5px 22px var(--shadow);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta .hint {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
}
.mobile-cta.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}
body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 720px) {
  .eyebrow { letter-spacing: 0.14em; }
  .wrap { width: min(100% - 48px, var(--wrap)); }
  nav { min-height: 88px; }
  .brand { font-size: 34px; letter-spacing: -0.07em; }
  .hero {
    padding: 64px 0 48px;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
  h1 { letter-spacing: -0.055em; }
  .lead { font-size: 1.125rem; }
  .actions {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
  }
  .hero-art { padding: 28px 26px 22px; border-radius: 28px; }
  .art-top { align-items: center; font-size: 13px; }
  .window { padding: 22px; }
  .fixes { padding: 20px 0 72px; }
  .bullet-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .how { padding: 72px 0; }
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .steps li {
    grid-template-columns: 1fr;
    min-height: 100%;
  }
  .booking { padding: 72px 0 40px; }
  .faq { padding: 24px 0 80px; }
  .faq-grid { max-width: 760px; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  footer { padding: 36px 0; }
  .foot-row {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { filter: none; }
  .mobile-cta { transition: none; }
}

.mobile-cta { transition: transform 0.25s ease; }

.calendly-loading {
  margin: 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
}
