/* deepmeditate.com's quieter pages (legal, help, recommended websites, coming soon, errors), on top of dm.css */

.page-hero {
    padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
}

.page-hero .h1 {
    margin-top: 12px;
    max-width: 820px;
}

.page-hero .lead {
    margin-top: 16px;
    max-width: 620px;
}

/* Legal and help: the title lines up with the reading column */

.page-hero--narrow .container {
    max-width: calc(760px + 2 * var(--gutter));
}

.page-hero--narrow + .section--tight {
    padding-top: 8px;
}

.prose .btn {
    margin-top: 8px;
    text-decoration: none;
}

.prose .btn--primary {
    color: #fff;
}

/* Recommended websites */

.websites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.website {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(24px, 3vw, 34px);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.website:hover {
    border-color: rgba(140, 158, 255, 0.45);
}

.website__initial {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--violet), var(--accent-deep));
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
}

.website__about {
    color: var(--haze);
}

.website .link-arrow {
    margin-top: auto;
    padding-top: 6px;
}

.back-home {
    margin-top: 40px;
}

/* A single message in the middle of the sky: coming soon, not found */

.message {
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 64px 0 96px;
    text-align: center;
}

.message .h1 {
    margin-top: 14px;
}

.message .lead {
    max-width: 520px;
    margin: 18px auto 0;
}

.message__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.message__moon {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 62%, rgba(132, 148, 224, 0.4) 0 11%, transparent 11.5%),
        radial-gradient(circle at 64% 34%, rgba(132, 148, 224, 0.35) 0 6.5%, transparent 7%),
        radial-gradient(circle at 36% 34%, #ffffff 0%, var(--moon) 34%, #a9b6f2 72%, #8494e0 100%);
    box-shadow: 0 0 40px 6px rgba(220, 227, 255, 0.25);
}

/* Help: numbered steps */

.prose ol.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.prose ol.steps li {
    position: relative;
    counter-increment: step;
    padding: 2px 0 0 50px;
    margin-top: 16px;
}

.prose ol.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--panel-strong);
    box-shadow: inset 0 0 0 1px var(--hairline);
    color: var(--gold);
    font-weight: 800;
    font-size: 15px;
}
