/* dicedriven.com styles. The design follows d3-vtt's landing-page skeleton (#918); the brand blues are the logo's own. */
:root {
    --brand-navy: #1a3653;
    --brand-mid: #255280;
    --brand-blue: #3d76b0;
    --brand-ink: #0f2236;
}

html {
    scroll-behavior: smooth;
}

.band {
    padding: 4.5rem 0;
}

.hero {
    color: #fff;
    background:
        radial-gradient(60rem 30rem at 50% -10%, rgb(61 118 176 / 55%), transparent 70%),
        linear-gradient(180deg, var(--brand-navy), var(--brand-ink));
    padding-top: 0;
}

.topbar {
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.topbar .nav-link {
    color: rgb(255 255 255 / 80%);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar .nav-link:hover {
    color: #fff;
}

.hero-logo {
    width: 112px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgb(0 0 0 / 35%));
}

.wordmark {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgb(255 255 255 / 90%);
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 52rem;
}

.hero .lead {
    color: rgb(255 255 255 / 80%);
    max-width: 46rem;
}

.btn-cta {
    background: #fff;
    color: var(--brand-navy);
    font-weight: 700;
    border: 0;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
}

.btn-cta:hover {
    background: #e8f0f8;
    color: var(--brand-navy);
}

.making {
    background: #fff;
}

.making-shot {
    display: block;
    width: min(100%, 64rem);
    margin: 0 auto;
    position: relative;
}

/* The screenshot is itself a button that opens the lightbox. */
.shot-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.shot-open img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot-open:hover img,
.shot-open:focus-visible img {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 40px 90px rgb(15 34 54 / 35%);
}

.shot-open:focus-visible {
    outline: none;
}

.shot-open:focus-visible img {
    outline: 3px solid var(--brand-blue);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .shot-open img {
        transition: none;
    }

    .shot-open:hover img,
    .shot-open:focus-visible img {
        transform: none;
    }
}

/* The lightbox: as large as the window allows. */
.lightbox {
    width: min(94vw, calc(88svh * 2560 / 1198));
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgb(10 20 33 / 85%);
}

.lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 30px 80px rgb(0 0 0 / 60%);
}

.lightbox-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.lightbox-close:hover {
    color: #fff;
}

.making-shot img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgb(15 34 54 / 12%);
    box-shadow: 0 30px 80px rgb(15 34 54 / 25%);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-ink);
}

.status {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-mid);
    background: #e8f0f8;
}

.about {
    background: #f4f7fb;
}

.about p {
    color: #3d4a57;
}

.signup-band {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
}

.signup-card {
    max-width: 34rem;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 30px 80px rgb(0 0 0 / 30%);
}

.signup-card .btn-primary {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    font-weight: 700;
}

.signup-card .btn-primary:hover {
    background: var(--brand-mid);
    border-color: var(--brand-mid);
}

/* Hidden from people; bots fill it, and the API drops those joins. */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.measure-sm {
    max-width: 36rem;
}

.measure-md {
    max-width: 40rem;
}

.measure-lg {
    max-width: 48rem;
}

.signup-lead {
    opacity: 0.85;
}

.vtt-link {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.vtt-link:hover {
    color: var(--brand-mid);
    text-decoration: underline;
}

.text-brand {
    color: var(--brand-blue);
}

#signup-done:focus {
    outline: none;
}

.links {
    background: var(--brand-ink);
    color: rgb(255 255 255 / 75%);
    padding: 2.5rem 0;
}

.links a {
    color: #fff;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* The privacy page. */
.legal {
    background: #fff;
}

.legal h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-ink);
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-top: 2rem;
}

.legal p,
.legal li {
    color: #3d4a57;
}

.site-bar {
    background: linear-gradient(180deg, var(--brand-navy), var(--brand-ink));
}

.site-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

