/* intro.css — mobile-first. Hero overlay technique copied from SPS's
   launcher.css (assets/launcher.css, .menu-hero::before): the photo sits
   on its own layer at 22% opacity over a white background via ::before,
   not a dark tint over a fully-opaque image. Colours/copy are independent
   of SPS's — this app doesn't load or reference SPS's CSS file directly,
   deliberately, to keep the two apps' assets from ever depending on each
   other across the isolation boundary. */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Roboto, Tahoma, Arial, sans-serif;
}

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    padding: 48px 20px 40px;
    box-sizing: border-box;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/alice.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.22;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.lang-switch {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.lang-switch a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6C3D77;
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-switch a.active {
    background-color: #6C3D77;
    color: #fff;
}

.wrap {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    padding: 28px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.wrap h1 {
    text-align: center;
    color: #6C3D77;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 20px;
}

.wrap p {
    font-size: 1rem;
    line-height: 1.55;
    color: #333;
    margin: 0 0 16px;
}

.cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #6C3D77;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 24px;
    transition: background-color 0.15s ease-in-out;
}

.cta:hover,
.cta:active {
    background-color: #CD5195;
    color: #fff;
}

@media (min-width: 600px) {
    .wrap { padding: 40px 48px; }
    .wrap h1 { font-size: 2rem; }
    .wrap p { font-size: 1.05rem; }
    .cta { width: auto; display: inline-block; padding: 14px 40px; }
    .cta-row { text-align: center; }
}
