/*
Theme Name: AuthorShelf Theme
Theme URI: https://authorshelf.com
Author: Jason Bradley
Author URI: https://authorshelf.com
Description: A custom theme for AuthorShelf.com - Clean rebuild.
Version: 1.3.27
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: authorshelf-theme
*/

/* ============================================
   AuthorShelf Brand Design System
   Logo: Author #FA0029 | Shelf #9CBCDA
   ============================================ */
:root {
    --as-author: #FF0005;
    --as-author-hover: #E00004;
    --as-author-active: #C00004;
    --as-author-soft: rgba(255, 0, 5, 0.09);
    /* Brand blue accent #5C7DB7 + tints (replaces prior teal) */
    --as-teal: #5C7DB7;
    --as-teal-bright: #7A9AC9;
    --as-teal-deep: #3D5A8A;
    --as-shelf: #8EADD4;
    --as-shelf-deep: #5C7DB7;
    --as-shelf-hover: #7A9AC9;
    --as-shelf-light: #EEF3F9;
    --as-shelf-pale: #F5F8FC;
    --as-ink: #0A2540;
    --as-ink-mid: #143A5C;
    --as-ink-soft: #2A4A66;
    --as-muted: #5B6B7C;
    --as-text: #1E2F42;
    --as-border: #D8E2EC;
    --as-border-soft: #EEF3F8;
    --as-surface: #FFFFFF;
    --as-surface-alt: #F5F8FB;
    --as-link: var(--as-teal-deep);
    --as-link-hover: var(--as-author);
    --as-shadow: 0 4px 22px rgba(10, 37, 64, 0.1);
    --as-shadow-lg: 0 14px 44px rgba(10, 37, 64, 0.14);
    --as-gradient-hero: linear-gradient(135deg, var(--as-ink) 0%, #12405F 50%, var(--as-teal-deep) 100%);
    --as-gradient-cta: linear-gradient(135deg, #FF1A1F 0%, #FF0005 45%, #D90004 100%);
    --as-gradient-accent: linear-gradient(90deg, var(--as-teal) 0%, var(--as-author) 100%);
    --as-gradient-shelf: linear-gradient(135deg, var(--as-teal) 0%, var(--as-teal-deep) 100%);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--as-text);
    background: var(--as-surface);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   2025 AuthorShelf Public Site Styles
   Faithful recreation of the Feb 2025 archived design
   ============================================ */

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (matches 2025 archive elements) */
.site-header {
    background: var(--as-surface);
    box-shadow: 0 1px 0 var(--as-border), var(--as-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 8px 20px;
    background: var(--as-shelf-pale);
    font-size: 0.88rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--as-border);
}

.header-welcome {
    font-weight: 600;
    color: var(--as-ink);
}

.header-phone {
    color: var(--as-shelf-deep);
    text-decoration: none;
    font-weight: 500;
}

.header-phone:hover {
    text-decoration: underline;
}

.header-cart .cart-link,
.header-portal .portal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
}

.header-portal .register {
    background: var(--as-author);
    color: #fff;
    border-color: var(--as-author);
}

.header-portal .login {
    background: #fff;
}

/* New constant Author Portal button in header top right */
.header-portal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-portal .portal-greeting {
    color: #444;
    font-size: 0.85rem;
    white-space: nowrap;
}

.header-portal .portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--as-ink);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--as-ink);
    box-shadow: var(--as-shadow);
}

.header-portal .portal-btn:hover {
    background: var(--as-author);
    border-color: var(--as-author);
    transform: translateY(-1px);
}

.header-portal .portal-btn .portal-icon {
    display: flex;
    align-items: center;
}

.header-portal .portal-btn .portal-text {
    white-space: nowrap;
}

.header-portal .portal-logout {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.header-portal .portal-logout:hover {
    background: #f0f0f0;
    color: var(--as-ink);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;   /* increased vertical padding for larger logo */
    flex-wrap: wrap;
    gap: 1rem;
}

.site-branding .site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -0.6px;
}

/* Logo in main header - increased size */
.site-branding img,
.site-branding .custom-logo,
.site-branding .default-logo {
    max-height: 68px;
    width: auto;
    display: block;
}

/* Slightly smaller logo on mobile for better header balance */
@media (max-width: 768px) {
    .site-branding img,
    .site-branding .custom-logo,
    .site-branding .default-logo {
        max-height: 50px;
    }
}

/* Footer default logo */
.footer-logo img,
.footer-logo .default-logo {
    max-height: 26px;
    width: auto;
    display: block;
    opacity: 0.95;
}

.main-navigation ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
}

.main-navigation a:hover {
    color: var(--as-author);
}

.header-cta .btn-publish {
    background: var(--as-gradient-cta);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(250, 0, 41, 0.28);
    border: 1px solid transparent;
}

.header-cta .btn-publish:hover {
    background: linear-gradient(135deg, var(--as-author-hover) 0%, var(--as-author) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(250, 0, 41, 0.35);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: var(--as-author);
    color: #fff;
    border-color: var(--as-author);
}

.btn-primary:hover {
    background: var(--as-author-hover);
    border-color: var(--as-author-hover);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--as-ink);
    border-color: var(--as-shelf);
}

.btn-secondary:hover {
    background: var(--as-shelf-light);
    border-color: var(--as-shelf-deep);
    color: var(--as-ink);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 7px 16px;
    font-size: 0.85rem;
    border-width: 1.5px;
}

/* Homepage Sections */
.authorshelf-home {
    overflow: hidden;
}

/* ============================================
   Hero Video Section (Matches 2025 Archive Style)
   ============================================ */
.hero-video-section {
    position: relative;
    height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #0A2540 url('assets/images/hero-fallback.jpg') center/cover no-repeat;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    /* Lift muddy video so color + motion read through the overlay */
    filter: contrast(1.12) saturate(1.18) brightness(1.06);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Left: readable text · Right: more video visible · Teal edge for brand pop */
    background:
        linear-gradient(
            105deg,
            rgba(10, 37, 64, 0.92) 0%,
            rgba(10, 37, 64, 0.78) 38%,
            rgba(20, 58, 92, 0.45) 62%,
            rgba(61, 90, 138, 0.28) 100%
        ),
        linear-gradient(
            to top,
            rgba(10, 37, 64, 0.55) 0%,
            transparent 42%
        );
    z-index: 3;
}

.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 18% 45%, rgba(92, 125, 183, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-text {
    max-width: 820px;
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-main-title .hero-accent-author {
    color: #FF4D51;
    text-shadow: 0 0 28px rgba(255, 0, 5, 0.45), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-main-title .hero-accent-shelf {
    color: #A8C4E8;
    text-shadow: 0 0 24px rgba(92, 125, 183, 0.5), 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
    font-size: 1.55rem;
    font-style: italic;
    margin: 0 0 18px;
    color: #fff;
    line-height: 1.3;
}

.hero-description,
.hero-description-secondary {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 12px;
    color: #f1f1f1;
    max-width: 680px;
}

.hero-description-secondary {
    font-size: 0.98rem;
    opacity: 0.95;
}

/* Gradient CTA Button (Archive Style) */
.btn-gradient {
    background: var(--as-gradient-cta);
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(255, 0, 5, 0.4), 0 2px 0 rgba(255, 255, 255, 0.12) inset;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #FF3338 0%, var(--as-author-hover) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 0, 5, 0.45);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--as-ink);
    border-color: #fff;
}

/* Story / Explanatory Section (below video hero) */
.hero-story-section {
    padding: 55px 0 60px;
    background: #fff;
    text-align: center;
}

.hero-story-section .section-title {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
}

.hero-intro p {
    max-width: 780px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.65;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 980px;
    margin: 0 auto 2rem;
    text-align: left;
}

.hero-points .point {
    background: var(--as-shelf-pale);
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid var(--as-border);
    box-shadow: var(--as-shadow);
}

.hero-points strong {
    display: block;
    margin-bottom: 6px;
    color: var(--as-ink);
    font-size: 1.02rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* ============================================
   Homepage v2 — conversion-focused polish
   ============================================ */
/* Fixed hero band — video bg fills section; content card is just shy of full height */
.authorshelf-home--v2 .home-hero {
    height: min(560px, 68vh);
    min-height: 460px;
    max-height: 640px;
    overflow: hidden;
    padding: 0;
    align-items: stretch;
    box-sizing: border-box;
}

.authorshelf-home--v2 .home-hero .hero-content {
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Lighter overlay so the video reads through; card glass handles local contrast */
.home-hero__overlay {
    background:
        linear-gradient(
            180deg,
            rgba(10, 37, 64, 0.22) 0%,
            rgba(10, 37, 64, 0.28) 45%,
            rgba(10, 37, 64, 0.42) 100%
        ),
        radial-gradient(
            ellipse 85% 65% at 50% 45%,
            rgba(10, 37, 64, 0.12) 0%,
            rgba(10, 37, 64, 0.32) 100%
        );
    z-index: 3;
}

/* Kill the heavier base hero::after wash on the homepage only */
.authorshelf-home--v2 .home-hero .hero-overlay::after {
    opacity: 0.35;
}

.home-hero__overlay::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--as-author) 0%, var(--as-teal) 50%, var(--as-shelf) 100%);
    z-index: 1;
}

/*
 * Content shell fills almost the full video band (hero-video-bg = 100% of .home-hero).
 * ~10–14px inset on each side so the card sits just under the video section height.
 */
.authorshelf-home--v2 .home-hero .hero-content .container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: calc(100% - 20px);
    max-height: calc(100% - 20px);
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.authorshelf-home--v2 .home-hero .home-hero__text {
    width: 100%;
    max-width: min(1120px, 100%);
    height: 100%;
    max-height: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 1.15rem 1.35rem 1.1rem;
    border-radius: 16px;
    box-sizing: border-box;
    /* More transparent glass — video stays visible under the copy card */
    background: linear-gradient(
        160deg,
        rgba(10, 37, 64, 0.46) 0%,
        rgba(10, 37, 64, 0.32) 100%
    );
    border: 1px solid rgba(168, 196, 232, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    /* 2-column: copy left, start panel right — fills card height */
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-template-areas:
        "eyebrow start"
        "title start"
        "lede start"
        "body start"
        "trust start"
        "ctas start"
        "rights start";
    column-gap: 1.25rem;
    row-gap: 0.45rem;
    align-content: center;
    align-items: center;
    overflow: hidden;
}

.home-hero__text > .home-hero__eyebrow { grid-area: eyebrow; justify-self: start; }
.home-hero__text > .hero-main-title { grid-area: title; }
.home-hero__text > .home-hero__lede { grid-area: lede; }
.home-hero__text > .home-hero__body {
    grid-area: body;
    display: block;
    margin: 0;
    max-width: 38rem;
    font-size: clamp(0.86rem, 1.15vw, 0.98rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.home-hero__text > .home-hero__trust { grid-area: trust; }
.home-hero__text > .home-hero__ctas { grid-area: ctas; }
.home-hero__text > .home-hero__rights { grid-area: rights; }
.home-hero__text > .home-hero-start {
    grid-area: start;
    align-self: stretch;
    margin: 0;
    max-width: none;
    height: 100%;
}

/* Exactly 2 H1 lines: title · then both promises on one line */
.home-hero__text .hero-main-title {
    max-width: none;
    margin: 0;
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    line-height: 1.12;
    white-space: normal;
}

.home-hero__text .hero-main-title .hero-title-line {
    display: block;
}

.home-hero__text .hero-main-title .hero-title-line--promise {
    white-space: nowrap;
    font-size: 0.96em;
}

.home-hero__eyebrow {
    display: inline-flex;
    margin: 0;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(92, 125, 183, 0.38);
    border: 1px solid rgba(168, 196, 232, 0.55);
    color: #EEF3F9;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(92, 125, 183, 0.25);
}

.home-hero__lede {
    margin: 0;
    max-width: 38rem;
    font-size: clamp(0.9rem, 1.25vw, 1.02rem);
    line-height: 1.45;
    color: #F8FAFC;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.home-hero__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 8px;
    max-width: 38rem;
}

.home-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #fff;
    padding: 5px 11px 5px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--as-teal-bright) 0%, var(--as-teal-deep) 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(92, 125, 183, 0.45);
}

.home-hero__ctas,
.authorshelf-home--v2 .home-hero .hero-ctas {
    justify-content: flex-start;
    margin: 0;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.authorshelf-home--v2 .home-hero .hero-ctas .btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.92rem;
    line-height: 1.2;
}

.authorshelf-home--v2 .home-hero .hero-ctas .btn-large {
    padding: 0.65rem 1.15rem;
    font-size: 0.92rem;
}

.home-hero__footnote {
    margin: 12px auto 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
}

.home-hero__footnote strong {
    color: #fff;
    font-weight: 800;
}

.home-trust-bar {
    background: linear-gradient(180deg, #fff 0%, var(--as-shelf-pale) 100%);
    border-bottom: 1px solid var(--as-border);
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.07);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.home-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 26px 0;
}

.home-trust-bar__item {
    text-align: center;
    padding: 10px 14px;
    border-radius: 12px;
    border-left: 3px solid transparent;
}

.home-trust-bar__item:nth-child(1) { border-left-color: var(--as-author); }
.home-trust-bar__item:nth-child(2) { border-left-color: var(--as-teal); }
.home-trust-bar__item:nth-child(3) { border-left-color: var(--as-ink); }
.home-trust-bar__item:nth-child(4) { border-left-color: var(--as-teal-bright); }

.home-trust-bar__value {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--as-ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.home-trust-bar__label {
    display: block;
    margin-top: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--as-muted);
    line-height: 1.35;
}

.home-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.home-section-head--light .home-section-head__title,
.home-section-head--light .home-section-head__lede {
    color: #fff;
}

.home-section-head--light .home-section-head__eyebrow {
    color: var(--as-shelf);
}

.home-section-head__eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-teal);
}

.home-section-head__title {
    margin-bottom: 12px !important;
}

.home-section-head__lede {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--as-ink-soft);
}

.home-packages-section {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #fff 0%, var(--as-surface-alt) 100%);
}

.home-tier-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.home-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--as-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-tier-card:hover,
.home-tier-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--as-shadow-lg);
    border-color: rgba(92, 125, 183, 0.35);
}

.home-tier-card--featured {
    border-color: rgba(255, 0, 5, 0.4);
    box-shadow: 0 8px 28px rgba(255, 0, 5, 0.12), var(--as-shadow);
    background: linear-gradient(180deg, #fff 0%, #FFF5F5 100%);
    background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.home-tier-card__badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--as-author);
    background: var(--as-author-soft);
    padding: 3px 8px;
    border-radius: 999px;
}

.home-tier-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: #0A2540;
}

.home-tier-card__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--as-ink);
    letter-spacing: -0.02em;
}

.home-tier-card__note {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--as-muted);
}

.home-packages-cta,
.home-dream-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.home-story-section {
    padding: 64px 0 70px;
    background: #fff;
}

.home-story-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-story-card {
    padding: 24px 22px;
    background: var(--as-surface-alt);
    border: 1px solid var(--as-border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.05);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-story-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--as-shadow);
}

.home-story-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
}

.home-story-card__icon svg {
    width: 22px;
    height: 22px;
}

.home-story-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0A2540;
}

.home-story-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--as-ink-soft);
}

.home-process-section {
    padding: 64px 0 56px;
    background: var(--as-gradient-hero);
    color: #fff;
    position: relative;
}

.home-process-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.home-process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: none;
}

.home-process-step {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.home-process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.home-process-step h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
}

.home-process-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.home-process-cta {
    margin-top: 28px;
    text-align: center;
}

.home-why-section {
    padding: 64px 0 56px;
    background: #fff;
}

.home-why-grid {
    margin-bottom: 28px;
}

.home-compare-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(92, 125, 183, 0.1) 0%, rgba(10, 37, 64, 0.05) 100%);
    border: 1px solid rgba(92, 125, 183, 0.2);
    border-radius: 14px;
}

.home-compare-promo p {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--as-ink-soft);
}

.home-services-section {
    padding-top: 64px;
    background: var(--as-surface-alt);
}

.home-service-card {
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
}

.home-service-card__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #5C7DB7;
    text-decoration: none;
    margin-top: auto;
}

.home-service-card__link:hover,
.home-service-card__link:focus-visible {
    color: #0A2540;
    text-decoration: underline;
}

.home-dream-section .dream-lead {
    margin-bottom: 28px;
}

.home-dual-cta {
    background: #fff;
}

@media (max-width: 1100px) {
    .home-tier-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-story-grid,
    .home-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .authorshelf-home--v2 .home-hero .hero-content .container {
        height: auto;
        max-height: none;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .authorshelf-home--v2 .home-hero .home-hero__text {
        height: auto;
        max-height: none;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas:
            "eyebrow"
            "title"
            "lede"
            "body"
            "trust"
            "ctas"
            "rights"
            "start";
        text-align: center;
        row-gap: 0.45rem;
        padding: 14px 14px;
    }

    .home-hero__text > .home-hero__eyebrow { justify-self: center; }
    .home-hero__text > .home-hero__lede,
    .home-hero__text > .home-hero__body { margin-left: auto; margin-right: auto; }
    .home-hero__text > .home-hero__trust { justify-content: center; margin-left: auto; margin-right: auto; }
    .home-hero__ctas,
    .authorshelf-home--v2 .home-hero .hero-ctas { justify-content: center; }
    .home-hero__text > .home-hero__rights { margin-left: auto; margin-right: auto; }
    .home-hero__text > .home-hero-start { height: auto; }
}

@media (max-width: 768px) {
    .authorshelf-home--v2 .home-hero {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        padding: 4.25rem 0 1.5rem;
        align-items: flex-start;
    }

    .authorshelf-home--v2 .home-hero .hero-content {
        height: auto;
    }

    .authorshelf-home--v2 .home-hero .hero-content .container {
        height: auto;
        max-height: none;
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-hero__ctas,
    .hero-ctas {
        justify-content: center;
    }

    .authorshelf-home--v2 .home-hero .home-hero__text {
        text-align: center;
        margin: 0 auto;
        padding: 12px 12px 14px;
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .home-hero__text .hero-main-title {
        max-width: none;
        font-size: clamp(1.3rem, 5vw, 1.75rem);
    }

    /* Keep second H1 line together; scale font so it fits narrow screens */
    .home-hero__text .hero-main-title .hero-title-line--promise {
        white-space: normal;
        font-size: 0.92em;
    }

    .home-hero__lede {
        max-width: 100%;
        font-size: 0.86rem;
    }

    .home-hero__trust {
        justify-content: center;
    }

    .home-hero__footnote {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-video-bg video {
        filter: contrast(1.08) saturate(1.12) brightness(1.04);
    }

    .home-trust-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-tier-grid,
    .home-story-grid,
    .home-process-steps {
        grid-template-columns: 1fr;
    }

    .home-compare-promo {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   Services Grid - Polished
   ============================================ */
.services-section {
    padding: 70px 0 80px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.5rem;
    color: #1f1f1f;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 28px 26px;
    text-align: left;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #d4d4d4;
}

.service-card .service-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1;
    display: block;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: #1f1f1f;
    font-weight: 600;
}

.service-card p {
    color: #555;
    margin-bottom: 18px;
    font-size: 0.96rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.service-actions .btn-small {
    flex: 1;
    text-align: center;
}

.service-card .btn-small {
    align-self: flex-start;
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* ============================================
   Dream / Process Section - Enhanced
   ============================================ */
.dream-section {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 70px 0 80px;
    text-align: center;
}

.dream-title {
    color: #fff;
    font-size: 2.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dream-lead {
    max-width: 740px;
    margin: 0 auto 2.25rem;
    font-size: 1.08rem;
    opacity: 0.95;
    line-height: 1.6;
}

.process-block {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    background: rgba(255,255,255,0.12);
    padding: 28px 32px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
}

.process-block h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.process-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.guide-cta {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    color: #222;
    padding: 32px 28px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.guide-cta .guide-content h3 {
    margin: 0 0 8px;
    color: var(--as-author);
    font-size: 1.35rem;
}

.guide-cta p {
    margin-bottom: 18px;
    color: #444;
}

.guide-form-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.guide-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 0;
}

.guide-form button {
    white-space: nowrap;
    padding: 12px 24px;
}

.guide-cta small {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
}

/* ============================================
   Portal Integration Section
   ============================================ */
.portal-cta-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.portal-cta-section h2 {
    margin-bottom: 10px;
    font-size: 1.85rem;
    color: #1f1f1f;
}

.portal-cta-section p {
    max-width: 580px;
    margin: 0 auto 1.5rem;
    color: #555;
    font-size: 1.02rem;
}

.portal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portal-note {
    font-size: 0.82rem;
    color: #777;
    margin-top: 1.1rem;
}

/* Footer Enhancements */
.site-footer {
    background: var(--as-ink);
    color: rgba(255, 255, 255, 0.78);
    padding: 48px 0 28px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.1rem;
    color: #fff;
}

/* Make "Simplified" pop in brand red */
.footer-brand .footer-red {
    color: var(--as-author);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-brand .footer-shelf {
    color: var(--as-shelf);
    font-weight: 600;
}

.footer-links a,
.footer-portal a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-links a:hover,
.footer-portal a:hover {
    color: var(--as-shelf);
}

.footer-bottom {
    border-top: 1px solid rgba(142, 173, 212, 0.25);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    width: 100%;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.footer-legal {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-legal a {
    display: inline;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--as-shelf);
}

.footer-meta-sep {
    color: rgba(142, 173, 212, 0.55);
    user-select: none;
}

.footer-logo {
    margin: 0;
}

.footer-logo img {
    max-height: 28px;
    width: auto;
    display: block;
}

.footer-logo .site-title {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

/* Make sure the dark footer background goes full width, 
   but content is nicely inset using .container */
.site-footer .container {
    max-width: 1100px;
}

/* ============================================
   THE PROCESS PAGE - Clean Custom Design
   (Replaces ugly Block Editor version)
   ============================================ */

.process-page {
    background: #f8f9fc;
}

/* Hero */
.process-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
}

.process-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.process-hero .process-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 620px;
    margin: 0 auto;
}

/* Intro */
.process-intro {
    padding: 70px 0 50px;
    background: #fff;
}

.process-intro .intro-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.7;
}

.process-intro .intro-content p {
    margin-bottom: 1.1em;
}

/* Getting Started */
.process-getting-started {
    padding: 50px 0 60px;
    background: #fff;
    border-top: 1px solid #e5e9f0;
}

.process-getting-started h2,
.process-packages h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.getting-started-lead,
.packages-lead {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #374151;
}

.process-steps-list {
    max-width: 720px;
    margin: 0 auto;
    padding-left: 22px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #374151;
}

.process-steps-list li {
    margin-bottom: 14px;
}

.process-steps-list a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.getting-started-more {
    text-align: center;
    margin-top: 28px;
    font-size: 0.98rem;
    color: #4b5563;
}

.getting-started-more a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

/* Packages strip */
.process-packages {
    padding: 55px 0 65px;
    background: #f8f9fc;
}

.process-package-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto 22px;
}

.package-tier {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.package-tier .tier-name {
    display: block;
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 4px;
}

.package-tier .tier-price {
    display: block;
    color: var(--as-shelf-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.packages-note {
    text-align: center;
    font-size: 0.98rem;
    color: #4b5563;
    margin: 0;
}

.packages-note a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

/* Stages */
.process-stages {
    padding: 40px 0 80px;
}

.stages-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.stages-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #374151;
}

.stages-lead a {
    color: var(--as-shelf-deep);
    font-weight: 600;
    white-space: nowrap;
}

.stage-content .stage-value a {
    color: #1e3a5f;
    font-weight: 600;
}

.process-stage {
    background: #fff;
    border-radius: 14px;
    padding: 36px 38px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf2;
    display: flex;
    gap: 28px;
}

.process-stage:last-child {
    margin-bottom: 0;
}

.stage-number {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    background: var(--as-shelf-deep);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-content {
    flex: 1;
    min-width: 0;
}

.stage-content h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: #1f2937;
    line-height: 1.3;
}

.stage-content p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.stage-content ul {
    padding-left: 20px;
    margin: 14px 0 18px;
    color: #374151;
    line-height: 1.6;
}

.stage-content ul li {
    margin-bottom: 7px;
}

.stage-value {
    background: #f0f7ff;
    border-left: 4px solid var(--as-shelf-deep);
    padding: 14px 18px;
    font-size: 0.96rem;
    color: #1e3a5f;
    border-radius: 0 6px 6px 0;
    line-height: 1.55;
}

.stage-value strong {
    color: #4A7A9A;
}

/* --------------------------------------------------------------------------
   Help: Project Stages Explained (simplified)
   -------------------------------------------------------------------------- */
.stages-guide-page {
    background: #f8f9fc;
}

.stages-guide-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.stages-guide-hero {
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
    padding: 48px 20px 40px;
}

.stages-guide-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--as-shelf-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    margin-bottom: 24px;
}

.stages-guide-back:hover {
    color: var(--as-author);
}

.stages-guide-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--as-author);
}

.stages-guide-lead {
    margin: 0 0 12px;
    font-size: 1.06rem;
    line-height: 1.7;
    color: #475569;
}

.stages-guide-meta {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.stages-guide-meta a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.stages-guide-phases {
    padding: 36px 20px 48px;
}

.stages-phase-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 24px 26px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stages-phase-card:last-child {
    margin-bottom: 0;
}

.stages-phase-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF3F9;
    color: var(--as-shelf-deep);
    font-size: 1.1rem;
}

.stages-phase-label {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
}

.stages-phase-content h2 {
    margin: 0 0 10px;
    font-size: 1.28rem;
    line-height: 1.3;
    color: var(--as-ink);
}

.stages-phase-desc {
    margin: 0 0 12px;
    color: #475569;
    line-height: 1.65;
    font-size: 1rem;
}

.stages-phase-tip {
    margin: 0;
    padding: 10px 14px;
    border-left: 3px solid var(--as-shelf-deep);
    background: #f8fafc;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #334155;
    border-radius: 0 6px 6px 0;
}

.stages-phase-tip a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.stages-guide-footer {
    padding: 0 20px 64px;
    text-align: center;
}

.stages-guide-footer p {
    margin: 0 0 14px;
    color: #475569;
}

.stages-guide-btn {
    display: inline-block;
    background: var(--as-shelf-deep);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.stages-guide-btn:hover {
    background: var(--as-author);
    color: #fff;
}

@media (max-width: 560px) {
    .stages-phase-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px 18px;
    }
}

/* Portal Section */
.process-portal {
    background: #fff;
    padding: 70px 0;
    border-top: 1px solid #e5e9f0;
    border-bottom: 1px solid #e5e9f0;
}

.process-portal .portal-header {
    text-align: center;
    margin-bottom: 40px;
}

.process-portal .portal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.process-portal .portal-tagline {
    font-size: 1.2rem;
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.portal-content {
    max-width: 860px;
    margin: 0 auto;
}

.portal-content > p {
    font-size: 1.05rem;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 40px;
}

.portal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.portal-feature {
    background: #f8f9fc;
    padding: 22px 20px;
    border-radius: 10px;
}

.portal-feature h4 {
    margin: 0 0 8px;
    color: var(--as-shelf-deep);
    font-size: 1.05rem;
}

.portal-feature p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.portal-closing {
    text-align: center;
    font-size: 1.02rem;
    color: #374151;
}

/* Author Portal Features (public marketing page) */
.portal-features-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.portal-features-section {
    padding: 60px 0;
    background: #fff;
}

.portal-features-phases {
    padding: 50px 0 60px;
    background: #f8f9fc;
}

.portal-features-phases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.portal-features-phases__card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 18px;
    border: 1px solid #e5e7eb;
}

.portal-features-phases__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--as-shelf-deep, #1e3a5f);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.portal-features-phases__card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #1f2937;
}

.portal-features-phases__card p {
    margin: 0;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
}

.portal-features-phases__link {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
}

.portal-features-split {
    padding: 50px 0;
}

.portal-features-cta-note {
    margin-top: 16px;
    font-size: 0.92rem;
    color: #6b7280;
}

/* Advantage Grid */
.process-advantage {
    padding: 70px 0 80px;
}

.process-advantage h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1f2937;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8ecf2;
}

.advantage-icon {
    font-size: 1.4rem;
    color: var(--as-shelf-deep);
    margin-bottom: 10px;
}

.advantage-item h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2937;
}

.advantage-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Final CTA */
.process-cta {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.process-cta h2 {
    font-size: 2.1rem;
    margin-bottom: 14px;
}

.process-cta p {
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.process-cta .btn {
    font-size: 1.05rem;
    padding: 14px 36px;
}

.process-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.process-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.process-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.portal-feature a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .process-stage {
        flex-direction: column;
        gap: 16px;
        padding: 28px 24px;
    }

    .stage-number {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .process-hero h1 {
        font-size: 2.1rem;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .process-cta-buttons {
        flex-direction: column;
    }

    .process-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .process-package-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESOURCES PAGE + ROYALTY CALCULATOR
   ============================================ */

.resources-page {
    background: #f8f9fc;
}

.resources-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 72px 0 60px;
    text-align: center;
}

.resources-hero h1 {
    margin: 0 0 12px;
    font-size: 2.4rem;
}

.resources-hero-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.resources-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    padding: 36px 20px 10px;
    max-width: 1100px;
}

.resource-nav-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.resource-nav-card:hover {
    transform: translateY(-2px);
    border-color: var(--as-shelf);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.resource-nav-card.is-featured {
    border-color: var(--as-shelf-deep);
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.resource-nav-card strong {
    color: #1e293b;
    font-size: 1rem;
}

.resource-nav-card span:last-child {
    font-size: 0.82rem;
    color: #64748b;
}

.resource-nav-icon {
    font-size: 1.4rem;
}

.royalty-calculator-section {
    padding: 28px 20px 60px;
    max-width: 1100px;
}

.royalty-calculator-header {
    margin-bottom: 24px;
}

.royalty-calculator-header h2 {
    margin: 0 0 10px;
    font-size: 1.75rem;
    color: #1e293b;
}

.royalty-calculator-header p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    max-width: 780px;
}

.royalty-calculator-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
    gap: 22px;
    align-items: start;
}

.royalty-calculator-form,
.royalty-calculator-output {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.royalty-calculator-form h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    color: var(--as-ink);
}

.royalty-calculator-form h3:not(:first-child) {
    margin-top: 22px;
}

.rc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.rc-field span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.rc-field span em {
    font-weight: 400;
    color: #64748b;
    font-style: normal;
    font-size: 0.8rem;
}

.rc-field select,
.rc-field input[type="number"] {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    background: #fff;
}

.rc-field input[type="range"] {
    width: 100%;
    accent-color: var(--as-shelf-deep);
}

.rc-field small {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
}

.rc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rc-input-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.rc-input-prefix span {
    padding: 10px 12px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    border-right: 1px solid #e2e8f0;
}

.rc-input-prefix input {
    border: none;
    flex: 1;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-family: inherit;
}

.royalty-calc-hero {
    text-align: center;
    padding: 20px 16px 24px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--as-ink) 0%, #0f2a4d 100%);
    border-radius: 12px;
    color: #fff;
}

.royalty-calc-hero-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 6px;
}

.royalty-calc-hero-amount {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.royalty-calc-hero-amount.is-warning {
    color: #fecaca;
}

.royalty-calc-hero-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    opacity: 0.85;
}

.royalty-calc-placeholder {
    text-align: center;
    padding: 30px 16px;
    color: #64748b;
    font-size: 0.92rem;
}

.royalty-calc-breakdown h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #1e293b;
}

.rc-tier-note {
    margin: 0 0 14px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.rc-breakdown-list {
    margin: 0;
}

.rc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
}

.rc-breakdown-row dt {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.rc-breakdown-row dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.rc-breakdown-row.is-sub dt,
.rc-breakdown-row.is-sub dd {
    font-size: 0.85rem;
    color: #64748b;
}

.rc-breakdown-row.is-sub dd.is-negative,
dd.is-negative {
    color: #b91c1c;
}

.rc-breakdown-row.is-total {
    background: #f8fafc;
    margin: 0 -8px;
    padding: 9px 8px;
    border-radius: 6px;
    border-bottom: none;
}

.rc-breakdown-row.is-total dd {
    color: var(--as-shelf-deep);
    font-size: 1.05rem;
}

.rc-breakdown-row.is-highlight {
    border-bottom: none;
    padding-top: 12px;
}

.rc-breakdown-row.is-highlight dt {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.rc-breakdown-row.is-highlight dd {
    font-size: 1.35rem;
    color: var(--as-author);
}

.rc-breakdown-detail {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: -4px 0 8px;
    padding-left: 2px;
}

.rc-breakdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
}

.royalty-calc-formula {
    margin: 16px 0 8px;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
}

.royalty-calc-disclaimer {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.45;
}

.royalty-calc-warning {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #b91c1c;
}

.resources-cta {
    text-align: center;
    padding: 50px 20px 70px;
    max-width: 720px;
}

.resources-cta h2 {
    margin-bottom: 10px;
}

.resources-cta p {
    color: #475569;
    margin-bottom: 22px;
}

.resources-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .royalty-calculator-grid {
        grid-template-columns: 1fr;
    }

    .rc-field-row {
        grid-template-columns: 1fr;
    }

    .resources-hero h1 {
        font-size: 2rem;
    }

    .royalty-calc-hero-amount {
        font-size: 2.2rem;
    }
}

/* ============================================
   ABOUT PAGE - Premium Redesign
   (Matches the clean quality of the Process page)
   ============================================ */

.about-page {
    background: #f8f9fc;
}

/* Hero */
.about-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 75px 0 65px;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.55rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-hero .about-hero-subtitle {
    font-size: 1.18rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.95;
}

/* Difference Section */
.about-difference {
    background: #fff;
    padding: 65px 0;
}

.difference-content {
    max-width: 780px;
    margin: 0 auto;
}

.difference-content h2 {
    font-size: 1.85rem;
    margin-bottom: 22px;
    color: #1f2937;
}

.difference-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.1em;
}

/* Promise Grid */
.about-promise {
    padding: 55px 0 70px;
}

.about-promise h2 {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 35px;
    color: #1f2937;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.promise-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf2;
}

.promise-icon {
    font-size: 1.5rem;
    color: var(--as-shelf-deep);
    margin-bottom: 10px;
    display: block;
}

.promise-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #1f2937;
}

.promise-card p {
    margin: 0;
    font-size: 0.96rem;
    color: #4b5563;
    line-height: 1.55;
}

/* Control Section */
.about-control {
    background: #fff;
    padding: 55px 0 70px;
    border-top: 1px solid #e5e9f0;
}

.about-control h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.about-control .section-subtitle {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 35px;
    font-size: 1.05rem;
    color: #4b5563;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1050px;
    margin: 0 auto;
}

.control-card {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 22px 20px;
    border: 1px solid #e8ecf2;
}

.control-card h4 {
    margin: 0 0 8px;
    color: var(--as-shelf-deep);
    font-size: 1.05rem;
}

.control-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Approach / Philosophy */
.about-approach {
    padding: 55px 0 70px;
}

.approach-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.approach-content h2 {
    font-size: 1.85rem;
    margin-bottom: 20px;
}

.approach-content > p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 30px;
}

.approach-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    text-align: left;
    margin-top: 30px;
}

.value-item {
    background: #fff;
    padding: 20px 18px;
    border-radius: 10px;
    border: 1px solid #e8ecf2;
}

.value-label {
    display: block;
    font-weight: 600;
    color: var(--as-shelf-deep);
    margin-bottom: 6px;
    font-size: 1rem;
}

.value-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
}

/* Final CTA */
.about-cta {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 65px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-cta p {
    max-width: 560px;
    margin: 0 auto 26px;
    font-size: 1.08rem;
    opacity: 0.95;
}

.about-cta .cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .phone-line {
    margin-top: 22px;
    font-size: 1rem;
    opacity: 0.9;
}

.about-cta .phone-line a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.15rem;
    }
    
    .promise-grid,
    .control-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   About Page v2 — homepage-style overhaul
   ============================================ */
.about-page--v2 {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 20%, #f8fafc 100%);
}

.about-page--v2 .ab-hero {
    padding: 56px 0 48px;
    text-align: left;
    position: relative;
}

.about-page--v2 .ab-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.about-page--v2 .ab-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.about-page--v2 .ab-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(92, 125, 183, 0.22);
    border: 1px solid rgba(142, 173, 212, 0.3);
    color: #EEF3F9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-page--v2 .ab-hero h1 {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.about-page--v2 .ab-hero__lede {
    margin: 0 0 18px;
    max-width: 600px;
    text-align: left;
    font-size: 1.08rem;
    line-height: 1.65;
}

.about-page--v2 .ab-hero__trust {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.about-page--v2 .ab-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.about-page--v2 .ab-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    color: #C5D6EC;
    font-size: 0.68rem;
    font-weight: 800;
}

.about-page--v2 .ab-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-page--v2 .ab-hero__card {
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    align-self: center;
}

.about-page--v2 .ab-hero__card-label {
    margin: 0 0 14px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-shelf);
}

.about-page--v2 .ab-hero__card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-page--v2 .ab-hero__card-list li {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.about-page--v2 .ab-hero__card-list strong {
    color: #fff;
}

.about-page--v2 .ab-trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--as-border);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.05);
}

.about-page--v2 .ab-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 0;
}

.about-page--v2 .ab-trust-bar__item {
    text-align: center;
    padding: 8px 10px;
}

.about-page--v2 .ab-trust-bar__value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.1;
}

.about-page--v2 .ab-trust-bar__label {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--as-muted);
}

.about-page--v2 .ab-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.about-page--v2 .ab-section-head__eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C7DB7;
}

.about-page--v2 .ab-section-head__eyebrow--light {
    color: var(--as-shelf);
}

.about-page--v2 .ab-section-head__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.about-page--v2 .ab-section-head__lede {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--as-ink-soft);
}

.about-page--v2 .ab-mission {
    padding: 56px 0;
    background: #fff;
}

.about-page--v2 .ab-mission__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: start;
}

.about-page--v2 .ab-mission__copy h2 {
    margin-top: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.about-page--v2 .ab-mission__quote {
    margin: 0;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(92, 125, 183, 0.1) 0%, rgba(10, 37, 64, 0.04) 100%);
    border: 1px solid rgba(92, 125, 183, 0.22);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.06);
}

.about-page--v2 .ab-mission__quote p {
    margin: 0 0 12px;
    font-size: 1.08rem;
    line-height: 1.6;
    font-weight: 600;
    color: #0A2540;
}

.about-page--v2 .ab-mission__quote cite {
    font-size: 0.86rem;
    font-style: normal;
    color: #5C7DB7;
    font-weight: 700;
}

.about-page--v2 .ab-promise {
    padding: 56px 0 64px;
    background: var(--as-surface-alt);
}

.about-page--v2 .ab-promise-card {
    border-radius: 16px;
    padding: 26px 22px;
    border-color: var(--as-border);
    box-shadow: 0 6px 22px rgba(10, 37, 64, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-page--v2 .ab-promise-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--as-shadow);
}

.about-page--v2 .ab-promise-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
    font-size: 1rem;
    font-weight: 800;
}

.about-page--v2 .ab-promise-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0A2540;
}

.about-page--v2 .ab-portal-section {
    padding: 56px 0;
    background: var(--as-gradient-hero);
    color: #fff;
    position: relative;
}

.about-page--v2 .ab-portal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(92, 125, 183, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 70%, rgba(142, 173, 212, 0.1) 0%, transparent 38%);
    pointer-events: none;
}

.about-page--v2 .ab-portal__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.about-page--v2 .ab-portal__copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-page--v2 .ab-portal__copy p {
    margin: 0 0 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.about-page--v2 .ab-portal__list {
    margin: 0 0 22px;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.about-page--v2 .ab-portal__phases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.about-page--v2 .ab-portal__phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.about-page--v2 .ab-portal__phase-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    font-size: 0.78rem;
    font-weight: 800;
}

.about-page--v2 .ab-control {
    padding: 56px 0 64px;
    background: #fff;
    border-top: none;
}

.about-page--v2 .ab-control-card {
    border-radius: 14px;
    padding: 22px 20px;
    background: var(--as-surface-alt);
    border-color: var(--as-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-page--v2 .ab-control-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.06);
}

.about-page--v2 .ab-control-card h4 {
    color: #0A2540;
    font-weight: 800;
}

.about-page--v2 .ab-values {
    padding: 56px 0 64px;
    background: var(--as-surface-alt);
}

.about-page--v2 .ab-values__inner {
    max-width: 1100px;
    text-align: left;
}

.about-page--v2 .ab-values-grid {
    gap: 14px;
}

.about-page--v2 .ab-value-card {
    border-radius: 14px;
    padding: 22px 20px;
    border-color: var(--as-border);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
}

.about-page--v2 .value-label {
    color: #5C7DB7;
    font-weight: 800;
    font-size: 1.02rem;
}

.about-page--v2 .ab-compare-strip {
    padding: 0 0 48px;
}

.about-page--v2 .ab-compare-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(92, 125, 183, 0.1) 0%, rgba(10, 37, 64, 0.05) 100%);
    border: 1px solid rgba(92, 125, 183, 0.22);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.06);
}

.about-page--v2 .ab-compare-strip__eyebrow {
    margin: 0 0 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C7DB7;
}

.about-page--v2 .ab-compare-strip__copy h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0A2540;
}

.about-page--v2 .ab-compare-strip__copy p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--as-ink-soft);
    max-width: 520px;
}

.about-page--v2 .ab-explore {
    padding: 0 0 56px;
}

.about-page--v2 .ab-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-page--v2 .ab-explore-card {
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 22px rgba(10, 37, 64, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-page--v2 .ab-explore-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--as-shadow-lg);
    border-color: rgba(92, 125, 183, 0.3);
}

.about-page--v2 .ab-explore-card__icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-page--v2 .ab-explore-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #0A2540;
}

.about-page--v2 .ab-explore-card p {
    margin: 0 0 14px;
    flex: 1;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--as-muted);
}

.about-page--v2 .ab-explore-card__link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #5C7DB7;
}

.about-page--v2 .ab-bottom-cta {
    padding: 64px 0 56px;
    position: relative;
}

.about-page--v2 .ab-bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.about-page--v2 .ab-bottom-cta__inner {
    max-width: 680px;
    margin: 0 auto;
}

.about-page--v2 .ab-bottom-cta__eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-shelf);
}

.about-page--v2 .ab-bottom-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -0.02em;
}

.about-page--v2 .ab-bottom-cta__buttons {
    margin-top: 8px;
}

.about-page--v2 .ab-bottom-cta__phone {
    margin-top: 20px;
    font-size: 0.92rem;
}

.about-page--v2 .ab-bottom-cta__phone a {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .about-page--v2 .ab-hero__inner,
    .about-page--v2 .ab-mission__grid,
    .about-page--v2 .ab-portal__grid {
        grid-template-columns: 1fr;
    }

    .about-page--v2 .ab-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page--v2 .ab-trust-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page--v2 .ab-explore-grid,
    .about-page--v2 .ab-portal__phases {
        grid-template-columns: 1fr;
    }

    .about-page--v2 .ab-compare-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   COMPARISON TABLE STYLE PRICING
   (Inspired by your SAMPLE TABLE reference)
   ============================================ */

.authorshelf-pricing-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.pricing-table-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-table-header h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.packages-chart-label {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--as-border);
}

.packages-chart-label__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 8px;
}

.packages-chart-label__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--as-ink);
    letter-spacing: -0.02em;
}

.packages-chart-label__hint {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--as-muted);
    max-width: 72ch;
}

.packages-chart-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.packages-chart-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--as-muted);
    letter-spacing: 0.01em;
}

.packages-chart-legend__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.packages-chart-legend__item--included .packages-chart-legend__icon {
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
}

.packages-chart-legend__item--addon .packages-chart-legend__icon {
    background: rgba(107, 155, 184, 0.16);
    color: var(--as-shelf-deep);
}

.packages-chart-legend__item--unavailable .packages-chart-legend__icon {
    background: #f1f5f9;
    color: #94a3b8;
}

/* ========================================
   Premium Comparison Table
   ======================================== */
.comparison-table-scroll {
    position: relative;
    border-radius: 18px;
}

.comparison-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    border-radius: 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--as-shelf) transparent;
}

.comparison-table-container:focus-visible {
    outline: 2px solid var(--as-shelf-deep);
    outline-offset: 3px;
}

.authorshelf-comparison-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow:
        0 1px 0 rgba(30, 47, 66, 0.04),
        0 12px 36px rgba(30, 47, 66, 0.1);
    border-radius: 16px;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.4;
    border: 1px solid #e2e8f0;
}

.authorshelf-comparison-table thead th {
    background: var(--as-ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 16px 10px 18px;
    border: none;
    vertical-align: bottom;
    position: sticky;
    top: 0;
    z-index: 4;
}

.authorshelf-comparison-table thead th.feature-col {
    text-align: left;
    font-weight: 600;
    padding-left: 22px;
    color: #cbd5e1;
    z-index: 6;
    left: 0;
}

.authorshelf-comparison-table .package-col {
    min-width: 128px;
    text-align: center;
    padding: 14px 8px 16px;
}

.authorshelf-comparison-table .package-col.featured {
    background: linear-gradient(180deg, #2a4560 0%, var(--as-ink) 100%);
    box-shadow: inset 0 0 0 1px rgba(250, 0, 41, 0.22);
}

.authorshelf-comparison-table .package-col.featured::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--as-author), #f43f5e);
}

.authorshelf-comparison-table .package-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.authorshelf-comparison-table .package-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-top: 2px;
    font-feature-settings: "tnum";
    letter-spacing: -0.02em;
}

.authorshelf-comparison-table .package-col.featured .package-price {
    font-size: 1.65rem;
}

.authorshelf-comparison-table .popular-badge {
    display: inline-block;
    font-size: 0.58rem;
    background: var(--as-author);
    color: #fff;
    padding: 3px 9px;
    border-radius: 999px;
    margin-left: 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.authorshelf-comparison-table th.feature-name,
.authorshelf-comparison-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    transition: background 0.15s ease;
}

.authorshelf-comparison-table th.feature-name {
    background: #f8fafc;
    text-align: left;
    font-weight: 600;
    color: #334155;
    width: 220px;
    min-width: 200px;
    max-width: 260px;
    padding-left: 22px;
    padding-right: 14px;
    border-right: 2px solid #e8edf3;
    position: sticky;
    left: 0;
    z-index: 3;
    font-size: 0.88rem;
    line-height: 1.35;
}

.authorshelf-comparison-table tr.section-header td {
    background: linear-gradient(90deg, var(--as-ink) 0%, #2a4560 100%);
    color: #b8c8d8;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 22px;
    text-align: left;
    border: none;
}

.authorshelf-comparison-table tr.section-header .section-header__label {
    position: sticky;
    left: 0;
}

.authorshelf-comparison-table tbody tr.feature-row:nth-child(odd) th.feature-name,
.authorshelf-comparison-table tbody tr.feature-row:nth-child(odd) td {
    background-color: #fff;
}

.authorshelf-comparison-table tbody tr.feature-row:nth-child(even) th.feature-name,
.authorshelf-comparison-table tbody tr.feature-row:nth-child(even) td {
    background-color: #fafbfd;
}

.authorshelf-comparison-table tbody tr.feature-row:hover th.feature-name {
    background: #EEF3F9;
}

.authorshelf-comparison-table tbody tr.feature-row:hover td:not(.pkg-cell--featured) {
    background: #f3f8fb;
}

.authorshelf-comparison-table tbody tr.feature-row:hover td.pkg-cell--featured {
    background: #fff5f6;
}

.authorshelf-comparison-table .pkg-cell {
    font-feature-settings: "tnum";
}

.authorshelf-comparison-table .pkg-cell--featured {
    background: rgba(250, 0, 41, 0.03);
    box-shadow: inset 1px 0 0 rgba(250, 0, 41, 0.08), inset -1px 0 0 rgba(250, 0, 41, 0.08);
}

.authorshelf-comparison-table .pkg-cell__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.authorshelf-comparison-table .pkg-cell__icon--check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
    font-size: 0.78rem;
    font-weight: 800;
}

.authorshelf-comparison-table .pkg-cell__icon--dash {
    width: 22px;
    height: 22px;
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 400;
}

.authorshelf-comparison-table .pkg-cell--included {
    color: #166534;
    font-weight: 600;
}

.authorshelf-comparison-table .pkg-cell--included .pkg-cell__text {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e5c36;
    line-height: 1.25;
}

.authorshelf-comparison-table .pkg-cell--included .pkg-cell__icon--check + .pkg-cell__text {
    margin-top: 4px;
}

.authorshelf-comparison-table .pkg-cell--included:has(.pkg-cell__icon--check):not(:has(.pkg-cell__text)) .pkg-cell__icon--check {
    margin: 0 auto;
}

.authorshelf-comparison-table .pkg-cell--unavailable {
    color: #cbd5e1;
}

.authorshelf-comparison-table .pkg-cell--addon {
    color: var(--as-shelf-deep);
    font-weight: 600;
    font-size: 0.86rem;
}

.authorshelf-comparison-table .pkg-cell--detail {
    color: #334155;
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.35;
}

.authorshelf-comparison-table .pkg-cell--detail .pkg-cell__text {
    display: inline-block;
    max-width: 11em;
}

.authorshelf-comparison-table tfoot td {
    padding: 18px 8px 20px;
    background: #f4f7fa;
    border-top: 2px solid #e2e8f0;
    vertical-align: middle;
}

.authorshelf-comparison-table tfoot .tfoot-spacer {
    background: #f4f7fa;
    border-right: 2px solid #e8edf3;
    position: sticky;
    left: 0;
    z-index: 2;
}

.authorshelf-comparison-table tfoot .tfoot-featured {
    background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
    box-shadow: inset 1px 0 0 rgba(250, 0, 41, 0.1), inset -1px 0 0 rgba(250, 0, 41, 0.1);
}

.pricing-table-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 900px) {
    .packages-chart-label__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .authorshelf-comparison-table {
        font-size: 0.84rem;
        min-width: 860px;
    }

    .authorshelf-comparison-table th.feature-name {
        width: 168px;
        min-width: 148px;
        padding-left: 16px;
        font-size: 0.82rem;
    }

    .authorshelf-comparison-table .package-col {
        min-width: 112px;
    }

    .authorshelf-comparison-table .package-price {
        font-size: 1.3rem;
    }
}

/* A La Carte Section - Premium Look */
.alacarte-section {
    margin-top: 55px;
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(30, 47, 66, 0.09);
    border: 1px solid #e2e8f0;
}

.alacarte-section h3 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 1.35rem;
    color: var(--as-ink);
    font-weight: 700;
}

.alacarte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.alacarte-item {
    background: #f8fafc;
    padding: 15px 18px 18px;
    border-radius: 10px;
    font-size: 0.94rem;
    border: 1px solid #e2e8f0;
    line-height: 1.35;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.alacarte-item:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 6px 16px rgba(107, 155, 184, 0.12);
    transform: translateY(-3px);
}

.alacarte-item strong {
    color: var(--as-ink);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.alacarte-item .price {
    display: block;
    font-weight: 700;
    color: var(--as-ink);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.alacarte-item .view-link {
    font-size: 0.8rem;
    color: var(--as-shelf-deep);
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.alacarte-item:hover .view-link {
    opacity: 1;
}

/* ============================================
   PRICING TABLE SHORTCODE
   [authorshelf_pricing_table]
   Clean, theme-consistent design
   ============================================ */

.authorshelf-pricing {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.pricing-header p {
    font-size: 1.05rem;
    color: #555;
    max-width: 620px;
    margin: 0 auto 16px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    background: #f0f4ff;
    color: #2563eb;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.pricing-card--featured {
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.2);
    transform: scale(1.02);
    position: relative;
}

.pricing-card--ultimate {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.pricing-card--ultimate .pricing-card-header h3,
.pricing-card--ultimate .price {
    color: #fff;
}

.pricing-card--ultimate .price-note {
    color: #9ca3af;
}

.pricing-card--ultimate .pricing-features {
    color: #e5e7eb;
}

.pricing-badge-top {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 16px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.pricing-card--ultimate .pricing-card-header {
    border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a2e;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #1a1a2e;
}

.price-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #333;
}

.pricing-features li {
    padding: 5px 0;
}

.pricing-features .highlight {
    color: #2563eb;
    font-weight: 600;
}

/* Old general pricing-btn styles - scoped to avoid breaking the comparison table */
.pricing-features .pricing-btn,
.pricing-footer .pricing-btn {
    width: 100%;
    margin-top: auto;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.pricing-footer a {
    color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card--featured {
        transform: none;
    }
}

/* Footer responsive improvements */
@media (max-width: 768px) {
    .footer-bottom-meta {
        flex-direction: column;
        gap: 8px;
    }

    .footer-meta-sep {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================
   Responsive & Mobile Menu
   ============================================ */
@media (max-width: 1024px) {
    .header-main {
        flex-wrap: nowrap;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-cta-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .header-main {
        padding: 14px 20px;   /* slightly more breathing room on mobile */
    }
    
    .hero-video-section {
        height: 520px;
    }
    
    .hero-main-title {
        font-size: 2.35rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Self-Publishing Packages Page
   6-Tier Comparison (based on AuthorShelf archive)
   ============================================ */
.packages-page {
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(142, 173, 212, 0.14), transparent 55%),
        linear-gradient(180deg, #eef2f7 0%, #f6f8fb 38%, #f8f9fa 100%);
}

.packages-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
}

.packages-hero--compact {
    padding: 44px 0 32px;
    text-align: left;
}

.packages-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--as-shelf);
    opacity: 0.95;
}

.packages-hero__payment-hint {
    margin: 4px 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(232, 242, 248, 0.88);
}

.packages-hero__payment-hint a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.packages-hero__payment-hint a:hover {
    color: var(--as-shelf);
}

.packages-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.packages-hero__copy {
    max-width: 720px;
}

.packages-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--as-gradient-accent);
}

.packages-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.packages-hero--compact h1 {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.packages-intro {
    max-width: 620px;
    margin: 0 auto 12px;
    font-size: 1.15rem;
    opacity: 0.95;
}

.packages-hero--compact .packages-intro {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.9;
    color: var(--as-shelf-light);
}

.packages-note {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.85;
}

.packages-value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.packages-value-chips__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(142, 173, 212, 0.35);
    font-size: 0.78rem;
    font-weight: 600;
    color: #EEF3F9;
    letter-spacing: 0.01em;
}

.packages-value-chips__item::before {
    content: '✓';
    font-size: 0.65rem;
    font-weight: 800;
    color: #a8e6cf;
}

.packages-tier-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1100px) {
    .packages-tier-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.packages-tier-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 108px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.packages-tier-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(142, 173, 212, 0.55);
    transform: translateY(-2px);
    color: #fff;
}

.packages-tier-pill--featured {
    background: rgba(250, 0, 41, 0.18);
    border-color: rgba(250, 0, 41, 0.45);
}

.packages-tier-pill--featured:hover {
    background: rgba(250, 0, 41, 0.28);
    border-color: rgba(250, 0, 41, 0.6);
}

.packages-tier-pill__badge {
    position: absolute;
    top: -8px;
    right: 10px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--as-author);
    color: #fff;
}

.packages-tier-pill__name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.85;
}

.packages-tier-pill__price {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.packages-tier-pill__note {
    margin-top: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
}

.packages-section-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--as-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(30, 47, 66, 0.05);
}

.packages-section-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.packages-section-nav__inner::-webkit-scrollbar {
    display: none;
}

.packages-section-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--as-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.packages-section-nav__link:hover {
    color: var(--as-ink);
    background: #f1f5f9;
}

.packages-section-nav__link.is-active {
    color: #fff;
    background: var(--as-ink);
    box-shadow: 0 2px 8px rgba(30, 47, 66, 0.18);
}

.packages-page-panel {
    scroll-margin-top: 72px;
}

.packages-page-panel__eyebrow {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--as-shelf-deep);
}

.packages-page-panel--compare,
.packages-page-panel--installments,
.packages-page-panel--why {
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 32px rgba(30, 47, 66, 0.06);
    margin-bottom: 28px;
    overflow: hidden;
}

.packages-page-panel--compare {
    padding: 24px 22px 8px;
}

.packages-page-panel--installments {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.packages-page-panel--installments .packages-installment-pricing {
    margin: 0;
    border-radius: 18px;
}

.packages-page-panel--why {
    padding: 32px 28px 36px;
}

.packages-page .authorshelf-pricing-table-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
}

.packages-comparison__inner {
    max-width: 1320px;
}

.packages-hero-announcement {
    max-width: 680px;
    margin: 14px auto 0;
    font-size: 0.98rem;
    line-height: 1.55;
    opacity: 0.92;
    color: var(--as-shelf-light);
}

.packages-comparison-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px;
    color: #444;
    font-size: 1.05rem;
}

.packages-table-footnotes {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 18px 22px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--as-border);
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--as-muted);
    box-shadow: 0 2px 10px rgba(30, 47, 66, 0.04);
}

.packages-table-footnotes p {
    margin: 0 0 8px;
}

.packages-table-footnotes p:last-child {
    margin-bottom: 0;
}

.packages-table-footnotes sup {
    color: var(--as-shelf-deep);
    font-weight: 700;
    margin-right: 4px;
}

/* Installment pricing (packages page) */
.packages-installment-pricing {
    margin: 0;
    padding: 28px 24px 24px;
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 32px rgba(30, 47, 66, 0.06);
}

.packages-installment-pricing__title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--as-ink);
    letter-spacing: -0.02em;
}

.packages-installment-pricing__lede {
    margin: 0 0 22px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--as-muted);
    max-width: 72ch;
}

.packages-installment-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
}

.packages-installment-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    font-size: 0.88rem;
    line-height: 1.4;
}

.packages-installment-table thead th {
    background: var(--as-ink);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    white-space: nowrap;
}

.packages-installment-table tbody th,
.packages-installment-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.packages-installment-table tbody th {
    font-weight: 700;
    color: var(--as-ink);
    background: #f8fafc;
    text-align: left;
}

.packages-installment-table tbody tr:nth-child(even) td,
.packages-installment-table tbody tr:nth-child(even) th {
    background: #fafbfd;
}

.packages-installment-table__same {
    font-size: 0.82rem;
    color: var(--as-muted);
    min-width: 11em;
}

.packages-installment-accordion {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.packages-installment-card {
    border: 1px solid var(--as-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.packages-installment-card__summary {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px 12px;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--as-ink);
}

.packages-installment-card__summary::-webkit-details-marker {
    display: none;
}

.packages-installment-card__name {
    font-size: 1rem;
}

.packages-installment-card__cash {
    font-size: 0.82rem;
    color: var(--as-muted);
}

.packages-installment-card__ip {
    font-size: 0.82rem;
    color: var(--as-shelf-deep);
    font-weight: 700;
}

.packages-installment-card__body {
    padding: 0 16px 16px;
    border-top: 1px solid #eef2f7;
}

.packages-installment-card__dl {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.packages-installment-card__dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
}

.packages-installment-card__dl dt {
    color: var(--as-muted);
    font-weight: 500;
}

.packages-installment-card__dl dd {
    margin: 0;
    font-weight: 600;
    color: var(--as-ink);
    text-align: right;
}

.packages-installment-card__note {
    margin: 0 0 12px;
    font-size: 0.84rem;
    color: var(--as-muted);
}

.packages-installment-card__cta {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.packages-installment-copy {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--as-border);
}

.packages-installment-copy p {
    margin: 0 0 18px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #334155;
    max-width: 72ch;
}

.packages-installment-copy__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.packages-installment-legal {
    margin: 18px 0 0;
    padding: 14px 16px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--as-muted);
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 10px;
}

.packages-installment-legal a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

@media (max-width: 900px) {
    .packages-installment-table-wrap {
        display: none;
    }

    .packages-installment-accordion {
        display: flex;
    }

    .packages-installment-pricing {
        padding: 22px 16px 18px;
    }

    .packages-installment-card__summary {
        grid-template-columns: 1fr;
    }
}

.packages-page-footer-note {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 14px;
    max-width: 820px;
    margin: 8px auto 0;
    padding: 16px 18px;
    border: 1px dashed #d5dee8;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    color: var(--as-muted);
    line-height: 1.55;
}

.packages-page-footer-note__label {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--as-shelf-light);
    color: var(--as-shelf-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Packages Grid */
.packages-comparison {
    padding: 32px 0 64px;
}

.packages-comparison > .container {
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
}

.packages-comparison .section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.65rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 40px;
}

.package-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.package-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.package-card.is-popular {
    border-color: var(--as-author);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.15);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--as-author) 0%, #E8002E 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.package-header {
    text-align: center;
    margin-bottom: 16px;
}

.package-name {
    font-size: 1.45rem;
    margin: 0 0 6px;
    color: #1f1f1f;
    font-weight: 700;
}

.package-price {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--as-author);
    line-height: 1;
}

.package-price .currency {
    font-size: 1.1rem;
    vertical-align: top;
    margin-right: 2px;
}

.package-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #E8002E;
    font-weight: 600;
}

.package-description {
    font-size: 0.92rem;
    color: #555;
    text-align: center;
    margin-bottom: 18px;
    min-height: 48px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.package-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--as-shelf-deep);
    font-weight: bold;
}

.package-cta {
    text-align: center;
    margin-top: auto;
}

.package-cta .btn-block {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.package-learn-more {
    font-size: 0.85rem;
    color: var(--as-shelf-deep);
    text-decoration: none;
}

.package-learn-more:hover {
    text-decoration: underline;
}

/* Packages Footer Note */
.packages-footer-note {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.98rem;
    color: #444;
    background: #fff;
    padding: 24px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.packages-footer-note a {
    color: var(--as-shelf-deep);
}

/* Why Choose Section */
.packages-why {
    background: #fff;
    padding: 60px 0 70px;
    border-top: 1px solid #eee;
}

.packages-why h2,
.packages-why-inline h2 {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 35px;
    font-size: 1.65rem;
}

.packages-why-inline {
    margin-top: 0;
}

.packages-page-panel--why h2 {
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 35px;
}

.packages-page-panel--why .why-card {
    background: #fafbfd;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.packages-page-panel--why .why-card:hover {
    transform: translateY(-2px);
    border-color: rgba(107, 155, 184, 0.45);
    box-shadow: 0 8px 20px rgba(30, 47, 66, 0.06);
}

.why-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
}

.packages-page-panel--why .why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(107, 155, 184, 0.14);
    font-size: 1rem;
    font-weight: 800;
    color: var(--as-shelf-deep);
}

.why-icon {
    font-size: 1.6rem;
    color: var(--as-shelf-deep);
    margin-bottom: 10px;
}

.why-card h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2937;
}

.why-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.packages-cta-final {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Page Styling */
.page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ============================================
   BOOK PRODUCTION PAGE
   Professional, clean design matching the rest of the site
   ============================================ */

/* ========================================
   BOOK PRODUCTION PAGE - Modern Premium Refresh
   Matches current site branding (Deep Navy + Teal + Red)
   ======================================== */

.book-production-page {
    background: #f8fafc;
}

/* Hero - aligned with current premium style */
.bp-hero {
    background: linear-gradient(135deg, var(--as-ink) 0%, var(--as-ink-mid) 100%);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
}

.bp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.bp-hero h1 {
    font-size: 2.55rem;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
}

.bp-hero-subtitle {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 32px;
    opacity: 0.92;
    line-height: 1.6;
}

.bp-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Consistent section spacing */
.book-production-page .bp-problem,
.book-production-page .bp-solution,
.book-production-page .bp-process,
.book-production-page .bp-why,
.book-production-page .bp-testimonials,
.book-production-page .bp-packages,
.book-production-page .bp-faq {
    padding: 65px 0;
}

.book-production-page .bp-problem,
.book-production-page .bp-process,
.book-production-page .bp-testimonials,
.book-production-page .bp-faq {
    background: #fff;
}

.book-production-page .bp-solution,
.book-production-page .bp-why,
.book-production-page .bp-packages {
    background: #f8fafc;
}

/* Final CTA */
.book-production-page .bp-final-cta {
    background: linear-gradient(135deg, var(--as-ink) 0%, var(--as-ink-mid) 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

/* Headings */
.book-production-page h2 {
    font-size: 2.05rem;
    margin-bottom: 20px;
    color: var(--as-ink);
    font-weight: 700;
}

.book-production-page .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 36px;
}

/* Solution features grid */
.book-production-page .bp-solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.book-production-page .feature-item {
    background: #fff;
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-production-page .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.book-production-page .feature-item h4 {
    margin-bottom: 8px;
    color: var(--as-ink);
    font-size: 1.05rem;
}

/* 6-Step Process - Improved cards */
.book-production-page .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.book-production-page .process-step {
    background: #fff;
    padding: 26px 24px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
}

.book-production-page .process-step:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.book-production-page .process-step .step-number {
    width: 38px;
    height: 38px;
    background: var(--as-ink);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

/* Why AuthorShelf grid */
.book-production-page .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.book-production-page .why-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.book-production-page .why-item h4 {
    color: var(--as-ink);
    margin-bottom: 8px;
}

/* New clickable package cards on Book Production page */
.book-production-page .production-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.book-production-page .prod-package {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: block;
}

.book-production-page .prod-package:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.book-production-page .prod-package.featured {
    border-color: var(--as-author);
    box-shadow: 0 8px 22px rgba(255, 0, 5, 0.12);
}

.book-production-page .prod-name {
    font-weight: 700;
    color: var(--as-ink);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.book-production-page .prod-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--as-ink);
    line-height: 1;
    margin: 6px 0 8px;
}

.book-production-page .prod-tag {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.3;
}

.book-production-page .prod-badge {
    font-size: 0.6rem;
    background: var(--as-author);
    color: #fff;
    padding: 2px 9px;
    border-radius: 999px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

/* ========================================
   AUTHOR PORTAL - PROJECT ROYALTY ESTIMATES (from Pricing Engine)
   ======================================== */

.project-royalty-estimate {
    background: #f0f7f4;
    border: 1px solid #c8e0d9;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0;
}

.project-royalty-estimate .estimate-label {
    font-size: 0.75rem;
    color: var(--as-shelf-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-royalty-estimate .estimate-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--as-ink);
    line-height: 1.1;
    margin: 2px 0;
}

.project-royalty-estimate .estimate-note {
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.3;
}

/* ========================================
   AUTHOR PORTAL - NEW PROJECT MODAL + PRICING CALCULATOR
   ======================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 46, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    color: var(--as-ink);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.modal-body {
    padding: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
}

.pricing-estimate-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

/* Developmental Editing word count section in New Project modal */
#dev-editing-options {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.pricing-estimate-box h4 {
    margin: 0 0 14px;
    color: var(--as-ink);
    font-size: 1rem;
}

.estimate-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.estimate-row.highlight {
    font-weight: 700;
    color: var(--as-ink);
    font-size: 1.05rem;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    margin-top: 4px;
}

.estimate-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.4;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* FAQ styling refresh */
.book-production-page .faq-item {
    background: #fff;
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
}

.book-production-page .faq-item h4 {
    color: var(--as-ink);
    margin-bottom: 6px;
    font-size: 1.05rem;
}
}

.package .badge {
    background: #2563eb;
    color: white;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 9999px;
    margin-left: 8px;
}

.faq-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 8px;
    color: #1e40af;
}

.bp-final-cta h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
    /* Engraved / carved into the dark background effect */
    text-shadow: 
        0 1px 1px rgba(0, 0, 0, 0.6),
        0 -1px 0 rgba(255, 255, 255, 0.1);
    color: #e2e8f0; /* slightly softer white for better engraving effect */
}

.bp-final-cta p {
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.bp-final-cta .small {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.75;
}

/* ============================================
   CREATE ACCOUNT PAGE
   Clean, professional registration form
   ============================================ */

.create-account-page {
    background: #f8f9fc;
    padding: 60px 0 80px;
}

.create-account-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.create-account-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    background: #0f172a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo span {
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.create-account-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.create-account-header .subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.create-account-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
    padding: 40px 36px;
}

.create-account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.create-account-form label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-size: 14px;
}

.create-account-form input[type="text"],
.create-account-form input[type="email"],
.create-account-form input[type="tel"],
.create-account-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.create-account-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.required {
    color: #ef4444;
}

.optional {
    color: #94a3b8;
    font-weight: 400;
}

.password-strength {
    font-size: 12px;
    margin-top: 5px;
    color: #64748b;
    min-height: 16px;
}

.form-agreements {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-agreements__heading {
    margin: 0 0 2px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.form-agreements__intro {
    margin: 0 0 4px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
}

.form-agreements__confirm {
    margin: 6px 0 0;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.form-agreements__confirm a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.form-agreements__footer {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #64748b;
    text-align: center;
}

.form-agreements__footer a {
    color: #2563eb;
    text-decoration: underline;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
}

.agreement-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #2563eb;
}

.agreement-label a {
    color: #2563eb;
    text-decoration: underline;
}

.login-link {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.login-link a {
    color: #2563eb;
    font-weight: 600;
}

/* Registration form error messages */
.registration-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.registration-errors strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.registration-errors ul {
    margin: 0;
    padding-left: 18px;
}
.registration-errors li {
    margin-bottom: 4px;
}

/* Login page specific tweaks (reuses most create-account styles) */
.login-page .create-account-header h1 {
    font-size: 2rem;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    cursor: pointer;
}

.remember-label input[type="checkbox"] {
    accent-color: var(--as-shelf-deep);
}

.forgot-link {
    color: var(--as-shelf-deep);
    font-weight: 500;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-errors {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    .create-account-card {
        padding: 30px 24px;
    }
    
    .form-row-split {
        grid-template-columns: 1fr;
    }
    
    .create-account-header h1 {
        font-size: 22px;
    }
}

/* ============================================
   CREATE ACCOUNT - SPLIT LAYOUT (Form Left / Image + Content Right)
   ============================================ */

.create-account-split {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.create-account-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: #f8f9fc;
}

.create-account-form-wrapper {
    width: 100%;
    max-width: 520px;
}

.create-account-right {
    flex: 1;
    /* Background image set inline via authorshelf_auth_panel_hero_style_attr() on login/register templates */
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.68)),
                url('assets/images/author-login-hero.png') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 70px 55px;
    position: relative;
}

.right-content {
    max-width: 480px;
}

.create-account-right h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #fff;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-bottom: 45px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-item .check {
    color: #60a5fa;
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
    line-height: 1.2;
}

.benefit-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.benefit-item p {
    margin: 0;
    font-size: 0.97rem;
    color: #cbd5e1;
    line-height: 1.45;
}

/* Mobile: Stack the two halves */
@media (max-width: 900px) {
    .create-account-split {
        flex-direction: column;
    }
    
    .create-account-right {
        min-height: 420px;
        padding: 50px 30px;
    }
    
    .create-account-left {
        padding: 50px 25px;
    }
}

/* ============================================
   PRECISE PACKAGE (LAUNCH) DETAIL PAGE
   Very nice & professional design
   ============================================ */

.precise-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
}

.precise-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
}

.precise-hero-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.precise-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 9999px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.precise-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.precise-subtitle {
    font-size: 1.25rem;
    max-width: 620px;
    margin: 0 auto 28px;
    opacity: 0.9;
    line-height: 1.5;
}

.precise-price {
    margin-bottom: 32px;
}

.precise-price .amount {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
}

.precise-price .price-note {
    display: block;
    font-size: 1rem;
    opacity: 0.75;
    margin-top: 8px;
}

.precise-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Bar */
.precise-trust-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
}

.precise-trust-bar .trust-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

/* Description */
.precise-description {
    padding: 70px 0 60px;
    background: #fff;
}

.description-content {
    max-width: 720px;
    margin: 0 auto;
}

.description-content h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.description-content p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.1em;
}

/* Includes Grid */
.precise-includes {
    padding: 60px 0;
    background: #f8fafc;
}

.precise-includes h2 {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 40px;
    color: #0f172a;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
}

.include-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.include-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.include-icon {
    font-size: 1.9rem;
    margin-bottom: 12px;
    display: block;
}

.include-card h4 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: #0f172a;
}

.include-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.includes-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.92rem;
    color: #64748b;
}

/* Benefits */
.precise-benefits {
    padding: 65px 0;
    background: #fff;
}

.precise-benefits .section-subtitle {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 35px;
    color: #64748b;
    font-size: 1.05rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    max-width: 1050px;
    margin: 0 auto;
}

.benefit-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 22px;
}

.benefit-card h4 {
    margin: 0 0 8px;
    color: #1e40af;
    font-size: 1.08rem;
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

/* Final CTA */
.precise-final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.precise-final-cta h2 {
    font-size: 1.95rem;
    margin-bottom: 14px;
}

.precise-final-cta p {
    max-width: 540px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.85;
}

.precise-final-cta .or-text {
    margin-top: 24px;
    font-size: 1rem;
    opacity: 0.75;
}

.precise-final-cta .or-text a {
    color: #fff;
    text-decoration: underline;
}

/* Specific overrides for the WooCommerce single product version */
.precise-product-page .precise-hero {
    padding: 60px 0 50px;
}

.precise-product-page .precise-cta .button {
    /* Make WooCommerce add to cart button match our theme buttons */
    background: var(--as-shelf-deep);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.precise-product-page .precise-cta .button:hover {
    background: #0052a3;
}

/* ============================================
   ULTIMATE PACKAGE DETAIL PAGE
   Premium white-glove top-tier design
   ============================================ */

.ultimate-product-page {
    /* container for consistent spacing if needed */
}

.ultimate-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0f2747 50%, var(--as-ink-mid) 100%);
    color: #fff;
    padding: 75px 0 60px;
    text-align: center;
    position: relative;
}

.ultimate-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent);
}

.ultimate-hero .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.ultimate-hero .hero-content {
    position: relative;
    z-index: 2;
}

.ultimate-hero .badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.18); /* subtle gold accent for top tier */
    color: #fcd34d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 9999px;
    margin-bottom: 16px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.ultimate-hero h1 {
    font-size: 2.85rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.1;
    color: #fff;
}

.ultimate-hero .subtitle {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 26px;
    opacity: 0.92;
    line-height: 1.55;
}

.ultimate-hero .price-block {
    margin-bottom: 26px;
}

.ultimate-hero .price-block .amount {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1;
}

.ultimate-hero .price-block .price-note {
    display: block;
    font-size: 0.98rem;
    opacity: 0.7;
    margin-top: 6px;
}

.ultimate-hero .hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust bar */
.ultimate-trust-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}

.ultimate-trust-bar .trust-items {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 0.93rem;
    color: #334155;
    font-weight: 600;
}

/* Intro / Long Description */
.ultimate-intro {
    padding: 65px 0 55px;
    background: #fff;
}

.ultimate-intro .intro-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
}

.ultimate-intro h2 {
    font-size: 1.72rem;
    margin-bottom: 18px;
    color: #0f172a;
    line-height: 1.3;
}

.ultimate-intro p {
    font-size: 1.07rem;
    line-height: 1.72;
    color: #475569;
    margin-bottom: 1.05em;
}

/* What's Included - 4 category cards */
.ultimate-includes {
    padding: 55px 0 65px;
    background: #f8fafc;
}

.ultimate-includes h2 {
    text-align: center;
    font-size: 1.82rem;
    margin-bottom: 32px;
    color: #0f172a;
}

.ultimate-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.include-category {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.include-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.include-category h3 {
    font-size: 1.06rem;
    margin: 0 0 12px;
    color: #1e40af;
    font-weight: 700;
    border-bottom: 1px solid #e0e7ff;
    padding-bottom: 8px;
}

.include-category ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.include-category li {
    font-size: 0.96rem;
    line-height: 1.58;
    color: #334155;
    margin-bottom: 5px;
}

/* Why Authors Choose */
.ultimate-why {
    padding: 60px 0;
    background: #fff;
}

.ultimate-why .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.ultimate-why h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
    color: #0f172a;
}

.ultimate-why .why-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto 22px;
}

.ultimate-why .why-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    padding: 13px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 1.01rem;
    color: #1e2937;
    line-height: 1.45;
}

.ultimate-why .why-item .check {
    color: #16a34a;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.ultimate-why .ideal-note {
    text-align: center;
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 1.05rem;
    color: #475569;
    font-style: italic;
}

/* Investment / Timeline / Guarantee cards */
.ultimate-details {
    padding: 45px 0 55px;
    background: #f8fafc;
}

.ultimate-details .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.ultimate-details .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.ultimate-details .detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.ultimate-details .detail-card.guarantee {
    border-color: #166534;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.ultimate-details .detail-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.ultimate-details .detail-value {
    font-size: 2.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 2px;
}

.ultimate-details .detail-value-small {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #166534;
    font-weight: 600;
}

.ultimate-details .detail-note {
    font-size: 0.9rem;
    color: #64748b;
}

/* Final CTA */
.ultimate-cta {
    background: linear-gradient(135deg, #0a1628 0%, #0f2747 100%);
    color: #fff;
    padding: 62px 0;
    text-align: center;
}

.ultimate-cta h2 {
    font-size: 1.95rem;
    margin-bottom: 12px;
    color: #fff;
}

.ultimate-cta p {
    max-width: 560px;
    margin: 0 auto 26px;
    font-size: 1.08rem;
    opacity: 0.88;
}

.ultimate-cta .cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* WooCommerce button styling inside ultimate page */
.ultimate-product-page .button,
.ultimate-product-page .single_add_to_cart_button {
    background: var(--as-shelf-deep);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.ultimate-product-page .button:hover,
.ultimate-product-page .single_add_to_cart_button:hover {
    background: #0052a3;
}

.ultimate-product-page .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    padding: 13px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

.ultimate-product-page .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Mobile refinements */
@media (max-width: 640px) {
    .ultimate-hero h1 {
        font-size: 2.35rem;
    }
    .ultimate-hero .subtitle {
        font-size: 1.02rem;
    }
    .ultimate-includes-grid {
        grid-template-columns: 1fr;
    }
    .ultimate-details .details-grid {
        grid-template-columns: 1fr;
    }
}

.page-content .entry-title {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    color: #1f1f1f;
}

/* ============================================
   About Us Page
   ============================================ */
.about-page {
    background: #f8f9fa;
}

.about-hero {
    padding: 60px 0 50px;
    /* Blue gradient background to match the Packages page hero */
    background: var(--as-gradient-hero);
    color: #fff;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-hero-subtitle {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
}

/* Main Story */
.about-story {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

.about-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    color: #1f1f1f;
}

.about-content p {
    margin-bottom: 1.25rem;
}

/* You Retain Control Section */
.about-control {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-control h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.about-control .section-subtitle {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    color: #666;
    font-size: 1.05rem;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.control-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px 22px;
}

.control-item h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #1f1f1f;
}

.control-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Philosophy / CTA Section */
.about-philosophy {
    padding: 60px 0 70px;
    background: #fff;
    border-top: 1px solid #eee;
}

.philosophy-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: #1f1f1f;
}

.philosophy-content p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.25rem;
}

.philosophy-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 1.5rem;
}

.phone-cta {
    font-size: 1.05rem;
    color: #555;
}

.phone-cta a {
    color: var(--as-shelf-deep);
    font-weight: 600;
    text-decoration: none;
}

.phone-cta a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.1rem;
    }
    
    .control-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive for Packages */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .packages-hero h1 {
        font-size: 2rem;
    }

    .packages-hero--compact {
        padding: 36px 0 28px;
    }

    .packages-tier-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .packages-tier-pill {
        min-width: 0;
        width: 100%;
    }

    .packages-value-chips__item {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .packages-section-nav__link {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .packages-page-panel--compare {
        padding: 18px 14px 6px;
        border-radius: 14px;
    }

    .packages-page-panel--why {
        padding: 24px 18px 28px;
    }

    .packages-hero-announcement {
        font-size: 0.9rem;
        padding: 0 12px;
    }

    .packages-chart-label__title {
        font-size: 1.2rem;
    }

    .packages-table-footnotes {
        margin-top: 16px;
        padding: 14px 16px;
        font-size: 0.82rem;
    }

    .packages-page-footer-note {
        font-size: 0.88rem;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Reusable Product Cards + Grid
   ============================================ */
.product-grid {
    display: grid;
    gap: 1.5rem;
}

.product-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.product-card__title {
    font-size: 1.1rem;
    margin: 0 0 4px;
    line-height: 1.3;
}

.product-card__title a {
    color: #1f1f1f;
    text-decoration: none;
}

.product-card__title a:hover {
    color: var(--as-shelf-deep);
}

.product-card__tagline {
    margin: 0 0 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--as-shelf-deep, #6B9BB8);
    line-height: 1.35;
}

.product-card__sku {
    font-size: 0.75rem;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--as-author);
    margin-bottom: 10px;
}

.as-package-bundle-price-note {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.product-card__price del {
    color: #999;
    font-size: 0.9rem;
    margin-right: 6px;
}

.product-card__excerpt {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 14px;
    flex-grow: 1;
    line-height: 1.5;
}

.product-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-card__actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .product-grid.columns-3,
    .product-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid.columns-2,
    .product-grid.columns-3,
    .product-grid.columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Author Login Page - Split Screen Design
   ============================================ */
.author-login-page {
    padding: 0;
    background: #f8f9fa;
}

.author-login-wrapper {
    display: flex;
    min-height: calc(100vh - 80px); /* Adjust based on your header height */
}

.author-login-branding {
    flex: 1;
    background: linear-gradient(135deg, #4A7A9A 0%, var(--as-shelf-deep) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
}

.author-login-branding .branding-content {
    max-width: 420px;
    position: relative;
    z-index: 2;
}

/* ============================================
   AUTHOR DASHBOARD (Portal)
   ============================================ */

.author-dashboard,
.author-portal {
    background: #f4f6f9;
    min-height: 100vh;
}

.dashboard-header {
    background: var(--as-ink);
    color: #fff;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.dashboard-portal-label {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-name {
    font-weight: 600;
}

.user-role {
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-logout {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-logout:hover {
    background: rgba(255,255,255,0.2);
}

.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
}

.dashboard-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.dashboard-nav .nav-item:hover {
    background: #f8f9fc;
    color: var(--as-ink);
}

.dashboard-nav .nav-item.active {
    background: #f0f4ff;
    color: var(--as-ink);
    font-weight: 600;
    border-left: 3px solid var(--as-shelf-deep);
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-badge {
    background: var(--as-author);
    color: #fff;
    font-size: 0.7rem;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: auto;
}

.sidebar-support {
    padding: 20px 24px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.support-link {
    color: var(--as-shelf-deep);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.support-link:hover {
    background: #f0f4f3;
    color: #1f6b5f;
}

/* My Orders link at bottom of left sidebar */
.sidebar-support .support-link:first-child {
    font-weight: 700;
    border: 1px solid var(--as-shelf-deep);
    margin-bottom: 6px;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.dashboard-welcome h1 {
    font-size: 1.85rem;
    margin-bottom: 4px;
    color: var(--as-ink);
}

.welcome-subtitle {
    color: #555;
    font-size: 1.05rem;
}

.welcome-actions {
    display: flex;
    gap: 12px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.stat-card {
    background: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--as-ink);
    line-height: 1;
}

.stat-label {
    color: #555;
    font-size: 0.9rem;
    margin-top: 4px;
}

.dashboard-section {
    background: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--as-ink);
}

.section-link {
    color: var(--as-shelf-deep);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 18px;
    transition: box-shadow 0.2s;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.project-header h3 {
    margin: 0 0 2px;
    font-size: 1.1rem;
    color: var(--as-ink);
}

.project-genre {
    font-size: 0.8rem;
    color: #666;
}

.status-badge {
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
}

.status-editing { background: #e6f0ff; color: #1a4a8c; }
.status-design  { background: #f0e6ff; color: #5c2a9e; }
.title-status-active { background: #dcfce7; color: #166534; }
.title-status-inactive { background: #f1f5f9; color: #64748b; }

.author-portal .title-card .project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.project-progress {
    margin: 12px 0;
}

.progress-bar {
    height: 6px;
    background: #e8ecf0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--as-shelf-deep);
    border-radius: 3px;
}

.progress-text {
    font-size: 0.8rem;
    color: #555;
}

.project-meta {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 14px;
}

.project-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.btn-small.btn-outline {
    border: 1px solid var(--as-ink);
    color: var(--as-ink);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.activity-icon {
    font-size: 1.1rem;
    margin-top: 2px;
}

.activity-content p {
    margin: 0 0 2px;
    font-size: 0.95rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #888;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 16px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--as-ink);
    font-weight: 500;
    transition: all 0.2s;
}

.quick-action-card:hover {
    background: #f8f9fc;
    border-color: var(--as-shelf-deep);
    transform: translateY(-2px);
}

.qa-icon {
    font-size: 1.5rem;
}

/* Responsive — portal sidebar becomes horizontal nav at ≤1024px (see assets/css/responsive.css) */
@media (max-width: 900px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   AUTHOR PORTAL - Tab System & Additional Sections
   ============================================ */

.dashboard-tab {
    display: none;
}

.dashboard-tab.active {
    display: block;
}

.messages-container {
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
}

.message-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 16px;
}

/* ============================================
   Nicer Phase Forms in Workflow Detail Views
   ============================================ */

.phase-form {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.phase-section {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.phase-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.phase-section h5,
.phase-section h6 {
    font-size: 0.85rem;
    color: var(--as-ink);
    margin: 0 0 8px;
    font-weight: 600;
}

.phase-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.phase-input,
.phase-form input[type="text"],
.phase-form input[type="date"],
.phase-form select,
.phase-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    margin-bottom: 4px;
}

.phase-input:focus,
.phase-form input:focus,
.phase-form select:focus,
.phase-form textarea:focus {
    border-color: var(--as-ink);
    box-shadow: 0 0 0 3px rgba(30, 47, 66, 0.1);
    outline: none;
}

.phase-input[readonly] {
    background: #f8fafc;
    color: #64748b;
}

.phase-form .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 6px;
}

.phase-form .btn + .btn {
    margin-left: 8px;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.phase-section-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--as-ink);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid #e2e8f0;
}

.message-list {
    background: #f8f9fc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.received {
    background: #fff;
    align-self: flex-start;
    border: 1px solid #e8ecf0;
}

.message.sent {
    background: var(--as-ink);
    color: #fff;
    align-self: flex-end;
}

.msg-time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

.message-input-area {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e8ecf0;
}

.message-input-area textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
}

.file-upload-area {
    margin-bottom: 25px;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafbfc;
}

.upload-box:hover {
    border-color: var(--as-shelf-deep);
}

.upload-link {
    color: var(--as-shelf-deep);
    cursor: pointer;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.royalties-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.royalty-card {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.royalty-card .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--as-ink);
}

.royalties-table {
    width: 100%;
    border-collapse: collapse;
}

.royalties-table th,
.royalties-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e8ecf0;
}

.status {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.paid {
    background: #e6f4ea;
    color: #1e7e34;
}

.account-info p {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* ============================================
   HELP CENTER PAGE
   ============================================ */

.help-center-page {
    background: #f8f9fc;
}

/* Help Center Category Cards - Premium styled */
.help-category-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 26px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.help-category-card:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-4px);
}

.help-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--as-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.help-category-card .category-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.35;
}

.help-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-category-card li {
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.help-category-card li:last-child {
    border-bottom: none;
}

.help-category-card a {
    display: block;
    color: #334155;
    transition: color 0.2s ease;
}

.help-category-card a:hover {
    color: var(--as-shelf-deep);
    text-decoration: none;
}

.help-category-card .key-article {
    font-weight: 600;
    color: var(--as-ink);
}

.help-category-card .key-article:hover {
    color: #1f6b5f;
}

.help-search {
    width: 100%;
    max-width: 480px;
    margin: 25px auto 0;
}

.help-search form {
    display: flex;
}

.help-search-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.help-search-btn {
    background: var(--as-shelf-deep);
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.help-search-btn:hover {
    background: #1f6b5f;
}

/* Search bar inside the dark hero */
.hero-search .help-search-input {
    background: #fff;
}

.hero-search .help-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 155, 184, 0.3);
}

.help-hero {
    background: linear-gradient(135deg, var(--as-ink) 0%, #1a3a5f 100%);
    color: #fff;
    padding: 55px 30px 45px;
    text-align: center;
}

.help-hero h1 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.help-hero-subtitle {
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
    opacity: 0.9;
}

.help-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px auto;
    max-width: 1200px;
    padding: 0 30px;
}

.quick-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    color: var(--as-ink);
    text-decoration: none;
    transition: all 0.2s;
}

.quick-link:hover {
    background: #f0f4f3;
    border-color: var(--as-shelf-deep);
}

.help-categories {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 30px;
}

.help-category {
    margin-bottom: 40px;
}

.help-category h2 {
    font-size: 1.35rem;
    color: var(--as-author);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8ecf0;
}

.help-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.help-article {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
}

.help-article:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.help-article h4 {
    color: var(--as-ink);
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.help-article p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.45;
}

.help-contact-cta {
    background: var(--as-ink);
    color: #fff;
    padding: 50px 30px;
    text-align: center;
}

.help-contact-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.help-contact-cta p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.help-note {
    margin-top: 18px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.help-note a {
    color: var(--as-shelf-deep);
    font-weight: 500;
    text-decoration: underline;
}

/* ========================================
   Help Center Modal (for non-Full-Guide cards)
   ======================================== */
.help-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.help-modal.is-open {
    display: flex;
}

.help-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 47, 66, 0.65); /* Deep Navy with opacity */
    backdrop-filter: blur(3px);
}

.help-modal-panel {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 620px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: helpModalEnter 0.2s ease-out;
}

@keyframes helpModalEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.help-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 26px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 1;
}

.help-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.help-modal-title {
    font-size: 1.45rem;
    color: var(--as-author); /* Match the red used on category headings */
    padding: 26px 60px 12px 28px;
    margin: 0;
    line-height: 1.25;
    border-bottom: 1px solid #e8ecf0;
}

.help-modal-body {
    padding: 22px 28px;
    overflow-y: auto;
    flex: 1;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #334155;
}

.help-modal-body p {
    margin: 0 0 14px;
}

.help-modal-body ul,
.help-modal-body ol {
    margin: 12px 0 18px;
    padding-left: 22px;
}

.help-modal-body li {
    margin-bottom: 8px;
}

.help-modal-body a {
    color: var(--as-shelf-deep);
    text-decoration: underline;
}

.help-modal-footer {
    padding: 18px 28px 24px;
    background: #f8fafc;
    border-top: 1px solid #e8ecf0;
    text-align: center;
}

.help-modal-footer p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #475569;
}

.help-modal-footer .btn {
    display: inline-block;
    background: var(--as-shelf-deep);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.help-modal-footer .btn:hover {
    background: #267567;
}

/* Make modal trigger cards feel clickable */
.help-article.help-modal-trigger:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .help-modal {
        padding: 12px;
    }
    .help-modal-panel {
        max-height: 92vh;
        border-radius: 12px;
    }
    .help-modal-title {
        font-size: 1.25rem;
        padding: 20px 48px 10px 20px;
    }
    .help-modal-body {
        padding: 16px 20px;
        font-size: 1rem;
    }
    .help-modal-footer {
        padding: 14px 20px 18px;
    }
}

/* Help Center Accordions - Premium Style */
.help-center-page .accordion-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.help-center-page .accordion-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.help-center-page .accordion-item[open] {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.help-center-page .accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--as-ink);
    font-size: 1.05rem;
    list-style: none;
    transition: background 0.2s ease;
}

.help-center-page .accordion-summary:hover {
    background: #f9fafb;
}

.help-center-page .accordion-summary::-webkit-details-marker {
    display: none;
}

.help-center-page .accordion-icon {
    color: var(--as-shelf-deep);
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 0.25s ease;
    user-select: none;
}

.help-center-page details[open] .accordion-icon {
    transform: rotate(45deg);
}

.help-center-page .accordion-content {
    padding: 0 24px 24px 24px;
    color: #475569;
    line-height: 1.65;
    font-size: 0.98rem;
}

.help-center-page .accordion-content p {
    margin-bottom: 12px;
}

.help-center-page .accordion-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.help-center-page .accordion-content li {
    margin-bottom: 6px;
}

/* Special treatment for key topics */
.help-center-page .key-topic {
    border-color: var(--as-shelf-deep);
}

.help-center-page .key-topic .accordion-summary {
    background: #f0f7f6;
}

/* ============================================
   Help Center v2 — homepage-style overhaul
   ============================================ */
.help-center-page--v2 {
    background: #f4f7fb;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 132px;
}

.help-center-page--v2 .hc-content-flow {
    max-width: 1120px;
    margin: 0 auto;
}

.help-center-page--v2 .hc-chapter {
    margin-bottom: 0;
    scroll-margin-top: 132px;
}

.help-center-page--v2 #portal-map,
.help-center-page--v2 #projects-vs-titles,
.help-center-page--v2 #status-guide {
    scroll-margin-top: 148px;
}

.help-center-page--v2 .hc-chapter__inner {
    max-width: 920px;
    margin: 0 auto;
}

.help-center-page--v2 .hc-chapter__head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 28px;
    align-items: start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.help-center-page--v2 .hc-chapter__head--library {
    max-width: 920px;
    margin: 0 auto 28px;
    padding: 0 30px 24px;
}

.help-center-page--v2 .hc-chapter__part {
    margin: 4px 0 0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5C7DB7;
    background: rgba(92, 125, 183, 0.1);
    border: 1px solid rgba(92, 125, 183, 0.2);
    white-space: nowrap;
}

.help-center-page--v2 .hc-chapter__part--light {
    color: #C5D6EC;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.help-center-page--v2 .hc-section-head--left {
    text-align: left;
    max-width: none;
    margin: 0;
}

.help-center-page--v2 .hc-subsection {
    margin-bottom: 48px;
}

.help-center-page--v2 .hc-subsection:last-child {
    margin-bottom: 0;
}

.help-center-page--v2 .hc-subsection-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.help-center-page--v2 .hc-subsection-lede {
    margin: 0 0 22px;
    max-width: 62ch;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
}

.help-center-page--v2 .hc-portal-guide {
    padding: 56px 0;
    background: #fff;
    border-top: 1px solid #e8ecf0;
    border-bottom: 1px solid #e8ecf0;
}

.help-center-page--v2 .hc-portal-mini-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 28px;
    padding: 0;
}

.help-center-page--v2 .hc-portal-mini-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5C7DB7;
    background: rgba(92, 125, 183, 0.08);
    border: 1px solid rgba(92, 125, 183, 0.2);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.help-center-page--v2 .hc-portal-mini-nav__link:hover {
    background: rgba(92, 125, 183, 0.16);
    border-color: rgba(92, 125, 183, 0.35);
    color: #0A2540;
}

.help-center-page--v2 .hc-portal-map-block {
    margin-bottom: 48px;
}

.help-center-page--v2 .hc-portal-group {
    margin-bottom: 28px;
}

.help-center-page--v2 .hc-portal-group:last-child {
    margin-bottom: 0;
}

.help-center-page--v2 .hc-portal-group__title {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.help-center-page--v2 .hc-hero {
    padding: 56px 0 48px;
    text-align: left;
    background: var(--as-gradient-hero);
    position: relative;
}

.help-center-page--v2 .hc-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.help-center-page--v2 .hc-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.help-center-page--v2 .hc-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(92, 125, 183, 0.22);
    border: 1px solid rgba(142, 173, 212, 0.3);
    color: #EEF3F9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.help-center-page--v2 .hc-hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.65rem);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.help-center-page--v2 .hc-hero__lede {
    margin: 0 0 18px;
    max-width: 580px;
    text-align: left;
    opacity: 0.92;
    line-height: 1.6;
}

.help-center-page--v2 .hc-hero__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.help-center-page--v2 .hc-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.help-center-page--v2 .hc-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    color: #C5D6EC;
    font-size: 0.68rem;
    font-weight: 800;
}

.help-center-page--v2 .hc-hero__search {
    margin: 0;
    max-width: none;
    width: 100%;
}

.help-center-page--v2 .hc-hero__search form {
    position: relative;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    overflow: hidden;
}

.help-center-page--v2 .hc-search-clear {
    flex-shrink: 0;
    width: 40px;
    border: none;
    background: #fff;
    color: #64748b;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.help-center-page--v2 .hc-search-clear:hover {
    color: #0A2540;
    background: #f8fafc;
}

.help-center-page--v2 .hc-hero__search .help-search-input {
    border-radius: 0;
    padding: 14px 18px;
}

.help-center-page--v2 .hc-hero__search .help-search-btn {
    padding: 0 28px;
    background: #5C7DB7;
}

.help-center-page--v2 .hc-hero__search .help-search-btn:hover {
    background: #257a6f;
}

.help-center-page--v2 .hc-hero__search-hint {
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
}

.help-center-page--v2 .hc-trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--as-border);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.05);
}

.help-center-page--v2 .hc-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 0;
}

.help-center-page--v2 .hc-trust-bar__item {
    text-align: center;
    padding: 8px 16px;
    position: relative;
}

.help-center-page--v2 .hc-trust-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: #e2e8f0;
}

.help-center-page--v2 .hc-trust-bar__value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.1;
}

.help-center-page--v2 .hc-trust-bar__label {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--as-muted);
}

.help-center-page--v2 .hc-quick-nav-bar {
    position: sticky;
    top: 64px;
    z-index: 990;
    isolation: isolate;
    background: linear-gradient(135deg, #0A2540 0%, #123a5e 55%, #0f3350 100%);
    border-bottom: 3px solid #5C7DB7;
    box-shadow:
        0 10px 40px rgba(10, 37, 64, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.help-center-page--v2 .hc-scroll-progress {
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 2;
    pointer-events: none;
}

.help-center-page--v2 .hc-scroll-progress::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5C7DB7 0%, #8EADD4 100%);
}

.help-center-page--v2 .hc-quick-nav-wrap {
    padding: 0;
    max-width: 100%;
}

.help-center-page--v2 .hc-quick-nav-bar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 125, 183, 0.5) transparent;
}

.help-center-page--v2 .hc-quick-nav-bar__inner::-webkit-scrollbar {
    height: 5px;
}

.help-center-page--v2 .hc-quick-nav-bar__inner::-webkit-scrollbar-thumb {
    background: rgba(92, 125, 183, 0.45);
    border-radius: 999px;
}

.help-center-page--v2 .hc-quick-nav-bar__label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 14px 8px 12px;
    border-radius: 10px;
    background: rgba(92, 125, 183, 0.22);
    border: 1px solid rgba(142, 173, 212, 0.25);
}

.help-center-page--v2 .hc-quick-nav-bar__icon {
    display: inline-block;
    width: 16px;
    height: 12px;
    flex-shrink: 0;
    background: linear-gradient(
        to bottom,
        #C5D6EC 0,
        #C5D6EC 2px,
        transparent 2px,
        transparent 5px,
        #C5D6EC 5px,
        #C5D6EC 7px,
        transparent 7px,
        transparent 10px,
        #C5D6EC 10px,
        #C5D6EC 12px
    );
    border-radius: 1px;
    opacity: 0.95;
}

.help-center-page--v2 .hc-quick-nav-bar__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EEF3F9;
    white-space: nowrap;
}

.help-center-page--v2 .hc-quick-nav {
    margin: 0;
    padding: 2px 0;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: min-content;
}

.help-center-page--v2 .hc-quick-nav .quick-link {
    flex-shrink: 0;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.help-center-page--v2 .hc-quick-nav .quick-link:hover {
    border-color: rgba(184, 232, 223, 0.55);
    background: rgba(92, 125, 183, 0.45);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.help-center-page--v2 .hc-quick-nav .quick-link.is-active {
    border-color: #5C7DB7;
    background: #5C7DB7;
    color: #fff;
    box-shadow: 0 4px 16px rgba(92, 125, 183, 0.45);
}

.help-center-page--v2 .hc-quick-nav .quick-link:focus-visible {
    outline: 2px solid #C5D6EC;
    outline-offset: 2px;
}

.help-center-page--v2 .hc-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.help-center-page--v2 .hc-section-head--light .hc-section-head__title,
.help-center-page--v2 .hc-section-head--light .hc-section-head__lede {
    color: #fff;
}

.help-center-page--v2 .hc-section-head--light .hc-section-head__lede strong {
    color: #fff;
}

.help-center-page--v2 .hc-section-head--light .hc-section-head__eyebrow {
    color: var(--as-shelf);
}

.help-center-page--v2 .hc-section-head__eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C7DB7;
}

.help-center-page--v2 .hc-section-head__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.help-center-page--v2 .hc-section-head__lede {
    margin: 0;
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #475569;
}

.help-center-page--v2 .hc-section-head__title {
    line-height: 1.25;
}



.help-center-page--v2 .hc-quick-start {
    padding: 56px 0;
    background: #fff;
    border-bottom: 1px solid #e8ecf0;
}

.help-center-page--v2 .hc-quick-start__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 920px;
    counter-reset: none;
}

.help-center-page--v2 .hc-quick-start__card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px 18px;
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.help-center-page--v2 .hc-quick-start__card:hover {
    background: #f0f7f6;
    border-color: rgba(92, 125, 183, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.06);
}

.help-center-page--v2 .hc-quick-start__card--finale {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0f7f6 0%, #fff 100%);
    border-color: rgba(92, 125, 183, 0.35);
    box-shadow: 0 8px 28px rgba(92, 125, 183, 0.1);
}

.help-center-page--v2 .hc-quick-start__card--finale .hc-quick-start__step {
    background: #5C7DB7;
    color: #fff;
}

.help-center-page--v2 .hc-quick-start__card h3,
.help-center-page--v2 .hc-quick-start__card p,
.help-center-page--v2 .hc-quick-start__link {
    grid-column: 2;
}

.help-center-page--v2 .hc-quick-start__step {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    margin-bottom: 0;
}



.help-center-page--v2 .hc-quick-start__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
    font-size: 0.88rem;
    font-weight: 800;
}

.help-center-page--v2 .hc-quick-start__card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.35;
}

.help-center-page--v2 .hc-quick-start__card p {
    margin: 0 0 14px;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.help-center-page--v2 .hc-quick-start__link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #5C7DB7;
    text-decoration: none;
}

.help-center-page--v2 .hc-quick-start__link:hover {
    color: #0A2540;
    text-decoration: underline;
}

.help-center-page--v2 .hc-phases-section {
    padding: 56px 0 52px;
    background: var(--as-gradient-hero);
    color: #fff;
    position: relative;
}

.help-center-page--v2 .hc-phases-section .hc-chapter__inner {
    max-width: 780px;
}

.help-center-page--v2 .hc-phases-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.help-center-page--v2 .hc-phase-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}

.help-center-page--v2 .hc-phase-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.18);
}

.help-center-page--v2 .hc-phase-step__marker {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.help-center-page--v2 .hc-phase-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.help-center-page--v2 .hc-phase-step__body {
    padding: 18px 22px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}

.help-center-page--v2 .hc-phase-step__body h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.help-center-page--v2 .hc-phase-step__summary {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.help-center-page--v2 .hc-phase-step__detail {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.help-center-page--v2 .hc-phases-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(92, 125, 183, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 85% 75%, rgba(142, 173, 212, 0.12) 0%, transparent 38%);
    pointer-events: none;
}

.help-center-page--v2 .hc-phases-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.help-center-page--v2 .hc-phase-card {
    padding: 18px 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.help-center-page--v2 .hc-phase-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    font-size: 0.82rem;
    font-weight: 800;
}

.help-center-page--v2 .hc-phase-card h3 {
    margin: 0 0 6px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.help-center-page--v2 .hc-phase-card p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.help-center-page--v2 .hc-phases-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.help-center-page--v2 .hc-categories {
    padding-top: 56px;
    padding-bottom: 64px;
    max-width: 920px;
}

.help-center-page--v2 .hc-category {
    margin-bottom: 32px;
    padding: 28px 28px 22px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.05);
}

.help-center-page--v2 .hc-category__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--as-border);
}

.help-center-page--v2 .hc-category__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    font-size: 1.4rem;
    background: rgba(92, 125, 183, 0.1);
    border: 1px solid rgba(92, 125, 183, 0.2);
    border-radius: 14px;
}

.help-center-page--v2 .hc-category h2 {
    margin: 0 0 4px;
    padding: 0;
    border: none;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.help-center-page--v2 .hc-category__intro {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 58ch;
}

.help-center-page--v2 .hc-articles {
    gap: 12px;
    grid-template-columns: 1fr;
}

.help-center-page--v2 .hc-article {
    border-radius: 12px;
    padding: 20px 22px 42px;
    position: relative;
    box-shadow: none;
    cursor: pointer;
}

.help-center-page--v2 a.hc-article {
    cursor: pointer;
}

.help-center-page--v2 .hc-article h4 {
    margin-bottom: 6px !important;
    font-size: 1.1rem;
    line-height: 1.35;
}

.help-center-page--v2 .hc-article p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    color: #64748b !important;
    max-width: 62ch;
}

.help-center-page--v2 .hc-article--featured {
    border-color: rgba(92, 125, 183, 0.28);
    background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%);
}

.help-center-page--v2 .hc-article__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5C7DB7;
    background: rgba(92, 125, 183, 0.12);
}

.help-center-page--v2 .hc-article h4 {
    font-size: 1.02rem;
    font-weight: 700;
}

.help-center-page--v2 .hc-article:hover {
    border-color: rgba(92, 125, 183, 0.35);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
    transform: translateY(-2px);
}

.help-center-page--v2 .hc-article::after {
    content: 'Quick read →';
    position: absolute;
    right: 20px;
    bottom: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #5C7DB7;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, transform 0.15s ease;
}

.help-center-page--v2 a.hc-article::after {
    content: 'Full guide →';
}

.help-center-page--v2 .hc-article:hover::after {
    color: #0A2540;
    transform: translateX(3px);
}

.help-center-page--v2 .full-guide-badge {
    display: none;
}

.help-center-page--v2 .hc-bottom-cta {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 64px 0 56px;
    border-top: none;
    text-align: center;
    position: relative;
}

.help-center-page--v2 .hc-bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.help-center-page--v2 .hc-bottom-cta__inner {
    max-width: 720px;
    margin: 0 auto;
}

.help-center-page--v2 .hc-bottom-cta__eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-shelf);
}

.help-center-page--v2 .hc-bottom-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.help-center-page--v2 .hc-bottom-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.help-center-page--v2 .hc-bottom-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.help-center-page--v2 .hc-bottom-cta__note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.82rem;
}

.help-center-page--v2 .hc-modal-panel {
    border-radius: 18px;
}

.help-center-page--v2 .help-modal-title {
    color: #0A2540;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.help-center-page--v2 .help-modal-body {
    font-size: 1.04rem;
}

.help-center-page--v2 .hc-formula-box {
    margin: 14px 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f7f6 0%, #e8f4f2 100%);
    border: 1px solid rgba(92, 125, 183, 0.25);
    font-weight: 800;
    font-size: 1.02rem;
    color: #0A2540;
    line-height: 1.45;
    text-align: center;
}

/* Portal map */
.help-center-page--v2 .hc-portal-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.help-center-page--v2 .hc-portal-map__card {
    padding: 18px 18px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.help-center-page--v2 .hc-portal-map__card:hover {
    border-color: rgba(92, 125, 183, 0.35);
    background: #f0f7f6;
}

.help-center-page--v2 .hc-portal-map__card h5 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.01em;
}

.help-center-page--v2 .hc-portal-map__card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #64748b;
}

.help-center-page--v2 .hc-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.help-center-page--v2 .hc-split-card {
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.05);
}

.help-center-page--v2 .hc-split-card--accent {
    border-color: rgba(92, 125, 183, 0.28);
    background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%);
}

.help-center-page--v2 .hc-split-card__label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5C7DB7;
    background: rgba(92, 125, 183, 0.1);
}

.help-center-page--v2 .hc-split-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.help-center-page--v2 .hc-split-card p {
    margin: 0 0 14px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #334155;
}

.help-center-page--v2 .hc-split-card ul {
    margin: 0 0 18px;
    padding-left: 22px;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #475569;
}

.help-center-page--v2 .hc-split-card li {
    margin-bottom: 6px;
}

.help-center-page--v2 .hc-split-card__note {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(92, 125, 183, 0.08);
    border: 1px solid rgba(92, 125, 183, 0.18);
    font-size: 0.86rem !important;
    color: #1e4d47 !important;
}

.help-center-page--v2 .hc-split-card__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #5C7DB7;
    text-decoration: none;
}

.help-center-page--v2 .hc-split-card__link:hover {
    color: #0A2540;
    text-decoration: underline;
}

/* Status badges guide */
.help-center-page--v2 .hc-status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.help-center-page--v2 .hc-status-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    align-items: start;
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.help-center-page--v2 .hc-status-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}

.help-center-page--v2 .hc-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.help-center-page--v2 .hc-status-pill--live {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.help-center-page--v2 .hc-status-pill--author {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.help-center-page--v2 .hc-status-pill--team {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.help-center-page--v2 .hc-status-pill--clear {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

/* Phase card detail line */
.help-center-page--v2 .hc-phase-card__short {
    margin-bottom: 8px !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92) !important;
}

.help-center-page--v2 .hc-phase-card__detail {
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
    margin-top: 4px;
}

/* Deep dive accordions */
.help-center-page--v2 .hc-deep-dive {
    padding: 56px 0 32px;
    background: #fff;
    border-top: 1px solid #e8ecf0;
}

.help-center-page--v2 .hc-deep-dive__inner {
    max-width: 780px;
}

.help-center-page--v2 .accordion-summary {
    font-size: 1.08rem;
    line-height: 1.4;
    padding: 20px 24px;
}

.help-center-page--v2 .accordion-content {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #475569;
    max-width: 68ch;
}

.help-center-page--v2 .accordion-content li {
    margin-bottom: 8px;
}

.help-center-page--v2 .hc-callout {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f0f7f6;
    border-left: 4px solid #5C7DB7;
    font-size: 0.92rem;
    color: #1e4d47;
}

.help-center-page--v2 .hc-category__icon {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #5C7DB7;
}

.help-center-page--v2 .hc-no-results {
    text-align: center;
    padding: 24px 0 48px;
    font-size: 0.95rem;
    color: var(--as-muted);
}

.help-center-page--v2 .hc-section-head__lede a {
    color: #5C7DB7;
    font-weight: 600;
}

.help-center-page--v2 .accordion-item[open] .accordion-summary {
    color: #0A2540;
}

.help-center-page--v2 .key-topic .accordion-summary {
    font-weight: 800;
}

/* Standalone help article pages (linked from Article Library) */
.help-article-page {
    background: #f4f7fb;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
}

.help-article-page .hc-article-doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.help-article-page .hc-article-doc__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #5C7DB7;
    text-decoration: none;
}

.help-article-page .hc-article-doc__back:hover {
    color: #0A2540;
    text-decoration: underline;
}

.help-article-page .hc-article-doc__hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.help-article-page .hc-article-doc__lede {
    margin: 0 0 28px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #475569;
    max-width: 62ch;
}

.help-article-page .hc-article-doc__body h2 {
    margin: 32px 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.01em;
}

.help-article-page .hc-article-doc__body p {
    margin: 0 0 14px;
}

.help-article-page .hc-article-doc__body ul,
.help-article-page .hc-article-doc__body ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.help-article-page .hc-article-doc__body li {
    margin-bottom: 8px;
}

.help-article-page .hc-article-doc__body a {
    color: #5C7DB7;
    font-weight: 600;
}

.help-article-page .hc-article-doc__note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #64748b;
}

.help-article-page .hc-article-doc__cta {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.help-article-page .hc-article-doc__cta-label {
    margin: 0 0 14px;
    font-weight: 800;
    color: #0A2540;
}

.help-article-page .hc-article-doc__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.help-article-page .hc-formula-box {
    margin: 14px 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f7f6 0%, #e8f4f2 100%);
    border: 1px solid rgba(92, 125, 183, 0.25);
    font-weight: 800;
    font-size: 1.02rem;
    color: #0A2540;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 1100px) {
    .help-center-page--v2 .hc-quick-start__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-center-page--v2 .hc-phases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .help-center-page--v2 .hc-portal-map {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .help-center-page--v2 .hc-hero__inner {
        grid-template-columns: 1fr;
    }

    .help-center-page--v2 .hc-trust-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-center-page--v2 .hc-trust-bar__item:nth-child(2)::after {
        display: none;
    }

    .help-center-page--v2 .hc-quick-start__grid {
        grid-template-columns: 1fr;
    }

    .help-center-page--v2 .hc-phases-grid {
        grid-template-columns: 1fr;
    }

    .help-center-page--v2 .hc-category__header {
        flex-direction: column;
    }

    .help-center-page--v2 .hc-portal-map {
        grid-template-columns: 1fr;
    }

    .help-center-page--v2 .hc-split-grid {
        grid-template-columns: 1fr;
    }

    .help-center-page--v2 .hc-chapter__head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .help-center-page--v2 .hc-status-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .help-center-page--v2 .hc-phase-step {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .help-center-page--v2 .hc-phase-step:not(:last-child)::before {
        left: 21px;
    }

    .help-center-page--v2 .hc-quick-nav-bar {
        top: 56px;
    }

    .help-center-page--v2 .hc-quick-nav-bar__inner {
        padding: 12px 0;
    }

    .help-center-page--v2 .hc-quick-nav .quick-link {
        font-size: 0.84rem;
        padding: 9px 14px;
    }
}


.author-login-branding .logo {
    margin-bottom: 30px;
}

.author-login-branding .logo .site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.author-login-branding h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.author-login-branding .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.5;
}

.author-login-branding .branding-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.author-login-branding .branding-image img {
    width: 100%;
    height: auto;
    display: block;
}

.author-login-branding .trust-badges {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Right Form Panel */
.author-login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #fff;
}

.form-container {
    width: 100%;
    max-width: 420px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: #1f1f1f;
}

.form-header p {
    color: #666;
    margin: 0;
}

.author-login-form .form-group {
    margin-bottom: 18px;
}

.author-login-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.author-login-form .form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.author-login-form .form-control:focus {
    border-color: var(--as-shelf-deep);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-password {
    color: var(--as-shelf-deep);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-error {
    background: #fff0f0;
    color: #c00;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid #ffcccc;
}

.form-footer {
    margin-top: 30px;
    text-align: center;
}

.form-footer p {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.portal-note {
    margin-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .author-login-wrapper {
        flex-direction: column;
    }

    .author-login-branding {
        padding: 40px 30px;
        text-align: center;
    }

    .author-login-branding .branding-content {
        max-width: 100%;
    }

    .author-login-branding .branding-image {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   Services Page - Left Sidebar Style
   (Inspired by AuthorHouse catalog layout)
   ============================================ */
.services-page {
    background: #f8f9fa;
}

.services-hero {
    position: relative;
    padding: 72px 0 58px;
    background: linear-gradient(135deg, #0b4f4a 0%, var(--as-shelf-deep) 45%, #0d9488 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.14) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(255,255,255,0.08) 0%, transparent 38%);
    pointer-events: none;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
}

.services-hero h1 {
    font-size: clamp(2rem, 4vw, 2.65rem);
    margin-bottom: 0.85rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.services-hero-subtitle {
    max-width: 680px;
    margin: 0 auto 22px;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
}

.services-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.services-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.95);
    background: rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.services-stat-pill strong {
    color: #fff;
}

.services-compare-promo-wrap {
    padding-top: 28px;
    padding-bottom: 4px;
}

.services-compare-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(92, 125, 183, 0.1) 0%, rgba(10, 37, 64, 0.06) 100%);
    border: 1px solid rgba(92, 125, 183, 0.22);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.06);
}

.services-compare-promo__eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5C7DB7;
    flex: 1 1 100%;
}

.services-compare-promo__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3D5166;
}

.services-compare-promo__link {
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0A2540;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.12);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-compare-promo__link:hover,
.services-compare-promo__link:focus-visible {
    color: #5C7DB7;
    border-color: rgba(92, 125, 183, 0.35);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
}

.services-layout {
    display: flex;
    gap: 2.5rem;
    padding: 50px 0 70px;
    align-items: flex-start;
}

/* Left Sidebar Navigation */
.services-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 30px;
}

.services-nav {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 18px;
}

.services-nav-title {
    font-size: 1rem;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #1f1f1f;
}

.services-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-nav-list > li {
    margin-bottom: 4px;
}

.services-nav-list a {
    display: block;
    padding: 6px 10px;
    color: #333;
    text-decoration: none;
    font-size: 0.92rem;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.services-nav-list a:hover,
.services-nav-list a.active {
    background: #f0f4f8;
    color: var(--as-shelf-deep);
}

.services-nav-list ul {
    list-style: none;
    margin: 2px 0 8px 16px;
    padding: 0;
}

.services-nav-list ul a {
    font-size: 0.85rem;
    padding: 4px 8px;
    color: #555;
}

.services-nav-cta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

/* ============================================
   NEW CLEANER SERVICES MENU (Archway-inspired premium look)
   ============================================ */
.services-nav {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.services-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    color: #0f172a;
    letter-spacing: 0.3px;
}

.services-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-category {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #334155;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #f8fafc;
    color: #0f172a;
}

.nav-link.active {
    border-left: 3px solid var(--as-shelf-deep);
    padding-left: 9px;
    font-weight: 700;
    background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
}

.nav-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 2px 7px;
    min-width: 22px;
    text-align: center;
}

.nav-link.active .nav-count {
    color: var(--as-shelf-deep);
    background: #ccfbf1;
}

.nav-icon {
    font-size: 1.05rem;
    width: 22px;
    display: inline-flex;
    align-items: center;
}

.nav-label {
    flex: 1;
}

.nav-sublist {
    list-style: none;
    margin: 2px 0 10px 34px;
    padding: 0;
}

.nav-sublist li a {
    display: block;
    padding: 4px 10px;
    font-size: 0.82rem;
    color: #64748b;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.nav-sublist li a:hover {
    color: var(--as-shelf-deep);
    background: #f1f5f9;
}

/* ============================================
   CATEGORY INDEX (clean store-style overview)
   ============================================ */
.services-category-index {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.index-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 14px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #1e2937;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.category-tile:hover,
.category-tile.is-active {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
    transform: translateY(-1px);
}

.category-tile.is-active {
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.category-tile .tile-icon {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.category-tile .tile-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.category-tile .tile-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

/* Right Content Area */
.services-content {
    flex: 1;
    min-width: 0;
}

.services-bundle-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 55%, #fff 100%);
    border: 1px solid #99f6e4;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.08);
}

.services-bundle-banner__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.services-bundle-banner__body {
    flex: 1;
    min-width: 0;
}

.services-bundle-banner__title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.services-bundle-banner__text {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}

.services-bundle-banner__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.service-category {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 32px 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    scroll-margin-top: 96px;
}

.service-category__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.service-category__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    flex-shrink: 0;
}

.service-category__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.service-category h2 {
    font-size: 1.42rem;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-category__count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 3px 10px;
}

.service-group {
    margin-top: 8px;
}

.service-group + .service-group {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.service-group__title {
    margin: 0 0 14px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.services-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.services-product-grid .product-card {
    height: 100%;
    margin: 0;
    border-color: #e8edf2;
}

.services-product-grid .product-card__title {
    font-size: 1.02rem;
}

.services-product-grid .product-card__sku {
    display: none;
}

.category-intro {
    font-size: 1.02rem;
    color: #475569;
    margin-bottom: 22px;
    line-height: 1.5;
}

.service-item {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.service-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-item h3 {
    font-size: 1.15rem;
    margin: 0 0 6px;
    color: #1e2937;
    font-weight: 600;
}

.service-item p {
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.5;
}

.service-item ul {
    margin: 6px 0 14px 18px;
    padding: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.service-item li {
    margin-bottom: 3px;
}

/* Keep manual service-actions looking premium and consistent */
.service-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.service-actions .btn-small {
    font-size: 0.8rem;
    padding: 7px 14px;
    border-radius: 6px;
}

/* Bottom CTA */
.services-bottom-cta {
    background: #fff;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.services-bottom-cta h2 {
    margin-bottom: 10px;
    color: #0f172a;
}

.services-bottom-cta p {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    color: #475569;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Services Page v2 — homepage-style polish
   ============================================ */
.services-page--v2 {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 28%, #f8fafc 100%);
}

.services-page--v2 .svc-hero {
    padding: 56px 0 48px;
    background: var(--as-gradient-hero);
    text-align: left;
}

.services-page--v2 .svc-hero::before {
    background:
        radial-gradient(circle at 12% 20%, rgba(92, 125, 183, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(142, 173, 212, 0.16) 0%, transparent 38%);
}

.services-page--v2 .svc-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.services-page--v2 .svc-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.services-page--v2 .svc-hero__eyebrow {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(92, 125, 183, 0.22);
    border-color: rgba(142, 173, 212, 0.3);
}

.services-page--v2 .svc-hero h1 {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.services-page--v2 .svc-hero__lede {
    margin: 0 auto 0 0;
    max-width: 620px;
    text-align: left;
}

.services-page--v2 .svc-hero__trust {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.services-page--v2 .svc-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.services-page--v2 .svc-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    color: #C5D6EC;
    font-size: 0.68rem;
    font-weight: 800;
}

.services-page--v2 .svc-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-page--v2 .svc-hero__stats {
    justify-content: flex-end;
    align-content: end;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.services-page--v2 .svc-hero__stats .services-stat-pill {
    justify-content: space-between;
    width: 100%;
}

.services-page--v2 .svc-trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--as-border);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.05);
}

.services-page--v2 .svc-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 0;
}

.services-page--v2 .svc-trust-bar__item {
    text-align: center;
    padding: 8px 10px;
}

.services-page--v2 .svc-trust-bar__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.1;
}

.services-page--v2 .svc-trust-bar__label {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--as-muted);
}

.services-page--v2 .svc-top-promos {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 8px;
}

.services-page--v2 .svc-compare-promo {
    margin: 0;
}

.services-page--v2 .svc-quick-picks {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.05);
}

.services-page--v2 .svc-quick-picks__label {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C7DB7;
}

.services-page--v2 .svc-quick-picks__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.services-page--v2 .svc-quick-picks__links a {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0A2540;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--as-surface-alt);
    border: 1px solid var(--as-border);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.services-page--v2 .svc-quick-picks__links a:hover,
.services-page--v2 .svc-quick-picks__links a:focus-visible {
    color: #5C7DB7;
    border-color: rgba(92, 125, 183, 0.35);
    background: rgba(92, 125, 183, 0.08);
}

.services-page--v2 .svc-layout {
    padding-top: 36px;
    gap: 2rem;
}

.services-page--v2 .svc-nav {
    border-radius: 16px;
    border-color: var(--as-border);
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.06);
    padding: 22px 18px;
}

.services-page--v2 .nav-link.active {
    border-left-color: #5C7DB7;
    background: linear-gradient(90deg, rgba(92, 125, 183, 0.1) 0%, #f8fafc 100%);
}

.services-page--v2 .nav-link.active .nav-count {
    color: #5C7DB7;
    background: rgba(92, 125, 183, 0.12);
}

.services-page--v2 .svc-nav-cta {
    display: grid;
    gap: 8px;
}

.services-page--v2 .svc-nav-cta__secondary {
    font-size: 0.88rem;
}

.services-page--v2 .svc-section-head {
    margin-bottom: 18px;
}

.services-page--v2 .svc-section-head__eyebrow {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C7DB7;
}

.services-page--v2 .svc-section-head__title {
    margin: 0 0 8px !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0A2540 !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
}

.services-page--v2 .svc-section-head__lede {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--as-ink-soft);
}

.services-page--v2 .svc-category-index {
    margin-bottom: 28px;
    padding: 22px 22px 18px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(10, 37, 64, 0.05);
}

.services-page--v2 .svc-category-tile {
    border-radius: 12px;
    padding: 14px 14px 12px;
}

.services-page--v2 .svc-category-tile:hover,
.services-page--v2 .svc-category-tile.is-active {
    border-color: rgba(92, 125, 183, 0.4);
    box-shadow: 0 6px 18px rgba(92, 125, 183, 0.12);
}

.services-page--v2 .svc-bundle-banner {
    border-color: rgba(92, 125, 183, 0.28);
    background: linear-gradient(135deg, rgba(92, 125, 183, 0.08) 0%, #fff 70%);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.05);
}

.services-page--v2 .svc-bundle-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
}

.services-page--v2 .svc-bundle-banner__icon svg {
    width: 24px;
    height: 24px;
}

.services-page--v2 .svc-category {
    border-radius: 18px;
    border-color: var(--as-border);
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.05);
    padding: 28px 28px 24px;
}

.services-page--v2 .svc-category__icon {
    background: rgba(92, 125, 183, 0.1);
    border-color: rgba(92, 125, 183, 0.2);
    border-radius: 14px;
}

.services-page--v2 .svc-category__intro {
    font-size: 1rem;
    color: var(--as-ink-soft);
    padding-left: 2px;
}

.services-page--v2 .services-product-grid .product-card {
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-page--v2 .services-product-grid .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.08);
    border-color: rgba(92, 125, 183, 0.25);
}

.services-page--v2 .svc-bottom-cta {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 64px 0 56px;
    border-top: none;
    position: relative;
}

.services-page--v2 .svc-bottom-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--as-gradient-accent);
}

.services-page--v2 .svc-bottom-cta__inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.services-page--v2 .svc-bottom-cta__eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-shelf);
}

.services-page--v2 .svc-bottom-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.services-page--v2 .svc-bottom-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
}

.services-page--v2 .svc-bottom-cta__buttons {
    margin-top: 8px;
}

.services-page--v2 .svc-bottom-cta__note {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

/* Responsive */
@media (max-width: 900px) {
    .services-page--v2 .svc-hero__inner {
        grid-template-columns: 1fr;
    }

    .services-page--v2 .svc-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .services-page--v2 .svc-hero__stats .services-stat-pill {
        width: auto;
    }

    .services-page--v2 .svc-trust-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page--v2 .svc-top-promos {
        grid-template-columns: 1fr;
    }

    .services-layout {
        flex-direction: column;
    }

    .services-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }

    .services-nav {
        padding: 14px;
    }

    .services-nav-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .nav-sublist {
        display: none;
    }

    .category-index-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .services-product-grid {
        grid-template-columns: 1fr;
    }

    .services-bundle-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-bundle-banner__cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        height: 460px;
    }
    
    .hero-main-title {
        font-size: 1.95rem;
    }
}

/* Hamburger Button */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1100;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-overlay.is-open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 6px;
}

.mobile-navigation {
    flex: 1;
    padding: 12px 0;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation a {
    display: block;
    padding: 12px 20px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-navigation a:hover {
    background: #f8f9fa;
    color: var(--as-shelf-deep);
}

.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-cta .btn {
    display: block;
    text-align: center;
}

/* ============================================
   Dual Side-by-Side CTA Section (Lighter)
   "Explore Our Process" + "Already an AuthorShelf Author?"
   ============================================ */
.dual-cta-section {
    background: #f7f9fc;
    padding: 60px 0 70px;
}

.dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .dual-cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.dual-cta-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf2;
    display: flex;
    flex-direction: column;
}

.dual-cta-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.28rem;
    color: #1f2937;
    font-weight: 700;
}

.dual-cta-card p {
    flex-grow: 1;
    color: #374151;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.dual-cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dual-cta-card .btn {
    flex: 1;
    text-align: center;
    padding: 11px 16px;
    font-size: 0.93rem;
    font-weight: 600;
    border-radius: 6px;
    min-width: 140px;
}

.dual-cta-card .btn-outline {
    background: transparent;
    border: 1.5px solid var(--as-shelf-deep);
    color: var(--as-shelf-deep);
}

.dual-cta-card .btn-outline:hover {
    background: var(--as-shelf-deep);
    color: #fff;
}

/* Right-side portal card - slightly different treatment */
.dual-cta-card.portal-card {
    background: #f8fafc;
    border-color: #d1d9e6;
}

.dual-cta-card.portal-card .portal-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 14px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ============================================
   PREMIUM CUSTOM SINGLE PRODUCT PAGES
   Tailwind-driven designs for Starter → Signature
   ============================================ */

/* Let the custom Tailwind product templates breathe */
body.single-product .site-header,
body.single-product .site-footer {
    /* Keep header visible but let hero content start strong */
}

body.single-product .woocommerce-breadcrumb,
body.single-product .woocommerce-result-count,
body.single-product .woocommerce-ordering {
    display: none !important; /* Hide default WC chrome on our full custom pages */
}

/* Make sure prose content inside the_content() looks good with Tailwind */
body.single-product .prose {
    max-width: 100%;
    color: #334155;
}
body.single-product .prose h2,
body.single-product .prose h3 {
    color: var(--as-ink);
    font-weight: 600;
}
body.single-product .prose ul {
    padding-left: 1.25rem;
}
body.single-product .prose li {
    margin-bottom: 0.35rem;
}

/* Subtle card polish used across product pages */
body.single-product .bg-white {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

/* Helpful for the pricing buttons inside product pages if needed */
body.single-product .btn,
body.single-product .pricing-btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 14px 28px;
    transition: all 0.2s ease;
}

/* ========================================
   RED AS MAIN ACTION COLOR (Pricing Table)
   User directive: Red for most buttons & badges, used thoughtfully
   ======================================== */

/* Pricing table footer buttons - clean and consistent */
.authorshelf-comparison-table tfoot .pricing-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Primary red button (Professional) */
.authorshelf-comparison-table tfoot .pricing-btn.btn-primary {
    background: var(--as-author);
    color: #fff;
    border: none;
}

.authorshelf-comparison-table tfoot .pricing-btn.btn-primary:hover {
    background: var(--as-author-hover);
    transform: translateY(-1px);
}

/* Dark navy secondary buttons */
.authorshelf-comparison-table tfoot .pricing-btn.btn-dark {
    background: #0F1C2E;
    color: #fff;
    border: none;
}

.authorshelf-comparison-table tfoot .pricing-btn.btn-dark:hover {
    background: #162c4a;
}

/* Light/outline button (Signature) */
.authorshelf-comparison-table tfoot .pricing-btn.btn-light {
    background: #fff;
    color: #0F1C2E;
    border: 2px solid #0F1C2E;
}

.authorshelf-comparison-table tfoot .pricing-btn.btn-light:hover {
    background: #0F1C2E;
    color: #fff;
}

/* Ensure footer buttons sit nicely in table cells */
.authorshelf-comparison-table tfoot td {
    vertical-align: middle;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Make the Most Popular badge use the bright logo red */
.authorshelf-comparison-table .popular-badge {
    background: var(--as-author) !important;
    color: #fff !important;
    font-size: 0.65rem !important;
    padding: 4px 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

/* ============================================
   Author Portal — Production Workflow UI (2026)
   ============================================ */

.author-portal .dashboard-nav .nav-icon {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.author-portal .dashboard-nav .nav-item.active .nav-icon {
    background: var(--as-shelf-deep);
    box-shadow: 0 0 0 3px rgba(107, 155, 184, 0.2);
}

.author-portal .dashboard-main > .dashboard-tab {
    background: #fff;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
    border: 1px solid #e8ecf2;
}

.author-portal .project-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.author-portal .project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 47, 66, 0.08);
    border-color: #c7d2e0;
}

.author-portal .project-card .progress-fill {
    background: linear-gradient(90deg, var(--as-shelf-deep) 0%, #3aa896 100%);
}

.author-portal .project-detail-view {
    animation: asFadeIn 0.25s ease;
}

@keyframes asFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.author-portal .as-detail-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--as-ink) 0%, #123a5c 100%);
    border-radius: 12px;
    color: #fff;
}

.author-portal .as-detail-hero h2 {
    margin: 0 0 4px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.author-portal .as-detail-hero .project-genre {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.author-portal .as-detail-hero .status-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    font-size: 0.8rem;
}

.author-portal .as-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.author-portal .as-meta-pill {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.82rem;
    color: #475569;
}

.author-portal .as-meta-pill strong {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 600;
}

.author-portal .as-section-card {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e8ecf2;
}

.author-portal .as-section-card > h4,
.author-portal .as-section-head {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--as-ink);
    letter-spacing: -0.01em;
}

.author-portal .as-section-head-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* Workflow progress rail */
.as-wf-progress-rail {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow-x: auto;
}

.as-wf-progress-step {
    flex: 1;
    min-width: 72px;
    text-align: center;
    padding: 8px 6px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.as-wf-progress-step.is-complete {
    color: var(--as-shelf-deep);
    background: var(--as-shelf-light);
}

.as-wf-progress-step.is-current {
    background: var(--as-ink);
    color: #fff;
    box-shadow: 0 2px 8px rgba(30, 47, 66, 0.25);
}

.as-wf-progress-step .as-wf-step-num {
    display: block;
    font-size: 0.6rem;
    opacity: 0.85;
    margin-bottom: 2px;
}

/* Phase timeline */
.as-wf-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.as-wf-phase {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.as-wf-phase.is-current {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 4px 20px rgba(107, 155, 184, 0.12);
}

.as-wf-phase.is-complete {
    opacity: 0.92;
}

.as-wf-phase.is-complete .as-wf-phase-header {
    background: linear-gradient(90deg, var(--as-ink-mid) 0%, var(--as-shelf-deep) 100%);
}

.as-wf-phase-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(90deg, var(--as-ink) 0%, #123a5c 100%);
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: filter 0.15s ease;
}

.as-wf-phase-header:hover {
    filter: brightness(1.06);
}

.as-wf-phase.is-upcoming .as-wf-phase-header {
    background: linear-gradient(90deg, #475569 0%, #64748b 100%);
}

.as-wf-phase-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
}

.as-wf-phase-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.as-wf-phase.is-current .as-wf-phase-num {
    background: var(--as-author);
    border-color: #ff4d6d;
    color: #fff;
}

.as-wf-phase.is-complete .as-wf-phase-num::after {
    content: "✓";
    font-size: 0.9rem;
}

.as-wf-phase.is-complete .as-wf-phase-num span {
    display: none;
}

.as-wf-phase-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.as-wf-phase-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    font-size: 0.72rem;
}

.as-wf-due {
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.as-wf-due.is-overdue {
    color: #fecaca;
    font-weight: 700;
}

.as-wf-badge-current {
    background: #eab308;
    color: var(--as-ink);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.as-wf-open-hint {
    opacity: 0.75;
    font-size: 0.68rem;
}

.as-wf-phase-body {
    padding: 14px 16px 16px;
    background: #fafbfc;
}

.as-wf-current-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--as-ink);
    margin: 0 0 10px;
}

.as-wf-step {
    padding: 12px 14px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.as-wf-step:last-child {
    margin-bottom: 0;
}

.as-wf-step.is-clickable {
    cursor: pointer;
}

.as-wf-step.is-clickable:hover {
    border-color: var(--as-shelf-deep);
    box-shadow: 0 2px 8px rgba(107, 155, 184, 0.1);
}

.as-wf-step-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.as-wf-step-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.as-wf-step-title .as-wf-conditional {
    font-size: 0.65rem;
    font-weight: 500;
    color: #b45309;
    margin-left: 4px;
}

.as-wf-status {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.as-wf-status.is-done {
    background: #dcfce7;
    color: #166534;
}

.as-wf-status.is-active {
    background: #ccfbf1;
    color: var(--as-shelf-deep);
}

.as-wf-status.is-pending {
    background: #f1f5f9;
    color: #64748b;
}

.as-wf-step-desc,
.as-wf-step-extra {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.45;
}

.as-wf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.as-wf-btn {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
}

.as-wf-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.as-wf-btn-primary {
    background: var(--as-shelf-deep);
    color: #fff;
}

.as-wf-btn-secondary {
    background: #e2e8f0;
    color: #334155;
}

.as-wf-btn-success {
    background: #16a34a;
    color: #fff;
}

.as-wf-btn-warn {
    background: #d97706;
    color: #fff;
    font-size: 0.65rem;
    padding: 5px 10px;
}

.as-wf-eproof-meta {
    font-size: 0.72rem;
    color: var(--as-shelf-deep);
    font-weight: 600;
    margin-top: 6px;
}

.as-wf-footnote {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 6px;
}

.as-internal-checklist {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    border-radius: 8px;
    font-size: 0.72rem;
}

/* Phase detail panel */
.author-portal #phase-detail-panel {
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(30, 47, 66, 0.08);
    overflow: hidden;
}

.author-portal #phase-detail-panel .as-phase-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(90deg, var(--as-ink) 0%, #123a5c 100%);
    color: #fff;
}

.author-portal #phase-detail-panel .as-phase-panel-head h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.author-portal #phase-detail-panel .as-phase-panel-head .btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.author-portal #phase-detail-panel .as-phase-panel-head .btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.author-portal #task-detail-panel {
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(30, 47, 66, 0.08);
    overflow: hidden;
}

.author-portal #task-detail-panel .as-phase-panel-head {
    background: linear-gradient(90deg, #1e4d3f 0%, var(--as-shelf-deep) 100%);
}

.author-portal .as-detail-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.author-portal .as-panel-card {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.author-portal .as-panel-card h4,
.author-portal .as-panel-card h5 {
    margin: 0 0 12px;
    color: var(--as-ink);
    font-size: 0.95rem;
}

.author-portal .detail-specs-grid > div {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    color: #475569;
}

.author-portal #phase-detail-content,
.author-portal #task-detail-content {
    padding: 20px 22px;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Tasks list polish */
.author-portal .as-task-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    transition: border-color 0.15s ease;
}

.author-portal .as-task-row:hover {
    border-color: #cbd5e1;
}

.author-portal .as-task-row.as-task-locked {
    background: #f8fafc;
    border-style: dashed;
}

.author-portal .as-task-tag {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.author-portal .as-task-tag-workflow {
    background: #e0f2fe;
    color: #0369a1;
}

.author-portal .as-task-tag-admin {
    background: #fef3c7;
    color: #92400e;
}

/* Messages in project detail */
.author-portal #detail-messages-list .message {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.author-portal #detail-messages-list .message.reply {
    margin-left: 20px;
    border-left: 3px solid var(--as-shelf-deep);
}

@media (max-width: 768px) {
    .author-portal .dashboard-main > .dashboard-tab {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .as-wf-progress-rail {
        border-radius: 12px;
    }

    .as-wf-progress-step {
        min-width: 58px;
        font-size: 0.62rem;
    }

    .as-wf-phase-header {
        padding: 12px 14px;
    }
}

/* WooCommerce Block Cart / Checkout: hide per-unit price when line total is shown */
.wc-block-cart table.wc-block-cart-items .wc-block-cart-item__prices,
.wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-price,
.wc-block-components-order-summary-item .wc-block-cart-item__prices,
.wc-block-components-order-summary-item__individual-prices {
    display: none !important;
}

/* Keep cart line items readable: description only, price in total column */
.wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-metadata__description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.45;
}

.wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total {
    font-weight: 600;
    color: var(--as-ink);
    white-space: nowrap;
}

/* WooCommerce Block Checkout: keep order-summary product names readable in the sidebar */
@container (min-width: 700px) {
    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 40%;
        padding-left: 2%;
    }

    .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 58%;
        padding-right: 0;
    }
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
        "image description"
        "image price";
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    padding-bottom: 12px;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
    grid-area: image;
    margin-top: 4px;
    padding-bottom: 0;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__description {
    grid-area: description;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price {
    grid-area: price;
    margin-left: 0;
    padding: 0 0 4px;
    text-align: left;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    align-items: flex-start;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
    font-weight: 600;
    color: var(--as-ink);
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
    display: block;
    width: 100%;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.45;
}

/* Header cart pill */
.header-cart .cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--as-border);
    background: var(--as-surface-alt);
    color: var(--as-ink);
    box-shadow: var(--as-shadow);
    transition: all 0.15s ease;
}

.header-cart .cart-link:hover {
    border-color: var(--as-shelf);
    background: var(--as-shelf-pale);
}

.header-cart .cart-link.has-items {
    background: var(--as-author);
    color: #fff;
    border-color: var(--as-author);
}

.header-cart .cart-link.has-items:hover {
    background: var(--as-author-hover);
    border-color: var(--as-author-hover);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    background: var(--as-surface-alt);
}

.contact-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 52px 20px 48px;
    text-align: center;
}

.contact-hero h1 {
    margin: 0 0 10px;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    margin: 0 auto;
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-section {
    padding: 40px 20px 56px;
}

.contact-form-container {
    max-width: 640px;
}

.contact-form-card {
    background: var(--as-surface);
    border: 1px solid var(--as-border);
    border-radius: 14px;
    padding: 28px 28px 24px;
    box-shadow: var(--as-shadow);
}

.contact-form .form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-form .form-group {
    margin-bottom: 16px;
    flex: 1 1 100%;
}

.contact-form .form-group.half {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
}

.contact-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--as-ink);
    margin-bottom: 6px;
}

.contact-form .required {
    color: var(--as-author);
}

.contact-form .optional {
    font-weight: 400;
    color: var(--as-muted);
    font-size: 0.82rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--as-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--as-text);
    background: var(--as-surface);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--as-shelf-deep);
    box-shadow: 0 0 0 3px rgba(107, 155, 184, 0.15);
}

.contact-form .btn-block {
    display: block;
    width: 100%;
    margin-top: 4px;
}

.contact-portal-alt {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--as-muted);
}

.contact-portal-alt a {
    color: var(--as-shelf-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-portal-alt a:hover {
    color: var(--as-author);
}

.contact-response-note {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--as-muted);
    line-height: 1.5;
}

.contact-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-notice ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.contact-notice--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.contact-notice--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.contact-form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact-form .form-group.half {
        flex: 1 1 100%;
    }

    .contact-form-card {
        padding: 22px 18px 20px;
    }

    .contact-hero h1 {
        font-size: 1.9rem;
    }
}

/* ============================================
   AuthorHouse vs AuthorShelf Comparison
   Brand: Navy #0A2540 · Teal #5C7DB7 · Red #FF0005
   ============================================ */
.services-comparison-wrap {
    padding-top: 8px;
    padding-bottom: 8px;
}

.as-authorhouse-comparison {
    position: relative;
    margin: 0 0 32px;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #5C7DB7 0%, #0A2540 55%, #FF0005 100%);
    box-shadow: 0 18px 48px rgba(10, 37, 64, 0.18);
    overflow: hidden;
}

.as-authorhouse-comparison__frame,
.as-authorhouse-comparison__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 8%, rgba(92, 125, 183, 0.28), transparent 42%),
                radial-gradient(circle at 88% 92%, rgba(255, 0, 5, 0.14), transparent 38%),
                radial-gradient(circle at 50% 50%, rgba(10, 37, 64, 0.04), transparent 65%);
    pointer-events: none;
}

.as-authorhouse-comparison--v2 .as-authorhouse-comparison__inner {
    padding: 40px 36px 34px;
}

.as-authorhouse-comparison__eyebrow-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.as-authorhouse-comparison__inner {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    border-radius: 18px;
    padding: 36px 32px 30px;
}

.as-authorhouse-comparison__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.as-authorhouse-comparison__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.as-authorhouse-comparison__header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
}

.as-authorhouse-comparison__lede {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #3D5166;
}

.as-authorhouse-comparison__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.as-authorhouse-comparison__panel {
    position: relative;
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
    overflow: hidden;
}

.as-authorhouse-comparison__panel-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.as-authorhouse-comparison__panel--pain .as-authorhouse-comparison__panel-accent {
    background: linear-gradient(90deg, #FF0005 0%, rgba(255, 0, 5, 0.35) 100%);
}

.as-authorhouse-comparison__panel--win .as-authorhouse-comparison__panel-accent {
    background: linear-gradient(90deg, #5C7DB7 0%, rgba(92, 125, 183, 0.35) 100%);
}

.as-authorhouse-comparison__panel--pain {
    background: #fff5f5;
    border: 1px solid rgba(255, 0, 5, 0.18);
}

.as-authorhouse-comparison__panel--win {
    background: #f0faf8;
    border: 1px solid rgba(92, 125, 183, 0.28);
}

.as-authorhouse-comparison__panel-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 14px;
}

.as-authorhouse-comparison__panel-titles {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    flex: 1;
    min-width: 0;
}

.as-authorhouse-comparison__panel-titles h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0A2540;
}

.as-authorhouse-comparison__panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.as-authorhouse-comparison__panel-icon svg {
    width: 18px;
    height: 18px;
}

.as-authorhouse-comparison__panel--pain .as-authorhouse-comparison__panel-icon {
    background: rgba(255, 0, 5, 0.12);
    color: #FF0005;
}

.as-authorhouse-comparison__panel--win .as-authorhouse-comparison__panel-icon {
    background: rgba(92, 125, 183, 0.15);
    color: #5C7DB7;
}

.as-authorhouse-comparison__panel-tag {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.as-authorhouse-comparison__panel--pain .as-authorhouse-comparison__panel-tag {
    background: rgba(255, 0, 5, 0.1);
    color: #FF0005;
}

.as-authorhouse-comparison__panel--win .as-authorhouse-comparison__panel-tag {
    background: rgba(92, 125, 183, 0.12);
    color: #5C7DB7;
}

.as-authorhouse-comparison__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.as-authorhouse-comparison__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0A2540;
}

.as-authorhouse-comparison__panel--pain .as-authorhouse-comparison__list li strong {
    color: #FF0005;
}

.as-authorhouse-comparison__panel--win .as-authorhouse-comparison__list li strong {
    color: #5C7DB7;
}

.as-authorhouse-comparison__bullet {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 1px;
}

.as-authorhouse-comparison__bullet svg {
    width: 12px;
    height: 12px;
}

.as-authorhouse-comparison__panel--pain .as-authorhouse-comparison__bullet {
    background: rgba(255, 0, 5, 0.12);
    color: #FF0005;
}

.as-authorhouse-comparison__panel--win .as-authorhouse-comparison__bullet {
    background: rgba(92, 125, 183, 0.15);
    color: #5C7DB7;
}

.as-authorhouse-comparison__footer {
    text-align: center;
    padding-top: 6px;
}

.as-authorhouse-comparison__savings {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    max-width: 720px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #3D5166;
    text-align: left;
    background: rgba(92, 125, 183, 0.08);
    border: 1px solid rgba(92, 125, 183, 0.2);
    border-radius: 12px;
}

.as-authorhouse-comparison__savings p {
    margin: 0;
}

.as-authorhouse-comparison__savings-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.15);
    color: #5C7DB7;
}

.as-authorhouse-comparison__savings-icon svg {
    width: 20px;
    height: 20px;
}

.as-authorhouse-comparison__savings strong {
    color: #5C7DB7;
}

.as-authorhouse-comparison__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.as-authorhouse-comparison__cta {
    display: inline-flex;
    min-width: 240px;
    justify-content: center;
}

.as-authorhouse-comparison__cta-secondary {
    font-size: 0.92rem;
    font-weight: 600;
    color: #5C7DB7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.as-authorhouse-comparison__cta-secondary:hover,
.as-authorhouse-comparison__cta-secondary:focus-visible {
    color: #0A2540;
    text-decoration: underline;
}

/* Competitor snippet table */
.as-competitor-snippet {
    margin: 0 0 36px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}

.as-competitor-snippet--v2 {
    padding: 32px 30px;
}

.as-competitor-snippet__header {
    margin-bottom: 20px;
}

.as-competitor-snippet__title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0A2540;
}

.as-competitor-snippet__subtitle {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #3D5166;
}

.as-competitor-snippet__copy {
    margin-top: 4px;
}

.as-competitor-snippet__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

.as-competitor-snippet__table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.as-competitor-snippet__table thead th {
    background: #0A2540;
    color: #fff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
}

.as-competitor-snippet__table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.as-competitor-snippet__table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.as-competitor-snippet__table td,
.as-competitor-snippet__table th[scope="row"] {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #0A2540;
    line-height: 1.45;
}

.as-competitor-snippet__table th[scope="row"] {
    font-weight: 800;
    background: #f8fafc;
    white-space: nowrap;
}

.as-competitor-snippet__row--highlight td,
.as-competitor-snippet__row--highlight th[scope="row"] {
    background: #f0faf8;
}

.as-competitor-snippet__weakness {
    color: #FF0005 !important;
    font-weight: 600;
}

.as-competitor-snippet__edge {
    color: #5C7DB7 !important;
    font-weight: 600;
}

.as-competitor-snippet__paragraph {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3D5166;
}

.as-competitor-snippet__disclaimer {
    margin: 12px 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--as-muted);
    font-style: italic;
}

.as-competitor-snippet--full {
    margin-bottom: 0;
}

.compare-publishers-page {
    background: #f8f9fc;
}

.compare-publishers-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
}

.compare-publishers-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--as-gradient-accent);
}

.compare-publishers-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-shelf);
}

.compare-publishers-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.compare-publishers-hero__subtitle {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.55;
    opacity: 0.92;
    color: var(--as-shelf-light);
}

.compare-publishers-body {
    padding: 36px 0 56px;
}

.compare-publishers-body .as-authorhouse-comparison {
    margin-bottom: 28px;
}

.compare-publishers-page .as-authorhouse-comparison__eyebrow {
    display: none;
}

.compare-publishers-cta {
    margin-top: 36px;
    padding: 36px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 16px;
    box-shadow: var(--as-shadow);
}

.compare-publishers-cta h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--as-ink);
}

.compare-publishers-cta p {
    margin: 0 0 20px;
    color: var(--as-muted);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.compare-publishers-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.compare-publishers-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 22px;
    font-size: 0.92rem;
    color: var(--as-shelf-light);
}

.compare-publishers-hero__trust span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(142, 173, 212, 0.35);
    border-radius: 999px;
}

.compare-publishers-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0 6px;
}

.compare-publishers-jump__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--as-ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 999px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.compare-publishers-jump__link:hover {
    border-color: var(--as-shelf);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    color: var(--as-shelf-deep);
}

.compare-publishers-intro {
    padding: 28px 0 8px;
}

.compare-publishers-intro__inner {
    max-width: 920px;
}

.compare-publishers-intro__lede {
    margin: 0 0 24px;
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--as-ink);
}

.compare-publishers-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.compare-publishers-stat {
    padding: 18px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.compare-publishers-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--as-shelf-deep);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.compare-publishers-stat__label {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--as-muted);
}

.compare-publishers-decision {
    margin: 36px 0 32px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 16px;
    box-shadow: var(--as-shadow);
}

.compare-publishers-decision__header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 24px;
}

.compare-publishers-decision__header h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    color: var(--as-ink);
}

.compare-publishers-decision__header p {
    margin: 0;
    color: var(--as-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.compare-publishers-decision__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.compare-publishers-decision__card {
    padding: 20px 18px;
    background: var(--as-surface, #f8f9fc);
    border: 1px solid var(--as-border);
    border-radius: 12px;
}

.compare-publishers-decision__icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.compare-publishers-decision__card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--as-ink);
}

.compare-publishers-decision__card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--as-muted);
}

.compare-publishers-decision__card a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.compare-publishers-related {
    margin-bottom: 32px;
}

.compare-publishers-related h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
    color: var(--as-ink);
}

.compare-publishers-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.compare-publishers-faq {
    margin-bottom: 24px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--as-border);
    border-radius: 16px;
}

.compare-publishers-faq h2 {
    margin: 0 0 20px;
    font-size: 1.45rem;
    color: var(--as-ink);
}

.compare-publishers-faq .faq-item {
    padding: 18px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e8ecf2;
}

.compare-publishers-faq .faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compare-publishers-faq .faq-item h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--as-ink);
}

.compare-publishers-faq .faq-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--as-muted);
}

.compare-publishers-faq .faq-item a {
    color: var(--as-shelf-deep);
    font-weight: 600;
}

.compare-publishers-updated {
    margin: 0 0 28px;
    padding: 14px 18px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--as-muted);
    background: #fff;
    border-left: 3px solid var(--as-shelf);
    border-radius: 0 8px 8px 0;
}

@media (max-width: 992px) {
    .compare-publishers-stats,
    .compare-publishers-decision__grid,
    .compare-publishers-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .compare-publishers-hero {
        padding: 44px 0 40px;
    }

    .compare-publishers-hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .compare-publishers-jump {
        padding-top: 14px;
    }

    .compare-publishers-jump__link {
        font-size: 0.82rem;
        padding: 7px 12px;
    }

    .compare-publishers-stats,
    .compare-publishers-decision__grid,
    .compare-publishers-related__grid {
        grid-template-columns: 1fr;
    }

    .compare-publishers-decision,
    .compare-publishers-faq {
        padding: 24px 18px;
    }

    .compare-publishers-cta__buttons .btn {
        width: 100%;
    }

    .as-authorhouse-comparison--v2 .as-authorhouse-comparison__inner,
    .as-authorhouse-comparison__inner {
        padding: 26px 18px 22px;
    }

    .as-authorhouse-comparison__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .as-authorhouse-comparison__panel {
        padding: 20px 18px 16px;
    }

    .as-authorhouse-comparison__panel-tag {
        margin-left: 0;
    }

    .as-authorhouse-comparison__savings {
        padding: 14px 16px;
    }

    .as-authorhouse-comparison__cta {
        width: 100%;
    }

    .as-competitor-snippet,
    .as-competitor-snippet--v2 {
        padding: 20px 16px;
    }
}

/* ============================================
   Author Portal v2 — Dashboard polish
   ============================================ */

.author-portal--v2 {
    background: var(--as-surface-alt);
}

.author-portal--v2 .dashboard-container {
    max-width: 1320px;
    padding: 28px 24px 48px;
    gap: 24px;
}

/* Sidebar */
.author-portal--v2 .apv2-sidebar {
    border: 1px solid var(--as-border);
    box-shadow: var(--as-shadow);
    overflow: hidden;
    padding: 0;
}

.author-portal--v2 .apv2-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--as-gradient-hero);
    color: #fff;
    border-bottom: 3px solid #5C7DB7;
}

.author-portal--v2 .apv2-sidebar__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.author-portal--v2 .apv2-sidebar__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.author-portal--v2 .apv2-sidebar__role {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.author-portal--v2 .dashboard-nav {
    padding: 10px 8px;
}

.author-portal--v2 .dashboard-nav .nav-icon {
    font-size: inherit;
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--as-muted);
}

.author-portal--v2 .dashboard-nav .nav-icon svg {
    width: 18px;
    height: 18px;
}

.author-portal--v2 .dashboard-nav .nav-item {
    border-radius: 8px;
    margin: 2px 0;
    border-left: none;
    padding: 11px 14px;
    font-size: 0.9rem;
}

.author-portal--v2 .dashboard-nav .nav-item:hover:not(.active) {
    background: var(--as-shelf-pale);
}

.author-portal--v2 .dashboard-nav .nav-item.active {
    background: linear-gradient(90deg, rgba(92, 125, 183, 0.12) 0%, rgba(107, 155, 184, 0.08) 100%);
    color: var(--as-ink);
    border-left: none;
    box-shadow: inset 3px 0 0 #5C7DB7;
}

.author-portal--v2 .dashboard-nav .nav-item.active .nav-icon {
    background: none;
    box-shadow: none;
    color: #5C7DB7;
}

.author-portal--v2 .nav-badge {
    background: var(--as-author);
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.author-portal--v2 .portal-unread-suffix {
    font-weight: 600;
}

.author-portal--v2 .apv2-sidebar__support {
    padding: 14px 16px 18px;
    border-top: 1px solid var(--as-border);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-portal--v2 .apv2-sidebar__support .support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.author-portal--v2 .apv2-support-link {
    background: var(--as-shelf-pale);
    border: 1px solid var(--as-border) !important;
    font-weight: 600 !important;
}

.author-portal--v2 .apv2-support-link:hover {
    border-color: var(--as-shelf-deep) !important;
    background: #fff;
}

.author-portal--v2 .apv2-support-link__icon svg,
.author-portal--v2 .apv2-sidebar__support .support-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Dashboard tab shell */
.author-portal--v2 .dashboard-main > .dashboard-tab {
    border: 1px solid var(--as-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    background: var(--as-surface);
}

.author-portal--v2 #tab-dashboard.dashboard-tab.active {
    padding: 0 0 28px;
}

.author-portal--v2 .apv2-getting-started--global {
    margin-bottom: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
    border: 1px solid #6ee7b7;
    border-radius: 12px;
}

.author-portal--v2 .apv2-getting-started__eyebrow {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #047857;
}

.author-portal--v2 .apv2-getting-started__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #0f172a;
}

.author-portal--v2 .apv2-getting-started__lede {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}

.author-portal--v2 .apv2-getting-started__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.author-portal--v2 .apv2-getting-started__meta {
    font-size: 0.82rem;
    color: #64748b;
}

/* Hero */
.author-portal--v2 .apv2-hero {
    background: var(--as-gradient-hero);
    color: #fff;
    position: relative;
    margin-bottom: 0;
}

.author-portal--v2 .apv2-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5C7DB7 0%, var(--as-shelf) 50%, var(--as-author) 100%);
}

.author-portal--v2 .apv2-hero__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 32px 30px 28px;
}

.author-portal--v2 .apv2-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
}

.author-portal--v2 .apv2-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.author-portal--v2 .apv2-hero__lede {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.author-portal--v2 .apv2-hero__trust {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.author-portal--v2 .apv2-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.author-portal--v2 .apv2-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92, 125, 183, 0.35);
    color: #fff;
}

.author-portal--v2 .apv2-hero__trust-icon svg {
    width: 10px;
    height: 10px;
}

.author-portal--v2 .apv2-hero__phase {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.author-portal--v2 .apv2-hero__phase strong {
    color: #7ee8c8;
}

.author-portal--v2 .apv2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.author-portal--v2 .apv2-hero__actions .btn-primary {
    background: var(--as-author);
    border-color: var(--as-author);
}

.author-portal--v2 .apv2-hero__actions .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.author-portal--v2 .apv2-hero__actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Phase trust bar */
.author-portal--v2 .apv2-trust-bar {
    background: var(--as-surface);
    border-bottom: 1px solid var(--as-border);
    padding: 14px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.author-portal--v2 .apv2-trust-bar::-webkit-scrollbar {
    display: none;
}

.author-portal--v2 .apv2-trust-bar__grid {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.author-portal--v2 .apv2-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--as-border);
    background: var(--as-surface-alt);
    font-size: 0.78rem;
    color: var(--as-muted);
    white-space: nowrap;
}

.author-portal--v2 .apv2-trust-bar__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--as-border);
    color: var(--as-ink-soft);
    font-size: 0.7rem;
    font-weight: 700;
}

.author-portal--v2 .apv2-trust-bar__item--current {
    border-color: #5C7DB7;
    background: rgba(92, 125, 183, 0.08);
    color: var(--as-ink);
    font-weight: 600;
}

.author-portal--v2 .apv2-trust-bar__item--current .apv2-trust-bar__num {
    background: #5C7DB7;
    color: #fff;
}

.author-portal--v2 .apv2-trust-bar__item--done {
    opacity: 0.65;
}

.author-portal--v2 .apv2-trust-bar__item--done .apv2-trust-bar__num {
    background: var(--as-shelf-deep);
    color: #fff;
}

/* Stat cards */
.author-portal--v2 .apv2-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 22px 24px 0;
}

.author-portal--v2 .apv2-stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--as-surface);
    border: 1px solid var(--as-border);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.author-portal--v2 .apv2-stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--as-shelf);
    box-shadow: var(--as-shadow);
}

.author-portal--v2 .apv2-stat-card__value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--as-ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.author-portal--v2 .apv2-stat-card__label {
    font-size: 0.8rem;
    color: var(--as-muted);
    font-weight: 500;
}

.author-portal--v2 .apv2-welcome-note {
    margin: 14px 24px 0;
    padding: 12px 14px;
    font-size: 0.78rem;
    color: var(--as-muted);
    line-height: 1.5;
    background: var(--as-shelf-pale);
    border-radius: 8px;
    border-left: 3px solid var(--as-shelf-deep);
}

/* Section panels */
.author-portal--v2 .apv2-panel {
    margin: 24px 24px 0;
    padding: 22px 24px;
    background: var(--as-surface-alt);
    border: 1px solid var(--as-border);
    border-radius: 12px;
}

.author-portal--v2 .apv2-panel--compact {
    margin: 0;
    background: var(--as-surface);
}

.author-portal--v2 .apv2-section-head__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5C7DB7;
    margin: 0 0 4px;
}

.author-portal--v2 .apv2-section-head__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--as-ink);
    border-bottom: none;
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 0;
}

.author-portal--v2 .apv2-section-head__lede {
    margin-bottom: 0;
}

.author-portal--v2 .portal-section-heading.apv2-section-head__title {
    border-bottom: none;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 1.15rem;
    padding: 0;
    margin: 0 0 8px;
}

/* Todo cards */
.author-portal--v2 .todo-section {
    background: var(--as-surface);
    border-radius: 10px;
}

/* Easy access */
.author-portal--v2 .apv2-easy-grid .portal-quick-card {
    background: var(--as-surface);
}

.author-portal--v2 .portal-quick-card a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* FAQ + stats columns */
.author-portal--v2 .apv2-columns {
    margin: 24px 24px 0;
    gap: 16px;
}

.author-portal--v2 .apv2-faq-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--as-border-soft);
}

.author-portal--v2 .apv2-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.author-portal--v2 .apv2-faq-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--as-ink);
    margin-bottom: 4px;
}

.author-portal--v2 .apv2-faq-item p {
    margin: 0 0 6px;
    font-size: 0.8rem;
    color: var(--as-muted);
    line-height: 1.45;
}

.author-portal--v2 .apv2-faq-item a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--as-shelf-deep);
    text-decoration: none;
}

.author-portal--v2 .apv2-faq-item a:hover {
    color: var(--as-author);
}

.author-portal--v2 .apv2-faq-item a svg {
    width: 12px;
    height: 12px;
}

.author-portal--v2 .apv2-stats-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--as-border-soft);
}

.author-portal--v2 .apv2-stats-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.author-portal--v2 .apv2-stats-row__label {
    font-size: 0.85rem;
    color: var(--as-ink-soft);
}

.author-portal--v2 .apv2-stats-row__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--as-ink);
}

.author-portal--v2 .apv2-stats-row__link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--as-shelf-deep);
    text-decoration: none;
    white-space: nowrap;
}

.author-portal--v2 .apv2-stats-row__link:hover {
    color: var(--as-author);
}

/* Other tabs */
.author-portal--v2 .dashboard-tab:not(#tab-dashboard) {
    padding: 28px 30px;
}

.author-portal--v2 .apv2-tab-header {
    align-items: flex-end;
    margin-bottom: 20px;
}

.author-portal--v2 .apv2-tab-header .apv2-section-head {
    margin: 0;
}

/* Mobile quicklinks */
.author-portal--v2 .apv2-mobile-quicklinks a {
    gap: 6px;
}

.author-portal--v2 .apv2-mobile-quicklinks a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Legacy tabs (content lives under Projects / Account) */
.author-portal--v2 #tab-files,
.author-portal--v2 #tab-account-old {
    display: none !important;
}

/* Tab intros & callouts */
.author-portal--v2 .apv2-tab-lede {
    margin: 0 0 18px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--as-muted);
    max-width: 62ch;
}

.author-portal--v2 .apv2-callout {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--as-border);
    background: var(--as-surface-alt);
    font-size: 0.88rem;
    line-height: 1.5;
}

.author-portal--v2 .apv2-callout__title {
    margin: 0 0 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.author-portal--v2 .apv2-callout__body {
    margin: 0;
    color: var(--as-ink-soft, #334155);
}

.author-portal--v2 .apv2-callout__body a {
    font-weight: 600;
    color: var(--as-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.author-portal--v2 .apv2-callout--warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}

.author-portal--v2 .apv2-callout--warning .apv2-callout__title {
    color: #92400e;
}

.author-portal--v2 .apv2-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 24px;
    background: var(--as-surface-alt);
    border: 1px dashed var(--as-border);
    border-radius: 14px;
}

.author-portal--v2 .apv2-empty__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--as-ink);
}

.author-portal--v2 .apv2-empty__lede {
    margin: 0 auto 16px;
    max-width: 42ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--as-muted);
}

.author-portal--v2 .apv2-empty__lede a {
    font-weight: 600;
    color: var(--as-shelf-deep);
}

/* Project cards */
.author-portal--v2 .project-header__main {
    cursor: pointer;
    min-width: 0;
    flex: 1;
}

.author-portal--v2 .project-header__main:focus-visible {
    outline: 2px solid var(--as-shelf-deep);
    outline-offset: 2px;
    border-radius: 6px;
}

.author-portal--v2 .project-card {
    position: relative;
    overflow: hidden;
}

.author-portal--v2 .project-card--setup {
    border-color: #6ee7b7;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.author-portal--v2 .project-card--setup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #5C7DB7);
}

.author-portal--v2 .project-card--payment {
    border-color: #fcd34d;
}

.author-portal--v2 .project-card--payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.author-portal--v2 .project-card--completed {
    opacity: 0.92;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.author-portal--v2 .status-badge--payment {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fcd34d;
}

.author-portal--v2 .status-badge--setup {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #6ee7b7;
}

.author-portal--v2 .project-card__setup-btn {
    background: var(--as-author) !important;
    color: #fff !important;
    border-color: var(--as-author) !important;
    font-weight: 700;
}

.author-portal--v2 .project-card__setup-btn:hover {
    filter: brightness(0.95);
}

/* Todo section variants */
.author-portal--v2 .todo-section {
    position: relative;
    padding-top: 16px;
}

.author-portal--v2 .todo-section__badge {
    display: inline-block;
    margin: 0 0 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--as-shelf-pale);
    color: var(--as-shelf-deep);
    border: 1px solid var(--as-border);
}

.author-portal--v2 .todo-section__list {
    margin: 0 0 10px !important;
    padding-left: 1.1rem !important;
    font-size: 0.85rem !important;
}

.author-portal--v2 .todo-section__list li {
    margin-bottom: 4px;
}

.author-portal--v2 .todo-section__cta {
    margin: 0 !important;
}

.author-portal--v2 .todo-section--urgent {
    border-color: #6ee7b7 !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
}

.author-portal--v2 .todo-section--urgent .todo-section__badge {
    background: #d1fae5;
    color: #047857;
    border-color: #6ee7b7;
}

.author-portal--v2 .todo-section--proof .todo-section__badge {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.author-portal--v2 .todo-section--revision .todo-section__badge {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.author-portal--v2 .todo-section--csr .todo-section__badge {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.author-portal--v2 .todo-section--orders .todo-section__badge {
    background: #f5f8fc;
    color: #5C7DB7;
}

/* Stat cards subtle accent */
.author-portal--v2 .apv2-stat-card {
    border-top: 3px solid transparent;
}

.author-portal--v2 .apv2-stat-card:nth-child(1) {
    border-top-color: #5C7DB7;
}

.author-portal--v2 .apv2-stat-card:nth-child(2) {
    border-top-color: var(--as-author);
}

.author-portal--v2 .apv2-stat-card:nth-child(3) {
    border-top-color: #10b981;
}

.author-portal--v2 .apv2-stat-card:nth-child(4) {
    border-top-color: #f59e0b;
}

/* Panel rhythm */
.author-portal--v2 .apv2-panel + .apv2-stats,
.author-portal--v2 .apv2-stats + .apv2-welcome-note {
    /* spacing already handled */
}

.author-portal--v2 .things-to-do-section .apv2-section-head {
    margin-bottom: 14px;
}

.author-portal--v2 .portal-quick-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.author-portal--v2 .portal-quick-card a {
    margin-top: auto;
}

/* Messages toolbar polish inside portal shell */
.author-portal--v2 .as-messages-tab--imessage {
    padding: 0 !important;
    overflow: hidden;
}

.author-portal--v2 .as-imessage-toolbar {
    padding: 16px 20px;
    border-bottom: 1px solid var(--as-border);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.author-portal--v2 .as-imessage-toolbar h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--as-ink);
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .author-portal--v2 .apv2-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .author-portal--v2 .dashboard-nav .nav-item.active {
        background: var(--as-ink);
        color: #fff;
        box-shadow: none;
    }

    .author-portal--v2 .dashboard-nav .nav-item.active .nav-icon {
        color: #fff;
    }

    .author-portal--v2 .apv2-sidebar__profile {
        display: none;
    }

    .author-portal--v2 .dashboard-nav {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .author-portal--v2 .dashboard-container {
        padding: 12px 10px 32px;
    }

    .author-portal--v2 .apv2-hero__inner {
        padding: 24px 18px 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .author-portal--v2 .apv2-hero__actions {
        width: 100%;
    }

    .author-portal--v2 .apv2-hero__actions .btn {
        flex: 1 1 auto;
        min-height: 44px;
        text-align: center;
    }

    .author-portal--v2 .apv2-stats {
        grid-template-columns: 1fr 1fr;
        padding: 18px 16px 0;
        gap: 10px;
    }

    .author-portal--v2 .apv2-stat-card {
        padding: 14px 16px;
    }

    .author-portal--v2 .apv2-stat-card__value {
        font-size: 1.35rem;
    }

    .author-portal--v2 .apv2-panel,
    .author-portal--v2 .apv2-columns {
        margin-left: 16px;
        margin-right: 16px;
        padding: 18px 16px;
    }

    .author-portal--v2 .apv2-welcome-note {
        margin-left: 16px;
        margin-right: 16px;
    }

    .author-portal--v2 .apv2-stats-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .author-portal--v2 .dashboard-tab:not(#tab-dashboard) {
        padding: 18px 14px;
    }
}

/* Project detail v2 — portal tab integration */
.author-portal--v2 #tab-projects .project-detail-view--v2 {
    margin-top: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    animation: asFadeIn 0.3s ease;
}

.author-portal--v2 #tab-projects:has(.project-detail-view--v2[style*="display: block"]) {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
}

.author-portal--v2 #tab-projects:has(.project-detail-view--v2[style*="display: block"]) .projects-grid {
    display: none !important;
}

/* ============================================
   Legal pages (Terms, Privacy)
   ============================================ */

.legal-page--v2 {
    background: var(--as-surface-alt, #f8fafc);
}

.legal-page--v2 .legal-hero {
    background: var(--as-gradient-hero, linear-gradient(135deg, #0a2540 0%, #123a5c 55%, #3D6280 100%));
    color: #fff;
    padding: 48px 0 40px;
    border-bottom: 3px solid #5C7DB7;
}

.legal-page--v2 .legal-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.legal-page--v2 .legal-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.legal-page--v2 .legal-hero__lede {
    margin: 0;
    max-width: 52ch;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.legal-page--v2 .legal-page__body {
    padding: 36px 20px 64px;
}

.legal-page--v2 .legal-document {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--as-border, #e8ecf2);
    border-radius: 16px;
    padding: 32px 36px 28px;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
}

.legal-page--v2 .legal-document__content {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #334155;
}

.legal-page--v2 .legal-document__content h2 {
    margin: 28px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--as-ink, #0a2540);
    letter-spacing: -0.01em;
}

.legal-page--v2 .legal-document__content h2:first-child,
.legal-page--v2 .legal-document__content p:first-child {
    margin-top: 0;
}

.legal-page--v2 .legal-document__content ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}

.legal-page--v2 .legal-document__content li {
    margin-bottom: 6px;
}

.legal-page--v2 .legal-document__content a {
    color: var(--as-shelf-deep, #0d9488);
    font-weight: 600;
}

.legal-page--v2 .legal-document__note {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e8ecf2;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 640px) {
    .legal-page--v2 .legal-document {
        padding: 22px 18px 20px;
        border-radius: 12px;
    }
}

/* ==========================================================================
   Blog (/blog/) — index, single, archive
   ========================================================================== */
.as-blog-hero {
    background: linear-gradient(135deg, #0a2540 0%, #134e4a 55%, #0f766e 100%);
    color: #fff;
    padding: 56px 0 48px;
}

.as-blog-hero--compact {
    padding: 40px 0 32px;
}

.as-blog-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.9;
    margin: 0 0 12px;
}

.as-blog-hero__eyebrow a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.as-blog-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    margin: 0 0 14px;
    line-height: 1.2;
    color: #fff;
}

.as-blog-hero__lede {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0 0 22px;
}

.as-blog-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.as-blog-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.as-blog-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.as-blog-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.as-blog-feed {
    padding: 48px 0 64px;
    background: #f8fafc;
}

.as-blog-feed__grid-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    align-items: start;
}

.as-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.as-blog-grid--related {
    margin-top: 12px;
}

.as-blog-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.as-blog-card:hover {
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.1);
    transform: translateY(-2px);
}

.as-blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    overflow: hidden;
}

.as-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.as-blog-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a2540 0%, #5C7DB7 100%);
    opacity: 0.85;
}

.as-blog-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.as-blog-card__cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--as-shelf-deep, #0d9488);
    margin-bottom: 8px;
}

.as-blog-card__title {
    font-size: 1.15rem;
    margin: 0 0 10px;
    line-height: 1.35;
}

.as-blog-card__title a {
    color: #0a2540;
    text-decoration: none;
}

.as-blog-card__title a:hover {
    color: var(--as-shelf-deep, #0d9488);
}

.as-blog-card__excerpt {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.55;
    flex: 1;
}

.as-blog-card__meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.as-blog-card__dot {
    margin: 0 6px;
}

.as-blog-card__more {
    font-weight: 700;
    color: var(--as-shelf-deep, #0d9488);
    text-decoration: none;
    font-size: 0.95rem;
}

.as-blog-card__more:hover {
    text-decoration: underline;
}

.as-blog-aside__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 20px;
}

.as-blog-aside__card--sticky {
    position: sticky;
    top: 24px;
}

.as-blog-aside__card h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #0a2540;
}

.as-blog-aside__card p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.as-blog-aside__card .btn {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.as-blog-aside__link {
    display: block;
    margin-top: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--as-shelf-deep, #0d9488);
    text-decoration: none;
}

.as-blog-aside__link:hover {
    text-decoration: underline;
}

.as-blog-pagination {
    margin-top: 28px;
}

.as-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.as-blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #0a2540;
    text-decoration: none;
    font-size: 0.9rem;
}

.as-blog-pagination .page-numbers.current,
.as-blog-pagination .page-numbers:hover {
    background: #0a2540;
    color: #fff;
    border-color: #0a2540;
}

.as-blog-empty {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

.as-blog-article__hero {
    background: #0a2540;
    color: #fff;
    padding: 40px 0 36px;
}

.as-blog-article__crumb {
    font-size: 0.9rem;
    margin: 0 0 12px;
    opacity: 0.9;
}

.as-blog-article__crumb a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.as-blog-article__title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1.25;
    color: #fff;
}

.as-blog-article__meta {
    font-size: 0.95rem;
    opacity: 0.9;
}

.as-blog-article__thumb {
    margin-top: -8px;
    margin-bottom: 8px;
}

.as-blog-article__img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0 0 14px 14px;
    display: block;
}

.as-blog-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    padding: 36px 0 24px;
    align-items: start;
}

.as-blog-article__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1f2937;
}

.as-blog-article__content h2 {
    margin-top: 1.6em;
    color: #0a2540;
}

.as-blog-article__content a {
    color: var(--as-shelf-deep, #0d9488);
    font-weight: 600;
}

.as-blog-next {
    padding: 8px 0 40px;
}

.as-blog-next__inner {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid #99f6e4;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}

.as-blog-next__inner h2 {
    margin: 0 0 10px;
    color: #0a2540;
}

.as-blog-next__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.as-blog-related {
    padding: 0 0 56px;
}

.as-blog-related__title {
    margin: 0 0 16px;
    color: #0a2540;
    font-size: 1.35rem;
}

@media (max-width: 900px) {
    .as-blog-feed__grid-wrap,
    .as-blog-article__layout {
        grid-template-columns: 1fr;
    }

    .as-blog-aside__card--sticky {
        position: static;
    }
}
/* ==========================================================================
   Founding Authors Beta page (v1.3.29)
   ========================================================================== */
.fa-page { --fa-navy: #0a2540; --fa-blue: #5c7db7; --fa-muted: #64748b; --fa-bg: #f5f8fc; --fa-border: #d5e0ec; }
.fa-hero {
	background: linear-gradient(135deg, #0a2540 0%, #123a5c 55%, #1a4a6e 100%);
	color: #fff;
	padding: 56px 0 48px;
}
.fa-hero__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 32px;
	align-items: center;
}
.fa-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
	font-weight: 600;
}
.fa-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.15;
	color: #fff;
}
.fa-hero__lede {
	margin: 0 0 18px;
	font-size: 1.08rem;
	line-height: 1.55;
	opacity: 0.95;
	max-width: 38em;
}
.fa-hero__trust {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 8px;
}
.fa-hero__trust li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.95rem;
}
.fa-hero__trust span { color: #8fd3a8; font-weight: 700; }
.fa-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.fa-hero__note { margin: 0; font-size: 0.85rem; opacity: 0.75; }
.fa-hero__aside {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.fa-stat {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 12px;
	padding: 16px 14px;
	text-align: center;
}
.fa-stat strong { display: block; font-size: 1.45rem; margin-bottom: 4px; }
.fa-stat span { font-size: 0.78rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }

.fa-section { padding: 56px 0; }
.fa-section--alt { background: var(--fa-bg); }
.fa-section--cta {
	background: linear-gradient(135deg, #0a2540 0%, #123a5c 100%);
	color: #fff;
	text-align: center;
}
.fa-section__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.fa-section__head--left { text-align: left; margin-left: 0; margin-right: 0; }
.fa-section__head h2 { margin: 0 0 8px; color: var(--fa-navy); font-size: 1.65rem; }
.fa-section--cta .fa-section__head h2,
.fa-section--cta h2 { color: #fff; }
.fa-section__head p { margin: 0; color: var(--fa-muted); line-height: 1.5; }
.fa-section__foot { margin: 20px 0 0; text-align: center; }
.fa-section__foot a { font-weight: 600; color: var(--fa-blue); }
.fa-section__note { margin: 18px 0 0; font-size: 0.92rem; color: var(--fa-muted); line-height: 1.5; max-width: 720px; }

.fa-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.fa-card {
	background: #fff;
	border: 1px solid var(--fa-border);
	border-radius: 12px;
	padding: 20px 18px;
	box-shadow: 0 1px 2px rgba(10,37,64,0.04);
}
.fa-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--fa-navy); }
.fa-card p { margin: 0; font-size: 0.92rem; color: var(--fa-muted); line-height: 1.5; }

.fa-pkg-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--fa-border); background: #fff; }
.fa-pkg-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fa-pkg-table th, .fa-pkg-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--fa-border); }
.fa-pkg-table thead th { background: #0a2540; color: #fff; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.fa-pkg-table tbody th { color: var(--fa-navy); font-weight: 700; }
.fa-pkg-table__featured { background: #f0f6ff; }
.fa-pkg-table s { color: var(--fa-muted); }
.fa-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	background: #ecfdf5;
	color: #047857;
	vertical-align: middle;
}

.fa-expect-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: start;
}
.fa-checklist {
	margin: 0;
	padding: 0 0 0 1.15em;
	color: #334155;
	line-height: 1.55;
	font-size: 0.95rem;
}
.fa-checklist li { margin-bottom: 10px; }
.fa-checklist--soft { color: var(--fa-muted); }
.fa-callout {
	margin-top: 20px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--fa-border);
	border-left: 4px solid var(--fa-blue);
	border-radius: 10px;
}
.fa-callout strong { display: block; color: var(--fa-navy); margin-bottom: 6px; }
.fa-callout p { margin: 0; font-size: 0.92rem; color: var(--fa-muted); line-height: 1.5; }

.fa-steps {
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	counter-reset: fa-step;
}
.fa-steps li {
	counter-increment: fa-step;
	position: relative;
	padding: 14px 16px 14px 56px;
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid var(--fa-border);
	border-radius: 10px;
	line-height: 1.5;
	color: #334155;
}
.fa-steps li::before {
	content: counter(fa-step);
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fa-navy);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fa-apply { max-width: 680px; }
.fa-form {
	background: #fff;
	border: 1px solid var(--fa-border);
	border-radius: 14px;
	padding: 28px 24px;
	box-shadow: 0 4px 20px rgba(10,37,64,0.06);
}
.fa-form select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--fa-border);
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	color: #0f172a;
	background: #fff;
	box-sizing: border-box;
}
.fa-form select:focus {
	outline: none;
	border-color: #6b9bb8;
	box-shadow: 0 0 0 3px rgba(107, 155, 184, 0.15);
}
.fa-checks { margin: 8px 0 18px; display: grid; gap: 12px; }
.fa-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #334155;
	font-weight: 500;
}
.fa-check input { margin-top: 3px; flex-shrink: 0; }
.fa-form__fine {
	margin: 16px 0 0;
	font-size: 0.82rem;
	color: var(--fa-muted);
	line-height: 1.45;
	text-align: center;
}
.fa-form__fine a { color: var(--fa-blue); font-weight: 600; }

.fa-notice {
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 0.92rem;
	line-height: 1.45;
}
.fa-notice strong { display: block; margin-bottom: 4px; }
.fa-notice p { margin: 0; }
.fa-notice ul { margin: 8px 0 0 1.1em; padding: 0; }
.fa-notice--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.fa-notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.fa-final-cta h2 { margin: 0 0 8px; color: #fff; font-size: 1.6rem; }
.fa-final-cta p { margin: 0 0 18px; opacity: 0.9; }
.fa-final-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 14px; }
.fa-rights { color: rgba(255,255,255,0.9) !important; margin: 0 !important; }

@media (max-width: 900px) {
	.fa-hero__inner,
	.fa-benefit-grid,
	.fa-expect-grid { grid-template-columns: 1fr; }
	.fa-hero { padding: 40px 0 36px; }
	.fa-section { padding: 40px 0; }
	.fa-form { padding: 22px 16px; }
}
