/**
 * Start Here guided content hub.
 *
 * Loaded only for the signed administrator preview. These selectors adapt the
 * HTML already stored in WordPress page 1047; no plugin stylesheet or
 * page-specific JavaScript is required.
 */

.ckr-preview-notice {
    border-bottom: 1px solid var(--ckr-line);
    color: var(--ckr-ink);
    background: var(--ckr-gold-soft);
}

.ckr-preview-notice__inner {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: var(--ckr-space-3);
    padding-block: var(--ckr-space-2);
    font-size: 0.82rem;
    text-align: center;
}

.ckr-preview-notice__inner strong {
    color: var(--ckr-ink);
    font-family: var(--ckr-font-heading);
}

.ckr-preview-notice__inner span {
    color: var(--ckr-muted);
}

.ckr-start-here {
    overflow: clip;
    color: var(--ckr-ink);
    background: var(--ckr-cream);
}

/* Compatibility values for the inline variables still stored on page 1047. */
.ckr-start-here .ckr-scope {
    --bg: var(--ckr-cream);
    --bg-2: var(--ckr-cream-soft);
    --card: var(--ckr-card);
    --ink: var(--ckr-ink);
    --muted: var(--ckr-muted);
    --sage: var(--ckr-sage);
    --sage-deep: var(--ckr-sage-deep);
    --sage-dark: var(--ckr-sage-dark);
    --sage-soft: var(--ckr-sage-soft);
    --terra: var(--ckr-terra);
    --terra-deep: var(--ckr-terra-deep);
    --terra-soft: var(--ckr-terra-soft);
    --line: var(--ckr-line);
    --shadow-sm: var(--ckr-shadow-sm);
    --shadow-md: var(--ckr-shadow-md);
    --r-md: var(--ckr-radius-md);
    --r-lg: var(--ckr-radius-lg);
    width: 100%;
    font-family: var(--ckr-font-body);
}

.ckr-start-here :where(*, *::before, *::after) {
    box-sizing: border-box;
}

.ckr-start-here :where(h1, h2, h3, p, ul) {
    margin-top: 0;
}

.ckr-start-here :where(h1, h2, h3) {
    color: var(--ckr-ink);
    font-family: var(--ckr-font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.ckr-start-here h1 {
    max-width: 56rem;
    margin-inline: auto;
    margin-bottom: var(--ckr-space-5);
    font-size: clamp(2.35rem, 6vw, 4.25rem);
    line-height: 1.06;
}

.ckr-start-here h2 {
    margin-bottom: var(--ckr-space-4);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.14;
}

.ckr-start-here h3 {
    margin-bottom: var(--ckr-space-3);
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.25;
}

.ckr-start-here p,
.ckr-start-here li {
    color: var(--ckr-muted);
}

.ckr-start-here a {
    text-underline-offset: 0.18em;
}

.ckr-start-here .container {
    width: min(var(--dp-max), calc(100% - 48px));
    margin-inline: auto;
}

.ckr-start-here .center {
    text-align: center;
}

.ckr-start-here .hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 9vw, 7.5rem) !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(94, 127, 106, 0.14), transparent 26rem),
        radial-gradient(circle at 88% 78%, rgba(198, 90, 60, 0.10), transparent 24rem),
        var(--ckr-cream);
}

.ckr-start-here .overline {
    display: inline-block;
    margin-bottom: var(--ckr-space-4);
    color: var(--ckr-sage-deep);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ckr-start-here .lead {
    max-width: 46rem;
    color: var(--ckr-muted);
    font-size: clamp(1.025rem, 1.8vw, 1.125rem);
    line-height: 1.68;
}

.ckr-start-here .hero-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: var(--ckr-space-5) 0 0;
    color: var(--ckr-muted);
    font-size: 0.86rem;
}

.ckr-start-here .hero .lead,
.ckr-start-here .cta-band .lead {
    margin-inline: auto;
}

.ckr-start-here .hero-note a,
.ckr-start-here .ckr-read-next a {
    color: var(--ckr-terra-deep);
    font-weight: 700;
}

.ckr-start-here .section {
    padding-block: clamp(var(--ckr-space-9), 8vw, var(--ckr-space-11));
    scroll-margin-top: 6rem;
}

.ckr-start-here .section-stone {
    border-block: 1px solid var(--ckr-line);
    background: var(--ckr-cream-soft);
}

.ckr-start-here .section-tight {
    padding-block: clamp(var(--ckr-space-8), 7vw, var(--ckr-space-10));
}

.ckr-start-here .ckr-path-section .container > .badge,
.ckr-start-here .ckr-path-section .container > h2,
.ckr-start-here .ckr-path-section .container > .lead {
    display: table;
    margin-inline: auto;
    text-align: center;
}

.ckr-start-here .ckr-path-section .container > .lead {
    display: block;
}

.ckr-start-here .ckr-path-section .grid-2 {
    max-width: 64rem;
    margin-inline: auto;
}

.ckr-start-here > .ckr-scope > span[id] {
    display: block;
    scroll-margin-top: 6rem;
}

.ckr-start-here .ckr-anchor-alias {
    display: block;
    height: 0;
    scroll-margin-top: 6rem;
}

/* Gutenberg copy: remove block-layout side effects without affecting content. */
.ckr-start-here--blocks .wp-block-group {
    margin-block-start: 0;
}

.ckr-start-here--blocks .wp-block-group.container {
    max-width: none;
    padding: 0;
}

.ckr-start-here--blocks .ckr-action {
    margin-bottom: 0;
}

.ckr-start-here .grid {
    display: grid;
    gap: var(--ckr-space-5);
}

.ckr-start-here .grid-2 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.ckr-start-here .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ckr-start-here .card {
    min-width: 0;
    border: 1px solid var(--ckr-line);
    border-radius: var(--ckr-radius-lg);
    background: var(--ckr-card);
    box-shadow: var(--ckr-shadow-sm);
}

.ckr-start-here .card-pad {
    padding: var(--ckr-space-6);
}

.ckr-start-here .ckr-product-card {
    border-color: var(--ckr-terra);
}

.ckr-start-here .ckr-path-section {
    transition: background-color 220ms ease, box-shadow 220ms ease;
}

.ckr-start-here .ckr-path-section.is-highlighted {
    box-shadow: inset 0 0 0 3px rgba(198, 90, 60, 0.28);
}

.ckr-start-here .badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: var(--ckr-radius-pill);
    color: var(--ckr-sage-dark);
    background: var(--ckr-sage-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ckr-start-here .badge-terra {
    color: var(--ckr-terra-deep);
    background: var(--ckr-terra-soft);
}

.ckr-start-here .check-list {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.ckr-start-here .check-list li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 2.1rem;
}

.ckr-start-here .check-list li::before {
    position: absolute;
    top: 0.1rem;
    left: 0;
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    border-radius: 0.5rem;
    color: var(--ckr-sage-dark);
    background: var(--ckr-sage-soft);
    content: "\2713";
    font-size: 0.8125rem;
    font-weight: 800;
}

.ckr-start-here .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.45rem;
    border: 1px solid transparent;
    border-radius: var(--ckr-radius-pill);
    font-family: var(--ckr-font-heading);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ckr-start-here .btn-sm {
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
}

.ckr-start-here .btn-lg {
    min-height: 54px;
    padding-inline: 2rem;
}

.ckr-start-here .btn-primary,
.ckr-start-here .btn-primary:visited {
    color: var(--ckr-white);
    background: var(--ckr-terra);
    box-shadow: var(--ckr-shadow-cta);
}

.ckr-start-here .btn-primary:hover {
    color: var(--ckr-white);
    background: var(--ckr-terra-deep);
    transform: translateY(-2px);
}

.ckr-start-here .btn-secondary,
.ckr-start-here .btn-secondary:visited {
    color: var(--ckr-white);
    background: var(--ckr-sage);
}

.ckr-start-here .btn-secondary:hover {
    color: var(--ckr-white);
    background: var(--ckr-sage-deep);
    transform: translateY(-2px);
}

.ckr-start-here .btn-ghost,
.ckr-start-here .btn-ghost:visited {
    color: var(--ckr-ink);
    border-color: var(--ckr-line);
    background: rgba(255, 253, 248, 0.84);
}

.ckr-start-here .btn-ghost:hover {
    color: var(--ckr-sage-dark);
    border-color: var(--ckr-sage);
    background: var(--ckr-white);
    transform: translateY(-2px);
}

.ckr-start-here .cta-band {
    padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--ckr-radius-xl);
    color: var(--ckr-dark-text);
    background: var(--ckr-ink-forest);
    box-shadow: var(--ckr-shadow-md);
    text-align: center;
}

.ckr-start-here .cta-band h2 {
    color: var(--ckr-white);
}

.ckr-start-here .cta-band p {
    color: var(--ckr-dark-text-soft);
}

/* Content must never disappear if the legacy reveal script is absent. */
.ckr-start-here .reveal {
    opacity: 1;
    transform: none;
}

.ckr-start-here .mt-1 {
    margin-top: var(--ckr-space-2);
}

.ckr-start-here .mt-2 {
    margin-top: var(--ckr-space-4);
}

.ckr-start-here .mt-3 {
    margin-top: var(--ckr-space-5);
}

.ckr-start-here .mt-4 {
    margin-top: var(--ckr-space-6);
}

/*
 * DP Starter adds an inner container to every classic Group block. Layout
 * classes therefore belong visually to that inner element in the modular
 * Gutenberg copy, while the original page-1047 rehearsal keeps its raw HTML.
 */
.ckr-start-here.ckr-start-here--blocks .path-row,
.ckr-start-here.ckr-start-here--blocks .grid-3,
.ckr-start-here.ckr-start-here--blocks .grid-2,
.ckr-start-here.ckr-start-here--blocks .ckr-jump-links {
    display: block;
}

.ckr-start-here--blocks .path-row > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: var(--ckr-space-6);
    align-items: start;
}

.ckr-start-here--blocks .path-row > .wp-block-group__inner-container > .wp-block-group {
    min-width: 0;
    margin: 0;
}

.ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ckr-space-5);
}

.ckr-start-here--blocks .grid-2 > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--ckr-space-5);
}

.ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container > .wp-block-group {
    width: 100%;
    max-width: none;
    margin: 0;
}

.ckr-start-here--blocks .ckr-jump-links > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ckr-start-here--blocks .ckr-jump-links > .wp-block-group__inner-container > p {
    width: auto;
    margin: 0;
}

/*
 * Keep the private Start Here review focused on its four paths. SureCart's
 * global floating launcher remains available everywhere else on the site.
 */
body.page-template-template-start-here-modular-preview .wp-block-surecart-cart-icon,
body.ckr-native-start-here .wp-block-surecart-cart-icon {
    display: none !important;
}

@media (max-width: 1020px) {
    .ckr-start-here .grid-2 {
        grid-template-columns: 1fr;
    }

    .ckr-start-here .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ckr-start-here .grid-3 > :last-child {
        grid-column: 1 / -1;
    }

    .ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ckr-start-here--blocks .grid-2 > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }

    .ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .ckr-preview-notice__inner {
        flex-direction: column;
        gap: 0;
        padding-block: var(--ckr-space-3);
    }

    .ckr-start-here .container {
        width: min(100% - 32px, var(--dp-max));
    }

    .ckr-start-here .grid-3 {
        grid-template-columns: 1fr;
    }

    .ckr-start-here .grid-3 > :last-child {
        grid-column: auto;
    }

    .ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }

    .ckr-start-here--blocks .grid-3 > .wp-block-group__inner-container > :last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .ckr-start-here .card-pad {
        padding: var(--ckr-space-5);
    }

    .ckr-start-here .hero .btn {
        width: 100%;
    }

    .ckr-start-here--blocks .path-row > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
        gap: var(--ckr-space-4);
    }

    .ckr-start-here--blocks .ckr-jump-links > .wp-block-group__inner-container > p {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ckr-start-here .btn {
        transition: none;
    }
}

/* ==========================================================================
   Gutenberg wrapper normalization
   ========================================================================== */

.ckr-start-here--blocks {
    overflow-x: clip;
}

.ckr-start-here--blocks :where(.wp-block-group, .wp-block-list, .wp-block-heading, p) {
    min-width: 0;
}

.ckr-start-here--blocks .path-row:not(:has(> .wp-block-group__inner-container)) {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: var(--ckr-space-6);
    align-items: start;
}

.ckr-start-here--blocks .grid-3:not(:has(> .wp-block-group__inner-container)) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ckr-space-5);
}

.ckr-start-here--blocks .grid-2:not(:has(> .wp-block-group__inner-container)) {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--ckr-space-5);
}

.ckr-start-here--blocks .ckr-jump-links:not(:has(> .wp-block-group__inner-container)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ckr-start-here--blocks .ckr-jump-links:not(:has(> .wp-block-group__inner-container)) > p {
    width: auto;
    margin: 0;
}

.ckr-start-here--blocks .card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.ckr-start-here--blocks .ckr-action {
    margin-top: auto;
}

.ckr-start-here--blocks .btn {
    max-width: 100%;
    white-space: normal;
}

.ckr-start-here--blocks .hero-note {
    max-width: 46rem;
    margin-inline: auto;
}

@media (max-width: 1020px) {
    .ckr-start-here--blocks .grid-3:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ckr-start-here--blocks .grid-2:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr;
    }

    .ckr-start-here--blocks .grid-3:not(:has(> .wp-block-group__inner-container)) > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .ckr-start-here--blocks .grid-3:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr;
    }

    .ckr-start-here--blocks .grid-2:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr;
    }

    .ckr-start-here--blocks .grid-3:not(:has(> .wp-block-group__inner-container)) > :last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .ckr-start-here--blocks .path-row:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr;
        gap: var(--ckr-space-4);
    }

    .ckr-start-here--blocks .ckr-jump-links:not(:has(> .wp-block-group__inner-container)) > p,
    .ckr-start-here--blocks .ckr-jump-links .btn,
    .ckr-start-here--blocks .ckr-action .btn,
    .ckr-start-here--blocks .cta-band .btn {
        width: 100%;
    }

    .ckr-start-here--blocks .hero-note {
        display: block;
        font-size: 0.84rem;
    }

    .ckr-start-here--blocks .hero-note a {
        display: inline;
    }
}
