/* ============================================================
   AdamSooley.ca — Start Here
   assets/css/start-here.css
   ============================================================ */


/* ============================================================
   VARIABLES
   ============================================================ */

.as-start-here {
    --as-blue: #1473e6;
    --as-blue-hover: #0d63ca;
    --as-text: #1f2933;
    --as-muted: #667085;
    --as-bg: #ffffff;
    --as-bg-alt: #f5f7fa;
    --as-card-bg: #ffffff;
    --as-border: rgba(0, 0, 0, 0.10);
    --as-border-hover: #1473e6;
    --as-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --as-radius: 12px;

    color: var(--as-text);
    background: var(--as-bg);
}


/* ============================================================
   GLOBAL / CONTAINER
   ============================================================ */

.as-start-here *,
.as-start-here *::before,
.as-start-here *::after {
    box-sizing: border-box;
}

.as-start-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.as-start-here img {
    display: block;
    max-width: 100%;
}

.as-start-here a {
    text-decoration: none;
}


/* ============================================================
   HERO
   ============================================================ */

.as-start-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    overflow: hidden;
    background: #111827;
    color: #ffffff;
}

.as-start-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.as-start-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-start-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 12, 22, 0.92) 0%,
            rgba(5, 12, 22, 0.78) 45%,
            rgba(5, 12, 22, 0.42) 75%,
            rgba(5, 12, 22, 0.30) 100%
        );
}

.as-start-hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0;
}

.as-start-hero__content > * {
    max-width: 720px;
}

.as-start-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: #8fc5ff;

    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.as-start-hero h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.as-start-hero__lead {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.as-start-hero__intro {
    margin: 0 0 14px;

    color: rgba(255, 255, 255, 0.90);

    font-size: 1.08rem;
    line-height: 1.75;
}

.as-start-hero__aside {
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1rem;
    font-style: italic;
}


/* ============================================================
   GHOST EDITOR CONTENT
   ============================================================ */

.as-start-editor {
    padding: 52px 0;
    background: var(--as-bg);
}

.as-start-editor .gh-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.as-start-editor .gh-content > :first-child {
    margin-top: 0;
}

.as-start-editor .gh-content > :last-child {
    margin-bottom: 0;
}


/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.as-start-section {
    padding: 90px 0;
    background: var(--as-bg);
}

.as-start-section--alt,
.as-start-section--featured,
.as-start-section--recommendations {
    background: var(--as-bg-alt);
}

.as-start-section--intro {
    padding-top: 80px;
    padding-bottom: 70px;
    text-align: center;
}

.as-start-section--intro .as-start-container {
    max-width: 850px;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.as-start-section__heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    width: 100%;
    margin-bottom: 30px;
}

.as-start-section__heading h2,
.as-start-section--intro h2 {
    margin: 3px 0 0;

    color: var(--as-text);

    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.as-start-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border: 1px solid var(--as-border);
    border-radius: 14px;

    background: var(--as-card-bg);

    font-size: 1.75rem;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.as-start-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--as-blue);

    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}


/* ============================================================
   SECTION TEXT
   FULL WIDTH
   ============================================================ */

.as-start-copy {
    width: 100%;
    max-width: none;
    margin-bottom: 42px;
}

.as-start-copy p,
.as-start-section__lead {
    color: var(--as-muted);

    font-size: 1.06rem;
    line-height: 1.75;
}

.as-start-copy p {
    width: 100%;
    max-width: none;

    margin: 0 0 15px;
}

.as-start-copy p:last-child {
    margin-bottom: 0;
}

.as-start-copy strong {
    color: var(--as-text);
}

.as-start-section__lead {
    width: 100%;
    max-width: none;

    margin: 18px 0 40px;
}


/*
 * Keep the opening "Pick a rabbit hole" paragraph narrower.
 * The descriptions inside the actual content sections remain
 * full width.
 */

.as-start-section--intro .as-start-section__lead {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.as-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 22px;

    border: 2px solid var(--as-blue);
    border-radius: 999px;

    color: var(--as-blue);
    background: transparent;

    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.as-start-button:hover {
    transform: translateY(-2px);

    border-color: var(--as-blue-hover);

    color: #ffffff;
    background: var(--as-blue-hover);

    box-shadow: 0 8px 20px rgba(20, 115, 230, 0.20);
}

.as-start-button--primary {
    border-color: var(--as-blue);
    color: #ffffff;
    background: var(--as-blue);
}

.as-start-button--primary:hover {
    border-color: var(--as-blue-hover);
    background: var(--as-blue-hover);
}

.as-start-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.as-start-section .as-start-button:focus-visible,
.as-start-final .as-start-button:focus-visible {
    outline-color: var(--as-blue);
}

.as-start-actions {
    margin-top: 34px;
}


/* ============================================================
   FEATURED / START HERE CARD
   ============================================================ */

.as-start-feature {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1fr);

    overflow: hidden;

    margin: 40px 0;

    border: 1px solid var(--as-border);
    border-radius: var(--as-radius);

    color: var(--as-text);
    background: var(--as-card-bg);

    box-shadow: var(--as-shadow);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.as-start-feature:hover {
    transform: translateY(-3px);

    border-color: var(--as-border-hover);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.as-start-feature:focus-visible {
    outline: 3px solid var(--as-blue);
    outline-offset: 4px;
}

.as-start-feature__image {
    min-height: 340px;
    overflow: hidden;

    background: var(--as-bg-alt);
}

.as-start-feature__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.as-start-feature:hover .as-start-feature__image img {
    transform: scale(1.025);
}

.as-start-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 42px;
}

.as-start-card-label {
    display: inline-block;
    align-self: flex-start;

    margin-bottom: 14px;

    color: var(--as-blue);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.as-start-feature h3 {
    margin: 0 0 16px;

    color: var(--as-text);

    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.as-start-feature p {
    margin: 0 0 22px;

    color: var(--as-muted);

    font-size: 1rem;
    line-height: 1.65;
}

.as-start-card-link {
    margin-top: auto;

    color: var(--as-blue);

    font-size: 0.94rem;
    font-weight: 800;
}


/* ============================================================
   SMALL POST CARDS
   ============================================================ */

.as-start-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 36px;
}

.as-start-mini-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--as-border);
    border-radius: var(--as-radius);

    color: var(--as-text);
    background: var(--as-card-bg);

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.as-start-mini-card:hover {
    transform: translateY(-3px);

    border-color: var(--as-border-hover);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.as-start-mini-card:focus-visible {
    outline: 3px solid var(--as-blue);
    outline-offset: 4px;
}

.as-start-mini-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background: var(--as-bg-alt);
}

.as-start-mini-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.as-start-mini-card:hover .as-start-mini-card__image img {
    transform: scale(1.035);
}

.as-start-mini-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 22px;
}

.as-start-mini-card h3 {
    margin: 0 0 18px;

    color: var(--as-text);

    font-size: 1.13rem;
    line-height: 1.35;
}

.as-start-mini-card__content span {
    margin-top: auto;

    color: var(--as-blue);

    font-size: 0.88rem;
    font-weight: 800;
}


/* ============================================================
   RECOMMENDED POSTS
   ============================================================ */

.as-start-recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 38px;
}

.as-start-recommend-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--as-border);
    border-radius: var(--as-radius);

    color: var(--as-text);
    background: var(--as-card-bg);

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.as-start-recommend-card:hover {
    transform: translateY(-3px);

    border-color: var(--as-border-hover);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.as-start-recommend-card:focus-visible {
    outline: 3px solid var(--as-blue);
    outline-offset: 4px;
}

.as-start-recommend-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background: var(--as-bg-alt);
}

.as-start-recommend-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.as-start-recommend-card:hover .as-start-recommend-card__image img {
    transform: scale(1.035);
}

.as-start-recommend-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 24px;
}

.as-start-recommend-card h3 {
    margin: 0 0 13px;

    color: var(--as-text);

    font-size: 1.22rem;
    line-height: 1.35;
}

.as-start-recommend-card p {
    margin: 0 0 20px;

    color: var(--as-muted);

    font-size: 0.94rem;
    line-height: 1.6;
}

.as-start-recommend-card .as-start-card-link {
    margin-top: auto;
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.as-start-final {
    padding: 100px 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #111827 0%,
            #16253a 60%,
            #0f315a 100%
        );

    text-align: center;
}

.as-start-final .as-start-container {
    max-width: 800px;
}

.as-start-final__icon {
    display: block;

    margin-bottom: 18px;

    font-size: 2.4rem;
}

.as-start-final h2 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.as-start-final p {
    margin: 0 auto 16px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.06rem;
    line-height: 1.7;
}

.as-start-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 14px;

    margin-top: 32px;
}

.as-start-final .as-start-button:not(.as-start-button--primary) {
    border-color: rgba(255, 255, 255, 0.75);

    color: #ffffff;
}

.as-start-final .as-start-button:not(.as-start-button--primary):hover {
    border-color: #ffffff;

    color: #111827;
    background: #ffffff;
}

.as-start-final__tagline {
    margin-top: 42px !important;
    margin-bottom: 0 !important;

    color: #ffffff !important;

    font-size: 1rem !important;
    font-weight: 800;
    font-style: italic;
}


/* ============================================================
   DARK MODE
   ============================================================ */

/*
 * These selectors cover the Bold theme's dark state as well as
 * the common HTML/body dark-theme methods.
 */

html.dark .as-start-here,
html[data-theme="dark"] .as-start-here,
html[data-color-scheme="dark"] .as-start-here,
body.dark .as-start-here,
body.dark-mode .as-start-here,
body[data-theme="dark"] .as-start-here,
body[data-color-scheme="dark"] .as-start-here,
body.is-dark .as-start-here {
    --as-text: #f5f7fa;
    --as-muted: #c5ced8;

    --as-bg: #10151c;
    --as-bg-alt: #161d26;
    --as-card-bg: #1b232e;

    --as-border: rgba(255, 255, 255, 0.14);
    --as-border-hover: #4da3ff;

    --as-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);

    color: var(--as-text);
    background: var(--as-bg);
}


/* Dark main sections */

html.dark .as-start-section,
html[data-theme="dark"] .as-start-section,
html[data-color-scheme="dark"] .as-start-section,
body.dark .as-start-section,
body.dark-mode .as-start-section,
body[data-theme="dark"] .as-start-section,
body[data-color-scheme="dark"] .as-start-section,
body.is-dark .as-start-section {
    background: var(--as-bg);
}


/* Dark alternate sections */

html.dark .as-start-section--alt,
html.dark .as-start-section--featured,
html.dark .as-start-section--recommendations,

html[data-theme="dark"] .as-start-section--alt,
html[data-theme="dark"] .as-start-section--featured,
html[data-theme="dark"] .as-start-section--recommendations,

html[data-color-scheme="dark"] .as-start-section--alt,
html[data-color-scheme="dark"] .as-start-section--featured,
html[data-color-scheme="dark"] .as-start-section--recommendations,

body.dark .as-start-section--alt,
body.dark .as-start-section--featured,
body.dark .as-start-section--recommendations,

body.dark-mode .as-start-section--alt,
body.dark-mode .as-start-section--featured,
body.dark-mode .as-start-section--recommendations,

body[data-theme="dark"] .as-start-section--alt,
body[data-theme="dark"] .as-start-section--featured,
body[data-theme="dark"] .as-start-section--recommendations,

body[data-color-scheme="dark"] .as-start-section--alt,
body[data-color-scheme="dark"] .as-start-section--featured,
body[data-color-scheme="dark"] .as-start-section--recommendations,

body.is-dark .as-start-section--alt,
body.is-dark .as-start-section--featured,
body.is-dark .as-start-section--recommendations {
    background: var(--as-bg-alt);
}


/* Dark Ghost editor area */

html.dark .as-start-editor,
html[data-theme="dark"] .as-start-editor,
html[data-color-scheme="dark"] .as-start-editor,
body.dark .as-start-editor,
body.dark-mode .as-start-editor,
body[data-theme="dark"] .as-start-editor,
body[data-color-scheme="dark"] .as-start-editor,
body.is-dark .as-start-editor {
    color: var(--as-text);
    background: var(--as-bg);
}


/* Dark cards */

html.dark .as-start-feature,
html.dark .as-start-mini-card,
html.dark .as-start-recommend-card,
html.dark .as-start-icon,

html[data-theme="dark"] .as-start-feature,
html[data-theme="dark"] .as-start-mini-card,
html[data-theme="dark"] .as-start-recommend-card,
html[data-theme="dark"] .as-start-icon,

html[data-color-scheme="dark"] .as-start-feature,
html[data-color-scheme="dark"] .as-start-mini-card,
html[data-color-scheme="dark"] .as-start-recommend-card,
html[data-color-scheme="dark"] .as-start-icon,

body.dark .as-start-feature,
body.dark .as-start-mini-card,
body.dark .as-start-recommend-card,
body.dark .as-start-icon,

body.dark-mode .as-start-feature,
body.dark-mode .as-start-mini-card,
body.dark-mode .as-start-recommend-card,
body.dark-mode .as-start-icon,

body[data-theme="dark"] .as-start-feature,
body[data-theme="dark"] .as-start-mini-card,
body[data-theme="dark"] .as-start-recommend-card,
body[data-theme="dark"] .as-start-icon,

body[data-color-scheme="dark"] .as-start-feature,
body[data-color-scheme="dark"] .as-start-mini-card,
body[data-color-scheme="dark"] .as-start-recommend-card,
body[data-color-scheme="dark"] .as-start-icon,

body.is-dark .as-start-feature,
body.is-dark .as-start-mini-card,
body.is-dark .as-start-recommend-card,
body.is-dark .as-start-icon {
    color: var(--as-text);
    background: var(--as-card-bg);
    border-color: var(--as-border);

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}


/* Dark headings */

html.dark .as-start-section h2,
html.dark .as-start-feature h3,
html.dark .as-start-mini-card h3,
html.dark .as-start-recommend-card h3,

html[data-theme="dark"] .as-start-section h2,
html[data-theme="dark"] .as-start-feature h3,
html[data-theme="dark"] .as-start-mini-card h3,
html[data-theme="dark"] .as-start-recommend-card h3,

html[data-color-scheme="dark"] .as-start-section h2,
html[data-color-scheme="dark"] .as-start-feature h3,
html[data-color-scheme="dark"] .as-start-mini-card h3,
html[data-color-scheme="dark"] .as-start-recommend-card h3,

body.dark .as-start-section h2,
body.dark .as-start-feature h3,
body.dark .as-start-mini-card h3,
body.dark .as-start-recommend-card h3,

body.dark-mode .as-start-section h2,
body.dark-mode .as-start-feature h3,
body.dark-mode .as-start-mini-card h3,
body.dark-mode .as-start-recommend-card h3,

body[data-theme="dark"] .as-start-section h2,
body[data-theme="dark"] .as-start-feature h3,
body[data-theme="dark"] .as-start-mini-card h3,
body[data-theme="dark"] .as-start-recommend-card h3,

body[data-color-scheme="dark"] .as-start-section h2,
body[data-color-scheme="dark"] .as-start-feature h3,
body[data-color-scheme="dark"] .as-start-mini-card h3,
body[data-color-scheme="dark"] .as-start-recommend-card h3,

body.is-dark .as-start-section h2,
body.is-dark .as-start-feature h3,
body.is-dark .as-start-mini-card h3,
body.is-dark .as-start-recommend-card h3 {
    color: var(--as-text);
}


/* Dark normal text */

html.dark .as-start-copy p,
html.dark .as-start-section__lead,
html.dark .as-start-feature p,
html.dark .as-start-recommend-card p,

html[data-theme="dark"] .as-start-copy p,
html[data-theme="dark"] .as-start-section__lead,
html[data-theme="dark"] .as-start-feature p,
html[data-theme="dark"] .as-start-recommend-card p,

html[data-color-scheme="dark"] .as-start-copy p,
html[data-color-scheme="dark"] .as-start-section__lead,
html[data-color-scheme="dark"] .as-start-feature p,
html[data-color-scheme="dark"] .as-start-recommend-card p,

body.dark .as-start-copy p,
body.dark .as-start-section__lead,
body.dark .as-start-feature p,
body.dark .as-start-recommend-card p,

body.dark-mode .as-start-copy p,
body.dark-mode .as-start-section__lead,
body.dark-mode .as-start-feature p,
body.dark-mode .as-start-recommend-card p,

body[data-theme="dark"] .as-start-copy p,
body[data-theme="dark"] .as-start-section__lead,
body[data-theme="dark"] .as-start-feature p,
body[data-theme="dark"] .as-start-recommend-card p,

body[data-color-scheme="dark"] .as-start-copy p,
body[data-color-scheme="dark"] .as-start-section__lead,
body[data-color-scheme="dark"] .as-start-feature p,
body[data-color-scheme="dark"] .as-start-recommend-card p,

body.is-dark .as-start-copy p,
body.is-dark .as-start-section__lead,
body.is-dark .as-start-feature p,
body.is-dark .as-start-recommend-card p {
    color: var(--as-muted);
}


/* Strong text */

html.dark .as-start-copy strong,
html[data-theme="dark"] .as-start-copy strong,
html[data-color-scheme="dark"] .as-start-copy strong,
body.dark .as-start-copy strong,
body.dark-mode .as-start-copy strong,
body[data-theme="dark"] .as-start-copy strong,
body[data-color-scheme="dark"] .as-start-copy strong,
body.is-dark .as-start-copy strong {
    color: var(--as-text);
}


/* Dark hover */

html.dark .as-start-feature:hover,
html.dark .as-start-mini-card:hover,
html.dark .as-start-recommend-card:hover,

html[data-theme="dark"] .as-start-feature:hover,
html[data-theme="dark"] .as-start-mini-card:hover,
html[data-theme="dark"] .as-start-recommend-card:hover,

html[data-color-scheme="dark"] .as-start-feature:hover,
html[data-color-scheme="dark"] .as-start-mini-card:hover,
html[data-color-scheme="dark"] .as-start-recommend-card:hover,

body.dark .as-start-feature:hover,
body.dark .as-start-mini-card:hover,
body.dark .as-start-recommend-card:hover,

body.dark-mode .as-start-feature:hover,
body.dark-mode .as-start-mini-card:hover,
body.dark-mode .as-start-recommend-card:hover,

body[data-theme="dark"] .as-start-feature:hover,
body[data-theme="dark"] .as-start-mini-card:hover,
body[data-theme="dark"] .as-start-recommend-card:hover,

body[data-color-scheme="dark"] .as-start-feature:hover,
body[data-color-scheme="dark"] .as-start-mini-card:hover,
body[data-color-scheme="dark"] .as-start-recommend-card:hover,

body.is-dark .as-start-feature:hover,
body.is-dark .as-start-mini-card:hover,
body.is-dark .as-start-recommend-card:hover {
    border-color: var(--as-border-hover);

    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .as-start-container,
    .as-start-hero__content {
        width: min(100% - 40px, 1180px);
    }

    .as-start-hero {
        min-height: 570px;
    }

    .as-start-hero__content {
        padding: 82px 0;
    }

    .as-start-section {
        padding: 72px 0;
    }

    .as-start-feature {
        grid-template-columns: 1fr;
    }

    .as-start-feature__image {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .as-start-feature__content {
        padding: 32px;
    }

    .as-start-mini-grid,
    .as-start-recommend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .as-start-container,
    .as-start-hero__content {
        width: calc(100% - 32px);
    }

    .as-start-hero {
        min-height: 610px;
        align-items: flex-end;
    }

    .as-start-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(5, 12, 22, 0.96) 0%,
                rgba(5, 12, 22, 0.78) 58%,
                rgba(5, 12, 22, 0.40) 100%
            );
    }

    .as-start-hero__content {
        padding: 72px 0 58px;
    }

    .as-start-hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.4rem);
    }

    .as-start-hero__lead {
        font-size: 1.35rem;
    }

    .as-start-hero__intro {
        font-size: 1rem;
        line-height: 1.65;
    }

    .as-start-editor {
        padding: 40px 0;
    }

    .as-start-section {
        padding: 60px 0;
    }

    .as-start-section--intro {
        padding-top: 56px;
        padding-bottom: 52px;
    }

    .as-start-section__heading {
        display: block;
        margin-bottom: 25px;
    }

    .as-start-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 18px;

        font-size: 1.5rem;
    }

    .as-start-section__heading h2,
    .as-start-section--intro h2 {
        font-size: 2rem;
    }

    .as-start-copy {
        margin-bottom: 32px;
    }

    .as-start-copy p,
    .as-start-section__lead {
        font-size: 1rem;
        line-height: 1.68;
    }

    .as-start-feature {
        margin: 30px 0;
    }

    .as-start-feature__image {
        aspect-ratio: 16 / 9;
    }

    .as-start-feature__content {
        padding: 25px;
    }

    .as-start-feature h3 {
        font-size: 1.55rem;
    }

    .as-start-mini-grid,
    .as-start-recommend-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .as-start-mini-card__content,
    .as-start-recommend-card__content {
        padding: 20px;
    }

    .as-start-actions {
        margin-top: 28px;
    }

    .as-start-button {
        width: 100%;
    }

    .as-start-final {
        padding: 72px 0;
    }

    .as-start-final__actions {
        flex-direction: column;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 390px) {

    .as-start-container,
    .as-start-hero__content {
        width: calc(100% - 26px);
    }

    .as-start-hero h1 {
        font-size: 2.7rem;
    }

    .as-start-section {
        padding: 52px 0;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .as-start-here *,
    .as-start-here *::before,
    .as-start-here *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* ============================================================
   BOLD THEME — ACTUAL DARK MODE
   Bold sets: <html theme-mode="dark">
   ============================================================ */

html[theme-mode="dark"] .as-start-here {
    --as-text: #f5f7fa;
    --as-muted: #c5ced8;
    --as-bg: #10151c;
    --as-bg-alt: #161d26;
    --as-card-bg: #1b232e;
    --as-border: rgba(255, 255, 255, 0.14);
    --as-border-hover: #4da3ff;
    --as-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);

    color: var(--as-text);
    background: var(--as-bg);
}


/* Main sections */

html[theme-mode="dark"] .as-start-section {
    background: var(--as-bg);
}


/* Alternating sections */

html[theme-mode="dark"] .as-start-section--alt,
html[theme-mode="dark"] .as-start-section--featured,
html[theme-mode="dark"] .as-start-section--recommendations {
    background: var(--as-bg-alt);
}


/* Ghost editor content */

html[theme-mode="dark"] .as-start-editor {
    color: var(--as-text);
    background: var(--as-bg);
}


/* Cards and icons */

html[theme-mode="dark"] .as-start-feature,
html[theme-mode="dark"] .as-start-mini-card,
html[theme-mode="dark"] .as-start-recommend-card,
html[theme-mode="dark"] .as-start-icon {
    color: var(--as-text);
    background: var(--as-card-bg);
    border-color: var(--as-border);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}


/* Headings */

html[theme-mode="dark"] .as-start-section h2,
html[theme-mode="dark"] .as-start-feature h3,
html[theme-mode="dark"] .as-start-mini-card h3,
html[theme-mode="dark"] .as-start-recommend-card h3 {
    color: var(--as-text);
}


/* Description/body text */

html[theme-mode="dark"] .as-start-copy p,
html[theme-mode="dark"] .as-start-section__lead,
html[theme-mode="dark"] .as-start-feature p,
html[theme-mode="dark"] .as-start-recommend-card p {
    color: var(--as-muted);
}


/* Bold text */

html[theme-mode="dark"] .as-start-copy strong {
    color: var(--as-text);
}


/* Blue labels and links */

html[theme-mode="dark"] .as-start-kicker,
html[theme-mode="dark"] .as-start-card-label,
html[theme-mode="dark"] .as-start-card-link,
html[theme-mode="dark"] .as-start-mini-card__content span {
    color: #65afff;
}


/* Card hover */

html[theme-mode="dark"] .as-start-feature:hover,
html[theme-mode="dark"] .as-start-mini-card:hover,
html[theme-mode="dark"] .as-start-recommend-card:hover {
    border-color: var(--as-border-hover);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.40);
}


/* Standard buttons */

html[theme-mode="dark"] .as-start-section .as-start-button {
    color: #65afff;
    border-color: #65afff;
}

html[theme-mode="dark"] .as-start-section .as-start-button:hover {
    color: #ffffff;
    border-color: var(--as-blue);
    background: var(--as-blue);
}


/* Keep primary buttons filled */

html[theme-mode="dark"] .as-start-button--primary {
    color: #ffffff;
    border-color: var(--as-blue);
    background: var(--as-blue);
}


/* Focus */

html[theme-mode="dark"] .as-start-feature:focus-visible,
html[theme-mode="dark"] .as-start-mini-card:focus-visible,
html[theme-mode="dark"] .as-start-recommend-card:focus-visible,
html[theme-mode="dark"] .as-start-button:focus-visible {
    outline-color: #65afff;
}