:root {
    --paper: #FCFCFA;
    --ink: #0E1B2E;
    --ink-2: #3E4A5C;
    --ink-3: #7A8597;
    --line: #E7E6E0;
    --line-2: #D9D8D1;
    --blue: #1E50C8;
    --blue-deep: #0A2540;
    --blue-tint: #EEF2FD;
    --lime: #7FA316;
    --gold: #C98A1E;
    --maxw: 1120px;
    --serif: "Newsreader", Georgia, serif;
    --sans: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0;
}

p {
    margin: 0;
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

section {
    scroll-margin-top: 84px;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.kicker {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.muted {
    color: var(--ink-2);
}

/* ---------- nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 252, 250, 0.82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand b {
    color: var(--blue);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    transition: color .18s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links .navbuy {
    display: inline-flex;
}

.nav-links a.navbuy {
    color: #fff;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    padding: 14px 24px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 1px 2px rgba(10, 37, 64, .18);
}

.btn-primary:hover {
    background: #1846b4;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -8px rgba(30, 80, 200, .55);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}

.btn-ghost:hover {
    border-color: var(--ink-3);
    background: #fff;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14.5px;
    border-radius: 9px;
}

/* ---------- hero ---------- */
.hero {
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns:1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(48px, 6.2vw, 86px);
    letter-spacing: -0.025em;
    margin: 18px 0 0;
}

.hero h1 .it {
    font-style: italic;
    color: var(--blue);
}

.hero .lede {
    font-family: var(--serif);
    font-size: clamp(20px, 2.2vw, 25px);
    color: var(--ink-2);
    font-style: italic;
    margin-top: 20px;
    line-height: 1.35;
}

.hero p.sub {
    font-size: 18px;
    color: var(--ink-2);
    margin-top: 22px;
    max-width: 42ch;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.pricetag {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 0;
}

.trust {
    display: flex;
    gap: 22px;
    margin-top: 26px;
    color: var(--ink-3);
    font-size: 14px;
    font-weight: 500;
    flex-wrap: wrap;
}

.trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime);
    display: inline-block;
}

.cover-frame {
    position: relative;
}

.cover-frame img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(10, 37, 64, .06), 0 30px 60px -22px rgba(10, 37, 64, .45);
}

.cover-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
    pointer-events: none;
}

/* ---------- generic section ---------- */
.sec {
    padding: 88px 0;
    border-bottom: 1px solid var(--line);
}

.sec-head {
    max-width: 62ch;
}

.sec-head h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-top: 14px;
}

.sec-head p {
    margin-top: 18px;
    color: var(--ink-2);
    font-size: 19px;
}

/* ---------- book features ---------- */
.feat {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 48px;
}

.feat .cell {
    background: var(--paper);
    padding: 32px 30px;
}

.feat .cell .n {
    font-family: var(--serif);
    font-size: 34px;
    color: var(--blue);
    line-height: 1;
}

.feat .cell h3 {
    font-size: 21px;
    margin-top: 14px;
}

.feat .cell p {
    margin-top: 8px;
    color: var(--ink-2);
    font-size: 16px;
}

.audience {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    padding: 8px 16px;
}

/* ---------- trends (editorial article) ---------- */
.trends-sec {
    background: #F4F7FC;
}

.article {
    max-width: 780px;
    margin: 46px auto 0;
}

.article .intro {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(20px, 2.1vw, 24px);
    line-height: 1.45;
    color: var(--ink);
}

.article h3 {
    font-size: clamp(28px, 3.2vw, 40px);
    margin-top: 64px;
    padding-top: 34px;
    border-top: 2px solid var(--ink);
    letter-spacing: -0.02em;
}

.article h3:first-of-type {
    margin-top: 54px;
}

.article h4 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 18px;
    color: var(--blue);
    margin-top: 34px;
    letter-spacing: 0;
}

.article p.body {
    color: var(--ink-2);
    font-size: 17.5px;
    margin-top: 14px;
}

.article ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.article li {
    position: relative;
    padding-left: 24px;
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.62;
}

.article li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.article li b {
    color: var(--ink);
    font-weight: 600;
}

.article .callout {
    margin: 30px 0 6px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--line-2);
    border-left: 4px solid var(--blue);
    border-radius: 0 14px 14px 0;
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.45;
    box-shadow: 0 18px 40px -30px rgba(10, 37, 64, .5);
}

.article .callout a {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--sans);
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    color: var(--blue);
    border-bottom: 1px solid rgba(30, 80, 200, .35);
}

.article .callout a:hover {
    border-color: var(--blue);
}

.tsource {
    max-width: 780px;
    margin: 40px auto 0;
    font-size: 13.5px;
    color: var(--ink-3);
    letter-spacing: .01em;
}

/* ---------- buy ---------- */
.buy-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 8px;
}

.buy-card {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 40px 80px -50px rgba(10, 37, 64, .5);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.price-now {
    font-family: var(--serif);
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-old {
    font-family: var(--serif);
    font-size: 30px;
    color: var(--ink-3);
    text-decoration: line-through;
    display: none;
}

.price-sub {
    color: var(--ink-2);
    margin-top: 10px;
    font-size: 16px;
}

.save-badge {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--blue-tint);
    color: var(--blue);
    font-weight: 600;
    font-size: 13.5px;
    padding: 7px 13px;
    border-radius: 8px;
    margin-top: 18px;
    width: fit-content;
}

.save-badge.on {
    display: inline-flex;
}

.buy-card .btn-primary {
    width: 100%;
    margin-top: 24px;
    font-size: 17px;
    padding: 16px;
}

.pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

.pay {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
    border-radius: 7px;
    padding: 6px 11px;
    background: #fff;
}

.secure-note {
    font-size: 13.5px;
    color: var(--ink-3);
    text-align: center;
    margin-top: 18px;
    line-height: 1.5;
}

.promo {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.promo label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-3);
}

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

.promo-row input {
    flex: 1;
    font-family: var(--sans);
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 9px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
    transition: border-color .15s ease;
    text-transform: uppercase;
}

.promo-row input::placeholder {
    text-transform: none;
    letter-spacing: 0;
}

.promo-row input:focus {
    border-color: var(--blue);
}

.promo-msg {
    font-size: 13.5px;
    margin-top: 10px;
    min-height: 18px;
    font-weight: 500;
}

.promo-msg.ok {
    color: var(--lime);
}

.promo-msg.err {
    color: #C0392B;
}

.buy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.buy-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
}

.buy-list li:last-child {
    border-bottom: none;
}

.buy-list .ck {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

.buy-list b {
    font-weight: 600;
}

.buy-list span {
    color: var(--ink-2);
}

/* ---------- about ---------- */
.about-grid {
    display: grid;
    grid-template-columns:300px 1fr;
    gap: 56px;
    align-items: start;
}

.about-photo img {
    border-radius: 14px;
    width: 100%;
    box-shadow: 0 30px 60px -36px rgba(10, 37, 64, .55);
}

.about-photo .name {
    margin-top: 22px;
}

.about-photo .name h3 {
    font-size: 26px;
}

.about-photo .name p {
    color: var(--ink-3);
    font-size: 15px;
    margin-top: 4px;
    font-weight: 500;
}

.about-photo .btn {
    margin-top: 20px;
}

.about-body p {
    color: var(--ink-2);
    font-size: 18.5px;
}

.about-body p + p {
    margin-top: 18px;
}

.about-body .lead {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.4;
}

.expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.ach {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.ach li {
    position: relative;
    padding-left: 30px;
    margin-top: 14px;
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.5;
}

.ach li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
    font-weight: 700;
}

.ach b {
    color: var(--ink);
    font-weight: 600;
}

.pubs {
    margin-top: 28px;
    font-size: 15px;
    color: var(--ink-3);
}

/* ---------- guarantee ---------- */
.guar-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.guar {
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: 32px;
    background: #fff;
}

.guar h3 {
    font-size: 22px;
}

.guar p {
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 16px;
}

.guar a {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 1px solid rgba(30, 80, 200, .3);
}

/* ---------- footer ---------- */
.foot {
    padding: 54px 0 64px;
}

.foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.foot .brand {
    font-size: 24px;
}

.foot p {
    color: var(--ink-3);
    font-size: 14.5px;
    margin-top: 10px;
}

.foot-links {
    display: flex;
    gap: 24px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
}

.foot-links a:hover {
    color: var(--blue);
}

/* toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 100;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
    max-width: 90vw;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns:1fr;
        gap: 40px;
    }

    .cover-frame {
        max-width: 340px;
        margin: 0 auto;
    }

    .buy-grid, .about-grid, .guar-grid, .tcols, .feat {
        grid-template-columns:1fr;
    }

    .about-photo {
        max-width: 280px;
    }

    .nav-links a:not(.navbuy) {
        display: none;
    }

    .sec {
        padding: 60px 0;
    }
}
