/* ==================================
   PÁGINAS INTERIORES
   ================================== */

/* ==========================
   PÁGINAS INTERIORES
   ========================== */

.dyc-page-hero {
    padding: 90px 0 45px;
}

.dyc-page-narrow {
    max-width: 820px;
}

.dyc-page-hero h1 {
    margin: 9px 0 0;
    font-size: clamp(46px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -.055em;
}

.dyc-page-content {
    padding: 20px 0 90px;
}

.dyc-article {
    font-size: 18px;
    line-height: 1.75;
}

.dyc-article p {
    margin: 0 0 24px;
}

.dyc-article h2 {
    margin-top: 55px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.dyc-article h3 {
    margin-top: 40px;
    font-size: 25px;
    letter-spacing: -.025em;
}

.dyc-article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==================================
   EMPIEZA AQUÍ
   ================================== */

.dyc-start-hero {
    padding: 105px 0 70px;
}

.dyc-start-hero h1 {
    max-width: 790px;
    margin: 10px 0 25px;
    font-size: clamp(50px, 6.5vw, 78px);
    line-height: .98;
    letter-spacing: -.06em;
}

.dyc-start-lead {
    max-width: 690px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.dyc-start-intro {
    max-width: 680px;
    margin-bottom: 55px;
}

.dyc-start-intro h2 {
    margin-bottom: 14px;
}

.dyc-start-intro p {
    color: var(--muted);
    font-size: 17px;
}


.dyc-roadmap {
    max-width: 900px;
    margin: 0 auto;
}

.dyc-roadmap-item {
    position: relative;
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 30px;
    padding-bottom: 65px;
}

.dyc-roadmap-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 62px;
    bottom: 0;
    left: 29px;
    width: 1px;
    background: var(--border);
}

.dyc-roadmap-number {
    position: relative;
    z-index: 2;

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--dark);
    color: white;

    font-size: 13px;
    font-weight: 800;
}

.dyc-roadmap-content {
    max-width: 690px;

    padding: 4px 0 0;
}

.dyc-roadmap-label {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .1em;
}

.dyc-roadmap-content h3 {
    margin: 0 0 11px;

    font-size: 30px;
    line-height: 1.1;

    letter-spacing: -.035em;
}

.dyc-roadmap-content p {
    max-width: 620px;

    margin: 0 0 16px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}

.dyc-text-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;

    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}

.dyc-text-link span {
    transition: transform .15s ease;
}

.dyc-text-link:hover span {
    transform: translateX(4px);
}

.dyc-coming {
    display: inline-block;

    padding: 8px 11px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--muted);

    background: var(--surface);

    font-size: 12px;
}


.dyc-start-final {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.dyc-start-final h2 {
    max-width: 720px;
}

.dyc-start-final p {
    color: var(--muted);
    font-size: 17px;
}


@media (max-width: 700px) {

    .dyc-start-hero {
        padding-top: 65px;
    }

    .dyc-roadmap-item {
        grid-template-columns: 55px 1fr;
        gap: 18px;
    }

    .dyc-roadmap-number {
        width: 46px;
        height: 46px;
    }

    .dyc-roadmap-item:not(:last-child)::before {
        top: 48px;
        left: 22px;
    }

    .dyc-roadmap-content h3 {
        font-size: 25px;
    }

    .dyc-start-final {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* ==================================
   LIBRO
   ================================== */

.dyc-book-hero {
    padding: 85px 0 90px;
}

.dyc-book-hero-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 85px;
    align-items: center;
}

.dyc-book-cover-wrap {
    display: flex;
    justify-content: center;
}

.dyc-book-cover {
    display: block;
    width: min(100%, 390px);
    height: auto;

    border-radius: 4px 13px 13px 4px;

    box-shadow:
        12px 18px 45px
        rgba(20, 35, 25, .16);
}

.dyc-book-cover-placeholder {
    width: min(100%, 390px);
    aspect-ratio: 2 / 3;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 38px;

    border-radius: 4px 13px 13px 4px;

    background: #f2eee5;

    box-shadow:
        12px 18px 45px
        rgba(20, 35, 25, .16);
}

.dyc-book-cover-placeholder span {
    max-width: 270px;

    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
}

.dyc-book-cover-placeholder strong {
    color: #d9a945;

    font-size: 58px;
    line-height: 1;
}

.dyc-book-cover-placeholder small {
    font-weight: 800;
}

.dyc-book-hero-copy h1 {
    max-width: 760px;

    margin: 10px 0 20px;

    font-size: clamp(48px, 6vw, 74px);
    line-height: .98;
    letter-spacing: -.055em;
}

.dyc-book-subtitle {
    max-width: 650px;

    margin: 0 0 22px;

    color: var(--accent-dark);

    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.dyc-book-intro {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.dyc-button-disabled {
    opacity: .6;
    cursor: default;
}

.dyc-book-difference {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 65px;
    align-items: start;
}

.dyc-book-difference h2 {
    margin-top: 8px;
}

.dyc-book-difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dyc-book-difference-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface);
}

.dyc-book-difference-card > span {
    display: block;

    margin-bottom: 30px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: .1em;
}

.dyc-book-difference-card h3 {
    margin: 0 0 7px;

    font-size: 27px;
}

.dyc-book-difference-card p {
    color: var(--muted);
}

.dyc-book-difference-card ul {
    padding-left: 19px;
}

.dyc-book-difference-card li {
    margin: 8px 0;

    font-size: 14px;
}

.dyc-book-difference-featured {
    background: var(--dark);
    color: white;
}

.dyc-book-difference-featured > span {
    color: #8ac8a3;
}

.dyc-book-difference-featured p,
.dyc-book-difference-featured li {
    color: #b8c1ba;
}

.dyc-book-final {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.dyc-book-final h2 {
    max-width: 650px;
}

.dyc-book-final p {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;
}


@media (max-width: 900px) {

    .dyc-book-hero-grid,
    .dyc-book-difference {
        grid-template-columns: 1fr;
    }

    .dyc-book-cover {
        max-width: 340px;
    }

}


@media (max-width: 650px) {

    .dyc-book-difference-grid {
        grid-template-columns: 1fr;
    }

    .dyc-book-final {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

/* ==================================
   404
   ================================== */

.dyc-404 {
    padding: 120px 0;
}

.dyc-404-inner {
    max-width: 760px;
    text-align: center;
}

.dyc-404-code {
    display: block;

    margin-bottom: 10px;

    color: var(--accent);
    font-size: clamp(70px, 12vw, 130px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.07em;
}

.dyc-404 h1 {
    margin: 12px 0 20px;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -.05em;
}

.dyc-404 p {
    max-width: 620px;
    margin: 0 auto 30px;

    color: var(--muted);
    font-size: 18px;
}

.dyc-404 .dyc-actions {
    justify-content: center;
}

.dyc-404-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;

    margin-top: 42px;
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.dyc-404-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.dyc-404-links a:hover {
    color: var(--accent);
}

/* =========================================================
   DYC - INTRO COMUN DE HUB
   ========================================================= */

.dyc-hub-intro {
    max-width: 720px;
    margin-bottom: 45px;
}

.dyc-hub-intro h2 {
    margin-bottom: 12px;
}

.dyc-hub-intro p {
    margin: 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;

    text-align: left;
    text-align-last: auto;

    hyphens: none;
    -webkit-hyphens: none;
}


/* =========================================================
   DYC - BOTONES DENTRO DE CONTENIDO EDITORIAL
   ========================================================= */

.dyc-article a.dyc-button {
    text-decoration: none;
    text-underline-offset: initial;
}

.dyc-article a.dyc-button-primary {
    color: #fff;
}

.dyc-article a.dyc-button-secondary {
    color: var(--text);
}
