/* Homepage base structure (layout primitives) */

.hero { padding-block: var(--space-7); background: var(--color-surface); border-bottom: 1px solid var(--color-border); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: var(--space-6); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.hero__title { max-width: 18ch; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.hero__subtitle { max-width: 52ch; font-size: var(--text-lg); color: var(--color-text-muted); }
.hero__actions { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; margin-top: var(--space-3); }

.hero__art { position: relative; height: 220px; max-width: 320px; margin-inline: auto; width: 100%; }
.sheet { position: absolute; width: 64%; height: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.sheet--front { right: 0; top: 8%; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.sheet__bar { display: block; height: 8px; border-radius: 4px; background: var(--color-border); }
.sheet__bar--title { height: 14px; width: 60%; background: var(--color-primary); }
.sheet__bar--short { width: 55%; }
.sheet__block { display: block; height: 52px; border-radius: var(--radius-sm); background: var(--color-surface-2); }

@media (min-width: 600px) { .hero__actions { flex-direction: row; width: auto; } }
@media (min-width: 768px) { .hero { padding-block: calc(var(--space-8) * 1.2); } }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.3fr 1fr; } .hero__art { height: auto; max-width: 400px; } }

.section-title { font-size: clamp(1.375rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: var(--space-5); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); }
.section-head .section-title { margin-bottom: 0; }
.section-head__link { font-weight: 600; }
.section-note { margin-top: var(--space-5); color: var(--color-text-muted); }

.category-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3); color: var(--color-text); text-align: center; text-decoration: none; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.category-tile__icon { width: 28px; height: 28px; color: var(--color-primary); }
.category-tile__name { font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }

.value__title { margin-bottom: var(--space-2); font-size: var(--text-lg); font-weight: 700; }
.value p { color: var(--color-text-muted); }

.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-5); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 3rem; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; font-weight: 800; color: #fff; background: var(--color-primary); border-radius: 50%; }
.step__title { margin-bottom: var(--space-1); font-size: var(--text-lg); font-weight: 700; }
.step p { color: var(--color-text-muted); }

.review-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: var(--space-3); }
.review__rating { font-weight: 700; }
.review__body { margin: 0; }
.review__by { margin-top: auto; font-size: var(--text-sm); color: var(--color-text-muted); }

.cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.cta__title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cta__text { max-width: 52ch; font-size: var(--text-lg); color: var(--color-text-muted); }

/* Homepage - ReadyKit PH. Layout + palette taken from the logo:
   navy #1c2030, greens #6cc24a -> #1f8a42 -> #0d5c3a, sun gold #f5b50a.
   Everything is scoped to .page-home so other pages are untouched. */

.page-home {
    --rk-navy: #1c2030;
    --rk-navy-2: #12151f;
    --rk-green: #1f8a42;
    --rk-green-light: #6cc24a;
    --rk-green-dark: #0d5c3a;
    --rk-gold: #f5b50a;

    --color-bg: #ffffff;
    --color-surface: #f3f8f3;
    --color-surface-2: #e6f1e7;
    --color-text: #1c2030;
    --color-text-muted: #4b5563;
    --color-border: #dbe8dc;
    --color-primary: #1a7f3c;
    --color-primary-hover: #0d5c3a;
    --color-primary-soft: #e6f4e8;
    --color-accent: #f5b50a;
    --color-cta: #f5b50a;
    --color-cta-hover: #e0a300;
    --color-success: #0d5c3a;
    --color-success-soft: #e6f4e8;
    --color-warning: #7a5200;
    --color-warning-soft: #fff4d1;
    --color-info: #0d5c3a;
    --color-info-soft: #e6f4e8;
    --grad-brand: linear-gradient(135deg, #6cc24a 0%, #1f8a42 55%, #0d5c3a 100%);
    --shadow-md: 0 14px 34px rgba(13, 92, 58, 0.14);
    --shadow-lg: 0 24px 60px rgba(13, 40, 30, 0.28);
    background: #fff;
}
.page-home ::selection { background: #bfe6b3; }
.page-home :focus-visible { outline-color: var(--rk-green); }

/* ---- shared components, re-skinned for this page ---- */
.page-home .btn--cta { color: var(--rk-navy); background: var(--rk-gold); box-shadow: 0 6px 18px rgba(245, 181, 10, 0.4); font-weight: 800; }
.page-home .btn--cta:hover { color: var(--rk-navy); background: var(--color-cta-hover); box-shadow: 0 10px 24px rgba(245, 181, 10, 0.5); }
.page-home .btn--primary { box-shadow: 0 6px 18px rgba(31, 138, 66, 0.35); }
.page-home .btn--primary:hover { box-shadow: 0 10px 24px rgba(31, 138, 66, 0.45); }
.page-home .btn--secondary:hover { color: var(--rk-green-dark); }
.page-home .btn--ghost-light { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }
.page-home .btn--ghost-light:hover { color: var(--rk-navy); background: #fff; border-color: #fff; transform: translateY(-2px); }
.page-home .form-input:focus, .page-home .form-select:focus { box-shadow: 0 0 0 4px rgba(31, 138, 66, 0.18); }
.page-home .site-header.is-scrolled { box-shadow: 0 8px 24px rgba(13, 40, 30, 0.1); }
.page-home .navbar__count { background: var(--rk-gold); color: var(--rk-navy); box-shadow: 0 3px 8px rgba(245, 181, 10, 0.5); }
.page-home .site-footer { background: var(--rk-navy-2); }
.page-home .footer__tagline, .page-home .footer__heading, .page-home .footer__bottom { color: #8f9bb0; }
.page-home .footer__col a { color: #dbe3ee; }
.page-home .to-top { background: var(--grad-brand); }

.page-home .product-card { border-radius: 4px 22px 4px 22px; }
.page-home .product-card:hover, .page-home .product-card:focus-within { border-color: var(--rk-green-light); box-shadow: var(--shadow-lg); }
.page-home .product-card__media { background: linear-gradient(145deg, #e6f4e8, #fff6dc); }
.page-home .product-card__link:focus-visible::after { border-radius: 4px 22px 4px 22px; }
.page-home .badge--primary { background: var(--grad-brand); color: #fff; }
.page-home .badge--warning { background: var(--rk-gold); color: var(--rk-navy); }
.page-home .price--free { color: var(--rk-green); }

/* ---- type helpers ---- */
.page-home .kicker {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-2);
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rk-green);
}
.page-home .kicker::before { content: ""; width: 26px; height: 4px; background: var(--rk-gold); border-radius: 2px; transform: skewX(-25deg); }
.page-home .kicker--light { color: var(--rk-green-light); }
.page-home .category-tile, .page-home .section-head__link { text-decoration: none; }
.page-home .section-title { font-weight: 900; font-style: italic; letter-spacing: -0.03em; text-transform: none; }
.page-home .section-title--light { color: #fff; }
.page-home .section-head { align-items: flex-end; }
.page-home .section-head .kicker { display: flex; }
.page-home .section-head__link { color: var(--rk-green); font-weight: 800; }
.page-home .section--alt { background: var(--color-surface); }

/* ============================================================ HERO */
.page-home .hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: var(--space-7) calc(var(--space-8) + 24px);
    color: #fff; border: 0;
    background:
        radial-gradient(700px 420px at 82% 40%, rgba(31, 138, 66, 0.55) 0%, rgba(31, 138, 66, 0) 70%),
        linear-gradient(160deg, var(--rk-navy) 0%, var(--rk-navy-2) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px));
}
.page-home .hero__inner { gap: var(--space-7); }
.page-home .hero__copy { gap: var(--space-4); }
.page-home .hero__eyebrow {
    padding: 0.35rem 1rem 0.35rem 0.8rem; color: #fff; background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; border-radius: 4px 14px 4px 14px;
}
.page-home .hero__dot { background: var(--rk-green-light); box-shadow: 0 0 0 0 rgba(108, 194, 74, 0.6); }
.page-home .hero__title {
    max-width: 14ch; font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 900; font-style: italic;
    line-height: 1.02; letter-spacing: -0.04em; color: #fff;
}
.page-home .hero__hl {
    display: inline; color: transparent; -webkit-text-fill-color: transparent;
    background: linear-gradient(100deg, #8fdc6a 0%, #3fae4a 70%); -webkit-background-clip: text; background-clip: text;
}
.page-home .hero__subtitle { color: #c3cad8; }

/* speed lines (from the logo's R) */
.page-home .hero__speed, .page-home .cta__speed { position: absolute; z-index: -1; left: -40px; top: 52%; display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.page-home .hero__speed span, .page-home .cta__speed span { display: block; height: 14px; border-radius: 0 999px 999px 0; background: linear-gradient(90deg, rgba(108, 194, 74, 0), rgba(108, 194, 74, 0.55)); }
.page-home .hero__speed span:nth-child(1), .page-home .cta__speed span:nth-child(1) { width: 180px; }
.page-home .hero__speed span:nth-child(2), .page-home .cta__speed span:nth-child(2) { width: 120px; margin-left: 30px; }
.page-home .hero__speed span:nth-child(3), .page-home .cta__speed span:nth-child(3) { width: 150px; margin-left: 10px; }

/* ring with a template stack, echoing the circular logo */
.page-home .hero__art { height: auto; max-width: 400px; aspect-ratio: 1; }
.page-home .ring {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 10px solid transparent;
    background-image: radial-gradient(circle at 50% 40%, #1f2536, var(--rk-navy-2)), conic-gradient(from 200deg, #6cc24a, #1f8a42, #0d5c3a, #1f8a42, #6cc24a);
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: var(--shadow-lg);
}
.page-home .sheet { width: 44%; height: 56%; border-radius: 6px 20px 6px 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.page-home .sheet--back { left: 16%; top: 20%; transform: rotate(-9deg); background: linear-gradient(145deg, #6cc24a, #1f8a42); }
.page-home .sheet--front { right: auto; left: 33%; top: 15%; transform: rotate(5deg); background: #fff; gap: var(--space-2); padding: var(--space-4); }
.page-home .sheet__bar { background: #dfe7e0; }
.page-home .sheet__bar--title { background: var(--rk-navy); }
.page-home .sheet__block { background: #e6f4e8; height: 42px; }
.page-home .ring__ph {
    position: absolute; right: 14%; bottom: 17%; padding: 0.15rem 0.8rem; font-size: 1.15rem; font-weight: 900; font-style: italic; color: #fff;
    background: var(--rk-green); border-radius: 4px 14px 4px 14px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.page-home .float-chip { color: var(--rk-navy); background: #fff; border-radius: 4px 12px 4px 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.page-home .float-chip--two { color: var(--rk-navy); background: var(--rk-gold); }
.page-home .float-chip--three { color: #fff; background: var(--rk-green); }
.page-home .float-chip--one { left: -2%; top: 14%; }
.page-home .float-chip--two { right: -3%; top: 8%; }
.page-home .float-chip--three { right: 0; bottom: 12%; }

/* ============================================================ TRUST BAR (overlaps hero edge) */
.page-home .trustbar { position: relative; z-index: 2; margin-top: -38px; }
.page-home .trustbar__list {
    display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden;
    background: #fff; border: 1px solid var(--color-border); border-radius: 6px 22px 6px 22px; box-shadow: var(--shadow-md);
}
.page-home .trustbar__list li { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: var(--space-4); font-weight: 800; color: var(--rk-navy); }
.page-home .trustbar__list li + li { border-top: 1px solid var(--color-border); }
.page-home .trustbar__list svg { flex: none; padding: 4px; width: 28px; height: 28px; color: #fff; background: var(--grad-brand); border-radius: 50%; }
@media (min-width: 700px) {
    .page-home .trustbar__list { grid-template-columns: repeat(3, 1fr); }
    .page-home .trustbar__list li + li { border-top: 0; border-left: 1px solid var(--color-border); }
}

/* ============================================================ SPLIT (heading left, content right) */
.page-home .split { display: grid; grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
.page-home .split__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.page-home .split__head .section-title { margin-bottom: 0; }
.page-home .split__text { max-width: 34ch; color: var(--color-text-muted); }
@media (min-width: 900px) {
    .page-home .split { grid-template-columns: 300px 1fr; gap: var(--space-7); }
    .page-home .split__head { position: sticky; top: calc(var(--header-height) + var(--space-5)); }
    .page-home .split--faq { grid-template-columns: 340px 1fr; }
}

/* categories: tile grid */
.page-home .category-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; overflow: visible; }
.page-home .category-strip > li { flex: initial; }
.page-home .category-tile {
    width: auto; height: 100%; min-height: 108px; flex-direction: row; justify-content: flex-start; gap: var(--space-3); text-align: left;
    padding: var(--space-4); border-radius: 4px 20px 4px 20px; border-color: var(--color-border);
}
.page-home .category-tile:hover { border-color: var(--rk-green-light); background: #fff; }
.page-home .category-tile__icon { flex: none; color: var(--rk-green); background: var(--color-primary-soft); border-radius: 4px 12px 4px 12px; }
.page-home .category-tile:hover .category-tile__icon { background: var(--grad-brand); color: #fff; }
.page-home .category-tile__name { font-size: 0.95rem; font-weight: 800; }
@media (min-width: 700px) { .page-home .category-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============================================================ WHY: dark bento */
.page-home .why {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(600px 320px at 100% 0, rgba(31, 138, 66, 0.45), rgba(31, 138, 66, 0) 70%), linear-gradient(160deg, var(--rk-navy), var(--rk-navy-2));
    clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
    padding-block: calc(var(--space-8) + 20px);
    margin-block: var(--space-5);
}
.page-home .why .section-title { margin-bottom: var(--space-6); max-width: 16ch; }
.page-home .bento { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.page-home .value {
    padding: var(--space-5); color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px 22px 4px 22px; box-shadow: none; backdrop-filter: none;
}
.page-home .value:hover { transform: translateY(-4px); border-color: var(--rk-green-light); box-shadow: none; }
.page-home .value p { color: #c3cad8; }
.page-home .value__title { font-size: 1.25rem; font-weight: 800; }
.page-home .value__icon { color: #fff; background: var(--grad-brand); border-radius: 4px 14px 4px 14px; box-shadow: 0 8px 18px rgba(31, 138, 66, 0.4); }
.page-home .value--lead { background: linear-gradient(150deg, #1f8a42, #0d5c3a); border-color: transparent; }
.page-home .value--lead p { color: #e6f4e8; }
.page-home .value--lead .value__icon { color: var(--rk-navy); background: var(--rk-gold); box-shadow: none; width: 56px; height: 56px; }
.page-home .value--lead .value__title { font-size: 1.75rem; font-style: italic; font-weight: 900; }
@media (min-width: 700px) {
    .page-home .bento { grid-template-columns: repeat(2, 1fr); }
    .page-home .value--lead { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
}
@media (min-width: 1000px) {
    .page-home .bento { grid-template-columns: 1.3fr 1fr 1fr; }
    .page-home .value--lead { grid-row: span 2; }
    .page-home .value--wide { grid-column: span 2; }
}

/* ============================================================ HOW IT WORKS: chevron steps */
.page-home .steps { gap: var(--space-3); }
.page-home .step {
    padding: var(--space-5) var(--space-5) var(--space-5) 4.5rem; background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 4px 22px 4px 22px;
}
.page-home .step::before {
    left: var(--space-4); top: var(--space-4); width: 2.75rem; height: 2.75rem; font-size: 1.25rem; font-style: italic; border-radius: 4px 14px 4px 14px;
    background: var(--grad-brand); box-shadow: 0 6px 14px rgba(31, 138, 66, 0.35);
}
.page-home .step:nth-child(2)::before { background: var(--rk-gold); color: var(--rk-navy); box-shadow: 0 6px 14px rgba(245, 181, 10, 0.4); }
.page-home .step:nth-child(3)::before { background: var(--rk-navy); box-shadow: 0 6px 14px rgba(28, 32, 48, 0.35); }
@media (min-width: 768px) {
    .page-home .step { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); border: 0; border-radius: 0; padding-right: 3.2rem; }
    .page-home .steps { gap: 6px; }
}

/* ============================================================ REVIEWS */
.page-home .review-grid { gap: var(--space-4); }
.page-home .review.card { border-radius: 4px 22px 4px 22px; border-top: 4px solid var(--rk-green-light); }
.page-home .review__rating { color: var(--rk-gold); }
.page-home .review__body { font-weight: 600; }
.page-home .review__by a { color: var(--rk-green); font-weight: 700; }
@media (min-width: 900px) {
    .page-home .review:first-child { grid-row: span 1; background: var(--rk-navy); color: #fff; border-color: var(--rk-navy); border-top-color: var(--rk-gold); }
    .page-home .review:first-child .review__by { color: #aab4c6; }
    .page-home .review:first-child .review__by a { color: var(--rk-green-light); }
}

/* ============================================================ FAQ */
.page-home .accordion { border-top: 0; display: grid; gap: var(--space-2); }
.page-home .accordion__item { padding-inline: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 4px 16px 4px 16px; }
.page-home .accordion__item[open] { background: #fff; border-color: var(--rk-green-light); box-shadow: var(--shadow-md); }
.page-home .accordion__question { padding-left: 0; font-weight: 800; }
.page-home .accordion__question::after { color: var(--rk-green); font-weight: 700; right: 0; }
.page-home .accordion__question:hover { color: var(--rk-green); }

/* ============================================================ CTA */
.page-home .cta {
    position: relative; overflow: hidden; color: #fff; border: 0; isolation: isolate;
    background: radial-gradient(500px 300px at 90% 100%, rgba(108, 194, 74, 0.35), rgba(108, 194, 74, 0) 70%), linear-gradient(135deg, var(--rk-green-dark), var(--rk-navy));
    clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
    padding-block: calc(var(--space-8) + 16px) var(--space-8);
    margin-top: var(--space-5);
}
.page-home .cta::before { width: 360px; height: 360px; right: -90px; top: -70px; background: none; border: 10px solid rgba(245, 181, 10, 0.22); }
.page-home .cta::after { display: none; }
.page-home .cta__title { color: #fff; font-style: italic; font-weight: 900; letter-spacing: -0.03em; }
.page-home .cta__text { color: #d4e6d8; }
.page-home .cta__speed { top: 40%; }
.page-home .cta__inner { gap: var(--space-3); }

@media (prefers-reduced-motion: reduce) { .page-home .hero__dot { animation: none; } }
@media (max-width: 599px) {
    .page-home .hero__art { max-width: 300px; }
    .page-home .hero__speed, .page-home .cta__speed { display: none; }
    .page-home .hero__hl { display: inline; }
}

.page-home .footer__logo { background: #fff; border-radius: 50%; padding: 3px; }

/* Stage 11: let grid children shrink so long category names cannot widen the page on phones */
.page-home .category-strip > li, .page-home .category-tile { min-width: 0; }
.page-home .category-tile { overflow-wrap: anywhere; }
