/* Shared styles for the ShiftsPod topic pages (proof of delivery, checks, tracking, manifest mode, pricing).
   Same tokens, bar, buttons and footer as the main page, so the site reads as one.
   Dark bands open and close each page; the sections between are white and mist. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 72px; }
:root {
    --night: #0B1220; --navy: #1E3A5F; --blue: #2563EB; --blue-night: #6EA2FF; --blue-soft: #EFF6FF;
    --on-night: #FFFFFF; --on-night-dim: rgba(255,255,255,0.74); --on-night-faint: rgba(255,255,255,0.5); --night-line: rgba(255,255,255,0.16);
    --paper: #FFFFFF; --mist: #F3F5F9; --ink: #111827; --ink-soft: #374151; --ink-dim: #6B7280; --line: #E5E7EB;
    --frame: #EEF1F5; --frame-dot: #C9CFD8; --shade: rgba(11,18,32,0.14);
    --display: 'Outfit', 'Inter', system-ui, sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --pad: clamp(16px, 4.2vw, 64px); --wide: 1280px;
    /* names the older markup still uses */
    --font: var(--body); --gray-900: var(--ink); --gray-700: var(--ink-soft); --gray-500: var(--ink-dim); --gray-400: #9CA3AF; --gray-200: var(--line); --gray-100: #F3F4F6; --blue-light: var(--blue-soft);
}
body { font-family: var(--body); font-size: 16px; line-height: 1.55; background: var(--paper); color: var(--ink); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.container, .in { max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); }

/* bar */
.site-bar { position: fixed; z-index: 100; top: 0; left: 0; right: 0; background: rgba(11,18,32,0.92); backdrop-filter: blur(10px); color: var(--on-night); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.bar { display: flex; align-items: center; gap: 28px; padding-block: 11px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--on-night); }
.logo span { color: var(--blue-night); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 0.93rem; font-weight: 500; color: var(--on-night-dim); }
.nav a { position: relative; padding-block: 6px; transition: color 0.2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-night); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav a:hover, .nav a[aria-current] { color: var(--on-night); }
.nav a[aria-current]::after { transform: scaleX(1); }
.bar-cta { display: flex; gap: 10px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--body); font-weight: 600; font-size: 0.95rem; padding: 11px 20px; border-radius: 10px; white-space: nowrap; border: 0; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-primary, .btn-blue { background: var(--blue); color: var(--on-night); }
.btn-primary:hover, .btn-blue:hover { box-shadow: 0 10px 24px rgba(37,99,235,0.4); }
.btn-white { background: var(--on-night); color: var(--ink); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.btn-ghost, .btn-muted { color: var(--on-night); box-shadow: inset 0 0 0 1px var(--night-line); background: rgba(255,255,255,0.06); }
.btn-quiet { color: var(--on-night); }

/* opening band */
.p-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night); padding: clamp(104px, 11vw, 150px) 0 clamp(48px, 6vw, 84px); }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/screenshots/lp-bg.jpg) 60% 40% / cover no-repeat; filter: saturate(0.75); }
.p-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,18,32,0.96) 0%, rgba(11,18,32,0.88) 36%, rgba(20,38,66,0.62) 66%, rgba(30,58,95,0.45) 100%), linear-gradient(0deg, rgba(11,18,32,0.9) 0%, rgba(11,18,32,0) 45%); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.crumbs { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-faint); margin-bottom: 16px; }
.crumbs a { color: var(--blue-night); }
.p-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; margin-bottom: 20px; }
.p-hero h1 em { color: var(--blue-night); font-style: normal; }
.p-lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--on-night-dim); max-width: 36em; margin-bottom: 30px; }
.p-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.p-note { margin-top: 16px; font-size: 0.86rem; color: var(--on-night-faint); }
.p-shot { border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 60px var(--shade), 0 0 0 1px var(--line); transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.p-hero .p-shot { box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--night-line); }
.p-shot::before { content: ""; display: block; height: 30px; background-color: var(--frame); background-image: radial-gradient(circle at 18px 15px, var(--frame-dot) 4.5px, transparent 5px), radial-gradient(circle at 34px 15px, var(--frame-dot) 4.5px, transparent 5px), radial-gradient(circle at 50px 15px, var(--frame-dot) 4.5px, transparent 5px); box-shadow: inset 0 -1px 0 var(--line); }
.p-shot.film::before { display: none; }
.p-shot.film { background: #05080F; }
.p-shot img, .p-shot video { width: 100%; }
.p-shot figcaption { font-size: 0.8rem; color: var(--ink-dim); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }

/* sections */
section { padding: clamp(48px, 6.4vw, 96px) 0; }
section.tint { background: var(--mist); }
.sec-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; margin-bottom: 14px; }
.sec-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 40em; }
.head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 46rem; }
.answer { max-width: 52rem; border-left: 3px solid var(--blue); padding: 4px 0 4px 24px; }
.answer p { font-size: clamp(1.06rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); }
.answer p + p { margin-top: 14px; }
.answer strong { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); border-top: 1px solid var(--ink); }
.card { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { font-size: 0.96rem; color: var(--ink-dim); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel { border-radius: 16px; padding: clamp(22px, 2.6vw, 32px); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.panel.dark { background: var(--night); box-shadow: none; color: var(--on-night); }
.panel h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.panel ul { display: flex; flex-direction: column; }
.panel li { position: relative; padding: 11px 0 11px 28px; font-size: 0.96rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.panel.dark li { color: var(--on-night-dim); border-top-color: var(--night-line); }
.panel li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.panel.dark li::before { width: 12px; height: 0; top: 22px; border-left: 0; border-bottom: 2px solid var(--on-night-faint); transform: none; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 36px); border-top: 1px solid var(--ink); }
.step { counter-increment: step; padding-top: 18px; }
.step::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--blue); margin-bottom: 8px; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { font-size: 0.96rem; color: var(--ink-dim); }
.tbl-wrap { overflow-x: auto; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
thead th { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); background: var(--mist); }
tbody th { font-weight: 700; color: var(--ink); width: 30%; }
td { color: var(--ink-soft); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.tbl-note { font-size: 0.82rem; color: var(--ink-dim); margin-top: 12px; }
.media-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.media-row .sec-sub + .ticks { margin-top: 22px; }
.ticks { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 12px 0 12px 28px; font-size: 0.96rem; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* pricing */
.price-card { max-width: 460px; color: var(--ink); background: var(--paper); border-radius: 16px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 0 0 1px var(--line), 0 18px 44px var(--shade); text-align: left; transition: transform 0.3s ease; }
.price-card:hover { transform: translateY(-4px); }
.price-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.price-amount { font-family: var(--display); font-weight: 800; font-size: 3.2rem; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount span { font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--ink-dim); letter-spacing: 0; }
.price-sub { color: var(--ink-dim); font-size: 0.92rem; margin-top: 8px; }
.price-annual { color: var(--blue); font-size: 0.86rem; font-weight: 600; margin-top: 4px; }
.price-card .btn { margin-top: 22px; width: 100%; }
.price-foot { font-size: 0.82rem; color: var(--ink-dim); margin-top: 12px; text-align: center; }

/* questions */
.faq-wrap { max-width: 52rem; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-q { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.faq-a { font-size: 0.98rem; color: var(--ink-soft); max-width: 44em; }
.faq-a a, .sec-sub a, .answer a, .card a { color: var(--blue); font-weight: 600; }
.faq-a a:hover, .sec-sub a:hover, .answer a:hover, .card a:hover { text-decoration: underline; }

/* related pages, closing band */
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.related a { position: relative; display: block; padding: 18px 20px 20px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.3s ease; }
.related a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.related a:hover { padding-left: 10px; }
.related a:hover::before { transform: scaleX(1); }
.related b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.related a:hover b { color: var(--blue); }
.related span { font-size: 0.92rem; color: var(--ink-dim); }
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night); padding: clamp(56px, 7vw, 100px) 0 0; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -420px; background: radial-gradient(circle, rgba(37,99,235,0.28), transparent 62%); }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; text-wrap: balance; }
.cta p { font-size: 1.08rem; color: var(--on-night-dim); max-width: 36em; margin-bottom: 28px; }
.cta small { display: block; margin-top: 16px; font-size: 0.86rem; color: var(--on-night-faint); }

/* footer (same as the main page) */
.site-foot { background: var(--night); color: var(--on-night); padding-bottom: clamp(28px, 3vw, 44px); }
.foot { border-top: 1px solid var(--night-line); margin-top: clamp(40px, 5vw, 72px); padding-block: clamp(32px, 4vw, 52px) 0; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.foot .logo { font-size: 1.3rem; }
.foot-brand p { margin-top: 12px; font-size: 0.92rem; color: var(--on-night-dim); max-width: 24em; }
.foot-brand .play { margin-top: 18px; }
.foot-brand .soc { margin-top: 22px; }
.foot-brand .soc-t { margin: 0 0 10px; font-size: 0.92rem; font-weight: 600; color: #fff; max-width: none; }
.soc-r { display: flex; flex-wrap: wrap; gap: 10px; }
.soc-r a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; color: #fff; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.soc-r a:hover { color: #fff; filter: brightness(1.08); }
.soc-fb { background: #0866ff; }
.soc-ig { background: linear-gradient(45deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%); }
.play { display: inline-block; border-radius: 9px; transition: transform 0.2s ease; }
.play img { display: block; width: auto; height: 56px; }
.play:hover { transform: translateY(-2px); }
.foot h3 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-faint); margin-bottom: 12px; }
.foot li { padding: 5px 0; font-size: 0.93rem; color: var(--on-night-dim); }
.foot li a { transition: color 0.2s ease; }
.foot li a:hover { color: var(--on-night); }
.foot-legal { border-top: 1px solid var(--night-line); margin-top: 32px; padding-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; font-size: 0.84rem; color: var(--on-night-faint); }
.foot-legal a { color: var(--on-night-dim); }

@media (max-width: 960px) {
    .nav { display: none; }
    .bar-cta { margin-left: auto; }
    .p-hero-grid, .media-row, .foot-legal { grid-template-columns: minmax(0, 1fr); }
    .cards, .steps, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .cards, .split, .steps, .related { grid-template-columns: minmax(0, 1fr); }
    .p-btns .btn { flex: 1 1 100%; }
    .btn-quiet { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .p-hero::before { animation: drift 38s ease-in-out infinite alternate; }
    @keyframes drift { from { transform: scale(1.14) translate(-1.5%, -1%); } to { transform: scale(1.04) translate(1.5%, 1%); } }
    .p-hero-grid > div > * { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
    .p-hero-grid > div > *:nth-child(2) { animation-delay: 0.08s; }
    .p-hero-grid > div > *:nth-child(3) { animation-delay: 0.16s; }
    .p-hero-grid > div > *:nth-child(4) { animation-delay: 0.24s; }
    .p-hero-grid > div > *:nth-child(5) { animation-delay: 0.32s; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    .p-hero .p-shot { animation: focus 1.1s cubic-bezier(.2,.7,.2,1) both; }
    @keyframes focus { from { filter: blur(9px); opacity: 0.55; transform: translateY(10px); } to { filter: none; opacity: 1; transform: none; } }
    .moves .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
    .moves .rv.is-seen { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
