/* Shared bottleshock marketing site */
:root {
    --bs-bg: #f5f5f7;
    --bs-surface: #ffffff;
    --bs-text: #1d1d1f;
    --bs-muted: #86868b;
    --bs-border: #e5e5e7;
    --bs-brand: #562c63;
    --bs-brand-light: #f3edf5;
    --bs-radius: 18px;
    --bs-max: 1080px;
}

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

body {
    font-family: -apple-system, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial,
        "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
    background-color: var(--bs-bg);
    color: var(--bs-text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    color: var(--bs-brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.85rem 5%;
    background: rgba(245, 245, 247, 0.82);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    overflow: visible;
}

.site-header.scrolled {
    border-bottom-color: var(--bs-border);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bs-text);
    text-decoration: none;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand img {
    width: 32px;
    height: 32px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.92rem;
    overflow: visible;
}

.site-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    min-width: 0;
}

.site-nav-tools {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: auto;
}

.site-nav a,
.nav-menu-panel a {
    color: var(--bs-muted);
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active,
.nav-menu-panel a:hover,
.nav-menu-panel a.active {
    color: var(--bs-text);
}

.site-nav-cta {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--bs-brand);
    color: #fff !important;
    font-weight: 600;
}

.site-nav-cta:hover {
    text-decoration: none;
    opacity: 0.92;
}

.site-nav-menu {
    position: relative;
    display: none;
}

.nav-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: var(--bs-surface);
    cursor: pointer;
    line-height: 0;
    flex-shrink: 0;
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.nav-menu-toggle:hover,
.site-nav-menu.open .nav-menu-toggle {
    background: var(--bs-surface);
    border-color: var(--bs-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 18px;
}

.nav-menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: var(--bs-text);
    transition: transform 0.15s, opacity 0.15s;
}

.site-nav-menu.open .nav-menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav-menu.open .nav-menu-icon span:nth-child(2) {
    opacity: 0;
}

.site-nav-menu.open .nav-menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 13.5rem;
    padding: 0.35rem;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 200;
}

.nav-menu-panel a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.88rem;
    white-space: normal;
}

.nav-menu-panel a:hover,
.nav-menu-panel a.active {
    background: var(--bs-bg);
    text-decoration: none;
}

.lang-switch {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--bs-border);
    border-radius: 50%;
    background: var(--bs-surface);
    cursor: pointer;
    line-height: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.lang-toggle-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-toggle-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-toggle:hover,
.lang-switch.open .lang-toggle {
    background: var(--bs-surface);
    border-color: var(--bs-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 9.5rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 200;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: none;
    border-radius: 8px;
    background: none;
    font: inherit;
    font-size: 0.88rem;
    color: var(--bs-text);
    cursor: pointer;
    text-align: left;
}

.lang-option-flag {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
}

.lang-option-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-option:hover {
    background: var(--bs-bg);
}

.lang-option.active {
    background: var(--bs-brand-light);
    font-weight: 600;
}

.lang-option.active span:last-child::after {
    content: " ✓";
    color: var(--bs-brand);
    font-weight: 700;
}

@media (max-width: 767px) {
    .site-header {
        padding: 0.55rem max(0.85rem, env(safe-area-inset-right, 0.85rem))
            0.55rem max(0.85rem, env(safe-area-inset-left, 0.85rem));
        gap: 0.65rem;
        overflow: visible;
    }

    .site-brand {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .site-nav {
        display: none;
    }

    .site-nav-links {
        display: none;
    }

    .site-nav-menu {
        display: block;
    }

    .site-nav-tools {
        gap: 0.55rem;
        margin-left: 0;
    }

    .nav-menu-toggle,
    .lang-toggle {
        width: 42px;
        height: 42px;
        border-color: var(--bs-border);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-menu-icon {
        width: 16px;
        gap: 4px;
    }

    .nav-menu-icon span {
        height: 2px;
    }

    .lang-toggle-flag {
        width: 28px;
        height: 28px;
    }

    .nav-menu-panel,
    .lang-menu {
        top: calc(100% + 0.5rem);
    }
}

/* Feature tiles */
.feature-section {
    background: var(--bs-surface);
    padding: 5rem 5% 5.5rem;
    border-top: 1px solid var(--bs-border);
}

.feature-section-inner {
    max-width: var(--bs-max);
    margin: 0 auto;
}

.feature-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.feature-section .lead {
    text-align: center;
    color: var(--bs-muted);
    font-size: 1.15rem;
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

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

.feature-tile {
    background: var(--bs-bg);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    padding: 1.75rem 1.85rem;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s;
}

.feature-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-tile.wide {
    grid-column: 1 / -1;
}

.feature-tile h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: -0.2px;
}

.feature-tile h3 em {
    font-style: normal;
    color: var(--bs-brand);
}

.feature-tile p {
    color: var(--bs-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.feature-tile .tile-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature-section h2 {
        font-size: 2rem;
    }
}

/* Site footer */
.site-footer {
    background: #fafafa;
    border-top: 1px solid var(--bs-border);
    padding: 2rem 5% 2.5rem;
    text-align: center;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.site-footer-links a {
    color: var(--bs-muted);
}

.site-footer-links a:hover {
    color: var(--bs-text);
}

.site-footer-links .sep {
    color: #c7c7cc;
}

.site-footer-copy {
    font-size: 0.82rem;
    color: var(--bs-muted);
}

/* GDPR consent banner */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 0.85rem 5%;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--bs-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.consent-banner-inner {
    max-width: 960px;
    margin: 0 auto;
}

.consent-banner-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--bs-text);
    margin: 0 0 0.75rem;
}

.consent-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}

.consent-link {
    font-size: 0.82rem;
    color: var(--bs-muted);
    margin-right: auto;
}

.consent-link:hover {
    color: var(--bs-text);
}

.consent-btn {
    font: inherit;
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border);
    cursor: pointer;
    white-space: nowrap;
}

.consent-btn-primary {
    background: var(--bs-text);
    color: #fff;
    border-color: var(--bs-text);
}

.consent-btn-secondary {
    background: #fff;
    color: var(--bs-text);
}

.consent-btn:hover {
    opacity: 0.88;
}

.consent-panel {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--bs-border);
}

.consent-panel-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
}

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
    cursor: pointer;
}

.consent-option-locked {
    opacity: 0.72;
    cursor: default;
}

.consent-option input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.consent-option-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--bs-muted);
    margin-top: 0.15rem;
}

.site-footer-links .privacy-settings {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: inherit;
    color: var(--bs-muted);
    cursor: pointer;
    text-decoration: none;
}

.site-footer-links .privacy-settings:hover {
    color: var(--bs-text);
}

/* Wine QR landing (/w/{id}) */
.wine-page-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 12rem);
}

.wine-landing {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.wine-state[hidden] {
    display: none !important;
}

.wine-bottle-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 280px;
    margin-bottom: 1.25rem;
}

.wine-bottle {
    max-height: 320px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.12));
}

.wine-bottle-fallback {
    max-height: 120px;
    opacity: 0.35;
    filter: none;
}

.wine-winery {
    font-size: 0.92rem;
    color: var(--bs-muted);
    margin-bottom: 0.35rem;
}

.wine-name {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin-bottom: 0.45rem;
}

.wine-meta {
    font-size: 0.95rem;
    color: var(--bs-muted);
    margin-bottom: 1.35rem;
}

.wine-open-app {
    display: inline-block;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.wine-install-lead {
    font-size: 0.88rem;
    color: var(--bs-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

/* Store badges on wine / QR / get pages (site.css only — home uses home-scrolly.css). */
.download-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    height: 42px;
}

.download-buttons a {
    display: inline-block;
    height: 42px;
    line-height: 0;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.download-buttons a:hover {
    transform: scale(1.04);
    text-decoration: none;
}

.download-buttons img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.wine-store-buttons {
    justify-content: center;
    margin: 0 auto;
}

.wine-error-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.wine-state > h1 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* Document pages */
.page-main {
    padding: 6.5rem 5% 4rem;
    min-height: 70vh;
}

.page-inner {
    max-width: 720px;
    margin: 0 auto;
}

.page-inner.wide {
    max-width: var(--bs-max);
}

.page-main h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.page-main .subtitle {
    color: var(--bs-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.doc-body {
    text-align: left;
}

.doc-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    text-align: left;
}

.doc-body p,
.doc-body li {
    color: #424245;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.doc-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.company-info {
    width: 100%;
    border-collapse: collapse;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.company-info th,
.company-info td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--bs-border);
    line-height: 1.6;
}

.company-info tr:last-child th,
.company-info tr:last-child td {
    border-bottom: none;
}

.company-info th {
    width: 8.5rem;
    color: var(--bs-muted);
    font-size: 0.92rem;
    font-weight: 600;
    background: var(--bs-bg);
}

.company-info td {
    color: #424245;
}

@media (max-width: 520px) {
    .company-info th,
    .company-info td {
        display: block;
        width: 100%;
        padding: 0.65rem 1rem;
    }

    .company-info th {
        padding-bottom: 0.25rem;
        border-bottom: none;
        background: transparent;
    }

    .company-info td {
        padding-top: 0;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid var(--bs-border);
    }
}

/* About */
.about-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero img {
    width: 96px;
    height: 96px;
    margin-bottom: 1.25rem;
}

.founder-quote {
    background: var(--bs-brand-light);
    border-left: 4px solid var(--bs-brand);
    border-radius: 0 var(--bs-radius) var(--bs-radius) 0;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.founder-quote blockquote {
    font-size: 1.15rem;
    line-height: 1.85;
    font-weight: 500;
    margin-bottom: 1rem;
}

.founder-quote cite {
    color: var(--bs-muted);
    font-style: normal;
    font-size: 0.95rem;
}

.join-card {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    padding: 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.doc-body .join-card h2 {
    margin-bottom: 0.75rem;
    text-align: center;
}

.join-card .btn-primary {
    margin: 0 auto;
}

.join-card p {
    color: var(--bs-muted);
    margin-bottom: 1.25rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: var(--bs-brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary:hover {
    text-decoration: none;
    opacity: 0.92;
}

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border);
    background: var(--bs-surface);
    color: var(--bs-text);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

/* Backyard business page */
.biz-hero {
    text-align: center;
    padding: 1rem 0 2.5rem;
}

.biz-hero h1 .biz-kicker {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-brand);
    margin-bottom: 0.35rem;
}

.backyard-showcase {
    margin: 0 0 2rem;
    text-align: center;
    background: transparent;
}

.backyard-showcase img {
    width: 100%;
    max-width: 960px;
    height: auto;
    display: block;
    margin: 0 auto;
    background: transparent;
}

.biz-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.biz-card {
    background: var(--bs-bg);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    padding: 1.5rem;
}

.biz-card strong {
    display: block;
    margin-bottom: 0.5rem;
}

.biz-card p {
    color: var(--bs-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .biz-cards {
        grid-template-columns: 1fr;
    }
}

/* Store coming-soon dialog */
.bs-dialog {
    border: none;
    border-radius: var(--bs-radius);
    padding: 0;
    width: min(28rem, calc(100vw - 2rem));
    max-width: min(28rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: auto;
    position: fixed;
    inset: 0;
    overflow: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.bs-dialog:not([open]) {
    display: none;
}

.bs-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.bs-dialog-title {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.5rem 1.75rem 0;
    letter-spacing: -0.2px;
}

.bs-dialog-body {
    padding: 1rem 1.75rem 0;
    color: #424245;
    line-height: 1.85;
}

.bs-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 1.5rem 1.75rem 1.75rem;
}

.bs-dialog-actions .btn-secondary {
    margin-left: 0;
    cursor: pointer;
    font: inherit;
}

.store-badge {
    cursor: pointer;
}

/* Phone layout — 767px and below; tablet/desktop unchanged at 768px+ */
@media (max-width: 767px) {
    .site-brand {
        font-size: 0.95rem;
    }

    .site-brand img {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .nav-menu-panel {
        min-width: 12.5rem;
    }

    .nav-menu-panel a {
        font-size: 0.82rem;
        padding: 0.55rem 0.65rem;
    }

    .lang-menu {
        min-width: 8.75rem;
    }

    .lang-option {
        font-size: 0.82rem;
        padding: 0.45rem 0.55rem;
    }

    .feature-section {
        padding: 2.75rem 1.25rem 3rem;
    }

    .feature-section h2 {
        font-size: 1.45rem;
        margin-bottom: 0.5rem;
    }

    .feature-section .lead {
        font-size: 0.88rem;
        margin-bottom: 1.75rem;
        line-height: 1.65;
    }

    .feature-tile {
        padding: 1.25rem 1.2rem;
    }

    .feature-tile h3 {
        font-size: 1.05rem;
        margin-bottom: 0.45rem;
    }

    .feature-tile p {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .feature-tile .tile-link {
        font-size: 0.85rem;
    }

    .page-main {
        padding: 4.75rem 1.25rem 2.5rem;
    }

    .page-main h1 {
        font-size: 1.55rem;
    }

    .page-main .subtitle {
        font-size: 0.88rem;
        margin-bottom: 1.75rem;
        line-height: 1.55;
    }

    .doc-body h2 {
        font-size: 1.05rem;
        margin: 1.5rem 0 0.5rem;
    }

    .doc-body p,
    .doc-body li {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .about-hero img {
        width: 72px;
        height: 72px;
    }

    .about-hero h1 {
        font-size: 1.45rem;
    }

    .about-hero .subtitle {
        font-size: 0.88rem;
    }

    .biz-hero h1 {
        font-size: 1.35rem;
        line-height: 1.35;
    }

    .biz-hero h1 .biz-kicker {
        font-size: 0.9rem;
    }

    .biz-hero .subtitle {
        font-size: 0.88rem;
    }

    .biz-card p {
        font-size: 0.88rem;
    }

    .founder-quote blockquote {
        font-size: 0.9rem;
    }

    .join-card {
        padding: 1.35rem 1.25rem;
    }

    .join-card h2 {
        font-size: 1.15rem;
    }

    .join-card p {
        font-size: 0.88rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.88rem;
        padding: 0.55rem 1rem;
    }

    .site-footer {
        padding: 1.5rem 1.25rem 2rem;
    }

    .site-footer-links {
        font-size: 0.78rem;
        gap: 0.25rem 0.35rem;
    }

    .site-footer-copy {
        font-size: 0.75rem;
    }

    .bs-dialog-title {
        font-size: 1.1rem;
        padding: 1.25rem 1.25rem 0;
    }

    .bs-dialog-body {
        font-size: 0.88rem;
        padding: 0.85rem 1.25rem 0;
        line-height: 1.7;
    }

    .bs-dialog-actions {
        padding: 1.15rem 1.25rem 1.35rem;
    }

    .consent-banner {
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
    }

    .consent-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-link {
        margin-right: 0;
        text-align: center;
    }

    .consent-btn {
        width: 100%;
        text-align: center;
    }
}
