/* /audio-knjiga-gostiju landing page. Shares tokens with the rest of the landing pages. */

.agbl-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.agbl-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.08;
}

.agbl-lead {
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.6;
}

.agbl-try-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.agbl-try-hint .material-symbols-outlined {
    color: #34a853;
}

.agbl-price-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.agbl-price-note a {
    font-weight: 600;
}

.agbl-hero-phone {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 560px;
}

.agbl-hero-phone::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, rgba(52, 199, 89, 0.28), transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(168, 146, 214, 0.35), transparent 55%);
    filter: blur(20px);
}

/* Below 600px the call screen has no room left for the greeting caption, so the phone stops shrinking there. */
.agbl-hero-phone .agb--inline .agb-device {
    height: clamp(600px, 82vh, 640px);
}

.agbl-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: agbl-step;
}

.agbl-steps li {
    position: relative;
    padding: 1.5rem 1.25rem;
}

.agbl-steps h3 {
    margin: 0.85rem 0 0.4rem;
    font-size: 1.05rem;
}

.agbl-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.agbl-step-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(160deg, #4cd964, #28a745);
    color: #fff;
    font-weight: 900;
}

.agbl-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
}

.agbl-table th,
.agbl-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(53, 39, 71, 0.1);
    vertical-align: top;
    text-align: left;
}

.agbl-table thead th {
    color: var(--ink);
    font-size: 0.95rem;
}

.agbl-table tbody th {
    color: var(--ink);
    font-weight: 700;
}

.agbl-table td {
    color: var(--muted);
}

.agbl-table .is-highlight {
    background: rgba(52, 199, 89, 0.1);
    color: var(--ink);
    font-weight: 700;
}

.agbl-table thead .is-highlight {
    border-radius: 12px 12px 0 0;
    background: #34c759;
    color: #fff;
}

.agbl-subheading {
    font-size: 1.1rem;
}

.agbl-inbox {
    display: grid;
    gap: 0.6rem;
    padding: 1.25rem;
    border-radius: 22px;
    background: linear-gradient(160deg, #f7f5fb, #fff);
    box-shadow: inset 0 0 0 1px rgba(53, 39, 71, 0.08);
}

.agbl-inbox-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(53, 39, 71, 0.1);
    border-radius: 14px;
    background: #fff;
}

.agbl-inbox-row.is-new {
    border-color: rgba(47, 158, 87, 0.35);
    background: linear-gradient(90deg, rgba(129, 189, 150, 0.14), #fff 45%);
}

.agbl-inbox-row strong {
    display: block;
    color: var(--ink);
}

.agbl-inbox-row small {
    color: var(--muted);
    font-weight: 600;
}

.agbl-inbox-row em {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #2f9e57;
    color: #fff;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.agbl-inbox-play {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #6845ad;
    color: #fff;
    font-size: 0.8rem;
}

.agbl-inbox-star {
    color: #e0a100;
    font-size: 1.2rem;
}

.agbl-inbox-zip {
    justify-self: end;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #6845ad;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .agbl-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .agbl-hero {
        grid-template-columns: 1fr;
    }

    .agbl-hero-phone {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .agbl-steps {
        grid-template-columns: 1fr;
    }

    /* Sized by height alone the phone came out ~270px wide here; size it by width instead. It keeps at least 620px
       of height so the greeting caption fits, even when that is a little more than a small phone's screen, and up
       to 700px, because at 340px wide the call screen uses the full-size buttons. */
    .agbl-hero-phone .agb--inline .agb-device {
        width: min(100%, 340px);
        height: 620px;
        height: clamp(620px, calc(100svh - 80px), 700px);
        aspect-ratio: auto;
    }
}
