/* ===== ABONGLAB APP PAGES: clean iOS product page design system ===== */
/* Shared by digsy/index.html and pigeon/index.html. Each page sets its own
   accent color via a body class (body.digsy or body.pigeon). */

:root {
    --accent: #059669;
    --accent-dark: #047857;
    --accent-light: #10b981;
    --accent-soft: rgba(16, 185, 129, 0.1);
    --accent-soft-strong: rgba(16, 185, 129, 0.18);

    --ink: #0f172a;
    --ink-soft: #475569;
    --ink-faint: #94a3b8;
    --paper: #ffffff;
    --paper-alt: #f8fafc;
    --paper-tint: #f1f5f9;
    --border: #e2e8f0;
    --border-soft: #edf2f7;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

body.pigeon {
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #3b82f6;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --accent-soft-strong: rgba(37, 99, 235, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
}

img, svg {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    position: relative;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAV ===== */
.app-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.app-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.app-nav__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.app-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
}

/* App-name wordmark (replaces the old icon squares) */
.wordmark {
    display: inline-block;
    line-height: 1;
}

body.digsy .wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    color: var(--accent-dark);
}

body.pigeon .wordmark {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: var(--accent);
}

.app-footer__brand .wordmark {
    color: var(--accent-light);
}

.app-nav__links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.app-nav__links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.app-nav__links a:hover {
    color: var(--ink);
}

.app-nav__home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--paper-tint);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--ink-soft) !important;
}

.app-nav__toggle {
    display: none;
}

/* ===== HERO ===== */
.hero {
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 1.1rem;
    color: var(--ink);
}

.hero h1 span {
    color: var(--accent);
}

.hero__subtext {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero__note {
    font-size: 0.82rem;
    color: var(--ink-faint);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    color: #fff;
    box-shadow: 0 10px 28px var(--accent-soft-strong);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px var(--accent-soft-strong);
}

.btn-outline {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== OFFICIAL-STYLE APP STORE BADGE =====
   Reusable component: black rounded badge with Apple glyph + two-line label.
   Works on both the light app pages and (via styles.css) the dark homepage. */
.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 11px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.appstore-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.3);
    border-color: rgba(255, 255, 255, 0.55);
}

.appstore-badge__glyph {
    width: 21px;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.appstore-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
}

.appstore-badge__line1 {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #fff;
}

.appstore-badge__line2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    margin-top: 1px;
}

.price-card__cta {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

/* ===== PHONE MOCKUP (shared shell) ===== */
.phone-stage {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone {
    width: 280px;
    border-radius: 44px;
    background: linear-gradient(160deg, #1b1b1f, #050506);
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.06);
    transform: rotateY(-8deg) rotateX(2deg);
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.phone__screen {
    background: var(--paper);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 19.5;
    display: flex;
    flex-direction: column;
}

.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #050506;
    border-radius: 20px;
    z-index: 5;
}

.phone__content {
    flex: 1;
    padding: 2.6rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: var(--paper-alt);
}

.phone__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.phone__topbar span:first-child {
    color: var(--accent-dark);
}

/* Digsy mock content */
.mock-card {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    box-shadow: var(--shadow-sm);
}

.mock-building {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mock-building + .mock-building {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-soft);
}

.mock-building__name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
}

.mock-building__unit {
    display: block;
    font-size: 0.62rem;
    color: var(--ink-faint);
}

.mock-building__rent {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
}

.mock-building__rent small {
    font-weight: 500;
    color: var(--ink-faint);
}

.mock-row {
    display: flex;
    gap: 0.5rem;
}

.mock-pill {
    flex: 1;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 12px;
    padding: 0.55rem 0.6rem;
    font-size: 0.66rem;
    font-weight: 600;
    text-align: center;
}

/* Pigeon mock content */
.mock-station {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
    box-shadow: var(--shadow-sm);
}

.mock-station__name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
    display: block;
    margin-bottom: 0.45rem;
}

.mock-station__counts {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.mock-count {
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
}

.mock-count--bikes {
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-dark);
}

.mock-count--docks {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.mock-alert {
    font-size: 0.62rem;
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    display: inline-block;
}

.mock-route {
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 0.5rem 0.6rem;
    box-shadow: var(--shadow-sm);
}

.mock-diary {
    font-size: 0.66rem;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 0.6rem 0.7rem;
    box-shadow: var(--shadow-sm);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: var(--paper-alt);
    padding: 1.75rem 0;
}

.trust-strip__row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-item__value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
}

.trust-item__label {
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== SECTION HEADERS ===== */
.section {
    padding: 5.5rem 0;
}

.section-alt {
    background: var(--paper-alt);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    color: var(--ink);
}

.section__desc {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== WHY SECTION ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.why-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.why-card--problem h3::before {
    content: '😩 ';
}

.why-card--solution {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-soft), transparent 60%);
}

.why-card--solution h3::before {
    content: '✅ ';
}

.why-card p {
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.feature-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.feature-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 0.5rem;
}

.step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px var(--accent-soft-strong);
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.step p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.pricing-grid--triple {
    grid-template-columns: repeat(3, 1fr);
}

.price-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.9rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card--highlight {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.price-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.price-card h3 {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
}

.price-card__price {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.price-card__price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-faint);
}

.price-card__note {
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
}

.price-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.price-card li::before {
    content: '✓';
    color: var(--accent-dark);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item__q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.15rem 1.4rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.faq-item[data-open="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item__a-inner {
    padding: 0 1.4rem 1.15rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: #fff;
    margin: 0 1.5rem;
}

.final-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.final-cta p {
    opacity: 0.92;
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
}

.final-cta .btn-accent {
    background: #fff;
    color: var(--accent-dark);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.final-cta .btn-accent:hover {
    box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}

/* ===== LEGAL SECTIONS (privacy / terms / support) ===== */
.legal {
    padding: 4.5rem 0;
    border-top: 1px solid var(--border-soft);
}

.legal:target {
    animation: legal-highlight 1.4s ease;
}

@keyframes legal-highlight {
    0% { background: var(--accent-soft); }
    100% { background: transparent; }
}

.legal__inner {
    max-width: 760px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.legal__updated {
    color: var(--ink-faint);
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
    font-style: italic;
}

.legal h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.75rem 0 0.6rem;
}

.legal p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0.9rem;
    font-size: 0.96rem;
}

.legal ul, .legal ol {
    margin: 0 0 1rem 1.4rem;
    color: var(--ink-soft);
}

.legal li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 0.96rem;
}

.legal strong {
    color: var(--ink);
}

.legal a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-color: var(--accent-soft-strong);
}

.legal-callout {
    background: var(--paper-tint);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    margin: 1.25rem 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ===== FOOTER ===== */
.app-footer {
    background: var(--ink);
    color: #cbd5e1;
    padding: 3.5rem 0 2rem;
}

.app-footer__top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.75rem;
}

.app-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
}

.app-footer__links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.app-footer__col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
    transition: color 0.2s ease;
}

.app-footer__col a:hover {
    color: #fff;
}

.app-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.app-footer__bottom a {
    color: #94a3b8;
}

/* ===== ICON SYSTEM (inline SVG, stroke-based) ===== */
.feature-card__icon svg,
.route-mode-card__icon svg,
.why-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== APP IDENTITY: DIGSY =====
   Editorial, organized, slightly warm paper tone. Serif display type
   for headings gives it a trustworthy "ledger" feel distinct from Pigeon. */
body.digsy {
    --paper-alt: #faf9f6;
    --paper-tint: #f4f1e9;
    --border-soft: #ece6d8;
    --border: #e7e0d1;
    --ink: #1c1a15;
    --radius-lg: 22px;
}

body.digsy .hero h1,
body.digsy .section__title,
body.digsy .final-cta h2,
body.digsy .rent-ledger__total-label,
body.digsy .price-card h3 {
    font-family: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    letter-spacing: -0.01em;
}

body.digsy .hero__eyebrow,
body.digsy .section__eyebrow {
    letter-spacing: 0.14em;
}

body.digsy .feature-card,
body.digsy .why-card,
body.digsy .price-card,
body.digsy .faq-item,
body.digsy .rent-ledger,
body.digsy .compare-table {
    border-radius: var(--radius-lg);
}

/* ===== APP IDENTITY: PIGEON =====
   Kinetic, crisp, transit-app energy. Cool blue tints and a dashed
   bike-lane motif running behind key sections. */
body.pigeon {
    --paper-alt: #eef5ff;
    --paper-tint: #e3edfe;
    --border-soft: #dbe7fb;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;
}

body.pigeon .hero h1,
body.pigeon .section__title {
    letter-spacing: -0.03em;
}

body.pigeon .section__eyebrow {
    letter-spacing: 0.08em;
}

body.pigeon .feature-card,
body.pigeon .why-card,
body.pigeon .price-card,
body.pigeon .faq-item {
    border-radius: var(--radius-md);
}

.bikelane {
    position: relative;
}

.bikelane::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background-image: repeating-linear-gradient(90deg, var(--accent-light) 0 22px, transparent 22px 40px);
    opacity: 0.35;
}

/* ===== HERO VISUAL: floating cards, chips, background art ===== */
.hero-visual {
    position: relative;
    isolation: isolate;
}

.hero-visual__art {
    position: absolute;
    inset: -14% -10%;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

.hero-visual__art svg {
    width: 100%;
    height: 100%;
}

.float-card,
.float-chip {
    position: absolute;
    z-index: 3;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    animation: float-bob 6s ease-in-out infinite;
}

.float-card {
    padding: 0.85rem 1rem;
    width: 190px;
}

.float-chip {
    padding: 0.5rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Digsy hero extras */
.float-card--rent {
    top: 6%;
    left: -9%;
    animation-delay: -1.5s;
}

.float-card--rent .float-card__label {
    display: block;
    font-size: 0.68rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.float-card--rent .float-card__value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.float-card--rent .float-card__was {
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-decoration: line-through;
    margin-left: 0.4rem;
    font-weight: 500;
}

.float-chip--map {
    bottom: 10%;
    right: -7%;
    background: var(--accent-soft);
    border-color: transparent;
    animation-delay: -3s;
}

/* Pigeon hero extras */
.float-card--dock {
    top: 4%;
    right: -10%;
    animation-delay: -2s;
}

.float-card--dock .float-card__label {
    display: block;
    font-size: 0.68rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.float-card--dock .float-card__row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.float-card--dock .float-card__value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #dc2626;
}

.float-chip--speed {
    bottom: 6%;
    left: -8%;
    background: var(--accent-soft);
    border-color: transparent;
    animation-delay: -4.5s;
}

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

@media (max-width: 900px) {
    .float-card,
    .float-chip {
        display: none;
    }
}

/* ===== ROUTE LINE DRAW ANIMATION ===== */
.route-draw {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    transition: stroke-dashoffset 1.6s ease 0.15s;
}

.reveal.is-visible .route-draw {
    stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
    .route-draw {
        transition: none;
        stroke-dashoffset: 0;
    }
}

/* ===== DIGSY SIGNATURE SECTION: rent math ledger ===== */
.rent-math {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.rent-math__text h2 {
    font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--ink);
}

.rent-math__text p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.rent-ledger {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.75rem 2rem;
    position: relative;
}

.rent-ledger__tag {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.rent-ledger__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 0;
    font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.rent-ledger__row--concession {
    color: #b45309;
}

.rent-ledger__divider {
    border-top: 1px dashed var(--border);
    margin: 0.25rem 0;
}

.rent-ledger__row--total {
    padding-top: 0.9rem;
    font-family: inherit;
}

.rent-ledger__row--total .rent-ledger__total-label {
    font-weight: 700;
    color: var(--ink);
    font-size: 1rem;
}

.rent-ledger__row--total .rent-ledger__total-value {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--accent-dark);
}

.rent-ledger__note {
    font-size: 0.78rem;
    color: var(--ink-faint);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-soft);
}

/* ===== DIGSY SIGNATURE SECTION: compare table ===== */
.compare-table {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.compare-table__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
}

.compare-table__row > * {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.compare-table__row:last-child > * {
    border-bottom: none;
}

.compare-table__row--head {
    background: var(--paper-tint);
}

.compare-table__row--head > * {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.85rem;
}

.compare-table__label {
    font-weight: 600;
    color: var(--ink);
    background: var(--paper-alt);
}

.compare-table__winner {
    background: var(--accent-soft);
    color: var(--ink) !important;
    font-weight: 700;
    position: relative;
}

.compare-table__row--head .compare-table__winner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.compare-table__badge {
    display: inline-block;
    background: var(--accent-dark);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
}

/* ===== PIGEON SIGNATURE SECTION: dock alert demo ===== */
.dock-alert-demo {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    max-width: 460px;
    margin: 0 auto;
}

.dock-alert-demo__station {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dock-alert-demo__name {
    font-weight: 700;
    color: var(--ink);
    display: block;
}

.dock-alert-demo__name small {
    display: block;
    font-weight: 500;
    color: var(--ink-faint);
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

.dock-alert-demo__gauge {
    text-align: right;
}

.dock-countdown__num {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
    transition: color 0.3s ease;
}

.dock-countdown.is-critical .dock-countdown__num {
    color: #dc2626;
}

.dock-alert-demo__gauge-label {
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dock-alert-demo__track {
    height: 8px;
    border-radius: 50px;
    background: var(--paper-tint);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.dock-alert-demo__track-fill {
    height: 100%;
    width: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--accent-light), #dc2626);
    transition: width 1.2s ease;
}

.dock-countdown__alert {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #b91c1c;
    opacity: 0.45;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dock-countdown__alert svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #b91c1c;
    fill: none;
    stroke-width: 1.8;
}

.dock-countdown__alert.is-active {
    opacity: 1;
    transform: scale(1);
    animation: alert-pulse 1.6s ease-in-out infinite;
}

@keyframes alert-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
    .dock-countdown__alert.is-active {
        animation: none;
    }
}

/* ===== PIGEON SIGNATURE SECTION: ride diary timeline ===== */
.ride-diary {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}

.ride-diary::before {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background-image: repeating-linear-gradient(180deg, var(--border) 0 6px, transparent 6px 12px);
}

.ride-diary__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 0;
}

.ride-diary__item::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--paper-alt);
}

.ride-diary__squiggle {
    flex-shrink: 0;
    width: 72px;
    height: 44px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
}

.ride-diary__squiggle svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.ride-diary__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ride-diary__route {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.98rem;
}

.ride-diary__stats {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

/* ===== PIGEON SIGNATURE SECTION: routing modes ===== */
.route-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.route-mode-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.route-mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.route-mode-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-soft);
    margin-bottom: 1rem;
}

.route-mode-card h3 {
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.route-mode-card p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.example-caption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-top: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero__ctas, .hero__note {
        justify-content: center;
        text-align: center;
    }

    .hero__subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .phone {
        width: 240px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-grid,
    .pricing-grid--triple {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .price-card--highlight {
        transform: none;
    }

    .app-footer__top {
        flex-direction: column;
    }

    .rent-math {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .compare-table__row {
        grid-template-columns: 0.9fr 1fr 1fr 1fr;
    }

    .compare-table__row > * {
        padding: 0.75rem 0.6rem;
        font-size: 0.8rem;
    }

    .route-modes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .app-nav__links a:not(.app-nav__home) {
        display: none;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .trust-strip__row {
        gap: 1.5rem;
    }

    .final-cta {
        margin: 0 1rem;
        padding: 2.5rem 1.5rem;
    }

    .app-footer__links {
        gap: 1.5rem;
    }

    .compare-table {
        overflow-x: auto;
    }

    .compare-table__row {
        grid-template-columns: 90px repeat(3, minmax(110px, 1fr));
        min-width: 480px;
    }

    .dock-alert-demo {
        padding: 1.5rem;
    }

    .ride-diary {
        padding-left: 2rem;
    }

    .ride-diary__squiggle {
        width: 56px;
        height: 40px;
    }
}
