
:root {
    --bg: #ffffff;
    --box-bg: #ffffff;
    --yellow: #fef08a;
    --ink: #000000;
    --muted: #555555;
    --shadow-offset: 6px;
    --border: 3px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    padding: 16px;
}

.container {
    max-width: 880px;
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 8px;
    flex-wrap: wrap;
}

.brand {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    border: var(--border) solid var(--ink);
    padding: 10px 28px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;    
    font-weight: 900;
    font-size: clamp(1.5rem, 7vw, 3.5rem);
    letter-spacing: -0.02em;
    text-transform: lowercase;
    text-decoration: none;
    line-height: 1;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--ink);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.brand:hover,
.brand:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 var(--ink);
    outline: none;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
width: clamp(110px, 22vw, 180px);
    height: auto;
    display: block;
}

/* fallback if logo.png is missing */
.site-logo img:not([src]),
.site-logo img[src=""] {
    display: none;
}

.hero {
    text-align: center;
    margin: 32px 0 24px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-transform: uppercase;
    text-align: center;
    margin: 32px 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.page-meta {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.box {
    background: var(--box-bg);
    border: var(--border) solid var(--ink);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--ink);
    padding: 24px;
    margin: 0 0 32px;
}

.box h2 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: var(--border) solid var(--ink);
    letter-spacing: 0.01em;
}

.box p,
.box ul,
.box ol {
    margin-bottom: 12px;
}

.box > *:last-child {
    margin-bottom: 0;
}

.box ul,
.box ol {
    padding-left: 22px;
}

.box li {
    margin-bottom: 6px;
}

.box a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 600;
    word-break: break-word;
}

.box a:hover,
.box a:focus-visible {
    background: var(--yellow);
    outline: none;
}

.appstore-link {
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.appstore-link:hover,
.appstore-link:focus-visible {
    transform: scale(1.04);
    opacity: 0.85;
    outline: none;
}

.appstore-link img {
    width: clamp(120px, 30vw, 175px);
    height: auto;
    display: block;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

@media (min-width: 600px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cta {
    display: block;
    background: var(--yellow);
    border: var(--border) solid var(--ink);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--ink);
    padding: 28px 20px;
    color: var(--ink);
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.35rem;
    text-transform: uppercase;
    text-align: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    letter-spacing: 0.01em;
}

.cta:hover,
.cta:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 var(--ink);
    outline: none;
}

.cta-sub {
    display: block;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.back-link {
    display: inline-block;
    margin: 8px 0 24px;
    padding: 6px 14px;
    border: var(--border) solid var(--ink);
    background: var(--box-bg);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.back-link:hover,
.back-link:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
    background: var(--yellow);
    outline: none;
}


.site-footer {
    text-align: center;
    padding: 40px 0 16px;
    font-size: 0.85rem;
    color: var(--muted);
}

.site-footer a {
    color: var(--ink);
    text-decoration: underline;
    margin: 0 8px;
    font-weight: 600;
}

.site-footer a:hover {
    background: var(--yellow);
}

.bmc-link {
    display: inline-block;
    margin-top: 40px;
    background: none !important;
    transition: transform 0.15s ease;
    cursor: pointer;
}

.bmc-link:hover {
    background: none !important;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    :root {
        --shadow-offset: 4px;
        --border: 2px;
    }

    body {
        padding: 12px;
    }

    .box {
        padding: 18px;
    }

    .site-header {
        padding: 16px 0 4px;
    }

    .brand {
        padding: 8px 20px;
    }
}

@media (min-width: 1024px) {
    body {
        padding: 24px;
    }
}

a:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}
