
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12pt;
    color: #111;
    background-image: url("../images/backgrounds/background25.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    margin: 0;
    padding: 20px 12px;
}

.centeredFloatingDiv {
    max-width: 920px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    background-image: url("../images/backgrounds/background99.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

a {
    color: inherit;
}

p {
    margin-bottom: 12px;
}

h1 {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(1.55rem, 3.8vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.015em;
    position: relative;
    padding: 35px;
    border: 10px double transparent;
    border-radius: 10px;
    color: black;
    text-align: center;
}

h1::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 10px double black;
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.headerDog {
    position: absolute;
    bottom: -10px;
    height: calc(100% + 10px);
    width: auto;
    pointer-events: none;
    z-index: 1;
}

.headerDogRight {
    right: 8px;
}

.headerDogLeft {
    left: 8px;
    transform: scaleX(-1);
}

h2 {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 600;
    margin-top: 0.85em;
    margin-bottom: 0.2em;
    font-size: clamp(1.1rem, 2.1vw, 1.4rem);
}

h3 {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 600;
    margin: 0.3rem 0 0.4rem;
    font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.legalSection h4 {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 600;
    margin: 0.7rem 0 0.35rem;
    font-size: clamp(0.96rem, 1.8vw, 1.05rem);
}

.legalSection ul,
.legalSection ol {
    margin: 0.35rem 0 0.8rem;
    padding-left: 1.35rem;
}

.legalSection li {
    margin-bottom: 0.42rem;
}

.legalSection p {
    margin-bottom: 0.72rem;
}

.legalSection .inlineCode {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

.decoratedTitle::before,
.decoratedTitle::after {
    content: "\2022";
    padding: 0 0.5rem;
}

.topNav {
    margin-top: 12px;
}

.topNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.navLink {
    display: inline-block;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.76);
}

.navLink:hover,
.navLink:focus-visible {
    background: rgba(255, 255, 255, 0.95);
}

.navLink.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.contentPanel {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 14px;
    padding: 16px 18px;
}

.heroIntro {
    margin-bottom: 6px;
}

main ul {
    padding-left: 1.2rem;
    margin-top: 0.6rem;
}

main li {
    margin-bottom: 0.55rem;
}

.productsGrid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.productCard {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 14px;
}

.productLogoLink {
    display: block;
    text-decoration: none;
}

.productLogo {
    display: block;
    width: min(100%, 250px);
    margin: 0 auto 12px;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.productMeta {
    font-size: 0.92rem;
    margin-top: 10px;
}

.appsPreviewGrid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.appMiniCard {
    text-decoration: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 12px;
}

.appMiniLogo {
    display: block;
    width: min(100%, 170px);
    margin: 0 auto 9px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.appMiniName {
    display: block;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.buttonRow,
.ctaRow {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ctaButton {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    padding: 9px 14px;
    border-radius: 10px;
    border: 2px solid #111;
    background: #111;
    color: #fff;
}

.ctaButton:hover,
.ctaButton:focus-visible {
    filter: brightness(1.1);
}

.ctaButton.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    border-color: rgba(0, 0, 0, 0.35);
}

.siteFooter {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    text-align: center;
    font-size: 0.9rem;
}

.siteFooter p {
    margin: 0;
}

@media (max-width: 860px) {
    .productsGrid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    body {
        padding: 12px 8px;
    }

    .centeredFloatingDiv {
        padding: 14px;
    }

    .contentPanel {
        padding: 12px 13px;
    }

    h1 {
        font-size: clamp(1.35rem, 7.5vw, 1.9rem);
        padding: 20px 14px;
        border-width: 6px;
    }

    h1::after {
        inset: -6px;
        border-width: 6px;
    }

    .headerDog {
        bottom: -6px;
        height: calc(100% + 6px);
    }

    h2 {
        font-size: clamp(1rem, 5.2vw, 1.25rem);
    }

    .navLink {
        padding: 8px 12px;
    }
}

@media (max-width: 450px) {
    h1 {
        font-size: clamp(1.1rem, 6.2vw, 1.45rem);
        line-height: 1.1;
        padding: 14px 10px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: clamp(0.95rem, 5.2vw, 1.2rem);
        line-height: 1.05;
        padding: 13px 8px;
    }
}
