:root {
    --bg: #ffffff;
    --text: #18181b;
    --muted: #6b7280;
    --orange: #ff7a18;
    --orange-dark: #e0680e;
    --dark: #1c1c1f;
    --dark-2: #27272a;
    --border: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.public-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.public-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 32px auto 48px;
    padding: 0 20px;
    flex: 1 0 auto;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}
.logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
}

/* The signature button — black → orange */
.list-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    user-select: none;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    transition: background .35s ease, transform .15s ease, box-shadow .35s ease;
    overflow: hidden;
}
.list-btn::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}
.list-btn:hover::before,
.list-btn:focus::before { opacity: 1; }
.list-btn:hover, .list-btn:focus {
    box-shadow: 0 6px 24px rgba(255,122,24,.35);
    outline: none;
}
.list-btn:active { transform: scale(.985); }
.list-btn.is-loading {
    pointer-events: none;
    opacity: .85;
}
.list-btn.is-loading::before { opacity: 1; }
.list-icon, .list-label { position: relative; z-index: 1; }
.list-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
}
.list-label {
    display: block;
    width: 100%;
    text-align: center;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.social {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    background: var(--dark);
    min-height: 50px;
}
.social:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.social:active { transform: translateY(0); }

.social-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    font-weight: 800;
    font-size: 16px;
}
.social-label {
    display: block;
    width: 100%;
    text-align: center;
}

/* Per-network theming, kept dark-ish per brand request */
.social--web  { background: #2d2d33; }
.social--fb   { background: #1877f2; }
.social--ig   { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #515bd4 100%); }
.social--tt   { background: #111111; }
.social--wa   { background: #25d366; }
.social--wac  { background: #128c7e; }

/* 404 */
.error-code {
    text-align: center;
    font-size: 72px;
    margin: 60px 0 8px;
    color: var(--dark);
    letter-spacing: -0.04em;
}
.error-msg { text-align: center; color: var(--muted); margin: 0 0 24px; }
.error-back {
    align-self: center;
    background: var(--dark); color: #fff;
    padding: 10px 18px; border-radius: 10px;
    text-decoration: none; font-weight: 600;
    transition: background .25s;
}
.error-back:hover { background: var(--orange); }

/* ----- Shared site footer ----- */
.site-footer {
    flex-shrink: 0;
    background: #fff;
    padding: 14px 16px;
}
.site-footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-footer-img {
    max-height: 96px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
