/* ============================================================================
 * pixistor.com — shared stylesheet for /get/, /agencies/ and /interest/
 * Copyright (C) 2026 Volander LLC. All rights reserved.
 *
 * Breakpoints: phone < 600px, tablet 600–959px, desktop >= 960px.
 * No inline styles are used anywhere on the site so that the Content Security
 * Policy can stay at style-src 'self' (see /.htaccess).
 * ========================================================================== */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}

/* ---- Tokens ------------------------------------------------------------- */

:root {
    --navy: #0A1428;
    --midnight: #0F1E3A;
    --slate: #1E3C7A;
    --blue: #2A7BFF;
    --blue-light: #6FA6FF;      /* link text on navy: passes AA at small sizes */
    --gold: #FFD166;
    --white: #FFFFFF;
    --white-70: rgba(255, 255, 255, 0.70);
    --white-12: rgba(255, 255, 255, 0.12);

    --font: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --measure: 38rem;           /* comfortable line length for body copy */
    --page: 72rem;              /* max content width */
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius-sm: 6px;
    --radius-lg: 14px;

    color-scheme: dark;
}

/* ---- Base --------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 1rem);
    background: var(--navy);
}

body {
    margin: 0;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--navy);
    color: var(--white);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue-light);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);
    color: var(--gold);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
    color: var(--white);
}

h3 {
    font-size: 1.1rem;
    color: var(--white);
}

p {
    margin: 0 0 1em;
    max-width: var(--measure);
}

.muted {
    color: var(--white-70);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    padding: 0.6rem 1rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.skip-link:focus {
    top: calc(env(safe-area-inset-top, 0px) + 1rem);
}

.wrap {
    width: 100%;
    max-width: var(--page);
    margin: 0 auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section {
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--band {
    background: var(--midnight);
    border-top: 1px solid var(--slate);
    border-bottom: 1px solid var(--slate);
}

.section__intro {
    margin-bottom: 2rem;
}

/* ---- Masthead ----------------------------------------------------------- */

.masthead {
    padding-block: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.brand:hover {
    color: var(--white);
}

.brand img {
    width: 2rem;
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
    padding-block: clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero__grid {
    display: grid;
    gap: 1.75rem;
}

.hero__art {
    order: -1;                          /* art first on phones and tablets */
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--slate);
    box-shadow: 0 0 0 6px var(--midnight), 0 24px 60px rgba(42, 123, 255, 0.18);
    aspect-ratio: 3 / 2;                /* matches the hero-m-* phone/tablet crop */
    max-height: 46vh;
}

.hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 35%;           /* keeps the wizard's face in frame when height is capped */
}

.hero__lede {
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
    color: var(--white-70);
}

.hero__when {
    margin: 1rem 0 0;
    color: var(--white-70);
    font-size: 0.95rem;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: center;
        gap: 3.5rem;
    }

    .hero__art {
        order: 0;
        max-height: none;
        aspect-ratio: 5 / 3;
    }
}

/* ---- Buttons ------------------------------------------------------------ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;                    /* 48px touch target */
    padding: 0.75rem 1.6rem;
    border: 0;
    border-radius: 999px;
    font: 600 1.05rem/1.2 var(--font);
    text-decoration: none;
    cursor: pointer;
}

.button--gold {
    background: var(--gold);
    color: var(--navy);
}

.button--gold:hover {
    background: #FFE08F;
    color: var(--navy);
}

@media (max-width: 599px) {
    .hero .button,
    .form .button {
        width: 100%;
    }
}

/* ---- Agency callout ----------------------------------------------------- */

.callout {
    background: var(--midnight);
    border-top: 1px solid var(--slate);
    border-bottom: 1px solid var(--slate);
}

.callout__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
    padding-block: 1rem;
}

.callout p {
    margin: 0;
    max-width: none;
}

.callout strong {
    color: var(--white);
}

.callout a {
    font-weight: 600;
    white-space: nowrap;
}

/* ---- Comparison --------------------------------------------------------- */

.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--slate);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy);
}

.compare th,
.compare td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--white-12);
}

.compare tr:last-child th,
.compare tr:last-child td {
    border-bottom: 0;
}

.compare thead th {
    background: var(--midnight);
    border-bottom: 1px solid var(--slate);
    font-size: 1rem;
}

.compare thead th:last-child {
    color: var(--gold);
}

.compare tbody th {
    font-weight: 400;
    color: var(--white-70);
    width: 24%;
}

.compare__sub {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--white-70);
}

.compare td:last-child {
    background: var(--midnight);
}

/* Phones: each row becomes a small stacked block. */
@media (max-width: 599px) {
    .compare,
    .compare tbody,
    .compare tr,
    .compare th,
    .compare td {
        display: block;
        width: 100%;
    }

    .compare thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .compare tr {
        border-bottom: 1px solid var(--slate);
        padding: 0.9rem 1rem;
    }

    .compare tr:last-child {
        border-bottom: 0;
    }

    .compare tbody th {
        width: 100%;
        padding: 0 0 0.4rem;
        border: 0;
        color: var(--white);
        font-weight: 600;
    }

    .compare td {
        padding: 0.2rem 0 0.2rem;
        border: 0;
        background: none;
    }

    .compare td:last-child {
        background: none;
    }

    .compare td::before {
        content: attr(data-label) ": ";
        color: var(--white-70);
    }

    .compare td:last-child::before {
        color: var(--gold);
    }
}

/* ---- Feature list ------------------------------------------------------- */

.features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem 2.5rem;
}

@media (min-width: 600px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.features li {
    position: relative;
    padding-left: 1.9rem;
}

.features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1.05rem;
    height: 1.05rem;
    background: var(--gold);
    /* four-point star, matching the logo's sparkle */
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.features h3 {
    margin-bottom: 0.3rem;
}

.features p {
    margin: 0;
    color: var(--white-70);
}

/* ---- Two-column split (launch section, agency page) --------------------- */

.split {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 4rem;
        align-items: start;
    }
}

.requirements {
    margin: 1.5rem 0 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--gold);
    background: var(--midnight);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    max-width: var(--measure);
}

.requirements h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.requirements ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--white-70);
}

/* ---- Forms -------------------------------------------------------------- */

.form {
    background: var(--midnight);
    border: 1px solid var(--slate);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.form h2,
.form h3 {
    margin-top: 0;
}

.field {
    margin: 0 0 1.25rem;
}

.field label,
.field legend {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.field .hint {
    font-weight: 400;
    color: var(--white-70);
    font-size: 0.9rem;
}

fieldset.field {
    border: 0;
    padding: 0;
    min-width: 0;
}

.field legend {
    padding: 0;
}

.field input[type="email"],
.field input[type="text"],
.field input[type="tel"],
.field input[type="url"],
.field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    font: 400 1rem/1.4 var(--font);  /* 16px stops iOS zooming on focus */
    color: var(--white);
    background: var(--navy);
    border: 1px solid var(--slate);
    border-radius: var(--radius-sm);
}

.field textarea {
    min-height: 7rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
}

.choices {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .choices--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field .choice {           /* .field scope: outranks the .field label rule */
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--slate);
    border-radius: var(--radius-sm);
    background: var(--navy);
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.choice input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--gold);
    flex: none;
}

.choice:has(input:checked) {
    border-color: var(--gold);
}

.form__privacy {
    font-size: 0.9rem;
    color: var(--white-70);
    margin: 1rem 0 0;
}

/* Honeypot: off-screen for people, still present for bots. */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- Lists on the agency page ------------------------------------------- */

.ticks {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.ticks li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    color: var(--white-70);
    max-width: var(--measure);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.55rem;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--gold);
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

/* ---- Message pages (thanks / error) ------------------------------------- */

.message {
    padding-block: clamp(3rem, 12vh, 7rem);
}

.message h1 {
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
}

/* ---- Footer ------------------------------------------------------------- */

.footer {
    border-top: 1px solid var(--slate);
    padding-block: 2.5rem 3rem;
    font-size: 0.95rem;
    color: var(--white-70);
}

.footer p {
    max-width: none;
}

.footer__agency {
    color: var(--white);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.footer__links a {
    display: inline-block;
    padding-block: 0.35rem;             /* larger tap area on phones */
}

.privacy {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--white-12);
}

.privacy h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.legal {
    font-size: 0.85rem;
    margin: 1.25rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
