/* ===== Shiftly marketing site: design tokens ===== */
:root {
  --ink: #0E0E10;
  --ink-soft: #38383B;
  --paper: #FFFFFF;
  --bg: #F7F7F4;
  --bg-alt: #EFEEE8;
  --muted: #63636A;
  --border: #E4E3DD;
  --accent: #C6F04A;
  --accent-ink: #1E2B00;

  --iris: #6C5CE7;
  --coral: #FF7A59;
  --azure: #3D8BFD;
  --teal: #12B5A6;
  --saffron: #F2B01E;
  --rose: #E5548F;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;

  --shadow-soft: 0 1px 2px rgba(14,14,16,0.04), 0 12px 32px rgba(14,14,16,0.06);
  --shadow-float: 0 20px 60px rgba(14,14,16,0.16), 0 4px 14px rgba(14,14,16,0.08);

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,240,74,0.25);
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { line-height: 1.65; color: var(--ink-soft); margin: 0; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: var(--shadow-float); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 12px 30px rgba(198,240,74,0.4); }

/* ---------- App Store / Google Play badges (official artwork) ---------- */
.store-badge-img { display: inline-flex; line-height: 0; }
.store-badge-img img { height: 44px; width: auto; display: block; }
.store-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,247,244,0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(228,227,221,0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}
.nav-soon-short { display: none; }
@media (max-width: 480px) {
  .nav-soon-full { display: none; }
  .nav-soon-short { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 64px 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy h1 { margin-top: 18px; }
.hero-copy .lede { margin-top: 18px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-pill svg { flex: none; }

.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Phone frame ---------- */
.phone-frame {
  position: relative;
  width: 252px;
  aspect-ratio: 390 / 844;
  background: var(--ink);
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-float);
  flex: none;
}
.phone-frame .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
.phone-frame .screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-frame .island {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone-frame::before {
  /* right side power button */
  content: "";
  position: absolute;
  right: -3px; top: 118px;
  width: 3px; height: 56px;
  background: #232326;
  border-radius: 0 3px 3px 0;
}
.phone-frame::after {
  /* left volume buttons */
  content: "";
  position: absolute;
  left: -3px; top: 92px;
  width: 3px; height: 76px;
  background: #232326;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 96px 0 0 #232326;
}

/* ---------- Hero visual: single dominant phone ---------- */
.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .phone-frame {
  position: relative;
  width: 280px;
  transform: rotate(-2deg);
  z-index: 2;
}
.hero-visual .p-back {
  position: absolute;
  width: 250px;
  top: 34px;
  left: 50%;
  transform: translateX(-6px) rotate(7deg);
  z-index: 1;
  filter: brightness(0.92) saturate(0.9);
  opacity: 0.9;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hero-stat span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) {
  .hero-visual { height: 460px; }
  .hero-visual .phone-frame { width: 240px; }
  .hero-visual .p-back { width: 216px; top: 28px; }
}

/* ---------- Proof strip ---------- */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-block: 22px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-item svg { flex: none; }
.proof-item span { font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 760px) {
  .proof-grid { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* ---------- Section shell ---------- */
section { padding-block: 96px; }
.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; display: flex; margin-bottom: 14px; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Bento feature grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(96px, auto);
  gap: 16px;
}
.bento-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento-lg { grid-column: span 2; grid-row: span 2; min-height: 380px; }
.bento-md { grid-column: span 2; min-height: 200px; }
.bento-sm { grid-column: span 1; min-height: 200px; justify-content: flex-start; }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 8px; max-width: 26ch; }
.bento-card p { font-size: 0.94rem; max-width: 34ch; }
.bento-lg p, .bento-md p { max-width: 30ch; }
.bento-sm h3 { font-size: 1.02rem; }
.bento-sm p { font-size: 0.88rem; }
.bento-mini-icon {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: rgba(14,14,16,0.06);
  flex: none;
}
.bento-accent {
  background: var(--accent);
  border-color: var(--accent);
}
.bento-accent .bento-mini-icon { background: rgba(14,14,16,0.12); }
.bento-accent p { color: var(--accent-ink); opacity: 0.8; }
.bento-shot {
  position: absolute;
  pointer-events: none;
}
.bento-lg .bento-shot {
  right: -18px; bottom: -30px;
  width: 168px;
}
.bento-lg .bento-shot .phone-frame { width: 100%; transform: rotate(-6deg); box-shadow: var(--shadow-float); }
.bento-md .bento-shot {
  right: -8px; bottom: -46px;
  width: 140px;
}
.bento-md .bento-shot .phone-frame { width: 100%; transform: rotate(5deg); box-shadow: var(--shadow-float); }
.bento-card .badge-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg, .bento-md { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg, .bento-md, .bento-sm { grid-column: span 1; min-height: 0; }
  .bento-shot {
    position: static;
    width: 150px !important;
    margin: 18px auto 0;
  }
  .bento-shot .phone-frame { transform: none !important; }
}

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; color: var(--ink-soft); font-weight: 500; }
.check-list svg { flex: none; margin-top: 2px; }

/* ---------- In motion (video demos) ---------- */
.motion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.motion-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.motion-card .phone-frame { width: 220px; margin: 0 auto 26px; }
.phone-frame .screen video { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.motion-card h3 { margin-bottom: 8px; }
.motion-card p { font-size: 0.94rem; margin-inline: auto; }
@media (max-width: 760px) {
  .motion-grid { grid-template-columns: 1fr; }
}

/* ---------- Field section (hand photo) ---------- */
.field-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.field-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: center;
}
.field-visual { display: flex; justify-content: center; }
.field-visual img { width: 100%; max-width: 380px; height: auto; }
@media (max-width: 860px) {
  .field-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .field-grid .check-list { text-align: left; display: inline-flex; }
  .field-visual img { max-width: 300px; }
}

/* ---------- Share-in-one-tap demo ---------- */
.share-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.share-demo-visual { display: flex; justify-content: center; }
.share-demo { position: relative; width: 250px; }
.share-demo .phone-frame { width: 100%; }
.share-press {
  position: absolute;
  left: 5%; right: 6%; top: 27%; height: 5.5%;
  border-radius: 14px;
  background: rgba(255,255,255,0);
  z-index: 3;
  animation: pressFlash 4.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pressFlash {
  0%, 3% { background: rgba(255,255,255,0); }
  5% { background: rgba(255,255,255,0.28); }
  11%, 100% { background: rgba(255,255,255,0); }
}
.share-tap {
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  left: 45%; top: 29.7%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  animation: tapPulse 4.4s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
  z-index: 5;
}
@keyframes tapPulse {
  0%, 3% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  5% { opacity: 1; transform: translate(-50%, -50%) scale(0.75); }
  11% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
  100% { opacity: 0; }
}
.share-sheet {
  position: absolute;
  left: 6px; right: 6px; bottom: 6px;
  background: rgba(247,247,247,0.98);
  backdrop-filter: blur(10px);
  border-radius: 0 0 36px 36px;
  padding: 18px 16px 22px;
  transform: translateY(100%);
  animation: sheetUp 4.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  z-index: 4;
  box-shadow: 0 -12px 30px rgba(0,0,0,0.12);
}
.share-sheet .grabber { width: 36px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.18); margin: 0 auto 14px; }
.share-sheet .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.share-sheet .apps .app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.share-sheet .apps .ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.share-sheet .apps span { font-size: 0.62rem; font-weight: 600; color: var(--ink-soft); }
.share-sheet .actions { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.share-sheet .actions .row { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
@keyframes sheetUp {
  0%, 9% { transform: translateY(100%); }
  17%, 75% { transform: translateY(0%); }
  84%, 100% { transform: translateY(100%); }
}
@media (max-width: 860px) {
  .share-demo-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .share-demo-row .check-list { text-align: left; display: inline-flex; }
}

/* ---------- Privacy band ---------- */
.privacy-band {
  background: var(--ink);
  color: #fff;
}
.privacy-band .section-head p { color: rgba(255,255,255,0.66); }
.privacy-band h2 { color: #fff; }
.privacy-band .eyebrow { color: var(--accent); }
.privacy-band .eyebrow .dot { background: var(--accent); }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 26px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.privacy-card .feature-icon { background: rgba(198,240,74,0.16); }
.privacy-card h3 { color: #fff; }
.privacy-card p { color: rgba(255,255,255,0.62); font-size: 0.94rem; }
.privacy-band .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.privacy-band .btn-ghost:hover { border-color: #fff; }
.privacy-band-footer { text-align: center; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.faq-num { font-size: 0.82rem; color: var(--muted); flex: none; width: 24px; }
.faq-q-text { flex: 1; font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.faq-toggle {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-toggle::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-toggle::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-toggle::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-a > p {
  overflow: hidden;
  padding-left: 42px;
  padding-right: 28px;
  font-size: 0.98rem;
  max-width: 58ch;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 22px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 720px; margin-inline: auto; }
.final-cta .lede { margin-inline: auto; text-align: center; }
.final-cta .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 36px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand p { max-width: 30ch; margin-top: 10px; font-size: 0.9rem; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Privacy page ---------- */
.policy-shell { padding-block: 56px 100px; }
.policy-shell .updated { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--muted); }
.policy-shell h1 { margin-top: 10px; }
.policy-shell .lede { max-width: 60ch; margin-top: 16px; font-size: 1.05rem; }
.policy-toc {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 40px;
}
.policy-toc p { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.policy-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.policy-toc li { break-inside: avoid; }
.policy-toc a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.policy-toc a:hover { color: var(--ink); }
.policy-callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-top: 40px;
}
.policy-callout h2 { color: var(--accent); font-size: 1.05rem; margin-bottom: 10px; }
.policy-callout p { color: rgba(255,255,255,0.9); }
.policy-section { padding-block: 0; margin-top: 44px; scroll-margin-top: 90px; }
.policy-section h2 { font-size: 1.3rem; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 14px; }
.policy-section p { font-size: 1.02rem; margin-bottom: 14px; }
.policy-section p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .policy-toc ol { columns: 1; } }
