/* ==========================================================================
   New York Book Publishers — main stylesheet
   Layout modelled on the reference design; colours from the NYBP theme:
   navy rgb(0,54,128)  orange rgb(247,99,0)  dark rgb(6,3,64)
   ========================================================================== */

:root {
    --navy: #003680;
    --navy-deep: #002a63;
    --dark: #060340;
    --accent: #f76300;
    --accent-600: #dc5700;
    --accent-line: rgba(247, 99, 0, .55);

    --tint: #f2f5fa;
    --tint-2: #eef2f8;

    --ink: #333333;
    --text: #696969;
    --soft: #7e7e7e;
    --pale: #ababab;
    --line: #e5e5e5;

    --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --header-h: 111px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.73;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 400; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 12px; height: 12px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Shared headings ---------- */
.center-head { text-align: center; }
.kicker {
    font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1;
    color: var(--accent); margin-bottom: 18px;
}
.kicker-caps { font-size: 14px; letter-spacing: 2.8px; text-transform: uppercase; }
.title {
    font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 58px;
    color: var(--navy);
}
.lede { max-width: 515px; margin: 18px auto 0; color: var(--ink); }
.lede.serif { max-width: 703px; font-family: var(--serif); color: var(--text); }
.display { font-size: 56px; line-height: 1.1; color: var(--ink); }
.eyebrow { font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 36px; border: 1px solid transparent; border-radius: 0;
    font-family: var(--sans); font-size: 14px; font-weight: 800; line-height: 20px;
    letter-spacing: 1px; text-transform: uppercase;
    transition: background .3s, color .3s, border-color .3s;
}
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--navy); border-color: var(--navy); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 4px; padding: 14px 16px; }
.btn-gold:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { font-size: 13px; padding: 10px 14px; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .08); }
.header-inner { position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: center; padding: 0 100px; }

/* Three-column header: equal side columns keep the logo at the exact page centre */
.nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--nav-gap, 70px); width: 100%; max-width: 1170px; }
.nav-list { display: flex; align-items: center; gap: var(--nav-gap, 70px); }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-logo { display: flex; align-items: center; }
/* Optical centring: the logo's lettering sits below the torch, so its visual centre is 68.3% down the image.
   Lifting it by 18.3% of its height lines that centre up with the menu text. */
.nav-logo img, .brand-mobile img, .drawer-head img { transform: translateY(-18.3%); }
.nav-list > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 0;
    font-size: 14px; font-weight: 800; line-height: 24px; text-transform: uppercase;
    color: var(--text);
}
.nav-list > li > a::after {
    content: ''; position: absolute; left: 0; bottom: 6px;
    width: 0; height: 1px; background: var(--ink);
    transition: width .3s;
}
.nav-list > li > a:hover, .nav-list > li > a.is-active { color: var(--ink); }
.nav-list > li > a:hover::after, .nav-list > li > a.is-active::after { width: 100%; }

.caret { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }

.brand img { height: 56px; width: auto; }

.has-mega { position: static; }
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--accent);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .15);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 40px 35px 45px; }
.mega-title {
    font-family: var(--serif); font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--ink); margin-bottom: 18px;
}
.mega-col a { display: block; font-size: 13px; line-height: 20px; color: var(--text); padding: 6px 0; }
.mega-col a:hover { color: var(--accent); }

.burger, .brand-mobile, .header-call { display: none; }
.burger { background: none; border: 0; color: var(--ink); padding: 6px; }
.burger .icon { width: 26px; height: 26px; }
.header-call { color: var(--ink); padding: 6px; }

/* Drawer */
.drawer {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 210;
    width: min(340px, 86vw); background: #fff;
    transform: translateX(-100%); transition: transform .35s ease;
    display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 44px; width: auto; }
.drawer-close { background: none; border: 0; color: var(--ink); padding: 6px; }
.drawer-nav { padding: 6px 20px; }
.drawer-nav > a, .drawer-nav summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--ink);
    cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-group { margin: 16px 0 4px; font-family: var(--serif); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.drawer-sub { display: block; padding: 6px 0 6px 10px; font-size: 14px; color: var(--text); }
.drawer-contact { margin-top: auto; padding: 20px; background: var(--tint); display: grid; gap: 10px; }
.drawer-contact a { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 14px; word-break: break-all; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--tint); overflow: hidden; }
.hero-slider { position: relative; height: 790px; }
.hero-slide {
    position: absolute; inset: 0; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-grid { display: grid; grid-template-columns: 640px minmax(0, 1fr); gap: 30px; align-items: center; padding-left: 45px; padding-right: 45px; }

.hero-eyebrow {
    font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 30.6px;
    letter-spacing: 1px; text-transform: uppercase; color: var(--pale); margin-bottom: 20px;
}
.hero-title { font-size: 56px; line-height: 1.3; color: var(--ink); margin-bottom: 26px; }

.laurels { display: flex; gap: 34px; margin-bottom: 52px; }
.laurel { position: relative; width: 128px; height: 104px; display: flex; align-items: center; justify-content: center; }
.laurel-svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: .8; }
.laurel span { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.05; margin-top: -6px; }
.laurel strong { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--navy); }
.laurel small { margin-top: 4px; font-size: 7.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--text); }

.hero-slide.is-active .hero-copy > * { animation: fadeUp .9s both; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero-slide.is-active .hero-art > * { animation: fadeRight 1.1s .2s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }

.hero-art { display: flex; justify-content: center; }

/* Slide 1 — hardcover + tablet mockup */
.mock { position: relative; width: 520px; height: 560px; }
.mock-book {
    position: absolute; right: 0; top: 10px;
    display: flex; height: 470px;
    transform: perspective(1600px) rotateY(-16deg);
    filter: drop-shadow(30px 30px 30px rgba(0, 0, 0, .22));
}
.mock-spine {
    width: 42px; background: linear-gradient(90deg, #d9d3c6, #f1ece2 55%, #ddd6c8);
    border-radius: 4px 0 0 4px;
    display: flex; align-items: center; justify-content: center;
}
.mock-spine b { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 400; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--navy); }
.mock-cover {
    position: relative; overflow: hidden;
    width: 320px; border-radius: 0 6px 6px 0;
    background: linear-gradient(160deg, #fbf9f4, #efe9dd);
    box-shadow: inset 8px 0 12px -8px rgba(0, 0, 0, .35);
    display: flex; flex-direction: column; align-items: center; padding: 56px 24px 0; text-align: center;
}
.mock-cover small { font-size: 10px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.mock-cover strong { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.1; color: var(--navy); margin: 18px 0; }
.mock-cover em { font-style: normal; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--text); }
.mock-rule { width: 70px; height: 2px; background: var(--accent); margin-top: 22px; }
.mock-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(160deg, var(--navy), var(--dark)); }

.mock-tablet {
    position: absolute; left: 0; bottom: 0;
    width: 262px; height: 370px; padding: 12px;
    background: #121212; border-radius: 22px;
    box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .55), inset 0 0 0 2px #2a2a2a;
    transform: rotate(-3deg);
}
.mock-screen {
    height: 100%; border-radius: 12px; background: #fbf8f2;
    display: flex; flex-direction: column; align-items: center; padding: 46px 26px 0; text-align: center;
}
.mock-screen small { font-size: 8px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #9a8f7c; }
.mock-screen strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--navy); margin: 14px 0 12px; }
.mock-leaf { color: var(--accent); width: 34px; height: 34px; margin-bottom: 22px; }
.mock-screen i { display: block; width: 100%; height: 5px; border-radius: 3px; background: #e6dfd2; margin-bottom: 9px; }
.mock-screen i.short { width: 60%; }

/* Slide 2 — book stack */
.stack { position: relative; width: 440px; height: 540px; }
.stack-upright {
    position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%) perspective(1400px) rotateY(-14deg);
    width: 250px; height: 350px; border-radius: 3px 8px 8px 3px;
    background: linear-gradient(160deg, var(--navy), var(--dark));
    box-shadow: inset 8px 0 12px -6px rgba(0, 0, 0, .5), 26px 26px 40px -16px rgba(0, 0, 0, .45);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px;
    color: #fff; text-align: center;
}
.stack-upright::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .25); }
.stack-upright img { width: 160px; }
.stack-upright span { font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.stack-book {
    position: absolute; left: 50%; transform: translateX(-50%);
    height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
    border-radius: 3px; box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .5), inset 0 -4px 0 rgba(0, 0, 0, .12);
}
.stack-book.b1 { bottom: 104px; width: 340px; background: #f1ece2; color: var(--navy); }
.stack-book.b2 { bottom: 58px; width: 380px; background: var(--accent); color: #fff; }
.stack-book.b3 { bottom: 12px; width: 410px; background: var(--dark); color: #fff; }

/* ==========================================================================
   Welcome
   ========================================================================== */
.welcome { padding: 85px 0 108px; background: #fff; }
.welcome-head { max-width: 770px; margin: 0 auto; text-align: center; }
.welcome-sub { font-family: var(--serif); font-size: 18px; line-height: 28.8px; letter-spacing: 5px; color: var(--accent); margin: 36px 0 14px; }
.welcome-head p:not(.welcome-sub) { font-size: 15px; line-height: 28.5px; color: var(--soft); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; }
.pillar { padding: 0 25px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-head { display: flex; align-items: flex-start; gap: 20px; }
.pillar-icon { width: 56px; height: 56px; flex-shrink: 0; color: var(--accent); stroke-width: 1.1; }
.pillar h3 { font-size: 24px; line-height: 33.6px; letter-spacing: 1px; color: var(--ink); }
.pillar p { margin: 22px 0 40px; font-size: 15px; line-height: 28px; color: var(--soft); }
.view-more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.view-more:hover { color: var(--navy); }
.view-more .icon { transition: transform .3s; }
.view-more:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Distribution
   ========================================================================== */
.distribution { padding: 90px 0; background: var(--tint); }
.distribution .title { margin-top: 0; }
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 25px; }
.platform {
    background: #fff; border-radius: 15px; padding: 30px 20px; min-height: 245px;
    text-align: center;
    transition: transform .35s, box-shadow .35s;
}
.platform:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgba(0, 54, 128, .35); }
.platform-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 14px;
    background: var(--pc); color: #fff;
}
.platform-mark .icon { width: 30px; height: 30px; }
.platform h3 { margin: 20px 0 12px; font-size: 16px; font-weight: 700; line-height: 22.4px; letter-spacing: 1px; color: var(--ink); }
.platform p { font-size: 12px; line-height: 20px; color: var(--text); }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: 55px; background: var(--navy); border-radius: 15px; overflow: hidden;
}
.stat { padding: 50px 30px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .25); }
.stat-num { font-family: var(--serif); font-size: 32px; line-height: 40px; color: #fff; }
.stat-label { margin-top: 30px; font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #fff; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: 70px 0 110px; background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 62px 30px; margin-top: 62px; }
.step {
    position: relative; min-height: 344px;
    padding: 84px 30px 30px;
    background: #fff; border: 1px solid var(--accent-line); border-radius: 10px;
    transition: transform .35s, box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 34px -20px rgba(0, 54, 128, .45); }
.step-num {
    position: absolute; top: -26px; left: 30px;
    min-width: 67px; height: 60px; padding: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 40px;
    background: var(--navy); color: #fff; border-radius: 100px;
}
.step h3 { font-size: 27px; font-weight: 700; line-height: 27px; color: #000; margin-bottom: 20px; }
.step p { font-size: 15px; line-height: 26px; color: var(--text); }
.step-dark { background: var(--navy); }
.step-dark .step-num { top: -31px; height: 62px; min-width: 77px; background: #fff; color: var(--navy); border: 1px solid var(--navy); border-radius: 4px; }
.step-dark h3, .step-dark p { color: #fff; }

/* ==========================================================================
   Genres / book cards
   ========================================================================== */
.books { padding: 90px 0 96px; background: #fff; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 28px; margin-top: 96px; }
.book-card {
    background: #fff; overflow: hidden;
    border: 1px solid rgba(0, 54, 128, .08);
    box-shadow: 0 4px 24px rgba(0, 54, 128, .06);
    transition: transform .35s, box-shadow .35s;
}
.book-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0, 54, 128, .14); }
.book-media {
    position: relative; height: 200px; overflow: hidden;
    background: radial-gradient(circle at 50% 120%, var(--c2), var(--c1) 70%);
    display: flex; align-items: flex-end; justify-content: center;
}
.book-img { width: 100%; height: 100%; object-fit: cover; }
.cover-line { position: absolute; left: 16px; height: 1px; background: rgba(255, 255, 255, .15); }
.cover-line.l1 { top: 16px; width: 70%; }
.cover-line.l2 { top: 22px; width: 45%; }
.cover-badge {
    position: absolute; top: 12px; right: 14px; z-index: 2;
    padding: 3px 8px; border-radius: 4px;
    font-size: 8.8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08);
}
.mini-book {
    position: relative; width: 116px; height: 164px; margin-bottom: -14px;
    border-radius: 2px 6px 6px 2px;
    background: linear-gradient(155deg, var(--c2), var(--c1));
    box-shadow: inset 5px 0 8px -4px rgba(0, 0, 0, .5), 0 18px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
    display: flex; flex-direction: column; align-items: center; padding: 30px 10px 0; text-align: center;
    color: var(--ink);
    transition: transform .4s;
}
.book-card:hover .mini-book { transform: translateY(-8px); }
.mini-book::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(255, 255, 255, .22); }
.mini-rule { width: 26px; height: 2px; background: var(--ink); background: var(--ink, #fff); margin-bottom: 12px; }
.mini-title { font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--ink, #fff); }
.book-media .mini-rule, .book-media .mini-title, .book-media .mini-mark { color: var(--ink); }
.mini-mark { position: absolute; bottom: 24px; font-size: 7px; font-weight: 800; letter-spacing: 3px; opacity: .7; }
.book-body { padding: 16px 18px 20px; }
.book-body h3 { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.book-body p { margin: 4px 0 14px; font-size: 12px; color: #888; }
.book-genre {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 11.2px; font-weight: 600; color: var(--text);
    background: #f8f9fa; border: 1px solid rgba(247, 99, 0, .25);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--tint-2); padding: 90px 0 60px; overflow: hidden; }
.faq-content { padding: 0 15px 0 15px; max-width: 676px; }
.faq .title { margin-bottom: 0; }
.faq .accordion { margin-top: 18px; }

.faq-art { position: relative; min-height: 640px; margin-top: -90px; margin-bottom: -60px; }
.faq-photo { position: absolute; left: -40px; bottom: 30px; width: 115%; max-width: none; mix-blend-mode: multiply; }
.faq-book {
    position: absolute; left: 6%; top: 70px; width: 230px; height: 300px;
    border-radius: 3px 8px 8px 3px;
    background: linear-gradient(155deg, var(--navy), var(--dark));
    box-shadow: inset 8px 0 12px -6px rgba(0, 0, 0, .5), 20px 26px 40px -14px rgba(0, 0, 0, .45);
    transform: rotate(-12deg);
    display: flex; align-items: center; justify-content: center;
}
.faq-book::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .25); }
.faq-book img { width: 150px; }
.float-card {
    position: absolute; z-index: 2;
    background: #fff; border-radius: 12px; padding: 16px 20px;
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .25);
    display: grid; gap: 2px;
    animation: bob 5s ease-in-out infinite;
}
.float-card strong { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); }
.float-card strong.big { font-family: var(--sans); font-size: 26px; font-weight: 800; line-height: 1.1; }
.float-card small { font-size: 12px; line-height: 1.4; color: var(--text); }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 6px; }
.stars .icon { width: 14px; height: 14px; }
.fc-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(247, 99, 0, .12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.fc1 { left: 44%; top: 120px; }
.fc2 { left: 52%; top: 280px; animation-delay: -1.6s; }
.fc3 { left: 47%; top: 450px; animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.accordion details { background: #fff; border-bottom: 1px solid #d5d8dc; }
.accordion summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 24px; cursor: pointer; list-style: none;
    font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 22px; color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-caret { width: 12px; height: 12px; color: var(--navy); transition: transform .3s; }
.accordion details[open] .acc-caret { transform: rotate(90deg); }
.accordion details[open] summary { color: var(--accent); }
.accordion details p { padding: 0 24px 24px; font-size: 15px; line-height: 27px; color: var(--text); }

.help-bar, .cta-bar {
    display: flex; align-items: center; gap: 18px;
    background: var(--navy); border-radius: 17px;
}
.help-bar { margin-top: 20px; padding: 14px 22px; }
.help-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--accent); color: var(--accent);
}
.help-text { flex: 1; min-width: 0; }
.help-text h3 { font-size: 16px; font-weight: 700; line-height: 1.6; color: #fff; }
.help-text p { font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .85); }

/* ==========================================================================
   Ready to publish
   ========================================================================== */
.ready { padding: 90px 0; background: #fff; }
.ready-grid { display: grid; grid-template-columns: 738px minmax(0, 1fr); gap: 40px; align-items: center; }
.ready .title { margin-bottom: 18px; }
.serif-p { font-family: var(--serif); font-size: 16px; line-height: 27.68px; color: var(--text); max-width: 635px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 28px; max-width: 560px; }
.ticks li { display: flex; align-items: center; gap: 7px; font-size: 14px; line-height: 24px; color: var(--text); }
.ticks .icon { width: 15px; height: 15px; color: var(--navy); stroke-width: 2.4; }
.cta-bar { padding: 24px 30px; }

.ready-art { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.book3d {
    position: relative; width: 340px; height: 470px;
    transform: perspective(1800px) rotateY(-24deg) rotateX(3deg);
    transform-style: preserve-3d;
}
.book3d-front {
    position: absolute; inset: 0; overflow: hidden;
    border-radius: 3px 8px 8px 3px;
    background: radial-gradient(circle at 70% 20%, #0f4ea6, var(--navy) 45%, var(--dark));
    box-shadow: inset 10px 0 14px -8px rgba(0, 0, 0, .6);
    display: flex; flex-direction: column; align-items: center; padding: 50px 30px 0; text-align: center; color: #fff;
}
.book3d-front::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .7) 1px, transparent 1.5px); background-size: 38px 44px; opacity: .25; }
.b3-num { position: relative; font-family: var(--serif); font-size: 26px; color: var(--accent); }
.b3-title { position: relative; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1.2; }
.b3-rule { position: relative; width: 60px; height: 2px; background: var(--accent); margin: 22px 0 14px; }
.b3-author { position: relative; font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; opacity: .85; }
.b3-city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; fill: var(--dark); }
.book3d-front img { position: absolute; bottom: 20px; width: 110px; }
.book3d-pages {
    position: absolute; top: 6px; bottom: 6px; right: -26px; width: 26px;
    background: repeating-linear-gradient(to bottom, #faf7f0 0 2px, #e4ddcf 2px 3px);
    transform: rotateY(90deg); transform-origin: left;
}
.book3d-shadow { position: absolute; bottom: 18px; left: 50%; width: min(380px, 100%); height: 40px; transform: translateX(-46%); background: radial-gradient(ellipse, rgba(0, 0, 0, .35), transparent 70%); z-index: -1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--tint); padding: 55px 0 16px; }
.footer-sketch { position: absolute; left: -10px; top: 40px; width: 230px; height: 330px; color: rgba(0, 54, 128, .22); pointer-events: none; }
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo img { width: 240px; }

.shelf { position: relative; width: 468px; max-width: 100%; margin: 40px 0 28px; }
.shelf-items { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 150px; padding: 0 40px; }
.spine {
    display: flex; align-items: center; justify-content: center;
    border-radius: 2px 2px 0 0; box-shadow: inset -3px 0 4px rgba(0, 0, 0, .15);
}
.spine b { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-weight: 400; font-size: 9px; letter-spacing: 1px; }
.s1 { width: 22px; height: 118px; background: #efe9dd; color: var(--navy); }
.s2 { width: 18px; height: 128px; background: var(--accent); color: #fff; }
.s3 { width: 24px; height: 136px; background: var(--navy); color: #fff; }
.s4 { width: 20px; height: 122px; background: #d8cdb8; color: var(--dark); }
.s5 { width: 22px; height: 132px; background: var(--dark); color: #fff; }
.s6 { width: 18px; height: 116px; background: #c75a2a; color: #fff; }
.s7 { width: 24px; height: 128px; background: #f6f2ea; color: var(--navy); border: 1px solid #e3dccd; }
.book-face {
    width: 92px; height: 132px; margin: 0 4px;
    background: #fff; border: 1px solid #e3dccd; border-radius: 2px;
    box-shadow: inset 4px 0 6px -3px rgba(0, 0, 0, .25);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px;
}
.book-face img { width: 64px; }
.book-face em { font-family: var(--serif); font-size: 10px; color: var(--navy); }
.vase { position: relative; width: 34px; height: 56px; margin-right: 10px; border-radius: 45% 45% 40% 40%; background: linear-gradient(90deg, #e8e2d6, #f7f3ea); box-shadow: inset -3px 0 5px rgba(0, 0, 0, .1); }
.vase i { position: absolute; left: 50%; bottom: 50px; width: 2px; height: 70px; background: #b39a74; transform: translateX(-50%) rotate(-6deg); box-shadow: 8px -4px 0 -0.5px #c6ad86, -8px 2px 0 -0.5px #a88d67; }
.cup { width: 30px; height: 30px; margin-left: 10px; border-radius: 3px 3px 10px 10px; background: linear-gradient(90deg, #e8c9a4, #f3dcbf); }
.shelf-board { display: block; height: 16px; border-radius: 3px; background: linear-gradient(#b27a4a, #8a5a32); box-shadow: 0 10px 14px -8px rgba(0, 0, 0, .45); }

.social { display: flex; justify-content: center; gap: 10px; }
.social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--text); color: var(--ink);
    transition: background .3s, color .3s, border-color .3s;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social .icon { width: 13px; height: 13px; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; margin: 30px 0 18px; }
.footer-links a { font-size: 16px; color: var(--text); }
.footer-links a:hover, .copyright a:hover { color: var(--accent); }
.copyright { font-family: var(--serif); font-size: 13px; line-height: 24px; color: var(--text); }
.copyright a { color: var(--ink); font-weight: 700; }
.copyright .sep { margin: 0 6px; }
.copyright .address { font-size: 12px; }

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    width: 42px; height: 42px; border: 0; border-radius: 2px;
    background: var(--navy); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ==========================================================================
   Modal + forms
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: fade .3s; }
.modal-card {
    position: relative; z-index: 1; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
    display: grid; grid-template-columns: .9fr 1.1fr; background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: pop .35s ease;
}
.modal-side { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 44px 34px; }
.modal-side h2 { color: #fff; font-size: 28px; line-height: 1.3; margin-bottom: 14px; }
.modal-points { display: grid; gap: 10px; margin-top: 24px; }
.modal-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.modal-points .icon { color: var(--accent); }
.modal-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: #fff; font-weight: 800; font-size: 18px; }
.modal-phone .icon { color: var(--accent); }
.modal-card .lead-form { padding: 44px 34px; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--accent); color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } }
body.no-scroll { overflow: hidden; }

.form-card { background: #fff; padding: 40px 36px; border: 1px solid var(--accent-line); border-radius: 10px; box-shadow: 0 4px 24px rgba(0, 54, 128, .06); }
.form-card h3 { font-size: 24px; margin-bottom: 20px; color: var(--navy); font-weight: 700; }
.lead-form .field { margin-bottom: 14px; }
.lead-form label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.lead-form input, .lead-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d5d8dc; border-radius: 4px;
    font: inherit; font-size: 15px; color: var(--ink); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 54, 128, .12); }
.lead-form .is-invalid { border-color: #d93025; background: #fff6f5; }
.lead-form .btn { width: 100%; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--pale); text-align: center; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-weight: 700; font-size: 14px; }
.alert-error { background: #fff1ef; color: #b3261e; border: 1px solid #f5c6c0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: var(--tint); padding: 100px 0 90px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 60px; align-items: center; }
.page-hero .hero-title { font-size: 52px; margin-bottom: 20px; }
.page-hero .lead { font-size: 16px; line-height: 28.5px; color: var(--soft); max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pale); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.section { padding: 90px 0; }
.section-tint { background: var(--tint); }
.section .center-head { margin-bottom: 60px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 30px; margin-top: 30px; }
.feature-grid .step { min-height: 0; }

.values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.values-grid .platform p { font-size: 14px; line-height: 24px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: block; background: #fff; border-radius: 15px; padding: 30px; transition: transform .35s, box-shadow .35s; }
.related a:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgba(0, 54, 128, .35); }
.related h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.related p { font-size: 14px; line-height: 24px; }

.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.faq-inner .center-head { text-align: left; }

.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.about-split img { mix-blend-mode: multiply; }
.about-split .serif-p + .serif-p { margin-top: 16px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: var(--tint); border-radius: 15px; padding: 24px; }
.contact-card h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.contact-card a, .contact-card p { color: var(--navy); font-weight: 700; word-break: break-word; }
.contact-card .social a { color: var(--navy); border-color: var(--navy); }
.contact-card .platform-mark { --pc: var(--accent); }

.prose { max-width: 820px; margin: 0 auto; font-size: 15px; line-height: 28.5px; color: var(--soft); }
.prose h2 { font-size: 24px; color: var(--navy); font-weight: 700; margin: 36px 0 12px; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose a { color: var(--navy); font-weight: 700; text-decoration: underline; }

.thanks { text-align: center; padding: 140px 0; }
.thanks .hero-title { margin-bottom: 18px; }
.thanks .lead { max-width: 600px; margin: 0 auto; color: var(--soft); }
.thanks .hero-actions { justify-content: center; }
.thanks-icon { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; margin-bottom: 26px; }
.thanks-icon .icon { width: 38px; height: 38px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .nav { --nav-gap: 44px; }
    .header-inner { padding: 0 30px; }
}

@media (max-width: 1199px) {
    :root { --header-h: 76px; }
    .nav { display: none; }
    .header-inner { justify-content: space-between; padding: 0 16px; }
    .burger, .brand-mobile, .header-call { display: inline-flex; }
    .brand-mobile img { height: 48px; }

    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 15px; padding-right: 15px; }
    .hero-title { font-size: 46px; }
    .mock { transform: scale(.82); transform-origin: center; }
    .stack { transform: scale(.82); }
    .platforms { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ready-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .faq-content { max-width: none; padding-right: 30px; }
}

@media (max-width: 991px) {
    .hero-slider { height: auto; min-height: 0; display: grid; }
    .hero-slide { position: relative; grid-area: 1 / 1; padding: 60px 0 40px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .laurels { justify-content: center; }
    .mock, .stack { margin: 0 auto; transform: scale(.75); transform-origin: top center; height: 420px; }
    .stack { height: 400px; }

    .title { font-size: 40px; line-height: 48px; }
    .display { font-size: 44px; }
    .pillars { grid-template-columns: minmax(0, 1fr); gap: 50px; margin-top: 60px; }
    .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); padding-top: 50px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 60px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .25); }

    .faq { grid-template-columns: minmax(0, 1fr); padding-top: 70px; }
    .faq-art { order: 2; min-height: 520px; margin: 40px 0 -60px; }
    .faq-content { padding: 0 15px; max-width: 720px; margin: 0 auto; }
    .fc1 { left: 52%; top: 60px; } .fc2 { left: 58%; top: 200px; } .fc3 { left: 54%; top: 340px; }

    .ready-grid { grid-template-columns: minmax(0, 1fr); }
    .ready-art { margin-top: 30px; }

    .page-hero-grid, .faq-inner, .about-split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modal-card { grid-template-columns: 1fr; }
    .modal-side { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .hero-slide { padding: 44px 0 20px; }
    .hero-eyebrow { font-size: 14px; margin-bottom: 12px; }
    .hero-title, .page-hero .hero-title { font-size: 34px; }
    .laurels { gap: 6px; margin-bottom: 34px; }
    .laurel { width: 96px; height: 92px; }
    .mock { transform: scale(.6); height: 340px; }
    .stack { transform: scale(.62); height: 340px; }
    .btn { padding: 14px 24px; }

    .welcome { padding: 60px 0 70px; }
    .display { font-size: 34px; }
    .welcome-sub { letter-spacing: 3px; margin-top: 24px; }
    .pillar { padding: 0; }
    .pillar h3 { font-size: 21px; line-height: 30px; }

    .distribution, .books, .ready, .section { padding: 64px 0; }
    .process { padding: 64px 0 80px; }
    .title { font-size: 30px; line-height: 38px; }
    .kicker { font-size: 16px; }
    .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .platform { min-height: 0; padding: 24px 14px; }
    .stat { padding: 32px 12px; }
    .stat-label { margin-top: 12px; font-size: 11px; letter-spacing: 1.5px; }
    .steps, .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .step { min-height: 0; }
    .step h3 { font-size: 24px; }
    .book-grid { gap: 16px; }
    .book-media { height: 170px; }
    .mini-book { width: 96px; height: 136px; padding-top: 22px; }
    .mini-title { font-size: 14px; }
    .book-body { padding: 12px; }

    .faq-art { min-height: 420px; }
    .faq-book { width: 160px; height: 210px; top: 30px; }
    .faq-book img { width: 110px; }
    .float-card { padding: 10px 14px; }
    .float-card strong.big { font-size: 20px; }
    .fc1 { left: auto; right: 12px; top: 20px; } .fc2 { left: auto; right: 24px; top: 150px; } .fc3 { left: auto; right: 12px; top: 270px; }
    .accordion summary { font-size: 16px; padding: 18px; }
    .help-bar, .cta-bar { flex-wrap: wrap; padding: 20px; }
    .help-bar .btn, .cta-bar .btn { width: 100%; }

    .ticks { gap: 8px 18px; }
    .book3d { width: 260px; height: 360px; }
    .b3-title { font-size: 30px; }

    .shelf-items { padding: 0; transform: scale(.8); transform-origin: bottom center; }
    .footer-links { gap: 6px 22px; }
    .footer-links a { font-size: 14px; }
    .copyright .sep { display: none; }
    .copyright a { display: block; }

    .related { grid-template-columns: minmax(0, 1fr); }
    .form-card { padding: 30px 20px; }
    .modal-card .lead-form { padding: 54px 20px 24px; }
}

/* ==========================================================================
   Real cover images inside mockups / cards
   ========================================================================== */
.has-img { padding: 0 !important; overflow: hidden; }
.has-img::before, .has-img::after { display: none !important; }
.has-img > img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.mock-cover.has-img { background: #111; }
.mock-screen.has-img { border-radius: 12px; background: #111; }
.stack-upright.has-img { background: #111; }
.faq-book.has-img { background: #111; }
.book3d-front.has-img { background: #111; }

.book-media { background: var(--navy); align-items: center; }
.book-media::before {
    content: ''; position: absolute; inset: -30px;
    background: var(--cover) center / cover no-repeat;
    filter: blur(16px) brightness(.5) saturate(1.2);
}
.book-media .book-img {
    position: relative; z-index: 1;
    width: auto; height: 172px; object-fit: contain; border-radius: 3px;
    box-shadow: 0 16px 26px rgba(0, 0, 0, .55);
    transition: transform .4s;
}
.book-card:hover .book-img { transform: translateY(-6px) scale(1.03); }
.faq-photo { mask-image: linear-gradient(to right, #000 55%, transparent 95%); -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 95%); opacity: .9; }
/* ==========================================================================
   Inner pages — modelled on the reference inner-page templates
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.title-lg { font-size: 61px; line-height: 68px; }
.title-md { font-size: 40px; line-height: 50px; }
.btn-white { background: #fff; color: #000; border: 1px solid var(--accent); border-radius: 4px; }
.btn-white:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Service / legal hero */
.svc-hero { position: relative; overflow: hidden; padding: 130px 0; text-align: center; }
.svc-hero.is-light { background: linear-gradient(rgba(242, 245, 250, .9), rgba(242, 245, 250, .93)), var(--hero-bg) center / cover no-repeat; }
.svc-hero.is-dark { background: linear-gradient(rgba(0, 42, 99, .92), rgba(6, 3, 64, .94)), var(--hero-bg) center / cover no-repeat; }
.svc-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.svc-title { font-family: var(--serif); font-size: 61px; font-weight: 700; line-height: 1.1; }
.svc-title .h1a { display: block; color: var(--navy); }
.svc-title .h1b { position: relative; display: inline-block; color: var(--accent); padding-bottom: 12px; }
.swoosh { position: absolute; left: 6%; bottom: -4px; width: 88%; height: 14px; color: var(--accent); }
.is-dark .svc-title .h1a { color: #fff; }
.svc-intro { max-width: 720px; margin: 26px auto 34px; font-size: 15px; line-height: 27px; color: var(--soft); }
.is-dark .svc-intro { color: rgba(255, 255, 255, .9); }
.svc-deco { position: absolute; left: 3%; top: 50%; transform: translateY(-50%); width: 270px; max-height: 80%; object-fit: contain; opacity: .95; z-index: 0; }
.svc-deco-covers { display: flex; width: 300px; height: 260px; }
.svc-deco-covers img { position: absolute; width: 120px; border-radius: 4px; box-shadow: 0 16px 26px rgba(0, 0, 0, .3); }
.svc-deco-covers img:nth-child(1) { left: 0; top: 30px; transform: rotate(-10deg); }
.svc-deco-covers img:nth-child(2) { left: 80px; top: 0; z-index: 2; }
.svc-deco-covers img:nth-child(3) { left: 165px; top: 30px; transform: rotate(10deg); }
.legal-hero { padding: 80px 0 70px; }
.legal-updated { margin-top: -10px; font-size: 13px; color: rgba(255, 255, 255, .7); }

.stat-strip { padding: 65px 0; background: #fff; }
.stat-strip .stats { margin-top: 0; }

/* Numbered service cards */
.svc-cards { padding: 70px 0 110px; background: var(--tint); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 30px; margin-top: 85px; }
.svc-card { background: #fff; border: 1px solid var(--accent-line); border-radius: 10px; padding: 30px; transition: transform .35s, box-shadow .35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 34px -20px rgba(0, 54, 128, .45); }
.svc-num {
    display: inline-flex; align-items: center; justify-content: center; min-width: 67px; height: 60px; padding: 10px;
    font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 40px;
    background: rgba(0, 54, 128, .24); color: #fff; border-radius: 100px;
}
.svc-card h3 { margin: 22px 0 14px; font-size: 22px; font-weight: 700; line-height: 1.3; color: #000; }
.svc-card p { font-size: 15px; line-height: 26px; color: var(--text); }
.svc-card.is-dark { background: var(--navy); }
.svc-card.is-dark .svc-num { min-width: 77px; height: 62px; background: rgba(255, 255, 255, .39); color: var(--navy); border: 1px solid var(--navy); border-radius: 4px; }
.svc-card.is-dark h3, .svc-card.is-dark p { color: #fff; }

/* Before / after */
.compare { padding: 90px 0; background: #fff; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 545px)); justify-content: center; gap: 40px; margin-top: 40px; }
.compare-box { border-radius: 10px; padding: 35px; }
.compare-box.is-bad { background: rgba(247, 99, 0, .07); border: 1px solid var(--accent); }
.compare-box.is-good { background: rgba(34, 197, 94, .1); border: 1px solid #4ade80; }
.compare-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.compare-box ul { display: grid; gap: 12px; }
.compare-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; letter-spacing: .3px; line-height: 22px; color: var(--text); }
.compare-box li .icon { margin-top: 5px; }
.is-bad .icon { color: var(--accent); }
.is-good .icon { color: #16a34a; }

/* Deliverables */
.deliverables { padding: 90px 0; background: var(--tint); }
.deliver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
.deliver-card { background: #fff; border-radius: 15px; padding: 30px; min-height: 278px; text-align: center; transition: transform .35s, box-shadow .35s; }
.deliver-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgba(0, 54, 128, .35); }
.deliver-icon { display: inline-flex; align-items: center; justify-content: center; width: 125px; height: 72px; border-radius: 12px; background: var(--tint); color: var(--navy); }
.deliver-icon .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.deliver-card h3 { margin: 20px 0 10px; font-size: 22px; font-weight: 700; color: #000; }
.deliver-card p { font-size: 14px; line-height: 24px; }

/* Process with connectors */
.proc { padding: 90px 0; background: #fff; }
.proc-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px; }
.proc-line::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 2px; background: var(--accent); transform: translateY(-50%); }
.proc-dot {
    position: relative; justify-self: center; width: 70px; height: 70px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--navy); border: 4px solid var(--tint); color: var(--accent);
    font-family: var(--sans); font-size: 26px; font-weight: 700;
}
.proc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 100px; }
.proc-card { min-height: 300px; padding: 30px; background: #fff; border: 1px solid var(--accent-line); border-radius: 10px; }
.proc-card h3 { font-size: 21px; font-weight: 700; line-height: 1.4; color: #000; margin-bottom: 18px; }
.proc-card p { font-size: 14px; line-height: 25px; }
.proc-card.is-dark { background: var(--navy); }
.proc-card.is-dark h3, .proc-card.is-dark p { color: #fff; }

/* Testimonials (shown only when real ones exist) */
.testimonials { padding: 90px 0; background: var(--tint); }
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.testi-card { margin: 0; background: #fff; border-radius: 15px; padding: 30px; }
.testi-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 15px; line-height: 28px; color: var(--ink); }
.testi-card strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--ink); }
.testi-card span { font-size: 13px; color: var(--pale); }

/* Packages */
.packages { padding: 90px 0; background: #fff; }
.section-sub { max-width: 687px; margin: 20px auto 0; font-family: var(--serif); color: var(--text); }
.pkg-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; align-items: center; gap: 20px; margin-top: 35px; }
.pkg-card { position: relative; background: #fff; border: 1px solid #c9ccd3; border-radius: 15px; padding: 45px 36px; }
.pkg-card.is-featured { background: var(--navy); border-color: var(--navy); padding: 60px 40px; box-shadow: 0 30px 50px -28px rgba(0, 54, 128, .7); }
.pkg-flag { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 20px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.pkg-name { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1; color: var(--accent); }
.pkg-tag { margin: 14px 0 22px; font-size: 14px; color: var(--soft); }
.is-featured .pkg-tag { color: rgba(255, 255, 255, .8); }
.pkg-list { display: grid; gap: 4px; margin-bottom: 32px; }
.pkg-list li { display: flex; align-items: center; gap: 10px; padding: 6.5px 0; font-size: 15px; color: var(--soft); border-bottom: 1px dashed rgba(0, 0, 0, .08); }
.pkg-list .icon { color: var(--accent); }
.is-featured .pkg-list li { color: #fff; border-color: rgba(255, 255, 255, .15); }
.pkg-btn { padding: 13px 35px; border-radius: 8px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; transition: background .3s, color .3s; }
.pkg-btn:hover { background: var(--navy); color: #fff; }
.is-featured .pkg-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.is-featured .pkg-btn:hover { background: #fff; color: var(--navy); border-color: #fff; }

.notice-wrap { padding: 0 0 95px; background: #fff; }
.notice { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px; border-radius: 10px; border: 3px solid var(--accent); background: var(--tint); font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--accent); }

/* Centered FAQ */
.faq-center { padding: 90px 0 60px; background: var(--tint-2); }
.faq-col { max-width: 991px; margin: 22px auto 0; }

/* Ready + consultation form */
.svc-ready { padding: 70px 0; background: #fff; }
.svc-ready-grid { display: grid; grid-template-columns: minmax(0, 570px) minmax(0, 600px); justify-content: space-between; align-items: center; gap: 40px; }
.ready-list { display: grid; gap: 4px; margin-top: 30px; }
.ready-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line); }
.ready-list .icon { color: var(--navy); }
.form-frame { background: var(--navy); border-radius: 20px; padding: 30px; }
.form-box { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.form-box h3 { font-size: 22.4px; font-weight: 700; color: var(--navy); }
.form-sub { margin: 6px 0 22px; font-size: 13.6px; color: #6b7280; }
.lead-form select { width: 100%; padding: 12px 14px; border: 1px solid #d5d8dc; border-radius: 4px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.lead-form-ph input, .lead-form-ph textarea, .lead-form-ph select { height: 48px; padding: 13px 16px; border-radius: 8px; border: 1px solid rgba(0, 54, 128, .15); font-size: 15px; }
.lead-form-ph textarea { height: auto; min-height: 90px; }
.form-box .form-submit { height: 60px; border-radius: 8px; background: var(--navy); border-color: var(--navy); color: var(--accent); font-size: 16px; letter-spacing: .96px; }
.form-box .form-submit:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* About */
.about-hero { padding: 70px 0 60px; background: var(--tint); }
.about-lead { max-width: 766px; margin: 26px auto 0; font-size: 16px; line-height: 27.68px; color: var(--text); }
.about-btns { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.about-btns .btn { min-width: 160px; }
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 52px -15px 0; }
.astat { padding: 40px; }
.astat.is-card { background: #fff; border-top: 8px solid var(--navy); border-left: 1px solid var(--navy); border-radius: 10px 10px 0 0; }
.astat:nth-child(2) { border-right: 2px solid var(--accent-line); }
.astat-num { font-family: var(--serif); font-size: 48px; line-height: 1.1; color: var(--accent); }
.astat-label { margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }

.story { padding: 70px 0; background: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0, 570px) minmax(0, 1fr); gap: 80px; align-items: center; }
.story .kicker { font-size: 15px; }
.story .title { margin-bottom: 20px; }
.story-p { margin-bottom: 20px; font-size: 16px; line-height: 27.68px; color: var(--text); }
.story-media { position: relative; justify-self: center; width: 382px; max-width: 100%; }
.story-media > img { width: 100%; height: 477px; object-fit: cover; border-radius: 12px; box-shadow: 24px 24px 0 var(--tint); }
.story-cover { position: absolute; left: -50px; bottom: -30px; width: 130px; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); border: 4px solid #fff; }
.story-cover img { width: 100%; }

.vmv { padding: 70px 0; background: var(--tint); }
.vmv-sub { max-width: 760px; margin: 20px auto 0; font-size: 16px; line-height: 27.68px; color: var(--pale); }
.vmv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.vmv-icon { display: inline-flex; color: var(--accent); margin-bottom: 18px; }
.vmv-icon .icon { width: 54px; height: 54px; stroke-width: 1.2; }
.vmv-item h3 { font-size: 25px; font-weight: 700; line-height: 1.4; color: var(--navy); margin-bottom: 14px; }
.vmv-item p { font-size: 16px; line-height: 27.68px; }

.publish { padding: 70px 0; background: #fff; }
.divider { display: block; width: 120px; height: 4px; margin: 22px auto 0; border-radius: 4px; background: var(--accent); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 2px solid rgba(247, 99, 0, .35); font-size: 15px; font-weight: 700; color: var(--text); background: #fff; transition: border-color .3s, color .3s; }
.pill:hover { border-color: var(--accent); color: var(--navy); }
.pill .icon { color: var(--accent); }
.about-covers { display: flex; justify-content: center; gap: 18px; margin-top: 50px; flex-wrap: wrap; }
.about-covers img { width: 130px; border-radius: 4px; box-shadow: 0 16px 26px -10px rgba(0, 0, 0, .4); transition: transform .35s; }
.about-covers img:hover { transform: translateY(-8px); }

.about-cta { padding: 60px 0 80px; background: var(--tint); }
.cta-bar-lg { margin-top: 30px; padding: 22px 40px; }
.help-icon-lg { width: 78px; height: 78px; border-width: 3px; }
.help-icon-lg .icon { width: 34px; height: 34px; }
.cta-bar-lg .help-text h3 { font-size: 27px; }
.cta-bar-lg .help-text p { font-size: 12px; }

/* Contact */
.page-band { display: flex; align-items: center; min-height: 220px; text-align: center; background: linear-gradient(rgba(0, 42, 99, .93), rgba(6, 3, 64, .95)), var(--hero-bg) center / cover no-repeat; }
.page-band h1 { font-size: 72px; line-height: 1.1; color: #fff; }
.contact-sec { padding: 70px 0 90px; background: #fff; }
.contact-layout { display: grid; grid-template-columns: 330px minmax(0, 700px); justify-content: center; gap: 60px; align-items: start; }
.ci-title { margin: 0 0 16px; font-family: var(--sans); font-size: 16px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.ci-title:not(:first-child) { margin-top: 36px; }
.ci-line { margin-bottom: 8px; font-family: var(--serif); font-size: 13px; line-height: 22px; color: var(--text); }
.ci-line a, .ci-line strong { color: var(--ink); font-weight: 700; word-break: break-word; }
.ci-line a:hover { color: var(--accent); }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 20px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.pill-btn:hover { background: var(--accent); }
.social-left { justify-content: flex-start; }
.contact-card-lg { background: #fff; border-radius: 8px; padding: 30px 40px 36px; box-shadow: 0 4px 30px rgba(0, 0, 0, .09); }
.contact-card-lg h2 { text-align: center; font-size: 24px; font-weight: 700; color: var(--navy); }
.contact-sub { margin: 8px 0 24px; text-align: center; font-family: var(--serif); font-size: 13px; color: var(--text); }
.contact-card-lg .lead-form-ph input, .contact-card-lg .lead-form-ph textarea { background: #f8f9fb; border-color: #e5e7eb; border-radius: 6px; font-family: var(--serif); font-size: 13px; }
.contact-card-lg .form-submit { background: var(--navy); border-color: var(--navy); border-radius: 6px; }
.contact-card-lg .form-submit:hover { background: var(--accent); border-color: var(--accent); }

/* Legal */
.legal { padding: 40px 0 90px; background: #fff; }
.legal-sec { margin-top: 50px; }
.sec-num { display: block; font-size: 10.4px; font-weight: 700; letter-spacing: 1.45px; text-transform: uppercase; color: var(--accent); }
.legal-head { display: flex; align-items: center; gap: 22px; margin: 14px 0 18px; }
.legal-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--navy); color: #fff; }
.legal-icon .icon { width: 20px; height: 20px; }
.legal-head h2 { font-size: 24.8px; font-weight: 700; color: var(--navy); }
.legal-text { margin-bottom: 16px; font-size: 15.7px; line-height: 1.9; color: #6b7280; }
.legal-text strong { color: var(--navy); font-weight: 600; }
.legal-list { display: grid; gap: 12px; }
.legal-list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid rgba(0, 54, 128, .07); border-radius: 10px; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.dl-icon { color: var(--accent); display: inline-flex; }
.legal-list strong { display: block; font-size: 14.4px; font-weight: 600; color: var(--navy); }
.legal-list span { font-size: 13.6px; color: #6b7280; }
.legal-list a { color: var(--navy); font-weight: 700; }
.info-card { margin-top: 16px; padding: 20px 22px; background: var(--tint); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; font-size: 14.4px; color: var(--navy); }
.info-card strong { font-weight: 700; }

.thanks { text-align: center; padding: 90px 0 110px; }
.thanks .title { margin-bottom: 18px; }

/* Inner pages — responsive */
@media (max-width: 1199px) {
    .svc-deco { display: none; }
    .title-lg { font-size: 48px; line-height: 56px; }
    .svc-title { font-size: 50px; }
    .story-grid { gap: 50px; }
}
@media (max-width: 991px) {
    .svc-hero { padding: 90px 0; }
    .title-lg { font-size: 40px; line-height: 48px; }
    .title-md { font-size: 32px; line-height: 40px; }
    .svc-title { font-size: 42px; }
    .svc-grid, .compare-grid, .pkg-grid, .svc-ready-grid, .story-grid, .vmv-grid, .contact-layout, .testi-grid { grid-template-columns: minmax(0, 1fr); }
    .svc-grid { gap: 30px; margin-top: 50px; }
    .deliver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proc-line { display: none; }
    .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; }
    .pkg-grid { max-width: 520px; margin-left: auto; margin-right: auto; }
    .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 40px 0 0; gap: 16px; }
    .astat:nth-child(2) { border-right: 0; }
    .astat { background: #fff; border-radius: 10px; }
    .story-media { margin-top: 20px; }
    .page-band h1 { font-size: 54px; }
    .cta-bar-lg { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .svc-hero { padding: 64px 0; }
    .svc-title { font-size: 32px; }
    .title-lg { font-size: 30px; line-height: 38px; }
    .title-md { font-size: 26px; line-height: 34px; }
    .svc-cards, .compare, .deliverables, .proc, .packages, .faq-center, .svc-ready, .story, .vmv, .publish, .about-cta { padding-top: 60px; padding-bottom: 60px; }
    .deliver-grid, .proc-grid { grid-template-columns: minmax(0, 1fr); }
    .compare-box, .svc-card, .pkg-card, .pkg-card.is-featured { padding: 26px 22px; }
    .form-frame { padding: 14px; }
    .form-box, .contact-card-lg { padding: 26px 20px; }
    .about-stats { grid-template-columns: minmax(0, 1fr); }
    .astat { padding: 26px; }
    .astat-num { font-size: 38px; }
    .story-media > img { height: 360px; }
    .story-cover { left: -10px; width: 100px; }
    .page-band { min-height: 150px; }
    .page-band h1 { font-size: 40px; }
    .legal-head { gap: 14px; }
    .legal-head h2 { font-size: 20px; }
    .notice { flex-direction: column; }
    .about-covers img { width: 96px; }
    .about-btns { flex-wrap: wrap; }
}
/* Platform logos in the distribution cards */
.platform-logo { display: flex; align-items: center; justify-content: center; height: 60px; }
.platform-logo img { max-width: 150px; max-height: 56px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 640px) { .platform-logo img { max-width: 120px; max-height: 46px; } }