/* ════════════════════════════════════════
   THE LIVEA APP  ·  /livea-app/
   Uses the global tokens from styles.css.
════════════════════════════════════════ */

.app-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-pale);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.app-section-title {
    font-family: var(--font-serif);
    font-size: var(--type-h1);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 14px;
}
.app-section-sub {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 52px;
    font-size: var(--type-body-lg);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-medium);
}

/* ── Hero ── */
.app-hero {
    background-color: var(--forest);
    padding: 96px 0 88px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
/* Botanical atmosphere. Sits behind everything, weighted to the right so the
   copy keeps a clean field, and faded hard on the left so text stays legible. */
.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(96deg,
            var(--forest) 0%,
            var(--forest) 26%,
            rgba(26,54,44,0.88) 42%,
            rgba(26,54,44,0.58) 60%,
            rgba(26,54,44,0.40) 100%),
        radial-gradient(120% 90% at 78% 42%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 62%),
        url('https://cdn.livea.com/Programs/app/hero-arch.webp') right center / cover no-repeat;
}
/* Fixed header + announcement bar clearance, matching the other page heroes */
.app-hero { padding-top: 170px; }
body.has-announcement .app-hero { padding-top: 214px; }
.app-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.app-hero-copy h1 {
    font-family: var(--font-serif);
    font-size: var(--type-display);
    font-weight: 400;
    line-height: 1.05;
    color: #FBF8F3;
    margin-bottom: 22px;
}
.app-hero-copy h1 em { font-style: italic; color: var(--teal-light); }
.app-hero-copy p {
    font-size: var(--type-body-lg);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.76);
    max-width: 480px;
    margin-bottom: 30px;
}
.app-hero .app-eyebrow {
    color: var(--teal-light);
    background: rgba(255,255,255,0.10);
}
.app-hero .app-btn-outline {
    border-color: rgba(255,255,255,0.34);
    color: #fff;
}
.app-hero .app-btn-outline:hover {
    border-color: var(--teal-light);
    color: var(--teal-light);
    background: rgba(255,255,255,0.06);
}
.app-hero-note {
    font-size: var(--type-caption) !important;
    color: rgba(255,255,255,0.48) !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}
.app-hero-visual {
    position: relative;
    min-height: 430px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 20px 6%;   /* room so nothing clips at the edges */
}
.app-hero-scale {
    width: 68%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(26,36,32,0.26));
}
.app-hero-phone {
    position: absolute;
    right: 3%;
    bottom: 2%;
    width: 30%;
    max-width: 190px;
    height: auto;
    border-radius: 22px;
    border: 5px solid #1A2420;
    background: #1A2420;
    box-shadow: 0 20px 44px rgba(26,36,32,0.30);
}

/* ── Buttons ── */
.app-store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.app-btn-primary, .app-btn-outline, .app-btn-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sans); font-size: var(--type-body); font-weight: 500;
    padding: 14px 30px; border-radius: 100px; text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.app-btn-primary { background: var(--teal); color: #fff; }
.app-btn-primary:hover { background: var(--forest); }
.app-btn-outline { border: 1px solid var(--sand-deep); color: var(--text-dark); }
.app-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.app-btn-outline-light { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.app-btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* ── Pillars ── */
.app-pillars { background: #fff; padding: 92px 0; }
.app-pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 48px; }
.app-pillar { background: var(--cream); border-radius: var(--radius-lg); padding: 36px 32px; }
.app-pillar-num {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
    color: var(--teal); opacity: .5; margin-bottom: 14px;
}
.app-pillar h3 {
    font-family: var(--font-serif); font-size: var(--type-h3); font-weight: 400;
    color: var(--text-dark); margin-bottom: 12px;
}
.app-pillar p { font-size: var(--type-body); font-weight: 300; line-height: 1.72; color: var(--text-medium); }

/* ── What syncs ── */
.app-sync { background: var(--sand); padding: 92px 0; }
.app-sync-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: center; }
.app-sync-copy h2 {
    font-family: var(--font-serif); font-size: var(--type-h1); font-weight: 400;
    line-height: 1.1; color: var(--text-dark); margin-bottom: 20px;
}
.app-sync-copy > p { font-size: var(--type-body-lg); font-weight: 300; line-height: 1.7; color: var(--text-medium); margin-bottom: 26px; }
.app-sync-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.app-sync-list li {
    position: relative; padding-left: 22px;
    font-size: var(--type-body); font-weight: 300; color: var(--text-dark);
}
.app-sync-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.app-sync-note { font-size: var(--type-caption); font-weight: 300; line-height: 1.7; color: var(--muted); }
.app-sync-visual { display: flex; justify-content: center; }
.app-sync-visual img,
.app-sync-visual video {
    width: 100%; max-width: 300px; height: auto;
    border-radius: 26px;
    box-shadow: 0 22px 54px rgba(26,36,32,0.20);
    display: block;
}
/* The clip's ground is #F6EBE1 against the section's #FDFAF7, so without an
   edge it reads as a stray beige rectangle. A hairline in the site's own sand
   tone makes it a deliberate frame. */
.app-sync-visual video {
    border: 1px solid var(--sand-deep);
    background: #F6EBE1;
}

/* ── Scale options ── */
.app-scales { background: #fff; padding: 92px 0; }
.app-scale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 780px; margin: 0 auto; }
.app-scale-card {
    background: var(--cream); border: 1px solid var(--sand-deep);
    border-radius: var(--radius-lg); padding: 28px 30px;
    display: flex; align-items: center; gap: 24px;
}
.app-scale-img { flex: 0 0 108px; }
.app-scale-img img {
    width: 100%; height: auto; border-radius: 10px;
    filter: drop-shadow(0 10px 22px rgba(26,36,32,0.20));
}
.app-scale-body { flex: 1 1 auto; }
.app-scale-card h3 {
    font-family: var(--font-serif); font-size: var(--type-h3); font-weight: 400;
    color: var(--text-dark); margin-bottom: 12px;
}
.app-scale-card ul { list-style: none; padding: 0; margin: 0; }
.app-scale-card li {
    position: relative; padding-left: 24px; margin-bottom: 10px;
    font-size: var(--type-body); font-weight: 300; color: var(--text-medium);
}
.app-scale-card li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: var(--teal); font-size: 0.9em;
}
.app-scale-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 22px; margin: 48px auto 0; max-width: 780px;
    background: var(--teal-pale); border-radius: var(--radius-lg); padding: 28px 34px;
}
.app-scale-cta p {
    font-family: var(--font-serif); font-size: var(--type-h3); font-weight: 400;
    color: var(--text-dark); margin: 0;
}

/* ── What else ── */
.app-more { background: var(--cream); padding: 92px 0; }
.app-more-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; margin-top: 48px; }
.app-more-item { background: #fff; border-radius: var(--radius-lg); padding: 34px 32px; }
.app-more-item h3 {
    font-family: var(--font-serif); font-size: var(--type-h3); font-weight: 400;
    color: var(--text-dark); margin-bottom: 12px;
}
.app-more-item p { font-size: var(--type-body); font-weight: 300; line-height: 1.72; color: var(--text-medium); }

/* ── CTA ── */
.app-cta { background: var(--forest); padding: 92px 0; text-align: center; }
.app-cta h2 {
    font-family: var(--font-serif); font-size: var(--type-display); font-weight: 400;
    line-height: 1.06; color: #fff; margin-bottom: 32px;
}
.app-cta h2 em { font-style: italic; color: var(--teal-light); }
.app-cta .app-store-row { justify-content: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .app-hero-inner, .app-sync-inner { grid-template-columns: 1fr; gap: 42px; }
    .app-pillar-grid, .app-more-grid, .app-scale-grid { grid-template-columns: 1fr; }
    .app-hero { padding: 68px 0 62px; }
    .app-hero-visual { min-height: 300px; }
    .app-sync-list { grid-template-columns: 1fr; }
    .app-scale-cta { flex-direction: column; text-align: center; }
}

/* ════════════════════
   ACCESS CODE CALLOUT
════════════════════ */
.app-code-note {
    display: block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 3px solid var(--teal-light);
    border-radius: var(--radius-md, 14px);
    padding: 18px 22px;
    margin: 28px 0 20px;
    max-width: 460px;
}
.app-code-note strong {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
}
.app-code-note span {
    display: block;
    font-size: var(--type-caption);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
}
.app-code-note a { color: var(--teal-light); text-decoration: none; font-weight: 500; white-space: nowrap; }
.app-code-note a:hover { text-decoration: underline; }

.app-cta-note {
    font-size: var(--type-body);
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    margin: -14px 0 30px;
}
.app-cta-note a { color: var(--teal-light); text-decoration: none; font-weight: 500; }
.app-cta-note a:hover { text-decoration: underline; }

/* ════════════════════
   INTERACTION
════════════════════ */
.app-pillar,
.app-more-item,
.app-scale-card {
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
    will-change: transform;
}
.app-pillar:hover,
.app-more-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(26,36,32,0.10);
}
.app-scale-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 18px 40px rgba(26,36,32,0.10);
}
.app-pillar:hover .app-pillar-num { opacity: .9; }
.app-pillar-num { transition: opacity .28s ease; }

.app-btn-primary, .app-btn-outline, .app-btn-outline-light {
    transition: background .2s, color .2s, border-color .2s, transform .2s ease, box-shadow .2s ease;
}
.app-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,36,32,0.18); }
.app-btn-outline:hover, .app-btn-outline-light:hover { transform: translateY(-2px); }

.app-hero-scale, .app-hero-phone {
    transition: transform .5s cubic-bezier(.2,.7,.3,1);
    will-change: transform;
    backface-visibility: hidden;
}
.app-hero-visual:hover .app-hero-scale { transform: translateY(-6px); }
.app-hero-visual:hover .app-hero-phone { transform: translateY(-10px); }

.app-sync-visual img,
.app-sync-visual video { transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease; }
.app-sync-visual img:hover,
.app-sync-visual video:hover { transform: translateY(-6px); box-shadow: 0 30px 66px rgba(26,36,32,0.26); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .app-pillar, .app-more-item, .app-scale-card,
    .app-btn-primary, .app-btn-outline, .app-btn-outline-light,
    .app-hero-scale, .app-hero-phone, .app-sync-visual img, .app-sync-visual video, .reveal {
        transition: none !important; transform: none !important;
    }
}

/* ════════════════════
   MOBILE
════════════════════ */
@media (max-width: 900px) {
    .app-hero { padding-top: 150px; }
    .app-hero::before {
        background:
            linear-gradient(180deg,
                rgba(26,54,44,0.55) 0%,
                var(--forest) 46%,
                var(--forest) 100%),
            url('https://cdn.livea.com/Programs/app/hero-arch.webp') center top / cover no-repeat;
    }
    body.has-announcement .app-hero { padding-top: 186px; }
    .app-hero-copy h1 { font-size: clamp(2.3rem, 9vw, 3.1rem); }
    .app-hero-copy p { font-size: var(--type-body); }
    .app-code-note { flex-direction: column; gap: 6px; max-width: 100%; }
    .app-code-note strong { white-space: normal; }
    .app-hero-visual { padding: 0; min-height: 340px; }
    .app-hero-scale { width: 74%; max-width: 300px; }
    .app-hero-phone { width: 34%; max-width: 150px; right: 2%; bottom: 0; }
    .app-store-row { width: 100%; }
    .app-store-row a { flex: 1 1 auto; justify-content: center; }
    .app-sync-visual img,
    .app-sync-visual video { max-width: 240px; }
    .app-pillars, .app-sync, .app-scales, .app-more, .app-cta { padding: 62px 0; }
    .app-pillar, .app-more-item, .app-scale-card { padding: 24px 22px; }
    .app-scale-card { gap: 18px; }
    .app-scale-img { flex: 0 0 84px; }
}

@media (max-width: 560px) {
    .app-hero-visual { min-height: 280px; }
    .app-hero-scale { width: 68%; }
    .app-hero-phone { width: 36%; max-width: 130px; }
    .app-section-title { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
    .app-scale-cta { padding: 24px 22px; }
    .app-cta h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
}

/* ════════════════════
   LEADERSHIP QUOTE
════════════════════ */
.app-quote {
    background: var(--forest);
    padding: 92px 0;
}
.app-quote blockquote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.app-quote blockquote::before {
    content: '\201C';
    display: block;
    font-family: var(--font-serif);
    font-size: 5.2rem;
    line-height: 0.6;
    color: var(--teal-light);
    opacity: .38;
    margin-bottom: 18px;
}
.app-quote blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.28rem, 2.35vw, 1.85rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 34px;
}
.app-quote footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 40px;
}
.app-quote cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: var(--type-body);
    font-weight: 500;
    color: var(--teal-light);
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}
.app-quote cite span {
    font-size: var(--type-caption);
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    letter-spacing: .03em;
}
@media (max-width: 900px) {
    .app-quote { padding: 62px 0; }
    .app-quote blockquote::before { font-size: 4rem; }
    .app-quote footer { gap: 18px; }
}

/* ════════════════════════════════════════
   DEPTH PASS
   Flat fills and single shadows are what make a page read as built
   rather than designed. Three things here: a disc behind the hero
   product, film grain over the dark bands, and layered card surfaces.
════════════════════════════════════════ */

/* ── Soft disc behind the hero product, as in the campaign creative ── */
.app-hero-visual::before {
    content: '';
    position: absolute;
    top: 50%; left: 52%;
    width: 78%; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%,
        rgba(255,255,255,0.13) 0%,
        rgba(255,255,255,0.06) 45%,
        rgba(255,255,255,0) 72%);
    z-index: 0;
    pointer-events: none;
}
.app-hero-scale, .app-hero-phone { position: relative; z-index: 1; }

/* ── Film grain over the dark bands ── */
.app-hero::after,
.app-quote::after,
.app-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .30;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.app-quote, .app-cta { position: relative; overflow: hidden; }
.app-hero .container, .app-quote .container, .app-cta .container { position: relative; z-index: 2; }

/* ── Card surfaces: gradient, top highlight, layered shadow ── */
.app-pillar,
.app-more-item,
.app-scale-card {
    position: relative;
    background-image: linear-gradient(168deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 46%);
    box-shadow:
        0 1px 2px rgba(26,36,32,0.05),
        0 8px 20px rgba(26,36,32,0.055),
        0 22px 48px rgba(26,36,32,0.05);
    border: 1px solid rgba(26,36,32,0.055);
}
.app-pillar::before,
.app-more-item::before,
.app-scale-card::before {
    content: '';
    position: absolute;
    top: 0; left: 14%; right: 14%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0) 100%);
    border-radius: 1px;
}
.app-pillar:hover,
.app-more-item:hover,
.app-scale-card:hover {
    box-shadow:
        0 2px 4px rgba(26,36,32,0.06),
        0 14px 30px rgba(26,36,32,0.09),
        0 34px 70px rgba(26,36,32,0.10);
}

/* ── Pillar number as a set piece rather than a label ── */
.app-pillar-num {
    font-size: 2.6rem;
    opacity: .32;
    letter-spacing: -0.02em;
}

/* ── Sync screenshot: sit it on a soft plinth ── */
.app-sync-visual { position: relative; }
.app-sync-visual::before {
    content: '';
    position: absolute;
    left: 50%; bottom: 4%;
    width: 74%; height: 42%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(26,36,32,0.16) 0%, rgba(26,36,32,0) 70%);
    filter: blur(6px);
}
.app-sync-visual img,
.app-sync-visual video { position: relative; z-index: 1; }

/* ════════════════════════════════════════
   METRIC CARD
   One card, two readings. Two separate chips crowded the hero and
   collided with the headline; a single object says the same thing.
════════════════════════════════════════ */
.app-chip {
    position: absolute;
    z-index: 3;
    bottom: 7%;
    left: -4%;
    min-width: 186px;
    padding: 16px 20px 14px;
    background: #FBF8F3;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(10,20,16,0.16), 0 16px 38px rgba(10,20,16,0.28);
    animation: app-chip-float 7s ease-in-out infinite;
}
.app-chip-head {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 11px;
}
.app-chip-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 18px; padding: 5px 0;
}
.app-chip-row + .app-chip-row { border-top: 1px solid rgba(26,36,32,0.08); }
.app-chip-row em {
    font-family: var(--font-sans); font-style: normal;
    font-size: 12px; font-weight: 400; color: var(--text-medium);
}
.app-chip-row b {
    font-family: var(--font-serif); font-size: 1.22rem; font-weight: 400;
    color: var(--text-dark); white-space: nowrap;
}
.app-chip-row b i { font-style: normal; font-size: .64em; margin-left: 1px; }
.app-chip-foot {
    display: block; margin-top: 10px;
    font-family: var(--font-sans); font-size: 11px; font-weight: 500;
    color: var(--teal);
}
@keyframes app-chip-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}
@media (max-width: 900px) {
    .app-chip { bottom: 2%; left: 0; min-width: 0; padding: 13px 16px 11px; }
    .app-chip-row b { font-size: 1.05rem; }
}
@media (max-width: 560px) { .app-chip { display: none; } }
@media (prefers-reduced-motion: reduce) { .app-chip { animation: none; } }

/* ════════════════════
   PILLAR ICON BADGES
════════════════════ */
.app-pillar-ic {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--teal-pale, #E4F3EC);
    color: var(--forest);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), background .28s ease;
}
.app-pillar-ic svg { width: 24px; height: 24px; stroke-linecap: round; stroke-linejoin: round; }
.app-pillar:hover .app-pillar-ic { transform: scale(1.07) rotate(-4deg); background: #d6ecdf; }

@media (max-width: 900px) {
    /* chips crowd the product on a phone — keep one, tuck it in */
    .app-chip-2 { display: none; }
    .app-chip-1 { top: -1%; left: -3%; padding: 9px 13px 9px 10px; }
    .app-chip-ic { flex-basis: 28px; width: 28px; height: 28px; }
    .app-chip-ic svg { width: 14px; height: 14px; }
    .app-chip-txt b { font-size: 1.1rem; }
    .app-pillar-ic { width: 46px; height: 46px; margin-bottom: 14px; }
}
@media (max-width: 560px) { .app-chip { display: none; } }

@media (prefers-reduced-motion: reduce) {
    .app-chip { animation: none; }
}

/* ════════════════════════════════════════
   LUXE PASS
   Small things, mostly: an editorial kicker above each title, a hairline
   rule, icons that sit in a ring rather than a blob, and list bullets
   that look drawn rather than defaulted.
════════════════════════════════════════ */

/* ── Kicker + hairline above section titles ── */
.app-kicker {
    display: block;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.app-section-title { position: relative; padding-bottom: 22px; }
.app-section-title::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 46px; height: 1px;
    background: linear-gradient(90deg,
        rgba(26,36,32,0) 0%, var(--teal) 50%, rgba(26,36,32,0) 100%);
}

/* ── Card icons: ring, not blob ── */
.app-more-ic {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--forest);
    background: linear-gradient(150deg, var(--teal-pale, #E4F3EC) 0%, rgba(228,243,236,0.35) 100%);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.07);
    transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.app-more-ic svg { width: 21px; height: 21px; stroke-linecap: round; stroke-linejoin: round; }
.app-more-item:hover .app-more-ic {
    transform: translateY(-2px) scale(1.05);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.12), 0 6px 16px rgba(26,36,32,0.10);
}

/* Pillar badge gets the same ring treatment */
.app-pillar-ic {
    background: linear-gradient(150deg, var(--teal-pale, #E4F3EC) 0%, rgba(228,243,236,0.35) 100%);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.07);
}

/* ── Sync list: hairline separators + drawn ticks ── */
.app-sync-list li {
    padding: 9px 0 9px 26px;
    border-bottom: 1px solid rgba(26,36,32,0.07);
}
.app-sync-list li::before {
    content: '';
    top: 15px;
    width: 13px; height: 7px;
    border: 0; border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal);
    border-radius: 1px;
    background: none;
    transform: rotate(-45deg);
}

/* ── Scale cards: a quieter, more considered spec list ── */
.app-scale-card li { padding-left: 20px; }
.app-scale-card li::before { color: var(--teal); font-size: .78em; top: 1px; }
.app-scale-card h3 { letter-spacing: -0.01em; }

/* ── Type refinements ── */
.app-hero-copy h1 { letter-spacing: -0.022em; }
.app-section-title { letter-spacing: -0.018em; }
.app-quote blockquote p { letter-spacing: -0.005em; }
.app-cta h2 { letter-spacing: -0.02em; }

/* ── Scale CTA bar: a touch more presence ── */
.app-scale-cta {
    background: linear-gradient(140deg, var(--teal-pale, #E4F3EC) 0%, rgba(228,243,236,0.45) 100%);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.06);
}

@media (max-width: 900px) {
    .app-kicker { font-size: 10px; letter-spacing: .18em; }
    .app-more-ic { width: 42px; height: 42px; margin-bottom: 14px; }
}

/* ════════════════════
   BUILT FOR GLP-1s
════════════════════ */
.app-glp { background: var(--cream); padding: 92px 0; }
.app-glp-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    max-width: 940px; margin: 8px auto 0;
}
.app-glp-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    border: 1px solid rgba(26,36,32,0.055);
    background-image: linear-gradient(168deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 46%);
    box-shadow: 0 1px 2px rgba(26,36,32,0.05), 0 8px 20px rgba(26,36,32,0.055), 0 22px 48px rgba(26,36,32,0.05);
    position: relative;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.app-glp-item::before {
    content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0));
}
.app-glp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(26,36,32,0.06), 0 14px 30px rgba(26,36,32,0.09), 0 34px 70px rgba(26,36,32,0.10);
}
.app-glp-item h3 {
    font-family: var(--font-serif); font-size: var(--type-h3); font-weight: 400;
    color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.01em;
}
.app-glp-item p { font-size: var(--type-body); font-weight: 300; line-height: 1.72; color: var(--text-medium); }
.app-glp-item p em { font-style: italic; color: var(--text-dark); }

/* ════════════════════
   SETUP STEPS
════════════════════ */
.app-setup { background: var(--sand); padding: 92px 0; }
.app-steps {
    list-style: none; padding: 0;
    max-width: 760px; margin: 8px auto 0;
    counter-reset: step;
}
.app-steps li {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(26,36,32,0.09);
}
.app-steps li:last-of-type { border-bottom: 0; }
.app-steps li > span {
    flex: 0 0 40px; width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 1.15rem; color: var(--forest);
    background: linear-gradient(150deg, var(--teal-pale, #E4F3EC) 0%, rgba(228,243,236,0.35) 100%);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.07);
}
.app-steps h3 {
    font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400;
    color: var(--text-dark); margin-bottom: 5px;
}
.app-steps p { font-size: var(--type-body); font-weight: 300; line-height: 1.65; color: var(--text-medium); }
.app-setup-note {
    text-align: center; margin: 34px auto 0; max-width: 620px;
    font-size: var(--type-body); font-weight: 300; color: var(--text-medium);
}
.app-setup-note a { color: var(--teal); text-decoration: none; font-weight: 500; }
.app-setup-note a:hover { text-decoration: underline; }

/* ── Sage tint so the light run isn't three beiges in a row ── */
/* Sage plaster wall behind the feature cards. Shadows live top-left; the
   centre and bottom stay quiet, which is where the cards sit. A soft white
   scrim keeps body copy legible over the textured areas. */
.app-more {
    position: relative;
    background-color: #EEF4F0;
    isolation: isolate;
}
.app-more::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.58) 55%, rgba(255,255,255,0.72) 100%),
        url('https://cdn.livea.com/Programs/app/section-sage-plaster.webp') center top / cover no-repeat;
}

@media (max-width: 900px) {
    .app-glp, .app-setup { padding: 62px 0; }
    .app-glp-grid { grid-template-columns: 1fr; gap: 20px; }
    .app-glp-item { padding: 26px 24px; }
    .app-steps li { gap: 16px; padding: 20px 0; }
    .app-steps li > span { flex-basis: 34px; width: 34px; height: 34px; font-size: 1rem; }
}

/* ════════════════════
   INTERACTION — NEW SECTIONS
════════════════════ */

/* Setup steps: the row lights up and the numeral fills as you move down */
.app-steps li {
    position: relative;
    transition: background .3s ease, padding-left .3s cubic-bezier(.2,.7,.3,1);
    border-radius: 12px;
}
.app-steps li::after {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 3px; height: 0;
    background: var(--teal);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height .32s cubic-bezier(.2,.7,.3,1);
}
.app-steps li:hover {
    background: rgba(255,255,255,0.62);
    padding-left: 18px;
}
.app-steps li:hover::after { height: 62%; }
.app-steps li > span {
    transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease, color .3s ease;
}
.app-steps li:hover > span {
    transform: scale(1.08);
    background: var(--teal);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0), 0 8px 18px rgba(49,184,152,0.30);
}
.app-steps li h3 { transition: color .3s ease; }
.app-steps li:hover h3 { color: var(--forest); }

/* GLP-1 cards: the em phrase picks up an underline as the card lifts */
.app-glp-item p em {
    background-image: linear-gradient(var(--teal), var(--teal));
    background-repeat: no-repeat;
    background-size: 0% 1px;
    background-position: 0 92%;
    transition: background-size .45s cubic-bezier(.2,.7,.3,1);
    padding-bottom: 1px;
}
.app-glp-item:hover p em { background-size: 100% 1px; }
.app-glp-item h3 { transition: color .28s ease; }
.app-glp-item:hover h3 { color: var(--forest); }

/* Setup note link */
.app-setup-note a {
    background-image: linear-gradient(var(--teal), var(--teal));
    background-repeat: no-repeat;
    background-size: 0% 1px;
    background-position: 0 100%;
    transition: background-size .3s ease;
    text-decoration: none;
}
.app-setup-note a:hover { background-size: 100% 1px; text-decoration: none; }

/* Quote: the mark warms slightly when the section is in view */
.app-quote blockquote::before { transition: opacity .6s ease, transform .6s ease; }
.app-quote blockquote.in::before { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
    .app-steps li, .app-steps li::after, .app-steps li > span,
    .app-glp-item p em, .app-setup-note a, .app-quote blockquote::before {
        transition: none !important;
    }
    .app-steps li:hover { padding-left: 0; }
}

/* Stagger the step reveal so they cascade rather than snapping in together */
.app-steps li:nth-child(1) { transition-delay: 0s; }
.app-steps li:nth-child(2).reveal { transition-delay: .07s; }
.app-steps li:nth-child(3).reveal { transition-delay: .14s; }
.app-steps li:nth-child(4).reveal { transition-delay: .21s; }
.app-pillar:nth-child(2).reveal { transition-delay: .08s; }
.app-pillar:nth-child(3).reveal { transition-delay: .16s; }
.app-more-item:nth-child(2).reveal { transition-delay: .06s; }
.app-more-item:nth-child(3).reveal { transition-delay: .12s; }
.app-more-item:nth-child(4).reveal { transition-delay: .18s; }
.app-glp-item:nth-child(2).reveal { transition-delay: .09s; }
@media (prefers-reduced-motion: reduce) {
    .app-steps li, .app-pillar, .app-more-item, .app-glp-item { transition-delay: 0s !important; }
}

/* ════════════════════
   QR PANEL
════════════════════ */
.app-qr-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 20px;
    padding: 10px 18px 10px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    color: rgba(255,255,255,0.86);
    font-family: var(--font-sans); font-size: 14px; font-weight: 400;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.app-qr-toggle svg { width: 17px; height: 17px; }
.app-qr-toggle:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.32);
    transform: translateY(-1px);
}
.app-qr-toggle[aria-expanded="true"] { background: rgba(255,255,255,0.14); }

.app-qr {
    max-height: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.2,.7,.3,1);
}
.app-qr img {
    width: 150px; height: 150px;
    margin: 18px 0 8px;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.app-qr p {
    margin: 0 0 4px !important;
    font-size: var(--type-caption) !important;
    color: rgba(255,255,255,0.62) !important;
    max-width: 220px;
}

/* ── Outbound explainer link ── */
.app-sync-more { margin-top: 14px; }
.app-sync-more a {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-sans); font-size: var(--type-caption);
    font-weight: 500; color: var(--teal); text-decoration: none;
    background-image: linear-gradient(var(--teal), var(--teal));
    background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 100%;
    transition: background-size .3s ease;
}
.app-sync-more a:hover { background-size: 100% 1px; }
.app-sync-more svg { width: 13px; height: 13px; }

@media (prefers-reduced-motion: reduce) {
    .app-qr { transition: none; }
}

/* ── FSA / HSA note ── */
.app-fsa {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 12px;
    max-width: 780px; margin: 30px auto 0;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 300; line-height: 1.7;
    color: var(--text-medium);
    text-align: center;
}
.app-fsa-badge {
    font-size: 10.5px; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--forest);
    background: var(--teal-pale, #E4F3EC);
    box-shadow: inset 0 0 0 1px rgba(26,36,32,0.08);
    padding: 6px 12px; border-radius: 100px;
    white-space: nowrap;
}
@media (max-width: 560px) { .app-fsa { flex-direction: column; gap: 8px; } }

/* ════════════════════
   WORTH READING
════════════════════ */
.app-read { background: #fff; padding: 88px 0; }
.app-read-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    max-width: 1000px; margin: 8px auto 0;
}
.app-read-card {
    display: flex; flex-direction: column;
    background: var(--cream);
    border: 1px solid rgba(26,36,32,0.07);
    border-radius: var(--radius-lg);
    padding: 28px 26px 24px;
    text-decoration: none;
    position: relative;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.app-read-card:hover {
    transform: translateY(-5px);
    border-color: rgba(49,184,152,0.45);
    box-shadow: 0 14px 30px rgba(26,36,32,0.09), 0 34px 70px rgba(26,36,32,0.08);
}
.app-read-tag {
    display: inline-block; align-self: flex-start;
    font-family: var(--font-sans); font-size: 10.5px; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--forest); background: var(--teal-pale, #E4F3EC);
    padding: 5px 11px; border-radius: 100px; margin-bottom: 16px;
}
.app-read-card h3 {
    font-family: var(--font-serif); font-size: 1.24rem; font-weight: 400;
    line-height: 1.28; color: var(--text-dark); margin: 0 0 20px;
    letter-spacing: -0.01em; flex: 1 1 auto;
}
.app-read-go {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
    color: var(--teal);
}
.app-read-go svg { width: 14px; height: 14px; transition: transform .28s cubic-bezier(.2,.7,.3,1); }
.app-read-card:hover .app-read-go svg { transform: translateX(4px); }
.app-read-card:nth-child(2).reveal { transition-delay: .07s; }
.app-read-card:nth-child(3).reveal { transition-delay: .14s; }

@media (max-width: 900px) {
    .app-read { padding: 62px 0; }
    .app-read-grid { grid-template-columns: 1fr; gap: 16px; }
    .app-read-card { padding: 24px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .app-read-card, .app-read-go svg { transition: none !important; } }

/* ── QR beside setup step 2. Desktop only: on a phone you tap, you don't scan. ── */
.app-step-qr {
    flex: 0 0 96px;
    margin-left: auto;
    text-align: center;
}
.app-step-qr img {
    width: 88px; height: 88px;
    padding: 7px; background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(26,36,32,0.08), 0 10px 24px rgba(26,36,32,0.10);
    transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.app-steps li:hover .app-step-qr img {
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(26,36,32,0.10), 0 16px 34px rgba(26,36,32,0.16);
}
.app-step-qr span {
    display: block; margin-top: 8px;
    font-family: var(--font-sans); font-size: 11px; font-weight: 400;
    letter-spacing: .04em; color: var(--muted);
}
@media (max-width: 900px) { .app-step-qr { display: none; } }

/* ── September scale giveaway ── */
.app-giveaway { background: var(--cream); padding: 84px 0; }
@media (max-width: 900px) { .app-giveaway { padding: 58px 0; } }

/* "The Livea app" sits above the campaign line rather than running into it,
   so "Weight is only" holds on one line and the h1 still carries the term. */
.app-h1-lead {
    display: block;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .01em;
    color: rgba(255,255,255,0.62);
    margin-bottom: 12px;
}
@media (max-width: 900px) { .app-h1-lead { font-size: 13px; margin-bottom: 9px; } }

/* ════════════════════
   GIVEAWAY SECTION
════════════════════ */
.app-giveaway {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--cream);
}
.app-giveaway::before {
    content: '';
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(250,246,240,0.94) 0%, rgba(250,246,240,0.80) 46%, rgba(250,246,240,0.94) 100%),
        url('https://cdn.livea.com/Programs/app/hero-arch.webp') center center / cover no-repeat;
}
.app-giveaway::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    pointer-events: none; opacity: .22; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.app-giveaway .container { position: relative; z-index: 1; }
.app-giveaway .nl-cap {
    box-shadow: 0 4px 12px rgba(26,36,32,0.10), 0 30px 70px rgba(26,36,32,0.22);
    border-radius: var(--radius-lg, 22px);
}
/* the prize itself, tucked behind the card */
.app-giveaway-scale {
    position: absolute;
    right: -3%; bottom: -14%;
    width: 300px; height: auto;
    opacity: .30;
    transform: rotate(-8deg);
    filter: drop-shadow(0 20px 40px rgba(26,36,32,0.24));
    z-index: 0; pointer-events: none;
}

/* ── Hero giveaway link ── */
.app-hero-giveaway {
    display: inline-flex; align-items: center; gap: 11px;
    margin-top: 18px; padding: 11px 18px 11px 13px;
    /* Teal-tinted rather than a white wash, so it reads as something to click
       against the dark hero instead of a quiet caption. */
    background: rgba(49,184,152,0.16);
    border: 1px solid rgba(126,217,192,0.55);
    box-shadow: 0 0 0 4px rgba(49,184,152,0.07);
    border-radius: 100px;
    text-decoration: none;
    max-width: 460px;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.app-hero-giveaway:hover,
.app-hero-giveaway:focus-visible {
    background: rgba(49,184,152,0.26);
    border-color: var(--teal-light);
    box-shadow: 0 0 0 5px rgba(49,184,152,0.13);
    transform: translateY(-1px);
}
.app-hero-giveaway-ic {
    flex: 0 0 30px; width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--teal-light);
    display: flex; align-items: center; justify-content: center;
}
.app-hero-giveaway-ic svg { width: 16px; height: 16px; color: var(--teal-light); }
.app-hero-giveaway span:nth-child(2) {
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 300; line-height: 1.5;
    color: rgba(255,255,255,0.78);
}
.app-hero-giveaway b { font-weight: 500; color: #fff; }
.app-hero-giveaway-go {
    color: var(--teal-light); font-size: 15px;
    transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.app-hero-giveaway:hover .app-hero-giveaway-go { transform: translateY(3px); }

@media (max-width: 900px) {
    .app-giveaway-scale { width: 190px; right: -12%; bottom: -10%; opacity: .22; }
    .app-hero-giveaway { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .app-hero-giveaway, .app-hero-giveaway-go { transition: none; }
}

/* Anchor jumps land under the fixed header without this — the announcement
   bar, utility bar and nav together are ~190px. */
#giveaway { scroll-margin-top: 150px; }
body.has-announcement #giveaway { scroll-margin-top: 194px; }
@media (max-width: 900px) {
    #giveaway { scroll-margin-top: 110px; }
    body.has-announcement #giveaway { scroll-margin-top: 150px; }
}

/* Anyone who has asked for less motion should get the poster frame, not a
   26-second loop. */
@media (prefers-reduced-motion: reduce) {
    .app-sync-visual video { animation: none; }
}
