/*
  Gloria — global.css
  Design system keyed to the logo's sampled gradient:
  amber #F88000 → red-orange #F84800 (mid #F86000).
  Type: Comfortaa (display + logo) · Inter (body).
*/

/************************************** TOKENS **************************************/

:root {
--font-primary: 'Inter', sans-serif;
--font-secondary: "Comfortaa", sans-serif;
--font-display: 'Comfortaa', sans-serif;

--brand: #F86000;
--brand-amber: #F88000;
--brand-red: #F84800;
--brand-deep: #C93408;
--brand-gradient: linear-gradient(180deg, #F88000 0%, #F84800 100%);
--brand-gradient-strong: linear-gradient(180deg, #F06A00 0%, #E03A00 100%);
--brand-gradient-soft: linear-gradient(160deg, #F88000 0%, #F84800 100%);
--on-brand: #FFFFFF;

--ink: #211D1A;
--ink-soft: #5D5751;
--ink-muted: #716A63;

--ivory: #FDFAF7;
--sand: #F9EFE5;
--card: #FFFFFF;
--line: rgba(33, 29, 26, 0.08);
--line-brand: rgba(248, 96, 0, 0.16);

--radius-card: 1.5rem;
--radius-panel: 2rem;
--shadow-rest: 0 1px 3px rgba(33, 29, 26, 0.05);
--shadow-lift: 0 20px 40px rgba(218, 63, 0, 0.10);
--shadow-cta: 0 14px 30px rgba(248, 72, 0, 0.24);

--color-primary: var(--ink);
--color-secondary: var(--brand-red);
--color-3: var(--brand-amber);
--text-color: var(--ink);
}

/*** Reset ***/

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

html {
font-size: 16px;
scroll-behavior: smooth;
height: 100%;
background-color: transparent;
}

body {
font-family: var(--font-primary);
color: var(--text-color);
background-color: var(--ivory);
max-width: 100vw;
}

a {
color: var(--text-color);
text-decoration: none;
cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 500;
letter-spacing: -0.015em;
color: var(--ink);
margin-bottom: 1rem;
}

hr {
border: none;
border-top: 1px solid var(--line);
}

button {
border: none;
cursor: pointer;
}

span {
display: flex;
align-items: center;
gap: 5px;
}

ul {
list-style-type: disc;
margin-left: 20px;
}

/*** Utilities ***/

.text-center { text-align: center; }
.text-bold { font-weight: bold; }
.hidden { display: none; }
.h-1 { height: 1rem; }
.h-2 { height: 2rem; }
.indent { text-indent: 50px; }

/*** Accessible focus ***/

a:focus-visible,
button:focus-visible,
.question:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(248, 96, 0, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
}

/*** Shared micro-labels ***/

.eyebrow,
.hero-eyebrow,
.settings-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-eyebrow { color: var(--brand-deep); margin-bottom: 1.1rem; }
.settings-eyebrow { color: var(--ink-muted); margin-bottom: 1.5rem; }

/*** Shared section headers ***/

.section-header {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 450;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subhead {
    text-align: center;
    color: var(--ink-soft);
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 40rem;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

/*********************************** HEADER *********************************/

/* Anchor jumps (How it works, Why Gloria, FAQ) land under the sticky header
   without it: leave room for the bar so the section heading stays visible. */
section[id] { scroll-margin-top: 112px; }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 250, 247, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

header span {
    align-items: center;
}

.branding-nav-flex {
    display: flex;
    align-items: center;
}

.branding { z-index: 2; }

.branding a {
    text-decoration: none;
    position: relative;
}

.logo { position: relative; }
.logo.fixed { position: fixed; }

.logo-img {
    width: 30px;
    -webkit-user-drag: none;
    pointer-events: none;
    user-select: none;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--brand-red);
    user-select: none;
}

.nav { display: none; }

.menu-toggle {
    background: none;
    border: none;
    padding: 0;
    line-height: 0;
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle i,
#menu-button {
    font-size: 1.9rem;
    cursor: pointer;
    opacity: 0.85;
}

#menu {
  width: min(75%, 22rem);
  background-color: rgba(253, 250, 247, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: fixed;
  top: 0;
  left: -100%;
  visibility: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100dvh;
  transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  border-right: 1px solid var(--line);
  z-index: 1;
  padding: 7rem 0 0 2.25rem;
}

.menu-item {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--ink);
    display: block;
    margin-bottom: 2.25rem;
}

#menu.visible {
    left: 0;
    visibility: visible;
}

/* Header - Mobile Landscape */

@media screen and (max-height: 500px) and (orientation: landscape) {
    #menu { padding-left: 8vw; width: 50%; }
    header { padding: 1.1rem 8vw; }
}

/* Header - Desktop */

@media (min-width: 1024px) {
    header {
        padding: 1.1rem max(3rem, calc((100% - 1200px) / 2));
    }

    .logo-img { width: 32px; }
    .logo-text { font-size: 1.9rem; }

    .nav { display: block; }

    .nav-item {
        padding-left: 2.75rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--ink-soft);
        transition: color 0.2s ease;
    }

    .nav-item:hover { color: var(--brand-deep); }

    .nav-item-last {
        background: var(--brand-gradient-strong);
        color: var(--on-brand);
        padding: 11px 26px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 6px 16px rgba(248, 72, 0, 0.20);
        transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-item-last:hover {
        filter: brightness(0.94);
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(248, 72, 0, 0.28);
    }

    .menu-toggle, #menu-button, #menu { display: none; }
}

/*********************************** FOOTER *********************************/

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 4rem max(2rem, calc((100% - 1200px) / 2)) 3.5rem;
    margin: 1.5rem;
    border-radius: var(--radius-panel);
    border: 2px solid transparent;
    background:
        radial-gradient(ellipse 70% 90% at 85% -10%, rgba(248, 96, 0, 0.14), transparent 60%) padding-box,
        linear-gradient(#1F1B18, #1F1B18) padding-box,
        linear-gradient(135deg, #FF9A33 0%, rgba(248, 72, 0, 0.55) 30%, rgba(253, 250, 247, 0.18) 65%, #F87200 100%) border-box;
    color: #EAE4DE;
    position: relative;
    overflow: hidden;
}

footer::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    background: url('images/logo.png') no-repeat center / contain;
    opacity: 0.08;
    pointer-events: none;
}

footer a, footer p, footer i { color: #EAE4DE; }

.footer-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #98908A;
    margin-bottom: 1rem;
}

.footer-item {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-item a:hover { text-decoration: underline; }

.footer-brand {
    flex: 1 1 15rem;
    max-width: 22rem;
}

.footer-logo { align-items: center; gap: 6px; }
.footer-logo .logo-img { width: 28px; }

.footer-logo .logo-text {
    font-size: 1.6rem;
    color: var(--brand-amber);
}

.footer-tagline {
    margin-top: 0.85rem;
    color: #98908A;
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.95rem;
}

.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.25rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(253, 250, 247, 0.28);
    border-radius: 0.8rem;
    background: rgba(253, 250, 247, 0.04);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* App Store badge is disabled until the app is live (Richard, 2026-09-21):
   not a link, no hover, muted. Re-enable by turning the span back into an <a>
   with the App Store URL and dropping is-disabled. */
.appstore-badge.is-disabled { pointer-events: none; cursor: default; opacity: 0.55; }

.appstore-badge:hover {
    background: rgba(253, 250, 247, 0.10);
    border-color: rgba(253, 250, 247, 0.45);
}

.appstore-badge i {
    font-size: 1.7rem;
    color: #FBF4EC;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.badge-text small {
    font-size: 0.68rem;
    font-weight: 400;
    color: #A89C90;
    line-height: 1.2;
}

.badge-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #FBF4EC;
    line-height: 1.25;
}

/* Dark variant for light backgrounds (e.g. homepage hero) */
.appstore-badge.on-light {
    background: var(--ink);
    border-color: var(--ink);
    margin-top: 0;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(33, 29, 26, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appstore-badge.on-light:hover {
    background: #332D28;
    border-color: #332D28;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(33, 29, 26, 0.24);
}

.hero-secondary { margin-top: 1.2rem; }

.footer-col { flex: 1 1 10rem; }

.footer-col span.footer-item { align-items: center; gap: 6px; }

@media (min-width: 1024px) {
    footer {
        padding: 4.5rem max(3rem, calc((100% - 1240px) / 2));
        margin: 2rem;
    }
}

/******************************** INDEX — HERO SPLIT *****************************/

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-copy h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.4rem, 8vw, 3.9rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--brand-red);
}

.hero-sub {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 30rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    width: 100%;
}

#hero-button {
    display: inline-block;
    text-align: center;
    font-family: var(--font-primary);
    color: var(--on-brand);
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    background: var(--brand-gradient-strong);
    width: 100%;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: filter 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

#hero-button:hover {
    filter: brightness(0.94);
    box-shadow: 0 18px 36px rgba(248, 72, 0, 0.32);
    transform: translateY(-2px);
}

.hero-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.1rem;
    margin-left: -1.1rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-link i {
    font-size: 1.25rem;
    transition: transform 0.25s ease;
}

.hero-link:hover {
    background-color: rgba(248, 96, 0, 0.10);
    color: var(--brand-deep);
}

.hero-link:hover i { transform: scale(1.12); }

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 0.5rem;
}

@media (max-width: 639px) {
    .hero-split {
        padding: 1.75rem 1.25rem 2.75rem;
        gap: 2rem;
    }
    .hero-eyebrow { margin-bottom: 0.85rem; }
    .hero-copy h1 { margin-bottom: 1rem; line-height: 1.1; }
    .hero-sub {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .hero-actions { gap: 0.9rem; align-items: stretch; }
    #hero-button { padding: 1rem 2rem; font-size: 1rem; }
    .appstore-badge.on-light { margin-top: 0; padding: 0.75rem 1.2rem; }
    .hero-link {
        margin-left: 0;
        align-self: center;
        padding: 0.55rem 0.9rem;
    }
    .hero-secondary { margin-top: 0.5rem; }
}

.hero-arch {
    border-radius: 999px 999px 28px 28px;
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    box-shadow: 0 30px 60px rgba(33, 29, 26, 0.16);
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(248, 128, 0, 0.25), transparent 70%),
        var(--sand);
}

.hero-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 0.7rem 1.05rem;
    box-shadow: 0 14px 34px rgba(33, 29, 26, 0.16);
    animation: chip-float 6s ease-in-out infinite alternate;
}

.float-chip i {
    color: var(--brand-deep);
    background: rgba(248, 96, 0, 0.10);
    padding: 0.6rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
}

.chip-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.chip-body strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.chip-body small {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.chip-photo { top: 10%; left: -2%; }
.chip-mood { bottom: 8%; right: -2%; animation-delay: 1.6s; }

@keyframes chip-float {
    from { transform: translateY(-5px); }
    to { transform: translateY(6px); }
}

/* Narrow screens: one smaller chip, kept inside the photo bounds */
@media (max-width: 639px) {
    .chip-photo {
        top: 4%;
        left: 4%;
        right: auto;
        padding: 0.55rem 0.85rem;
        border-radius: 0.9rem;
    }

    .chip-photo i {
        padding: 0.45rem;
        font-size: 0.8rem;
    }

    .chip-mood {
        right: 4%;
        bottom: 4%;
        padding: 0.55rem 0.85rem;
        border-radius: 0.9rem;
    }

    .chip-mood i {
        padding: 0.45rem;
        font-size: 0.8rem;
    }

    .chip-body strong { font-size: 0.8rem; }
    .chip-body small { font-size: 0.7rem; }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-split { padding: 3rem 8vw 4rem; }
}

@media (min-width: 1024px) {
    .hero-split {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 4.5rem;
        padding: 1.5rem 3rem 2.5rem;
        /* header (70px) + care-settings banner (56px) = 126px:
           the banner lands exactly at the bottom of the first viewport */
        min-height: calc(100vh - 126px);
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    #hero-button { width: auto; }

    .hero-visual { max-width: 520px; margin: 0; justify-self: end; }

    .chip-photo { left: -9%; }
    .chip-mood { right: -7%; }
}

/******************************** INDEX — MARQUEE *****************************/

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
    padding: 1.05rem 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2.75rem;
    width: 100%;
    padding: 0 1.5rem;
}

.marq-item {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--ink-soft);
    white-space: nowrap;
    display: block;
}

.marq-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    display: block;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .marquee-track {
        gap: 0.5rem 1.5rem;
        padding: 0 1rem;
    }
    .marq-item { font-size: 1rem; }
}

@media (max-width: 440px) {
    .marquee-track { gap: 0.5rem 1rem; }
    .marq-item { font-size: 0.95rem; }
    .marq-sep { display: none; }
}

/******************************** INDEX — BENTO FEATURES *****************************/

.bento-section {
    padding: 5.5rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.bento-tile {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-rest);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: var(--line-brand);
}

.bento-tile h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 550;
    margin: 0 0 0.5rem;
    text-wrap: balance;
}

.bento-tile p {
    color: var(--ink-soft);
    font-weight: 350;
    line-height: 1.55;
    margin: 0;
}

.bento-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 1.1rem;
}

/* Chat tile */

.chat-mock {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.bubble {
    max-width: 88%;
    padding: 0.9rem 1.2rem;
    border-radius: 1.15rem;
    font-size: 0.98rem;
    line-height: 1.5;
}

.wellness-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.wellness-summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--sand);
    border: 1px solid rgba(248, 96, 0, 0.14);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.wellness-summary i {
    color: var(--brand-deep);
    font-size: 0.85rem;
}

.bubble p { margin: 0; color: inherit; font-weight: 400; }

.bubble.staff {
    background: var(--sand);
    color: var(--ink);
    border-bottom-left-radius: 0.35rem;
    align-self: flex-start;
}

.bubble.family {
    background: var(--brand-gradient-strong);
    color: #FFFFFF;
    border-bottom-right-radius: 0.35rem;
    align-self: flex-end;
}

.bubble.family p { color: #FFFFFF; font-weight: 500; }

.bubble-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brand-deep);
    margin-bottom: 0.3rem;
}

/* Photos tile */

.bento-photos {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-photo-frame {
    background:
        radial-gradient(ellipse 90% 80% at 50% 100%, rgba(248, 128, 0, 0.18), transparent 75%),
        var(--sand);
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem 0;
    flex: 1;
    align-items: flex-end;
}

.bento-photo-frame img {
    width: 90%;
    max-width: 310px;
    display: block;
}

.bento-photos h3 { padding: 1.4rem 2rem 0; }
.bento-photos p { padding: 0 2rem 2rem; }

/* Stat tile */

.bento-stat .stat-figure {
    font-family: var(--font-display);
    font-size: 3.1rem;
    font-weight: 350;
    color: var(--brand-red);
    line-height: 1;
    margin-bottom: 0.9rem;
}

@media (min-width: 1024px) {
    .bento {
        grid-template-columns: repeat(4, 1fr);
    }

    .bento-chat { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; }
    .bento-chat .chat-mock { flex: 1; justify-content: center; }
    .bento-photos { grid-column: 3 / 4; grid-row: 1 / 3; }
    .bento-wide { grid-column: span 2; }
}

/******************************** INDEX — HOW IT WORKS (TIMELINE) *****************************/

.how-section {
    padding: 5rem 1.5rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.75rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    background: var(--line-brand);
}

.tl-step {
    position: relative;
    padding-left: 4.5rem;
}

.tl-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid var(--line-brand);
    color: var(--brand-deep);
    font-family: var(--font-display);
    font-size: 1.35rem;
    box-shadow: var(--shadow-rest);
}

.tl-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 550;
    margin-bottom: 0.5rem;
}

.tl-text {
    color: var(--ink-soft);
    font-weight: 350;
    line-height: 1.6;
    max-width: 28rem;
}

@media (min-width: 900px) {
    .timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .timeline::before {
        left: 1.5rem;
        right: 18%;
        top: 1.5rem;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .tl-step {
        padding-left: 0;
        padding-top: 4.4rem;
    }
}

/******************************** INDEX — CLOSING PANEL *****************************/

.closing-panel {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: var(--radius-panel);
    margin: 1rem 1.5rem 3rem;
    background: #1F1B18;
}

.closing-copy {
    padding: 3.5rem 2rem;
}

.quote-mark {
    color: var(--brand-amber);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.closing-copy h2 {
    font-size: clamp(1.9rem, 4.5vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.22;
    color: #FBF4EC;
    max-width: 30rem;
    margin-bottom: 1.25rem;
}

.closing-copy h2 em {
    font-style: normal;
    color: var(--brand-amber);
}

.closing-text {
    color: rgba(251, 244, 236, 0.68);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 30rem;
    margin-bottom: 2.25rem;
}

.closing-button {
    display: inline-block;
    text-align: center;
    color: var(--on-brand);
    font-size: 1.05rem;
    font-weight: 600;
    background: var(--brand-gradient-strong);
    padding: 1.05rem 3rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(248, 72, 0, 0.28);
    transition: filter 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.closing-button:hover {
    filter: brightness(0.94);
    transform: translateY(-2px);
    color: var(--on-brand);
}

.closing-photo {
    min-height: 260px;
    position: relative;
}

.closing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    display: block;
}

.closing-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(248, 128, 0, 0.22) 0%, rgba(31, 27, 24, 0.10) 55%, rgba(31, 27, 24, 0.32) 100%);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .closing-panel {
        grid-template-columns: 1.1fr 0.9fr;
        width: 88%;
        max-width: 1200px;
        margin: 2rem auto 4rem;
    }

    .closing-copy {
        padding: 5rem 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .closing-photo { min-height: 100%; }
}

/******************************** INDEX — CTA BAND *****************************/

.cta-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1.75rem;
    margin: 1rem 1.5rem;
    border-radius: var(--radius-panel);
    background:
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(248, 128, 0, 0.14), transparent 65%),
        var(--sand);
    border: 1px solid var(--line-brand);
}

.cta-title {
    color: var(--ink);
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

.cta-title em {
    font-style: normal;
    color: var(--brand-red);
}

.cta-text {
    color: var(--ink-soft);
    font-weight: 350;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 26rem;
    margin: 0;
    line-height: 1.6;
}

.cta-panel {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.9rem;
    box-shadow: 0 18px 40px rgba(33, 29, 26, 0.08);
}

.cta-points {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.cta-points li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    color: var(--ink-soft);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.cta-points li:last-child { margin-bottom: 0; }

.cta-points i {
    color: var(--brand-deep);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--brand-gradient-strong);
    color: var(--on-brand);
    font-weight: 600;
    font-size: 1.02rem;
    padding: 1rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(248, 72, 0, 0.24);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    filter: brightness(0.94);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(248, 72, 0, 0.32);
    color: var(--on-brand);
}

@media (min-width: 1024px) {
    .cta-band {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 4rem;
        width: 88%;
        max-width: 1200px;
        margin: 2rem auto;
        padding: 4rem 4.5rem;
    }
}

/******************************** INDEX — FAQ *****************************/

.faq-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.5rem 6rem;
    max-width: 1150px;
    margin: 0 auto;
}

.faq-header {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 450;
    margin-bottom: 1rem;
}

.faq-blurb {
    color: var(--ink-soft);
    font-weight: 300;
    line-height: 1.6;
    max-width: 24rem;
    margin-bottom: 1.5rem;
}

.faq-contact {
    color: var(--brand-deep);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-contact i { transition: transform 0.25s ease; }
.faq-contact:hover i { transform: translateX(4px); }

.faq-list {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0.25rem;
    cursor: pointer;
    gap: 1rem;
}

.question p {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.05rem;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--brand-deep);
    flex-shrink: 0;
}

.answer {
    font-weight: 300;
    color: var(--ink-soft);
    display: none;
    padding: 0 0.25rem 1.5rem;
    line-height: 1.65;
}

.fa-plus, .fa-minus { font-size: 13px; }

.faq-email { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1024px) {
    .faq-section {
        grid-template-columns: 0.85fr 1.35fr;
        gap: 4.5rem;
        padding: 6rem 3rem 7rem;
    }

    .faq-intro {
        position: sticky;
        top: 100px;
        align-self: start;
    }

    .question p { font-size: 1.15rem; }
    .answer { font-size: 1.05rem; }
}


/**************************************** POLICY **********************************************/

.policy-section {
    padding: 4rem 1.5rem 5rem;
    max-width: 46rem;
    margin: 0 auto;
}

.policy-section h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 450;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-header {
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--ink);
}

.policy-text {
    font-weight: 350;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.policy-email { text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-height: 500px) and (orientation: landscape) {
    .policy-section { padding: 4rem 12vw; }
}

/************************************** ABOUT ****************************************/

/* About hero uses the shared .hero-split / .hero-arch components */

.about-hero-split .hero-arch {
    aspect-ratio: 4 / 4.3;
}

.about-hero {
    text-align: center;
    padding: 4.5rem 1.5rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 7vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.about-hero h1 em {
    font-style: normal;
    color: var(--brand-red);
}

.about-hero-sub {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 38rem;
    margin: 0 auto;
    text-wrap: balance;
}

.about-section {
    padding: 1.5rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-photo-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    max-width: 1100px;
    margin: 0 auto;
    scroll-margin-top: 90px;
}

.story-photo {
    position: relative;
    border-radius: var(--radius-panel);
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(33, 29, 26, 0.14);
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(248, 128, 0, 0.14) 0%, transparent 45%, rgba(31, 27, 24, 0.18) 100%);
    pointer-events: none;
}

.story-copy h2 {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.story-copy p {
    font-size: 1.08rem;
    font-weight: 350;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.story-copy p:last-child { margin-bottom: 0; }

.our-team-section {
    margin-top: 2.5rem;
    padding-bottom: 2rem;
}

.team-member {
    text-align: center;
    padding: 1rem 0;
}

.team-member-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
}

.avatar {
    height: 170px;
    width: 170px;
    object-fit: cover;
    background-color: var(--sand);
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    margin: auto;
    display: block;
    box-shadow: 0 14px 30px rgba(33, 29, 26, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover .avatar {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(248, 72, 0, 0.18);
}

.name {
    padding-top: 1.1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.creds {
    width: 170px;
    font-weight: 350;
    color: var(--ink-muted);
    margin: 5px auto 0;
    font-size: 0.85em;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .about-section { padding: 1.5rem 12vw 4rem; }
}

@media (min-width: 1024px) {
    .about-hero { padding: 5.5rem 3rem 3rem; }

    .about-hero-split { min-height: 0; padding-bottom: 4rem; }

    .about-section { padding: 2rem 3rem 5rem; }

    .story-photo-split {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 4.5rem;
        padding: 3rem 0;
    }

    .story-photo { max-height: 460px; height: 100%; }

    .story-copy p { font-size: 1.15rem; }

    .our-team-section { margin-top: 3rem; }

    .team-member-flex {
        gap: 2.5rem 4rem;
        align-items: flex-start;
    }

    .team-member:nth-child(even) { transform: translateY(2.25rem); }

    .avatar { height: 210px; width: 210px; }
    .creds { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
    .team-member:hover .avatar { transform: none; }
}

/***************************************  DEMO FORM *************************************************/

.demo {
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.demo h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 450;
    text-align: center;
}

.demo-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ink-soft);
    margin-bottom: 3rem;
    text-align: center;
}

.demo label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ink);
    display: block;
}

.demo input,
.demo select {
    width: 100%;
    padding: 0.95rem 1.1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--ink);
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo select {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5H7z%22%2F%3E%3C%2Fsvg%3E');
    cursor: pointer;
}

.demo input:focus,
.demo select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(248, 96, 0, 0.12);
    outline: none;
}

.demo button {
    font-family: var(--font-primary);
    padding: 0.95rem 3.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: var(--brand-gradient-strong);
    border-radius: 999px;
    color: var(--on-brand);
    display: block;
    margin: 1.5rem auto 0;
    box-shadow: var(--shadow-cta);
    transition: filter 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.demo button:hover {
    filter: brightness(0.94);
    box-shadow: 0 18px 36px rgba(248, 72, 0, 0.32);
    transform: translateY(-2px);
}

.demo .terms {
    text-align: center;
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 1.5rem;
}

.demo .terms a { text-decoration: none; }
.demo .terms a:hover { text-decoration: underline; }

.demo-flex-item { position: relative; }

input.error { border: 1px solid var(--brand-deep); }

select.error { background-color: #FFF1EA; }

.error-message {
    display: none;
    color: var(--brand-deep);
    position: absolute;
    top: 78px;
    left: 20px;
    font-size: 13px;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .demo { padding: 4rem 20vw; }
}

@media (min-width: 1024px) {

    .demo {
        max-width: 50rem;
        margin: 2.5rem auto 5rem;
        padding: 3.5rem 3rem;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--radius-panel);
        box-shadow: var(--shadow-rest);
    }

    .demo-form-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0rem 1rem;
        max-width: 45rem;
        margin: auto;
        padding: 1rem 0 0;
    }

    .demo-flex-item {
        flex: 1 1 calc(50% - 1rem);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .demo-flex-item.full-width { flex: 1 1 100%; }

    .demo input, .demo select { width: 100%; }

    .full-width { width: 100%; }

    .error-message { font-size: 13px; top: 84px; }
}

/*************************************** DEMO CONFIRMATION *************************************************/

.confirmation-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    min-height: 60vh;
}

.confirmation-message h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 450;
    max-width: 34rem;
    line-height: 1.4;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .confirmation-message { padding: 3rem 20vw; }
}

/*************************************** FEATURES PAGE *************************************************/

.features-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: none; }

.feature-copy h2 {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.v2-badge {
    display: inline-block;
    vertical-align: middle;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
    background: var(--sand);
    border: 1px solid rgba(248, 96, 0, 0.22);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    margin-left: 0.6rem;
    white-space: nowrap;
}

.feature-copy > p {
    color: var(--ink-soft);
    font-weight: 350;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

.feature-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-bullets li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    color: var(--ink-soft);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.feature-bullets i {
    color: var(--brand-deep);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-visual {
    background:
        radial-gradient(ellipse 80% 70% at 60% 30%, rgba(248, 128, 0, 0.14), transparent 70%),
        var(--sand);
    border-radius: var(--radius-panel);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
}

.feature-visual .chat-mock {
    width: 100%;
    max-width: 24rem;
    margin-bottom: 0;
}

.feature-device img {
    max-height: 340px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.feature-icon-panel img {
    width: 110px;
    height: 110px;
}

@media (min-width: 1024px) {
    .features-page { padding: 1rem 3rem 4rem; }

    .feature-row {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
        padding: 4.5rem 0;
    }

    .feature-row:nth-child(even) .feature-copy { order: 2; }
    .feature-row:nth-child(even) .feature-visual { order: 1; }

    .feature-visual { min-height: 380px; }
    .feature-device img { max-height: 400px; }
}

/*************************************** CONTACT MODAL *************************************************/

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(33, 29, 26, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.contact-overlay.open {
    opacity: 1;
    visibility: visible;
}

.contact-card {
    /* Two-panel business card (Richard, 2026-09-21): brand panel left,
       details right. Sized to content, no fixed aspect ratio, no watermark. */
    position: relative;
    width: min(100%, 36rem);
    display: grid;
    grid-template-columns: 10rem 1fr;
    overflow: hidden;
    border-radius: 1.1rem;
    background: #1F1B18;
    border: 1px solid rgba(255, 154, 51, 0.35);
    box-shadow:
        0 40px 80px rgba(20, 16, 12, 0.55),
        0 0 70px rgba(248, 96, 0, 0.22);
    transform: translateY(14px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-overlay.open .contact-card {
    transform: none;
}

.card-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2rem 1.25rem;
    background: var(--brand-gradient-strong, linear-gradient(160deg, #FF8A00, #F84800));
    color: #FFFFFF;
}

.card-side img { width: 64px; height: 64px; filter: brightness(0) invert(1); }

.card-wordmark {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1;
}

.card-main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    padding: 2rem 2rem 1.8rem 1.9rem;
    min-width: 0;
}

.contact-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(253, 250, 247, 0.08);
    color: #C9BFB6;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-close:hover {
    background: rgba(253, 250, 247, 0.16);
    color: #FFF6ED;
}

.card-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: #FBF4EC;
    line-height: 1.15;
    padding-right: 2.5rem;
}

.card-role {
    font-size: 0.95rem;
    font-weight: 400;
    color: #C9BFB6;
    margin-top: 0.15rem;
}

.card-rows { display: flex; flex-direction: column; gap: 0.75rem; }

.card-email-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.card-email-row > i {
    color: var(--brand-amber);
    font-size: 0.9rem;
    width: 1rem;
    text-align: center;
}

.card-email-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.2; }

.card-email-label {
    color: #A89C90;
    font-size: 0.72rem;
    display: block;
    margin-bottom: 0.1rem;
}

.card-email {
    color: #FBF4EC;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    display: block;
}

.copy-email {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    background: rgba(253, 250, 247, 0.10);
    color: #FBF4EC;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.55rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.copy-email:hover { background: rgba(253, 250, 247, 0.18); }

.copy-email.copied {
    background: rgba(248, 128, 0, 0.25);
    color: var(--brand-amber);
}

.card-demo {
    align-self: flex-start;
    margin-top: 0.2rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: var(--brand-gradient-strong, linear-gradient(160deg, #FF8A00, #F84800));
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 519px) {
    .contact-card { grid-template-columns: 1fr; }
    .card-side { flex-direction: row; padding: 1.1rem 1.25rem; }
    .card-side img { width: 36px; height: 36px; }
    .card-wordmark { font-size: 1.4rem; }
    .card-main { padding: 1.5rem 1.25rem 1.4rem; }
    .contact-close { top: 0.7rem; right: 0.7rem; background: rgba(0, 0, 0, 0.25); color: #FFFFFF; }
    .card-email { white-space: normal; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-overlay, .contact-card { transition: none; }
}

/*************************************** MOTION *************************************************/

/* Scroll-reveal — only when JS is running (html.js set by global.js) */

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .bento-tile:hover,
    .cta-button:hover,
    #hero-button:hover,
    .demo button:hover {
        transform: none;
    }

    .float-chip { animation: none; }

    #menu { transition: none; }
}


/* ═══════════════════════════════════════════════════════════════════════
   2026-09-15 content update (Dave): feature cards, coming soon, why grid,
   pricing calculator, about story accents. Same tokens, same motifs.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Feature cards (features page) ─────────────────────────────────── */
.feature-cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem 0 3rem; }
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.75rem;
    padding: 1.9rem;
    box-shadow: var(--shadow-rest);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-brand); }
.feature-card h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0 0 0.5rem; }
.feature-card p { color: var(--ink-soft); font-weight: 300; line-height: 1.6; margin: 0; }
.feature-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 16px;
    background: var(--sand); color: var(--brand-deep); font-size: 1.35rem; margin-bottom: 1.1rem;
}
@media (min-width: 640px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ── Coming soon ────────────────────────────────────────────────────── */
.soon-section { padding: 1rem 0 3.5rem; }
.soon-section .section-subhead { margin-bottom: 2rem; }
.soon-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 52rem; }
.soon-list li {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.8rem 1.25rem; border-radius: 999px;
    background: var(--sand); border: 1px solid rgba(248, 96, 0, 0.22);
    color: var(--ink); font-weight: 500;
}
.soon-list li i { color: var(--brand-deep); }

/* ── Why Gloria (landing) ───────────────────────────────────────────── */
.why-section { padding: 1rem 1.5rem 4rem; max-width: 1200px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.why-card {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: 1.75rem; padding: 2rem 2rem 2rem 5.25rem; box-shadow: var(--shadow-rest);
}
.why-num {
    position: absolute; left: 1.6rem; top: 1.9rem; width: 2.5rem; height: 2.5rem;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: #FFFFFF; border: 1.5px solid var(--line-brand); color: var(--brand-deep);
    font-family: var(--font-display); font-size: 1.15rem; box-shadow: var(--shadow-rest);
}
.why-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.35; }
.why-card p { color: var(--ink-soft); font-weight: 300; line-height: 1.6; margin: 0; }
@media (min-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .why-card-wide { grid-column: 1 / -1; }
}

/* ── About story accents ────────────────────────────────────────────── */
.story-lead { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.story-cta { margin-top: 1.25rem; font-weight: 500; }
.story-link { color: var(--brand-deep); font-weight: 600; white-space: nowrap; }
.story-link i { margin-left: 0.3rem; font-size: 0.85em; }

/* ── Pricing ────────────────────────────────────────────────────────── */
.pricing-section { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.pricing-panel { display: grid; grid-template-columns: 1fr; gap: 2rem; background: var(--sand); border-radius: var(--radius-panel); padding: 2rem; }
.pricing-label { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.pricing-count { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; color: var(--brand-deep); margin: 0 0 0.75rem; line-height: 1; }
.pricing-count span { font-size: 1rem; font-family: var(--font-primary); font-weight: 400; color: var(--ink-soft); margin-left: 0.4rem; }
.pricing-range {
    -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #F88000 0%, #F84800 var(--fill, 5%), rgba(33, 29, 26, 0.12) var(--fill, 5%), rgba(33, 29, 26, 0.12) 100%);
}
.pricing-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%;
    background: #FFFFFF; border: 3px solid var(--brand); box-shadow: 0 6px 16px rgba(248, 72, 0, 0.28); cursor: grab;
}
.pricing-range::-moz-range-thumb {
    width: 30px; height: 30px; border-radius: 50%;
    background: #FFFFFF; border: 3px solid var(--brand); box-shadow: 0 6px 16px rgba(248, 72, 0, 0.28); cursor: grab;
}
.pricing-range:focus-visible { box-shadow: 0 0 0 4px rgba(248, 96, 0, 0.25); }
.pricing-scale { position: relative; height: 1.2em; margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-muted); }
.pricing-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.pricing-scale span:first-child { transform: none; }
.pricing-scale span:last-child { transform: translateX(-100%); }
.pricing-min-note { margin-top: 1rem; font-size: 0.92rem; color: var(--ink-soft); font-weight: 300; }
.pricing-min-note a { color: var(--brand-deep); font-weight: 600; }
.pricing-result {
    position: relative; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-card);
    padding: 1.9rem; box-shadow: 0 18px 40px rgba(33, 29, 26, 0.08); text-align: center;
}
.price-figure { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0 0 0.35rem; line-height: 1; }
/* The global `span { display:flex }` rule stacked these inline spans into
   five lines ("About $ / 750 / per month for / 50 / residents"). */
.price-figure span, .price-total span { display: inline; }
.price-currency { font-size: 1.6rem; vertical-align: top; color: var(--brand-deep); }
#price-rate { font-size: clamp(3.2rem, 8vw, 4.5rem); color: var(--brand-deep); }
.price-unit { font-family: var(--font-primary); font-weight: 400; font-size: 0.95rem; color: var(--ink-soft); margin-left: 0.3rem; }
.price-total { color: var(--ink-soft); font-weight: 300; margin: 0 0 1.4rem; }
.price-total strong { color: var(--ink); font-weight: 600; }
.pricing-points { margin-top: 1.25rem; text-align: left; }
.tier-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.tier {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    background: var(--card); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1rem 1.25rem;
    box-shadow: var(--shadow-rest); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tier.is-active { border-color: var(--brand); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.tier-range { font-weight: 500; }
.tier-rate { font-family: var(--font-display); font-weight: 700; color: var(--brand-deep); font-size: 1.25rem; white-space: nowrap; }
.tier-rate small { font-family: var(--font-primary); font-weight: 400; color: var(--ink-muted); font-size: 0.75rem; margin-left: 0.15rem; }
.pricing-footnote { margin-top: 1.25rem; text-align: center; color: var(--ink-muted); font-size: 0.92rem; font-weight: 300; }
@media (min-width: 900px) {
    .pricing-panel { grid-template-columns: 1.3fr 1fr; padding: 2.5rem; align-items: center; }
    .tier-list { grid-template-columns: repeat(5, 1fr); }
    .tier { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}


/* ── Post card mock (landing "Share meaningful updates" tile, 2026-09-15) ──
   Mirrors the app's update card: author row, text, photo, reactions. */
.post-mock {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.1rem 1.15rem 0.95rem;
    box-shadow: 0 14px 34px rgba(33, 29, 26, 0.09);
    margin-bottom: 1.6rem;
    max-width: 30rem;
}
.post-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; }
.post-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-gradient-strong); color: #FFFFFF;
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; flex: none;
}
.post-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.post-meta strong { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.post-meta small { font-size: 0.76rem; color: var(--ink-muted); }
.post-text { font-size: 0.98rem; line-height: 1.5; color: var(--ink); margin: 0 0 0.85rem; font-weight: 400; }
.post-photo { display: block; border-radius: 0.9rem; overflow: hidden; aspect-ratio: 4 / 3; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-actions { display: flex; align-items: center; gap: 1.1rem; margin-top: 0.85rem; font-size: 0.9rem; color: var(--ink-soft); }
.post-actions i { margin-right: 0.3rem; }
.post-actions .fa-heart { color: var(--brand); }
.post-family { margin-left: auto; font-size: 0.76rem; color: var(--ink-muted); }

.footer-credit { margin-top: 1.1rem; font-size: 0.72rem; color: rgba(255,255,255,0.45); line-height: 1.4; }
.footer-credit a { color: rgba(255,255,255,0.6); text-decoration: underline; }


/* ── Tablet tile composition (Dave, 2026-09-15) ────────────────────────
   The device was anchored to the bottom of a tall beige frame, leaving a
   dead zone above it. Now: bigger device, modest breathing room above,
   and its bottom edge dips slightly into the white text section. */
.bento-photos .bento-photo-frame {
    align-items: flex-end;
    padding: 1.75rem 1rem 0;
    overflow: visible;
}
.bento-photos .bento-photo-frame img {
    width: 100%;
    max-width: 390px;          /* was 310px (+26%) */
    margin-bottom: -1.75rem;    /* overlap into the text section */
}
.bento-photos h3 { padding-top: 3rem; }   /* clear the overlap */


/* ── Compose mock ("Simple staff app" tile, 2026-09-15) ────────────────
   Replaces the device render: a stylised "New update" composer so the tile
   shows the claim (post in seconds) instead of a stock home screen. */
.compose-frame {
    position: relative;
    justify-content: center;
    align-items: flex-end;
    padding: 2.75rem 1.25rem 0;
}
.compose-mock {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(33, 29, 26, 0.12);
    margin-bottom: -1.75rem;   /* overlap into the text section, like the device did */
    text-align: left;
}
.compose-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    margin-bottom: 0.85rem; color: var(--ink);
}
.compose-head i { color: var(--ink-muted); font-size: 0.95rem; }
.compose-resident { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.8rem; }
.compose-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sand); color: var(--brand-deep);
    font-family: var(--font-display); font-weight: 700;
}
.compose-meta { display: flex; flex-direction: column; line-height: 1.2; }
.compose-meta strong { font-size: 0.92rem; font-weight: 600; }
.compose-meta small { font-size: 0.74rem; color: var(--ink-muted); }
.compose-text {
    position: relative;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 1.6rem 0.9rem 0.85rem;
    margin-bottom: 0.8rem;
}
.compose-text p { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink); }
.compose-suggest {
    position: absolute; top: 0.55rem; left: 0.8rem;
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--brand-deep);
}
.compose-suggest i { margin-right: 0.25rem; }
.compose-attach { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.95rem; font-size: 0.82rem; color: var(--ink-soft); }
.compose-attach img { width: 48px; height: 48px; border-radius: 0.6rem; object-fit: cover; display: block; }
.compose-post {
    display: block; text-align: center;
    background: var(--brand-gradient-strong); color: var(--on-brand);
    font-weight: 600; font-size: 0.95rem;
    padding: 0.8rem; border-radius: 999px;
    box-shadow: 0 10px 22px rgba(248, 72, 0, 0.22);
}
.compose-toast {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    background: #FFFFFF; border: 1px solid var(--line);
    border-radius: 999px; padding: 0.45rem 0.85rem;
    font-size: 0.78rem; font-weight: 600; color: var(--ink);
    box-shadow: 0 10px 24px rgba(33, 29, 26, 0.12);
}
.compose-toast i { color: #2E9E5B; margin-right: 0.3rem; }
/* the device-era absolute rule no longer applies — no <img> directly in the frame */

/* Compose mock lives inside .bento-photos, whose generic h3/p padding
   rules would otherwise squeeze the card's own text. */
.bento-photos .compose-mock p { padding: 0; }
.bento-photos .compose-mock strong,
.bento-photos .compose-mock small { padding: 0; }

/* Compose tile composition: centre the card in the beige frame, pin the
   toast to its corner, ghost a second card behind for depth (no dead zone). */
.compose-frame {
    align-items: center;
    justify-content: center;
    padding: 2.25rem 1.25rem 2rem;
}
.compose-mock { margin-bottom: 0; }
.compose-mock::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    transform: rotate(-4deg) translate(-8px, 6px);
    opacity: 0.7;
}
.compose-frame .compose-toast {
    top: auto;
    bottom: calc(100% - 1.15rem);
    right: 0.5rem;
}
.compose-mock { z-index: 1; }
.bento-photos h3 { padding-top: 1.4rem; }
@media (min-width: 1024px) {
    .compose-frame .compose-toast { right: 1.25rem; top: 1.25rem; bottom: auto; }
    .compose-mock { transform: translateY(0.75rem); }
}

/* Final compose-tile alignment: outrank the generic frame rule so the card
   truly centres; calmer ghost card; icon-only attachment row. */
.bento-photos .compose-frame {
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 1.5rem;
}
.compose-mock { transform: none; }
@media (min-width: 1024px) { .compose-mock { transform: none; } }
.compose-mock::before { transform: rotate(-3deg) translate(-4px, 8px); opacity: 0.55; }
.compose-attach i { font-size: 1.05rem; color: var(--brand-deep); }

/* Why Gloria: the fifth card is the closing statement — sand panel, the
   site's own motif, so it reads as deliberate rather than an orphan. */
.why-card-closing {
    background: var(--sand);
    border-color: rgba(248, 96, 0, 0.18);
}
.why-card-closing .why-num { background: var(--brand-gradient-strong); color: #FFFFFF; border-color: transparent; }
@media (min-width: 900px) {
    .why-card-closing { padding: 2.4rem 3rem 2.4rem 5.75rem; }
    .why-card-closing .why-num { left: 2rem; top: 2.3rem; }
    .why-card-closing h3 { font-size: 1.35rem; }
    .why-card-closing p { max-width: 46rem; }
}


/* ═══ Feature-card UI mocks (features page, 2026-09-15) ═══════════════
   Tiny stylised app fragments in place of icons. Decorative only. */
.fc-mock {
    position: relative;
    height: 156px;
    border-radius: 1rem;
    background: var(--sand);
    padding: 0.9rem;
    margin-bottom: 1.1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
}
/* primitives */
.m-card { width: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.7rem 0.75rem; box-shadow: var(--shadow-rest); }
.m-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
.m-lines { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 0; }
.m-line { display: block; height: 7px; border-radius: 999px; background: rgba(33, 29, 26, 0.16); margin: 0.25rem 0; }
.m-line.m-faint { background: rgba(33, 29, 26, 0.09); }
.m-line.m-on { background: var(--brand); }
.m-w20{width:20%} .m-w35{width:35%} .m-w40{width:40%} .m-w45{width:45%} .m-w50{width:50%} .m-w55{width:55%} .m-w60{width:60%} .m-w70{width:70%} .m-w75{width:75%} .m-w80{width:80%} .m-w85{width:85%} .m-w90{width:90%} .m-w95{width:95%}
.m-avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-gradient-strong); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; }
.m-avatar.m-sm { width: 22px; height: 22px; font-size: 0.55rem; }
.m-avatar.m-alt { background: var(--sand); color: var(--brand-deep); border: 1px solid rgba(248,96,0,0.25); }
.m-photo { display: block; width: 100%; height: 34px; border-radius: 0.5rem; margin: 0.35rem 0; background: linear-gradient(135deg, #F9D7BD, #F4B48E 55%, #EFA07A); }
.m-photo-sm { height: 22px; }
.m-thumb { width: 28px; height: 28px; border-radius: 0.4rem; flex: none; background: linear-gradient(135deg, #F9D7BD, #EFA07A); }
.m-thumb-lg { width: 40px; height: 40px; }
.m-actions { margin: 0.2rem 0 0; font-size: 0.68rem; color: var(--ink-soft); gap: 0.35rem; }
.m-actions .fa-heart { color: var(--brand); }
.m-actions .fa-comment { margin-left: 0.3rem; }
.m-title { font-size: 0.76rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.m-badge { width: 24px; height: 24px; border-radius: 0.45rem; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--sand); color: var(--brand-deep); font-size: 0.7rem; }
.m-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.28rem 0.6rem; border-radius: 999px; background: var(--sand); color: var(--brand-deep); font-size: 0.64rem; font-weight: 600; white-space: nowrap; }
.m-chip-ok { background: #EAF6EE; color: #1F7A45; }
.m-chip-no { background: #F4F4F5; color: var(--ink-muted); }
/* feed */
.m-feed { width: 100%; display: flex; flex-direction: column; gap: 0.4rem; }
.m-feed-item { display: flex; align-items: center; gap: 0.5rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.45rem 0.6rem; }
/* calendar */
.m-cal { width: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.6rem 0.7rem; position: relative; }
.m-cal-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 600; margin-bottom: 0.35rem; }
.m-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 3px; }
.m-day { position: relative; font-size: 0.56rem; text-align: center; color: var(--ink-soft); line-height: 1.5; border-radius: 4px; }
.m-day-on { background: var(--brand-gradient-strong); color: #FFFFFF; font-weight: 700; }
.m-day-dot::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 3px; height: 3px; border-radius: 50%; background: var(--brand); transform: translateX(-50%); }
.m-chip-cal { position: absolute; right: 0.6rem; bottom: 0.55rem; box-shadow: var(--shadow-rest); }
/* newsletter */
.m-doc { position: relative; width: 78%; }
.m-doc-page { background: #FFFFFF; border: 1px solid var(--line); border-radius: 0.6rem 0.6rem 0.4rem 0.4rem; padding: 0.7rem 0.75rem 0.5rem; box-shadow: var(--shadow-rest); }
.m-doc-page .m-title { display: block; margin-bottom: 0.3rem; }
.m-chip-float { position: absolute; right: -0.9rem; top: -0.55rem; background: #FFFFFF; border: 1px solid var(--line); color: #1F7A45; box-shadow: var(--shadow-rest); }
/* toggles */
.m-settings { padding: 0.35rem 0.75rem; }
.m-toggle-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--ink); padding: 0.42rem 0; border-bottom: 1px solid var(--line); }
.m-toggle-row:last-child { border-bottom: 0; }
.m-toggle { width: 30px; height: 17px; border-radius: 999px; background: rgba(33,29,26,0.18); position: relative; flex: none; }
.m-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.m-toggle.m-on { background: var(--brand); }
.m-toggle.m-on::after { left: 15px; }
/* phone */
.m-phone { position: relative; width: 118px; height: 100%; background: #FFFFFF; border: 2px solid #2B2622; border-radius: 0.9rem; overflow: hidden; display: flex; flex-direction: column; }
.m-phone-bar { height: 26px; background: var(--sand); }
.m-phone-bar-brand { background: var(--brand-gradient-strong); display: flex; align-items: center; gap: 0.35rem; padding: 0 0.45rem; height: 34px; }
.m-onbrand { background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.6); }
.m-onbrand-line { background: rgba(255,255,255,0.6); margin: 0; }
.m-phone-body { padding: 0.5rem 0.55rem; flex: 1; }
.m-phone-body .m-feed-item { padding: 0.35rem; }
.m-fab { position: absolute; right: 0.5rem; bottom: 0.5rem; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-gradient-strong); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; box-shadow: 0 6px 14px rgba(248,72,0,0.35); }
.m-chip-toast { position: absolute; left: 50%; top: 0.55rem; transform: translateX(-50%); background: #FFFFFF; border: 1px solid var(--line); color: #1F7A45; font-size: 0.58rem; box-shadow: var(--shadow-rest); }
.m-tabs { display: flex; justify-content: space-around; align-items: center; height: 26px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 0.7rem; }
.m-tabs .m-tab-on { color: var(--brand); }
/* window */
.m-window { width: 100%; height: 100%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 0.7rem; overflow: hidden; display: flex; flex-direction: column; }
.m-window-bar { height: 18px; background: #F3EEE8; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.m-window-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(33,29,26,0.18); }
.m-window-body { display: flex; flex: 1; min-height: 0; }
.m-side { width: 30%; border-right: 1px solid var(--line); padding: 0.5rem 0.4rem; }
.m-side .m-line { height: 6px; margin: 0.3rem 0; }
.m-table { flex: 1; padding: 0.3rem 0.5rem; font-size: 0.58rem; }
.m-tr { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr; gap: 0.3rem; align-items: center; padding: 0.22rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.m-tr:last-child { border-bottom: 0; }
.m-th { color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.5rem; }
.m-pill { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 999px; background: #EAF6EE; color: #1F7A45; font-weight: 600; font-size: 0.52rem; text-align: center; }
.m-pill-off { background: var(--sand); color: var(--brand-deep); }
/* privacy */
.m-badge-lock { background: #EAF6EE; color: #1F7A45; }
.m-who { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.2rem; }

/* Why Gloria: numbers removed (Richard, 2026-09-15) — reclaim the gutter. */
.why-card { padding: 2rem; }
.why-num { display: none; }
@media (min-width: 900px) { .why-card-closing { padding: 2.4rem 3rem; } }

/* About: story without the photo (Richard, 2026-09-15) — single centred column. */
.story-solo { grid-template-columns: 1fr !important; }
.story-solo .story-copy { max-width: 46rem; margin: 0 auto; }


/* ── Logo lockup (Dave, 2026-09-16): optical alignment of mark + wordmark ──
   One flex row, mark ~12% larger, nudged down a hair to sit on the
   wordmark's visual baseline, tighter gap, slightly tightened letterfit. */
.logo > span,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.logo > span .logo-img,
.footer-logo .logo-img {
    display: block;
    transform: translateY(-3px);   /* tree base sits on the wordmark baseline */
}
.logo > span .logo-img { width: 34px; }
.footer-logo .logo-img { width: 31px; }
.logo-text {
    margin: 0;
    line-height: 1;
    letter-spacing: -0.012em;
    font-weight: 550;
}
@media (min-width: 1024px) {
    .logo > span .logo-img { width: 36px; }
}
