:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7faf8;
  --surface-tint: #effbf3;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --green: #20c663;
  --green-dark: #119847;
  --green-soft: #ddf8e7;
  --orange: #ff6b0a;
  --orange-soft: #fff0e5;
  --purple: #8b5cf6;
  --purple-soft: #f1e9ff;
  --gold: #f5a623;
  --shadow: 0 16px 45px rgba(18, 52, 38, .09);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, .07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #08110d;
  --surface: #0e1913;
  --surface-soft: #101d16;
  --surface-tint: #13261a;
  --text: #f7fbf8;
  --muted: #9cac9f;
  --line: #26372d;
  --green-soft: #123b23;
  --orange-soft: #3b2012;
  --purple-soft: #281d43;
  --shadow: 0 18px 60px rgba(0, 0, 0, .28);
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background .25s ease, color .25s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; position: relative; overflow: hidden; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 142px; height: 46px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; gap: 36px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: .95rem; font-weight: 650; transition: color .2s; }
.desktop-nav a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle, .menu-button {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px;
  background: var(--surface-soft); border: 1px solid var(--line); cursor: pointer;
}
.theme-toggle img, .menu-button img { width: 20px; height: 20px; filter: none; }
html[data-theme="dark"] .theme-toggle img, html[data-theme="dark"] .menu-button img { filter: invert(1); }
.moon-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: none; }
html[data-theme="dark"] .moon-icon { display: block; }
.menu-button { display: none; }
.mobile-nav { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 15px; font-weight: 800;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button img { width: 19px; height: 19px; }
.button-primary { background: linear-gradient(135deg, #24d66d, #11af54); color: white; box-shadow: 0 12px 30px rgba(32,198,99,.26); }
.button-primary img { filter: brightness(0) invert(1); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.button-secondary img { filter: none; }
html[data-theme="dark"] .button-secondary img { filter: invert(1); }
.button-small { min-height: 44px; border-radius: 999px; padding-inline: 22px; }

.hero { min-height: 720px; display: grid; align-items: center; padding-top: 88px; background: radial-gradient(circle at 80% 15%, rgba(32,198,99,.08), transparent 32%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 68px; align-items: center; }
.eyebrow, .kicker {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  color: var(--green-dark); border: 1px solid color-mix(in srgb, var(--green) 42%, transparent);
  background: color-mix(in srgb, var(--green-soft) 70%, transparent);
  font-size: .77rem; letter-spacing: .075em; font-weight: 850;
}
.hero h1 { font-size: clamp(3.4rem, 6vw, 6.2rem); line-height: .99; letter-spacing: -.055em; margin: 28px 0 26px; }
.hero h1 span, .section-heading h2 span { color: var(--green); }
.hero-lead { font-size: 1.27rem; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); }
.stars { color: #ffb21c; letter-spacing: 2px; }
.rating-row strong { color: var(--text); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: stretch; }
.store-badge { min-width: 175px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--surface); padding: 10px 15px; border-radius: 12px; box-shadow: var(--shadow-soft); transition: transform .15s, box-shadow .15s; }
.store-badge img { width: 28px; height: 28px; }
html[data-theme="dark"] .store-badge img { filter: invert(1); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge small { font-size: .6rem; color: var(--muted); }
.store-badge strong { font-size: 1.03rem; }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Brand-coloured store buttons. The logos are set to white here rather than
   relying on the dark-theme invert rule, which would otherwise flip them back
   to black against these solid fills. */
.store-badge-ios,
.store-badge-android { border: none; color: #fff; }
.store-badge-ios { background: var(--green); }
.store-badge-android { background: var(--orange, #f97316); }
.store-badge-ios small,
.store-badge-android small { color: rgba(255,255,255,.85); }
.store-badge-ios strong,
.store-badge-android strong { color: #fff; }
.store-badge-ios img,
.store-badge-android img,
html[data-theme="dark"] .store-badge-ios img,
html[data-theme="dark"] .store-badge-android img { filter: brightness(0) invert(1); }

/* "See how it works" sits in the same row as the store buttons but stays the
   quiet third option, matched to their height rather than the taller default. */
.store-row-secondary { align-self: stretch; padding-top: 10px; padding-bottom: 10px; }

.hero-visual { position: relative; height: 610px; }
.hero-blob { position: absolute; width: 680px; right: -80px; top: 20px; opacity: .8; }
.phone-shell { position: absolute; z-index: 4; width: 278px; height: 570px; left: 36%; top: 10px; transform: translateX(-50%); border: 10px solid #131313; border-radius: 48px; background: #111; box-shadow: 0 30px 80px rgba(5,64,30,.22); overflow: hidden; }
.phone-shell::after { content: ""; position: absolute; inset: 0; border-radius: 36px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); pointer-events: none; }
.phone-shell img { width: 100%; height: 100%; object-fit: cover; object-position: center top; background: white; }
.phone-speaker { position: absolute; z-index: 6; top: 9px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 14px; background: #050505; }
.portrait-card { position: absolute; right: 0; top: 52px; width: 320px; height: 430px; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); z-index: 3; }
.portrait-card > img { width: 100%; height: 100%; object-fit: cover; }
.tip-toast { position: absolute; left: 24px; right: 24px; bottom: 22px; padding: 16px 20px; border-radius: 17px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); color: #17211a; box-shadow: 0 12px 30px rgba(0,0,0,.16); backdrop-filter: blur(10px); }
.tip-toast strong { color: var(--green-dark); font-size: 1.2rem; }
.sparkles { position: absolute; width: 140px; right: -22px; bottom: 34px; }

.features-section { background: var(--surface-soft); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.07; letter-spacing: -.04em; margin: 18px 0 15px; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.icon-wrap, .step-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 24px; }
.icon-wrap img, .step-icon img { width: 29px; height: 29px; }
.green { background: var(--green-soft); color: var(--green); }
.orange { background: var(--orange-soft); color: var(--orange); }
.purple { background: var(--purple-soft); color: var(--purple); }
.gold { background: #fff7df; color: var(--gold); }
.icon-wrap.green img, .step-icon.green img { filter: invert(59%) sepia(72%) saturate(524%) hue-rotate(89deg) brightness(89%); }
.icon-wrap.orange img, .step-icon.orange img { filter: invert(46%) sepia(98%) saturate(2818%) hue-rotate(352deg) brightness(101%); }
.icon-wrap.purple img, .step-icon.purple img { filter: invert(41%) sepia(71%) saturate(1907%) hue-rotate(236deg) brightness(98%); }
.icon-wrap.gold img { filter: invert(64%) sepia(86%) saturate(1053%) hue-rotate(353deg) brightness(101%); }
.feature-card h3, .step h3 { margin: 0 0 10px; font-size: 1.15rem; }
.feature-card p, .step p { color: var(--muted); margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps-grid::before { content: ""; position: absolute; top: 56px; left: 10%; right: 10%; border-top: 2px dashed var(--line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 10px 22px; }
.step-icon { margin: 0 auto 20px; border-radius: 999px; width: 86px; height: 86px; border: 8px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.step-number { position: absolute; top: 0; left: calc(50% + 26px); width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.stats-bar { margin-top: 56px; background: linear-gradient(90deg, var(--surface-tint), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(4,1fr); padding: 30px 36px; gap: 20px; }
.stats-bar > div { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.stats-bar img { grid-row: 1 / 3; width: 38px; height: 38px; filter: invert(58%) sepia(79%) saturate(500%) hue-rotate(89deg); }
.stats-bar strong { font-size: 1.55rem; line-height: 1; }
.stats-bar span { color: var(--muted); font-size: .88rem; }

.use-cases { background: var(--surface-soft); }
.use-case-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.use-card { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.use-card > img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; }
.use-card > div { padding: 16px 13px; display: flex; gap: 10px; align-items: center; font-weight: 750; font-size: .9rem; }
.use-card > div img { width: 21px; height: 21px; filter: invert(59%) sepia(72%) saturate(524%) hue-rotate(89deg); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.quote-icon { width: 30px; filter: invert(59%) sepia(72%) saturate(524%) hue-rotate(89deg); opacity: .7; }
.testimonial > p { font-size: 1.06rem; min-height: 100px; }
.person { display: flex; align-items: center; gap: 13px; }
.person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.person div { display: flex; flex-direction: column; }
.person span { color: var(--muted); font-size: .85rem; }

.faq-section { background: var(--surface-soft); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.accordion { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 20px 22px; box-shadow: var(--shadow-soft); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 14px 0 0; }

.download-card { border-radius: 34px; padding: 46px 58px; background: linear-gradient(120deg, var(--green-soft), var(--purple-soft)); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; overflow: hidden; }
.download-card h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 12px 0; letter-spacing: -.04em; }
.download-card p { color: var(--muted); max-width: 610px; }
.download-card > img { max-height: 300px; width: 100%; object-fit: contain; }

.site-footer { padding: 72px 0 24px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .8fr) 1.1fr; gap: 42px; }
.footer-brand > img { width: 150px; height: 52px; object-fit: contain; object-position: left; }
.footer-brand p, .footer-app p { color: var(--muted); max-width: 250px; }
.footer-grid h3 { font-size: 1rem; margin: 0 0 18px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: var(--muted); font-size: .91rem; }
.footer-grid a:hover { color: var(--green); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.social-row img { width: 17px; height: 17px; }
html[data-theme="dark"] .social-row img { filter: invert(1); }
.fake-qr { width: 100px; aspect-ratio: 1; border: 10px solid white; background: repeating-conic-gradient(#111 0 25%, white 0 50%) 50% / 24px 24px; display: grid; place-items: center; border-radius: 10px; box-shadow: var(--shadow-soft); }
.fake-qr span { background: var(--orange); color: white; font-weight: 900; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .mobile-nav { position: fixed; top: 78px; left: 20px; right: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); flex-direction: column; gap: 10px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a:not(.button) { padding: 11px 8px; color: var(--muted); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .rating-row, .store-row { justify-content: center; }
  .hero-visual { height: 640px; max-width: 760px; width: 100%; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .use-case-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: span 2; }
  .footer-app { grid-column: span 1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 70px; }
  .brand img { width: 118px; }
  .button-small { display: none; }
  .mobile-nav { top: 70px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-lead { font-size: 1.08rem; }
  .hero-visual { height: 570px; }
  .phone-shell { width: 245px; height: 505px; left: 43%; border-width: 8px; }
  .portrait-card { width: 220px; height: 320px; right: -25px; top: 110px; }
  .tip-toast { left: 12px; right: 12px; font-size: .8rem; padding: 12px; }
  .feature-grid, .testimonial-grid, .faq-grid, .download-card { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .steps-grid::before { display: none; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 26px; }
  .use-case-grid { grid-template-columns: repeat(2,1fr); }
  .download-card { padding: 34px 26px; }
  .download-card > img { order: -1; max-height: 220px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand, .footer-app { grid-column: span 2; }
}

@media (max-width: 470px) {
  .hero-actions, .store-row { flex-direction: column; }
  .hero-actions .button, .store-badge, .store-row-secondary { width: 100%; justify-content: center; }
  .hero-visual { height: 520px; }
  .portrait-card { display: none; }
  .phone-shell { left: 50%; width: 250px; height: 510px; }
  .feature-grid, .use-case-grid, .steps-grid, .stats-bar { grid-template-columns: 1fr; }
  .step { padding-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-app { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ---------- v4.1 tweaks ---------- */

/* Centred feature cards with in-app screenshots */
.feature-card { text-align: center; }
.icon-wrap { margin-left: auto; margin-right: auto; }
.feature-shot {
  width: 100%; max-width: 210px; display: block; margin: 0 auto 20px;
  border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}

/* How-it-works steps use real app screenshots */
.step { text-align: center; }
.step-shot {
  width: 100%; max-width: 190px; display: block; margin: 0 auto 18px;
  border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}

/* Floating "Tip received!" card — white, subtle shadow, pop-in + gentle pulse */
.tip-toast {
  position: absolute; left: auto; right: -14px; bottom: 96px; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px;
  background: #ffffff; color: #17211a;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .18);
  backdrop-filter: none; width: auto;
  animation: toast-pop .6s cubic-bezier(.34, 1.56, .64, 1) .5s both,
             toast-pulse 2.4s ease-in-out 1.4s infinite;
}
.tip-toast .emoji { font-size: 1.3rem; line-height: 1; }
.tip-toast strong { color: var(--green); font-size: 1.15rem; }
.tip-toast .label { color: #8a94a0; font-weight: 500; font-size: .92rem; }
@keyframes toast-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes toast-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (max-width: 900px) { .tip-toast { right: 4px; bottom: 60px; } }

/* ---------- v4.2: richer hero decorations + individual/team sections ---------- */

/* Extra hero illustration */
.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco.stroke-top { top: -34px; right: 8%; width: 190px; }
.hero-deco.dots-left { left: -26px; top: 34%; width: 90px; opacity: .8; }
.hero-deco.dots-bottom { right: 12%; bottom: -30px; width: 110px; opacity: .8; }

/* Three-column layouts for the individual/team sections */
.feature-grid.three, .steps-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .feature-grid.three, .steps-grid.three { grid-template-columns: 1fr; } }

/* Decorated card (pencil stroke + green dots around "Get Tipped Instantly") */
.feature-card, .step { position: relative; }
.card-decorated { overflow: visible; }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco-stroke { top: -40px; right: -34px; width: 150px; }
.deco-dots { bottom: -26px; left: -28px; width: 96px; opacity: .85; }
.card-decorated > *:not(.deco) { position: relative; z-index: 1; }

/* Mini floating tip card over the team activity screenshot */
.tip-toast.mini {
  position: absolute; right: 2px; bottom: 118px; left: auto; top: auto;
  padding: 9px 14px; border-radius: 14px; gap: 8px; z-index: 4;
}
.tip-toast.mini strong { font-size: 1rem; }
.tip-toast.mini .emoji { font-size: 1.05rem; }
.tip-toast.mini .label { font-size: .82rem; }

/* ---------- v4.2 tweaks ---------- */

/* Both how-it-works sections now share the numbered-step layout, with the
   feature icon sitting between the screenshot and the heading. */
.step .icon-wrap {
  width: 54px; height: 54px; border-radius: 17px;
  margin: 0 auto 16px;
}
.step .icon-wrap img { width: 25px; height: 25px; }

/* The dashed connector should sit behind the phones, not the icons.
   NOTE: exclude .deco here — it must stay absolutely positioned. Making it
   relative pulls the pencil stroke and dot pattern into the flow, which pushes
   the decorated card's content down and breaks the row alignment. */
.steps-grid { align-items: start; }
.steps-grid::before { z-index: 0; }
.step > *:not(.deco) { position: relative; z-index: 1; }
.step .deco { position: absolute; z-index: 0; }

/* Equal-height screenshot slots so all three columns line up regardless of
   how tall each source image renders. */
.step-shot { aspect-ratio: 1280 / 2856; object-fit: cover; }

/* Testimonial author block: avatar above a centred name + role. */
.person {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.person div { align-items: center; }
.testimonial { display: flex; flex-direction: column; }
.testimonial > p { flex: 1; }

/* Footer "Get the app": the real launcher icon, presented the way it looks
   on a phone home screen — squircle, soft shadow, label underneath. */
.app-icon-tile {
  display: inline-flex; flex-direction: column; align-items: center; gap: 9px;
  width: max-content;
}
.app-icon-tile img {
  width: 76px; height: 76px; display: block;
  border-radius: 22.37%;               /* iOS-style squircle approximation */
  box-shadow: 0 6px 18px rgba(16, 24, 40, .18);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-icon-tile:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(16, 24, 40, .24);
}
.app-icon-tile span {
  font-size: .8rem; font-weight: 650; color: var(--muted); letter-spacing: .01em;
}

/* Centred call-to-action under a section grid. */
.section-cta { margin-top: 40px; display: flex; justify-content: center; }

/* Active shifts band — copy beside a screenshot, sitting under the team steps. */
.shift-band {
  margin-top: 42px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: center;
  background: linear-gradient(120deg, var(--green-soft), var(--purple-soft));
  border-radius: var(--radius-lg); padding: 38px 36px;
}
.shift-copy h3 { margin: 12px 0 10px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -.02em; }
.shift-copy p { color: var(--muted); margin: 0 0 16px; line-height: 1.75; font-size: .96rem; }
/* Celebratory "New" badge: a warm gradient with a slow sheen sweeping across
   it and a sparkle that twinkles. Deliberately gentle — it sits next to body
   copy people are meant to read, so it draws the eye without pulling focus. */
.pill-new {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(105deg, var(--orange) 0%, #ff8c3a 45%, var(--gold) 100%);
  color: #fff;
  font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  /* Generous vertical padding: the jagged points below bite ~14% into the top
     and bottom, so the text needs clearance or the caps get clipped. */
  padding: 11px 22px; border-radius: 2px;
  box-shadow: 0 4px 14px rgba(255, 107, 10, .35);
  /* Starburst outline, so the badge reads as a sticker rather than a pill.
     clip-path also clips the sheen sweep below, which is why the highlight
     follows the jagged edge instead of overrunning it. */
  clip-path: polygon(
    0% 14%, 6% 0%, 13% 12%, 20% 0%, 27% 12%, 34% 0%, 41% 12%,
    48% 0%, 55% 12%, 62% 0%, 69% 12%, 76% 0%, 83% 12%, 90% 0%, 96% 12%, 100% 26%,
    94% 38%, 100% 50%, 94% 62%, 100% 74%,
    96% 88%, 90% 100%, 83% 88%, 76% 100%, 69% 88%, 62% 100%, 55% 88%,
    48% 100%, 41% 88%, 34% 100%, 27% 88%, 20% 100%, 13% 88%, 6% 100%, 0% 86%,
    6% 74%, 0% 62%, 6% 50%, 0% 38%, 6% 26%
  );
}

/* The sheen: a soft highlight that crosses the pill every few seconds. */
.pill-new::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: pill-sheen 3.6s ease-in-out 1.2s infinite;
}
@keyframes pill-sheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }

.pill-spark { font-size: .8rem; line-height: 1; color: #fff9e6; animation: pill-twinkle 2.4s ease-in-out infinite; }
@keyframes pill-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%      { opacity: .65; transform: scale(1.25) rotate(18deg); }
}

/* Anyone who has asked their OS to reduce motion gets the badge, not the show. */
@media (prefers-reduced-motion: reduce) {
  .pill-new::after { animation: none; opacity: 0; }
  .pill-spark { animation: none; }
}
.shift-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.shift-list li {
  color: var(--muted); font-size: .91rem; line-height: 1.6;
  padding-left: 26px; position: relative;
}
.shift-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 3.5px var(--green);
}
.shift-shot {
  width: 100%; max-width: 300px; justify-self: center;
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
@media (max-width: 860px) {
  .shift-band { grid-template-columns: 1fr; padding: 30px 24px; gap: 26px; }
  .shift-shot { max-width: 260px; order: -1; }
}
