/* ════════════════════════════════════════════════════════════
   YUPA — The Student Gig Marketplace
   Shared design system · Apple-grade · lavender→teal identity
   ════════════════════════════════════════════════════════════ */

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

:root {
  /* Brand palette (from the real YUPA theme) */
  --lav:        #ADA5F9;        /* primary lavender   */
  --lav-deep:   #7c6ff0;        /* readable on white  */
  --teal:       #39D2C0;        /* secondary teal     */
  --teal-deep:  #18b3a1;
  --orange:     #EE8B60;        /* tertiary accent    */
  --cyan:       #22d3ee;        /* logo cyan          */

  --ink:        #14181B;        /* primary text       */
  --ink-2:      #57636C;        /* secondary text     */
  --ink-3:      #899099;        /* muted              */
  --line:       #E9EBEF;        /* hairline borders   */
  --line-2:     #F1F3F6;
  --bg:         #FFFFFF;
  --bg-soft:    #F7F8FA;        /* section wash        */
  --bg-tint:    #F6F5FE;        /* lavender wash       */

  /* Brand gradient (purple only) */
  --grad:       linear-gradient(120deg, var(--lav) 0%, var(--lav-deep) 100%);
  --grad-soft:  linear-gradient(120deg, rgba(173,165,249,.18) 0%, rgba(124,111,240,.16) 100%);

  /* Elevation (soft, Apple-like) */
  --sh-sm:  0 1px 2px rgba(20,24,27,.05), 0 1px 3px rgba(20,24,27,.04);
  --sh-md:  0 4px 12px rgba(20,24,27,.06), 0 12px 28px rgba(20,24,27,.06);
  --sh-lg:  0 8px 24px rgba(20,24,27,.08), 0 24px 60px rgba(20,24,27,.10);
  --sh-xl:  0 30px 80px rgba(124,111,240,.18);

  /* Radii */
  --r-sm: 12px;  --r-md: 18px;  --r-lg: 26px;  --r-xl: 36px;  --r-full: 999px;

  /* Layout */
  --maxw: 1200px;
  --pad: 24px;
  --nav-h: 68px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(173,165,249,.3); }

/* Layout helpers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center { text-align: center; }

/* Typography scale */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lav-deep);
}
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.55vw, 19px); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--ink-2); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 22px; border-radius: 15px;
  font-size: 15.5px; font-weight: 600; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .2s, border-color .2s;
}
.btn svg, .btn img { width: 19px; height: 19px; }
.btn:active { transform: scale(.97); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-md); background: #20262b; }

.btn-light {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: #dfe3e9; }

.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(124,111,240,.32); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124,111,240,.42); }

.btn-ghost { color: var(--ink); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-sm { height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.85); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-tag {
  font-size: 13px; color: var(--ink-3); font-weight: 500; white-space: nowrap;
  padding-left: 13px; border-left: 1px solid var(--line);
}
.footer-brand .brand-logo { height: 30px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link svg { width: 17px; height: 17px; }
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--lav-deep); background: var(--bg-tint); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-burger:hover { background: var(--bg-soft); }
.nav-burger .opt-key { font-size: 28px; line-height: 1; font-weight: 400; display: block; transform: translateY(-1px); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.drawer-scrim {
  position: absolute; inset: 0; background: rgba(20,24,27,.4);
  opacity: 0; transition: opacity .35s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; box-shadow: var(--sh-lg);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; padding: 18px;
}
.drawer.open { visibility: visible; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.drawer-close:hover { background: var(--bg-soft); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 14px; border-radius: 14px;
  font-size: 17px; font-weight: 500; color: var(--ink);
}
.drawer-link svg { width: 20px; height: 20px; color: var(--ink-2); }
.drawer-link:hover { background: var(--bg-soft); }
.drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.drawer-cta .btn { width: 100%; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-blob.b1 { width: 540px; height: 540px; background: rgba(173,165,249,.5); top: -180px; left: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.hero-blob.b2 { width: 460px; height: 460px; background: rgba(124,111,240,.34); top: -120px; right: -100px; animation: drift2 21s ease-in-out infinite alternate; }
.hero-blob.b3 { width: 380px; height: 380px; background: rgba(173,165,249,.22); bottom: -160px; left: 30%; animation: drift1 24s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(40px, 30px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-36px, 26px) scale(1.05); } }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1.22fr; gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.trust-pill {
  position: relative; z-index: 0; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 10px; border-radius: var(--r-full);
  background: #fff;
  border: 1.5px solid rgba(124,111,240,.16);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
/* a glowing color that runs around the border like a race track */
.trust-pill::before {
  content: ""; position: absolute; z-index: -2;
  left: 50%; top: 50%; width: 300%; height: 700%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 295deg,
    rgba(167,139,250,.5) 318deg, #a78bfa 335deg, #c4b5fd 345deg, #ede9fe 351deg,
    #a78bfa 356deg, transparent 360deg);
  filter: blur(3px);
  animation: run-track 3.6s linear infinite;
}
.trust-pill::after {
  content: ""; position: absolute; z-index: -1; inset: 1.5px;
  border-radius: var(--r-full); background: #fff;
}
@keyframes run-track {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
.trust-shield {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.trust-shield svg { width: 17px; height: 17px; }

.hero h1 { margin: 22px 0 18px; }
.hero .lead { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--lav-deep); }

/* phones */
.hero-visual { position: relative; }
.hero-phones {
  width: 100%; height: auto; max-width: 760px; margin-inline: auto;
  filter: drop-shadow(0 28px 48px rgba(20,24,27,.18));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ════════════════════════════════════════════════════════════
   SERVICE MARQUEE (the moving carousel)
   ════════════════════════════════════════════════════════════ */
.marquee-section { padding: 14px 0 6px; }
.marquee-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 22px; }
.marquee {
  position: relative; overflow: hidden; padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.svc-pill {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 10px 22px 10px 10px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  flex-shrink: 0;
}
.svc-ico {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.svc-ico img { width: 30px; height: 30px; object-fit: contain; }
.svc-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.svc-emoji { font-size: 24px; line-height: 1; }

/* ════════════════════════════════════════════════════════════
   FEATURE / VALUE SECTIONS
   ════════════════════════════════════════════════════════════ */
.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head.left { margin-inline: 0; }
.sec-head .h2 { margin: 14px 0 16px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #e0e3ea; }
.card-ico {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--lav-deep);
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* Split (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4/3; background: var(--bg-soft);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .h2 { margin-bottom: 18px; }
.split-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.split-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.split-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--grad-soft); color: var(--lav-deep);
  display: flex; align-items: center; justify-content: center;
}
.split-check svg { width: 15px; height: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 20px;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(124,111,240,.3);
}
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.mosaic figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.42));
}
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }

/* ════════════════════════════════════════════════════════════
   INTERACTIVE POST-JOB DEMO (glassmorphism · Cluely-inspired)
   ════════════════════════════════════════════════════════════ */
.try { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 116px) 0; }
.try-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 66% 68% at 50% 50%, #000 36%, transparent 80%);
  mask-image: radial-gradient(ellipse 66% 68% at 50% 50%, #000 36%, transparent 80%);
}
.try-bg .mesh { position: absolute; border-radius: 50%; filter: blur(90px); }
.try-bg .m1 { width: 440px; height: 440px; background: rgba(173,165,249,.5); top: 10%; left: 14%; animation: drift1 20s ease-in-out infinite alternate; }
.try-bg .m2 { width: 420px; height: 420px; background: rgba(124,111,240,.4); bottom: 8%; right: 16%; animation: drift2 24s ease-in-out infinite alternate; }
.try-bg .m3 { width: 360px; height: 360px; background: rgba(173,165,249,.32); top: 32%; left: 46%; animation: drift1 28s ease-in-out infinite alternate; }
.try-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,24,27,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20,24,27,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 42% 42%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 42% 42%, #000, transparent 72%);
}
.try .wrap { position: relative; z-index: 1; }
.try .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.try-grid { display: grid; grid-template-columns: minmax(0,390px) minmax(0,430px); justify-content: center; gap: clamp(36px, 6vw, 96px); align-items: start; }

/* Glass Post-Job card */
.post-card {
  background: linear-gradient(155deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  -webkit-backdrop-filter: blur(44px) saturate(190%);
  backdrop-filter: blur(44px) saturate(190%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 72px rgba(20,24,27,.17),
              inset 0 1px 0 rgba(255,255,255,.95),
              inset 0 -1px 2px rgba(255,255,255,.45);
  padding: 22px;
}
.pc-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.pc-field {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.65); border-radius: 14px;
  padding: 13px 15px; font-size: 14.5px; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.pc-field + .pc-field { margin-top: 10px; }
.pc-field .pc-ico { color: var(--ink-3); flex-shrink: 0; width: 18px; height: 18px; }
.pc-field select, .pc-field input { flex: 1; border: none; background: transparent; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.pc-field select { cursor: pointer; -webkit-appearance: none; appearance: none; color: var(--ink-2); }
.pc-field input::placeholder { color: var(--ink-3); }
.pc-field .chev, .pc-field .pencil { color: var(--ink-3); width: 16px; height: 16px; flex-shrink: 0; margin-left: auto; }
.pc-count { text-align: right; font-size: 11px; color: var(--ink-3); margin: 6px 2px 0; }
.pc-sep { border: none; border-top: 1px solid var(--line); margin: 14px 0; }

.pc-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 5px; margin: 12px 0; }
.seg { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; cursor: pointer; }
.seg.active { background: var(--lav-deep); color: #fff; box-shadow: 0 4px 12px rgba(124,111,240,.35); }
.seg svg { width: 16px; height: 16px; }

.pc-label { font-size: 13px; font-weight: 700; color: var(--ink); margin: 14px 0 8px; }

.pc-post {
  width: 100%; height: 52px; margin-top: 16px; border-radius: 14px;
  background: var(--lav-deep); color: #fff; font-size: 15.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 20px rgba(124,111,240,.36); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.pc-post:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124,111,240,.46); }
.pc-post:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.pc-post svg { width: 20px; height: 20px; }
.pc-hint { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 11px; min-height: 16px; }
.pc-hint a { color: var(--lav-deep); font-weight: 600; cursor: pointer; }

/* Job feed (right side) — compact, tilted cards */
.job-feed { display: flex; flex-direction: column; gap: 16px; transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .7s; }
.job-feed.slide-away { transform: translateY(72px); opacity: .12; pointer-events: none; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 13px 14px;
  box-shadow: 0 14px 34px rgba(20,24,27,.10);
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.job-card:nth-child(1) { --rot: -1.6deg; }
.job-card:nth-child(2) { --rot: 1.4deg; }
.job-card:nth-child(3) { --rot: -1deg; }
.job-card:nth-child(4) { --rot: 1.3deg; }
.job-card:nth-child(5) { --rot: -1.4deg; }
.job-card:hover { transform: rotate(0deg) translateY(-2px) scale(1.015); box-shadow: 0 18px 42px rgba(20,24,27,.15); z-index: 2; }
.job-card.new { animation: card-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes card-in { from { opacity: 0; transform: translateY(-12px) rotate(var(--rot,0deg)) scale(.96); } to { opacity: 1; transform: rotate(var(--rot,0deg)); } }
.jc-head { display: flex; align-items: flex-start; gap: 11px; }
.jc-cat { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.jc-meta { flex: 1; min-width: 0; }
.jc-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.jc-title .jc-dist { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.jc-name { font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.jc-time { font-size: 11px; color: var(--ink-3); flex-shrink: 0; white-space: nowrap; }
.jc-desc { font-size: 13px; color: var(--ink-2); line-height: 1.45; margin: 9px 0; word-break: break-word; }
.jc-foot { display: flex; align-items: center; gap: 9px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.jc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.jc-chip svg { width: 12px; height: 12px; }
.jc-chip.asap { background: rgba(124,111,240,.14); color: var(--lav-deep); }
.jc-chip.sched { background: rgba(120,130,145,.15); color: var(--ink-2); }
.jc-flag { color: var(--ink-3); width: 14px; height: 14px; }
.jc-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--lav-deep); }

@media (max-width: 880px) {
  .try-grid { grid-template-columns: 1fr; }
  .post-card, .job-feed { max-width: 460px; margin-inline: auto; width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════ */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  background: #fff; color: var(--ink); text-align: center;
  border: 1px solid var(--line); box-shadow: var(--sh-lg);
}
.cta .h2 { color: var(--ink); position: relative; }
.cta p { color: var(--ink-2); max-width: 560px; margin: 16px auto 0; position: relative; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; position: relative; }
.cta-fine { margin-top: 22px; font-size: 13px; color: var(--ink-3); position: relative; }

/* App store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 20px; border-radius: 14px;
  background: var(--ink); color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge .sb-sub { font-size: 10.5px; opacity: .8; line-height: 1.1; display: block; }
.store-badge .sb-name { font-size: 16px; font-weight: 600; line-height: 1.15; display: block; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); background: #fff; padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { color: var(--ink-2); font-size: 15px; max-width: 320px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: transform .25s, color .2s, border-color .2s, box-shadow .25s;
}
.social svg { width: 19px; height: 19px; }
.social:hover { transform: translateY(-3px); color: var(--ink); border-color: #dfe3e9; box-shadow: var(--sh-sm); }

.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: -.01em; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--lav-deep); }

.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--ink-3); font-size: 13.5px;
}
.footer-bottom .fb-links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
/* subtle rising-particles canvas (injected by script.js) */
#yupa-particles {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; width: 100%; height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-phones, .hero-blob, .marquee-track, .trust-pill::before { animation: none; }
  #yupa-particles { display: none; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .brand-tag { display: none; }
  .nav-links { display: none; }
  .nav-cta .btn:not(.nav-burger) { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero .lead, .trust-pill { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  /* text on top, phone image below on mobile */
  .hero-copy { order: 1; }
  .hero-visual { order: 2; margin-top: 8px; }
  .hero-phones { max-width: 460px; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: -1; }
  .split-media { aspect-ratio: 16/10; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --pad: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .m-wide { grid-column: span 2; }
  .hero-actions .btn { width: 100%; }
  .store-badges { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   LEGAL PAGES (Terms / Privacy)
   ════════════════════════════════════════════════════════════ */
.legal-hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 4vw, 52px);
  background: #fff; border-bottom: 1px solid var(--line);
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background:
    radial-gradient(520px 280px at 12% -10%, rgba(173,165,249,.28), transparent 70%),
    radial-gradient(460px 260px at 95% 0%, rgba(124,111,240,.20), transparent 70%);
}
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.legal-crumbs a:hover { color: var(--lav-deep); }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.025em; }
.legal-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 14.5px; }
.legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2);
}
.legal-badge svg { width: 16px; height: 16px; color: var(--lav-deep); }

.legal-layout {
  display: grid; grid-template-columns: 264px 1fr; gap: 56px;
  padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px);
  align-items: start;
}

/* sticky table of contents */
.toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; padding-left: 14px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 1px; max-height: calc(100vh - var(--nav-h) - 80px); overflow-y: auto; }
.toc-list a {
  display: block; padding: 8px 14px; border-radius: 10px;
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
  border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s;
}
.toc-list a:hover { color: var(--ink); background: var(--bg-soft); }
.toc-list a.active { color: var(--lav-deep); background: var(--bg-tint); font-weight: 600; }

/* document body */
.legal-doc { max-width: 760px; }
.legal-intro {
  font-size: 17px; line-height: 1.75; color: var(--ink-2);
  padding: 24px 26px; border-radius: var(--r-lg);
  background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 40px;
}
.legal-intro strong { color: var(--ink); }
.legal-doc section { scroll-margin-top: calc(var(--nav-h) + 24px); padding: 26px 0; border-top: 1px solid var(--line); }
.legal-doc section:first-of-type { border-top: none; padding-top: 0; }
.legal-doc h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -.02em; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline;
}
.legal-doc h2 .num {
  font-size: 15px; font-weight: 700; color: var(--lav-deep);
  font-family: var(--font); flex-shrink: 0; width: 28px;
}
.legal-doc h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.legal-doc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin: 10px 0; }
.legal-doc p:first-child { margin-top: 0; }
.legal-doc ul { list-style: none; margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.legal-doc ul li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal-doc ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--grad);
}
.legal-doc .indent { padding-left: 14px; border-left: 2px solid var(--line); margin-left: 4px; }
.legal-doc a { color: var(--lav-deep); font-weight: 500; }
.legal-doc a:hover { text-decoration: underline; }

.legal-contact {
  margin-top: 36px; padding: 26px; border-radius: var(--r-lg);
  background: var(--grad-soft); border: 1px solid var(--line);
}
.legal-contact h3 { margin-top: 0; font-family: var(--font-display); font-size: 18px; }
.legal-contact p { margin: 6px 0; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact-card .card-ico { margin-bottom: 18px; }
.contact-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
.contact-link {
  margin-top: auto; font-size: 15.5px; font-weight: 600; color: var(--lav-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-link svg { width: 16px; height: 16px; transition: transform .2s; }
.contact-card:hover .contact-link svg { transform: translateX(3px); }

.connect {
  margin-top: 24px; text-align: center;
  padding: clamp(36px,5vw,56px) 24px; border-radius: var(--r-xl);
  background: var(--grad-soft); border: 1px solid var(--line);
}
.connect h2 { margin-bottom: 10px; }
.connect p { color: var(--ink-2); max-width: 460px; margin: 0 auto 24px; }
.connect .socials { justify-content: center; }
.connect .social { width: 48px; height: 48px; }
.connect .social svg { width: 21px; height: 21px; }
