/* Ebook product page. Extends the shared Angel Quezada visual system. */
body.ebook-page { background: #fff; }
.ebook-page nav { position: fixed; }
.ebook-page .nav-links a { white-space: nowrap; }
.ebook-lang-toggle { display:flex; align-items:center; padding:3px; border:1px solid var(--line-strong); border-radius:100px; background:var(--surface-soft); }
.ebook-lang-toggle button { appearance:none; border:0; background:transparent; color:var(--muted); font:600 11px/1 'Inter',sans-serif; padding:7px 9px; border-radius:100px; cursor:pointer; }
.ebook-lang-toggle button.active { background:#fff; color:var(--ink); box-shadow:var(--sh-xs); }

.ebook-hero { padding: clamp(118px, 11vw, 150px) var(--pad) clamp(68px, 7vw, 102px); background:linear-gradient(180deg,#fff 0%,#fbfcf9 100%); border-bottom:1px solid var(--line); }
.ebook-hero-inner { max-width:var(--shell); margin:0 auto; display:grid; grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr); gap:clamp(54px,7vw,118px); align-items:center; }
.ebook-cover-stage { display:flex; justify-content:center; align-items:center; min-height:620px; position:relative; }
.ebook-cover-stage::before { content:""; position:absolute; width:82%; aspect-ratio:1; border-radius:50%; background:var(--pistachio-soft); filter:blur(0); z-index:0; }
.ebook-cover-card { width:min(360px,82%); aspect-ratio:2/3; border-radius:10px; overflow:hidden; box-shadow:0 40px 80px rgba(17,24,39,.18),0 8px 24px rgba(17,24,39,.10); transform:rotate(-1.6deg); position:relative; z-index:1; background:#fff; }
.ebook-cover-card img { width:100%; height:100%; display:block; object-fit:cover; }
.ebook-kicker,.ebook-section-kicker { font-family:'DM Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:.15em; color:var(--accent); font-weight:500; }
.ebook-title { margin:16px 0 22px; font-size:clamp(46px,5.25vw,78px); line-height:.98; letter-spacing:-.055em; max-width:13ch; color:var(--ink); }
.ebook-deck { max-width:690px; font-size:clamp(18px,1.5vw,22px); line-height:1.55; color:var(--graphite); margin-bottom:26px; }
.ebook-meta-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.ebook-meta-pill { border:1px solid var(--line-strong); border-radius:100px; padding:7px 11px; font-family:'DM Mono',monospace; font-size:10px; letter-spacing:.04em; color:var(--muted); background:#fff; }
.ebook-price-line { display:flex; align-items:baseline; gap:10px; margin:0 0 24px; }
.ebook-price { font-size:34px; font-weight:800; letter-spacing:-.04em; color:var(--ink); }
.ebook-price-note { font:400 11px/1.4 'DM Mono',monospace; color:var(--muted); }
.ebook-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.ebook-buy-btn { min-height:48px; padding:13px 21px; border-radius:100px; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:13px; font-weight:700; transition:transform .18s ease,background .18s ease,border-color .18s ease; cursor:pointer; }
.ebook-buy-btn:hover { transform:translateY(-1px); }
.ebook-buy-primary { color:#fff; background:var(--accent); border:1px solid var(--accent); }
.ebook-buy-primary:hover { background:var(--accent-dark); }
.ebook-buy-secondary { color:var(--ink); background:#fff; border:1px solid var(--line-strong); }
.ebook-buy-secondary:hover { border-color:var(--accent); color:var(--accent); }
.ebook-trust-note { margin-top:17px; display:flex; gap:8px; align-items:center; color:var(--muted); font-size:12px; }
.ebook-trust-note svg { width:15px; height:15px; color:var(--pistachio-ink); }

.ebook-proofbar { padding:0 var(--pad); background:var(--ink-deep); color:#fff; }
.ebook-proofbar-inner { max-width:var(--shell); margin:0 auto; min-height:92px; display:grid; grid-template-columns:repeat(4,1fr); }
.ebook-proofitem { padding:22px 28px; border-right:1px solid rgba(255,255,255,.09); display:flex; flex-direction:column; justify-content:center; }
.ebook-proofitem:first-child { padding-left:0; }
.ebook-proofitem:last-child { border-right:0; }
.ebook-proofvalue { font-size:17px; font-weight:700; letter-spacing:-.02em; }
.ebook-prooflabel { font:400 10px/1.4 'DM Mono',monospace; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.09em; margin-top:3px; }

.ebook-section { padding:var(--section-y) var(--pad); }
.ebook-section-inner { max-width:var(--shell); margin:0 auto; }
.ebook-section-head { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr); gap:var(--gap-lg); align-items:end; margin-bottom:var(--head-gap); }
.ebook-section-title { font-size:clamp(34px,3.6vw,56px); line-height:1.04; letter-spacing:-.045em; margin-top:12px; max-width:13ch; }
.ebook-section-lead { font-size:17px; line-height:1.72; color:var(--graphite); max-width:62ch; }

.ebook-shift { background:var(--surface-soft); }
.ebook-shift-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); }
.ebook-shift-card { background:#fff; border:1px solid var(--line-strong); border-radius:var(--r-card); padding:var(--card-pad); min-height:270px; display:flex; flex-direction:column; }
.ebook-card-index { font:500 10px/1 'DM Mono',monospace; color:var(--accent); letter-spacing:.1em; margin-bottom:auto; }
.ebook-shift-card h3 { font-size:24px; line-height:1.1; letter-spacing:-.035em; margin:46px 0 12px; }
.ebook-shift-card p { color:var(--graphite); font-size:14px; line-height:1.68; }

.ebook-contents-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
.ebook-contents-panel { border:1px solid var(--line-strong); border-radius:var(--r-card); overflow:hidden; background:#fff; }
.ebook-contents-title { padding:22px 24px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:20px; }
.ebook-contents-title strong { font-size:15px; }
.ebook-contents-title span { font:400 9px/1 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.ebook-chapter-list { list-style:none; }
.ebook-chapter-list li { display:grid; grid-template-columns:42px 1fr; gap:12px; padding:15px 24px; border-bottom:1px solid var(--line); align-items:start; }
.ebook-chapter-list li:last-child { border-bottom:0; }
.ebook-chapter-num { font:500 10px/1.5 'DM Mono',monospace; color:var(--muted-light); }
.ebook-chapter-name { font-size:13.5px; font-weight:600; line-height:1.45; color:var(--ink); }
.ebook-toolkit { background:var(--pistachio-soft); border-color:var(--pistachio-line); }
.ebook-toolkit .ebook-contents-title { border-color:var(--pistachio-line); }
.ebook-toolkit .ebook-chapter-list li { border-color:rgba(75,100,32,.12); }
.ebook-toolkit .ebook-chapter-num { color:var(--pistachio-ink); }

.ebook-audience { background:var(--ink-deep); color:#fff; }
.ebook-audience .ebook-section-kicker { color:#8ab4f8; }
.ebook-audience .ebook-section-title { color:#fff; }
.ebook-audience .ebook-section-lead { color:rgba(255,255,255,.66); }
.ebook-audience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.1); border-radius:var(--r-card); overflow:hidden; }
.ebook-audience-card { background:var(--ink-deep); padding:30px 26px; min-height:210px; }
.ebook-audience-card svg { width:26px; height:26px; color:#8ab4f8; margin-bottom:44px; }
.ebook-audience-card h3 { font-size:18px; letter-spacing:-.025em; margin-bottom:9px; }
.ebook-audience-card p { font-size:13px; line-height:1.62; color:rgba(255,255,255,.56); }

.ebook-license-wrap { display:grid; grid-template-columns:.9fr 1.1fr; gap:var(--gap); }
.ebook-license-visual { background:var(--pistachio-soft); border:1px solid var(--pistachio-line); border-radius:var(--r-card); padding:clamp(28px,4vw,58px); min-height:360px; display:flex; flex-direction:column; justify-content:space-between; }
.ebook-license-stamp { width:150px; height:150px; border-radius:50%; border:1px solid var(--pistachio-ink); color:var(--pistachio-ink); display:grid; place-items:center; text-align:center; font:500 10px/1.5 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.08em; transform:rotate(-8deg); }
.ebook-license-sample { font:400 11px/1.6 'DM Mono',monospace; color:var(--pistachio-ink); }
.ebook-license-copy { padding:clamp(20px,3vw,38px) clamp(4px,2vw,24px); display:flex; flex-direction:column; justify-content:center; }
.ebook-license-copy h2 { font-size:clamp(32px,3vw,48px); line-height:1.05; letter-spacing:-.04em; margin:12px 0 18px; }
.ebook-license-copy p { font-size:16px; color:var(--graphite); line-height:1.72; max-width:58ch; }
.ebook-license-points { margin-top:24px; display:grid; gap:12px; }
.ebook-license-point { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--graphite); }
.ebook-license-point span:first-child { color:var(--pistachio-ink); font-weight:800; }

.ebook-author { background:var(--surface-soft); }
.ebook-author-card { display:grid; grid-template-columns:230px 1fr; gap:clamp(34px,5vw,74px); align-items:center; padding:clamp(30px,4vw,58px); border:1px solid var(--line-strong); border-radius:var(--r-card); background:#fff; }
.ebook-author-photo { width:230px; aspect-ratio:1; border-radius:18px; overflow:hidden; background:var(--surface-soft); }
.ebook-author-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.ebook-author-copy h2 { font-size:clamp(32px,3vw,46px); letter-spacing:-.04em; line-height:1.05; margin:10px 0 16px; }
.ebook-author-copy p { color:var(--graphite); font-size:15px; line-height:1.72; max-width:70ch; }
.ebook-author-link { margin-top:20px; display:inline-flex; align-items:center; gap:7px; color:var(--accent); text-decoration:none; font-weight:700; font-size:13px; }
.ebook-author-link:hover { text-decoration:underline; }

.ebook-buy-section { padding:clamp(68px,8vw,110px) var(--pad); }
.ebook-buy-panel { max-width:var(--shell); margin:0 auto; border-radius:24px; padding:clamp(34px,5vw,70px); background:var(--accent); color:#fff; display:grid; grid-template-columns:1.15fr .85fr; gap:var(--gap-lg); align-items:center; }
.ebook-buy-panel .ebook-section-kicker { color:rgba(255,255,255,.68); }
.ebook-buy-panel h2 { font-size:clamp(36px,4vw,60px); line-height:1; letter-spacing:-.045em; margin:12px 0 16px; max-width:14ch; }
.ebook-buy-panel p { color:rgba(255,255,255,.78); max-width:56ch; font-size:15px; line-height:1.7; }
.ebook-editions { display:grid; gap:12px; }
.ebook-edition-card { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:18px 19px; background:#fff; color:var(--ink); border-radius:14px; text-decoration:none; border:1px solid rgba(255,255,255,.35); transition:transform .18s ease; }
.ebook-edition-card:hover { transform:translateY(-2px); }
.ebook-edition-card strong { font-size:14px; display:block; }
.ebook-edition-card small { font:400 10px/1.5 'DM Mono',monospace; color:var(--muted); }
.ebook-edition-price { font-size:20px; font-weight:800; white-space:nowrap; }

.ebook-toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); opacity:0; pointer-events:none; z-index:3000; background:var(--ink-deep); color:#fff; border-radius:100px; padding:12px 18px; box-shadow:var(--sh-md); font-size:12px; transition:.2s ease; }
.ebook-toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width:1024px) {
  .ebook-hero-inner { grid-template-columns:.8fr 1.2fr; gap:48px; }
  .ebook-cover-stage { min-height:520px; }
  .ebook-cover-card { width:min(315px,88%); }
  .ebook-proofbar-inner { grid-template-columns:1fr 1fr; }
  .ebook-proofitem:nth-child(2) { border-right:0; }
  .ebook-proofitem:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.09); }
  .ebook-shift-grid { grid-template-columns:1fr 1fr; }
  .ebook-audience-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:820px) {
  .ebook-page nav { height:60px; }
  .ebook-page .nav-name-block,.ebook-page .nav-contact,.ebook-page .nav-links { display:none; }
  .ebook-page .brand-wordmark-nav { display:inline-flex; }
  .ebook-page .nav-right { margin-left:auto; }
  .ebook-hero { padding-top:98px; }
  .ebook-hero-inner { grid-template-columns:1fr; gap:34px; }
  .ebook-cover-stage { min-height:auto; order:2; padding:18px 0 10px; }
  .ebook-cover-card { width:min(300px,74vw); }
  .ebook-hero-copy { order:1; }
  .ebook-title { max-width:10.5ch; font-size:clamp(45px,12.5vw,64px); }
  .ebook-deck { font-size:17px; }
  .ebook-section-head { grid-template-columns:1fr; gap:18px; align-items:start; }
  .ebook-section-title { max-width:none; }
  .ebook-contents-grid,.ebook-license-wrap,.ebook-buy-panel { grid-template-columns:1fr; }
  .ebook-author-card { grid-template-columns:150px 1fr; }
  .ebook-author-photo { width:150px; }
}
@media (max-width:560px) {
  .ebook-page nav { padding-left:20px; padding-right:20px; }
  .ebook-lang-toggle button { padding:7px 8px; }
  .ebook-hero,.ebook-section,.ebook-buy-section { padding-left:20px; padding-right:20px; }
  .ebook-hero-actions { display:grid; grid-template-columns:1fr; }
  .ebook-buy-btn { width:100%; }
  .ebook-proofbar { padding:0 20px; }
  .ebook-proofbar-inner { grid-template-columns:1fr 1fr; }
  .ebook-proofitem { padding:18px 12px; }
  .ebook-proofitem:first-child { padding-left:12px; }
  .ebook-proofvalue { font-size:14px; }
  .ebook-shift-grid,.ebook-audience-grid { grid-template-columns:1fr; }
  .ebook-audience-card { min-height:180px; }
  .ebook-author-card { grid-template-columns:1fr; }
  .ebook-author-photo { width:132px; }
  .ebook-buy-panel { padding:32px 22px; border-radius:18px; }
}


/* ══ MOBILE DENSITY + QUICK PURCHASE ══ */
.ebook-contents-toggle,
.ebook-mobile-buybar { display:none; }

@media (max-width:560px) {
  /* Reduce vertical travel across the page */
  .ebook-section { padding-top:48px; padding-bottom:48px; }
  .ebook-buy-section { padding-top:48px; padding-bottom:82px; }
  .ebook-hero { padding-top:78px; padding-bottom:34px; }
  .ebook-hero-inner { gap:24px; }
  .ebook-kicker { margin-bottom:10px; }
  .ebook-title { font-size:clamp(40px,11vw,52px); line-height:.98; max-width:11ch; }
  .ebook-deck { font-size:15.5px; line-height:1.58; margin-top:16px; }
  .ebook-meta-row { gap:7px; margin-top:18px; }
  .ebook-meta-pill { padding:7px 9px; font-size:9px; }
  .ebook-price-line { margin-top:20px; }
  .ebook-price { font-size:30px; }
  .ebook-price-note { font-size:11px; }
  .ebook-hero-actions { gap:9px; margin-top:18px; }
  .ebook-buy-btn { min-height:48px; padding:13px 16px; font-size:13px; }
  .ebook-trust-note { margin-top:14px; font-size:11px; line-height:1.5; }
  .ebook-cover-stage { padding:8px 0 0; }
  .ebook-cover-card { width:min(208px,58vw); }

  /* Proof bar: still scannable, but much shorter */
  .ebook-proofbar { padding:0 16px; }
  .ebook-proofbar-inner { min-height:auto; }
  .ebook-proofitem { min-height:64px; padding:12px 10px; }
  .ebook-proofitem:first-child { padding-left:10px; }
  .ebook-proofvalue { font-size:13px; }
  .ebook-prooflabel { font-size:8px; margin-top:2px; }

  .ebook-section-head { gap:12px; margin-bottom:26px; }
  .ebook-section-title { font-size:34px; line-height:1.02; margin-top:8px; }
  .ebook-section-lead { font-size:14px; line-height:1.58; }

  /* Three "shift" cards become compact rows instead of large cards */
  .ebook-shift-grid { gap:10px; }
  .ebook-shift-card {
    min-height:0;
    padding:17px 18px;
    display:grid;
    grid-template-columns:30px 1fr;
    column-gap:10px;
    row-gap:5px;
    align-items:start;
    border-radius:16px;
  }
  .ebook-card-index { grid-row:1 / span 2; margin:4px 0 0; }
  .ebook-shift-card h3 { margin:0; font-size:19px; }
  .ebook-shift-card p { margin:0; font-size:13px; line-height:1.5; }

  /* Contents: show a useful preview, expand only on demand */
  .ebook-contents-grid { gap:12px; }
  .ebook-contents-panel { border-radius:16px; }
  .ebook-contents-title { padding:16px 17px; }
  .ebook-chapter-list li { grid-template-columns:34px 1fr; gap:8px; padding:11px 17px; }
  .ebook-chapter-name { font-size:12.5px; line-height:1.38; }
  .ebook-contents-panel:not(.is-expanded) .ebook-chapter-list li:nth-child(n+6) { display:none; }
  .ebook-toolkit:not(.is-expanded) .ebook-chapter-list li:nth-child(n+5) { display:none; }
  .ebook-contents-toggle {
    width:100%;
    display:block;
    appearance:none;
    border:0;
    border-top:1px solid var(--line);
    background:#fff;
    color:var(--accent);
    padding:13px 16px;
    text-align:left;
    font:700 12px/1.3 Inter,sans-serif;
    cursor:pointer;
  }
  .ebook-toolkit .ebook-contents-toggle {
    background:var(--pistachio-soft);
    border-color:rgba(75,100,32,.12);
    color:var(--pistachio-ink);
  }

  /* Audience: 2x2 compact cards instead of four tall stacked cards */
  .ebook-audience-grid { grid-template-columns:1fr 1fr; gap:1px; }
  .ebook-audience-card { min-height:0; padding:18px 16px; }
  .ebook-audience-card svg { width:21px; height:21px; margin-bottom:18px; }
  .ebook-audience-card h3 { font-size:15px; margin-bottom:6px; }
  .ebook-audience-card p { font-size:11.5px; line-height:1.48; }

  /* License: remove decorative height on mobile, preserve the message */
  .ebook-license-wrap { gap:14px; }
  .ebook-license-visual {
    min-height:0;
    padding:18px;
    flex-direction:row;
    align-items:center;
    gap:16px;
    border-radius:16px;
  }
  .ebook-license-stamp { width:76px; height:76px; flex:0 0 76px; font-size:7.5px; }
  .ebook-license-sample { font-size:9px; overflow-wrap:anywhere; }
  .ebook-license-copy { padding:12px 2px 0; }
  .ebook-license-copy h2 { font-size:32px; margin:8px 0 12px; }
  .ebook-license-copy p { font-size:14px; line-height:1.58; }
  .ebook-license-points { margin-top:17px; gap:9px; }

  /* Author: compact horizontal identity block */
  .ebook-author-card {
    grid-template-columns:82px 1fr;
    gap:17px;
    padding:20px;
    border-radius:16px;
    align-items:start;
  }
  .ebook-author-photo { width:82px; border-radius:12px; }
  .ebook-author-copy h2 { font-size:27px; margin:6px 0 8px; }
  .ebook-author-copy p { font-size:12.5px; line-height:1.52; }
  .ebook-author-link { margin-top:12px; font-size:11px; }

  /* Final purchase panel */
  .ebook-buy-panel { padding:25px 20px; gap:22px; }
  .ebook-buy-panel h2 { font-size:35px; margin:9px 0 12px; }
  .ebook-buy-panel p { font-size:13px; line-height:1.55; }
  .ebook-edition-card { padding:14px 15px; border-radius:12px; }
  .ebook-edition-price { font-size:16px; }

  /* Persistent, slim conversion action so buyers do not need to scroll back */
  .ebook-mobile-buybar {
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:2500;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 10px 10px 14px;
    background:rgba(15,23,42,.96);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;
    box-shadow:0 16px 40px rgba(15,23,42,.25);
    backdrop-filter:blur(12px);
  }
  .ebook-mobile-buybar-copy { min-width:0; display:flex; flex-direction:column; }
  .ebook-mobile-buybar-copy strong { font-size:12px; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ebook-mobile-buybar-copy span { margin-top:2px; font-size:9px; color:rgba(255,255,255,.58); }
  .ebook-mobile-buybar-btn {
    flex:0 0 auto;
    padding:11px 15px;
    border-radius:11px;
    background:var(--accent);
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:750;
  }

  footer { padding-bottom:84px; }
}

/* Product-page brand lockup. Keep the domain readable without competing with checkout. */
.ebook-page .brand-wordmark-nav .brand-script { font-size: 26px; }
.ebook-page .brand-wordmark-nav .brand-name { font-size: 17px; }
.ebook-page .brand-wordmark-nav .brand-tld { font-size: 23px; }
@media (max-width:820px) {
  .ebook-page .brand-wordmark-nav { display:inline-flex; }
  .ebook-page .brand-wordmark-nav .brand-script { font-size:23px; }
  .ebook-page .brand-wordmark-nav .brand-name { font-size:15px; }
  .ebook-page .brand-wordmark-nav .brand-tld { font-size:20px; }
}
@media (max-width:390px) {
  .ebook-page .brand-wordmark-nav .brand-script { font-size:21px; }
  .ebook-page .brand-wordmark-nav .brand-name { font-size:14px; }
  .ebook-page .brand-wordmark-nav .brand-tld { font-size:18px; }
}

/* Compact product layout: match the density of the main landing. */
.ebook-page .ebook-section { padding-top:40px; padding-bottom:40px; }
.ebook-page .ebook-section-head { margin-bottom:24px; gap:28px; }
.ebook-page .ebook-section-title { font-size:clamp(28px,2.7vw,40px); line-height:1.12; max-width:18ch; }
.ebook-page .ebook-section-lead { font-size:15px; line-height:1.6; }
.ebook-page .ebook-shift-grid, .ebook-page .ebook-contents-grid, .ebook-page .ebook-license-wrap { gap:16px; }
.ebook-page .ebook-shift-card { min-height:0; padding:22px; border-radius:16px; }
.ebook-page .ebook-card-index { margin-bottom:0; }
.ebook-page .ebook-shift-card h3 { font-size:21px; margin:20px 0 9px; }
.ebook-page .ebook-shift-card p { font-size:13px; line-height:1.6; }
.ebook-page .ebook-contents-title { padding:16px 20px; }
.ebook-page .ebook-chapter-list li { padding:11px 20px; gap:10px; grid-template-columns:32px 1fr; }
.ebook-page .ebook-audience-card { min-height:0; padding:22px; }
.ebook-page .ebook-audience-card svg { width:23px; height:23px; margin-bottom:20px; }
.ebook-page .ebook-audience-card h3 { font-size:17px; }
.ebook-page .ebook-license-visual { min-height:0; padding:26px; gap:24px; }
.ebook-page .ebook-license-stamp { width:108px; height:108px; }
.ebook-page .ebook-license-copy { padding:12px 8px; }
.ebook-page .ebook-license-copy h2 { font-size:clamp(28px,2.5vw,36px); }
.ebook-page .ebook-license-copy p { font-size:14px; line-height:1.6; }
.ebook-page .ebook-license-points { margin-top:18px; gap:9px; }
.ebook-page .ebook-author-card { grid-template-columns:150px 1fr; padding:26px; gap:28px; border-radius:16px; }
.ebook-page .ebook-author-photo { width:150px; }
.ebook-page .ebook-author-copy h2 { font-size:clamp(28px,2.5vw,36px); margin:8px 0 12px; }
.ebook-page .ebook-author-copy p { font-size:14px; line-height:1.6; }
.ebook-page .ebook-author-link { margin-top:14px; }
.ebook-page .ebook-buy-section { padding-top:40px; padding-bottom:48px; }
.ebook-page .ebook-buy-panel { padding:32px; gap:28px; border-radius:20px; }
.ebook-page .ebook-buy-panel h2 { font-size:clamp(30px,3vw,44px); line-height:1.08; }
.ebook-page .ebook-buy-panel p { font-size:14px; line-height:1.6; }
@media(min-width:821px) {
  .ebook-page .ebook-hero { padding-top:110px; padding-bottom:48px; }
  .ebook-page .ebook-hero-inner { gap:clamp(32px,4vw,64px); grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr); }
  .ebook-page .ebook-cover-stage { min-height:0; }
  .ebook-page .ebook-cover-card { width:min(270px,78%); }
  .ebook-page .ebook-cover-stage::before { width:76%; max-width:350px; }
  .ebook-page .ebook-title { font-size:clamp(42px,4.2vw,60px); margin:12px 0 18px; }
  .ebook-page .ebook-deck { font-size:17px; margin-bottom:18px; }
  .ebook-page .ebook-meta-row { margin-bottom:20px; }
  .ebook-page .ebook-price-line { margin-bottom:18px; }
  .ebook-page .ebook-proofbar-inner { min-height:72px; }
  .ebook-page .ebook-proofitem { padding:16px 22px; }
  .ebook-page .ebook-proofitem:first-child { padding-left:0; }
}
@media(min-width:561px) and (max-width:1024px) {
  .ebook-page .ebook-shift-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ebook-page .ebook-shift-card { padding:18px; }
}
@media(max-width:560px) {
  .ebook-page .ebook-section { padding-top:34px; padding-bottom:34px; }
  .ebook-page .ebook-section-head { gap:12px; margin-bottom:20px; }
  .ebook-page .ebook-section-title { font-size:29px; max-width:none; }
  .ebook-page .ebook-section-lead { font-size:14px; }
  .ebook-page .ebook-shift-grid { gap:10px; }
  .ebook-page .ebook-shift-card { padding:15px 16px; }
  .ebook-page .ebook-card-index { margin:4px 0 0; }
  .ebook-page .ebook-shift-card h3 { margin:0; font-size:18px; }
  .ebook-page .ebook-contents-grid { gap:12px; }
  .ebook-page .ebook-contents-title { padding:14px 16px; }
  .ebook-page .ebook-chapter-list li { padding:10px 16px; }
  .ebook-page .ebook-audience-card { padding:16px 14px; }
  .ebook-page .ebook-audience-card svg { width:21px; height:21px; margin-bottom:14px; }
  .ebook-page .ebook-audience-card h3 { font-size:15px; }
  .ebook-page .ebook-license-visual { padding:16px; gap:14px; }
  .ebook-page .ebook-license-stamp { width:76px; height:76px; }
  .ebook-page .ebook-license-copy { padding:8px 2px 0; }
  .ebook-page .ebook-author-card { grid-template-columns:76px minmax(0,1fr); padding:18px; gap:14px; }
  .ebook-page .ebook-author-photo { width:76px; }
  .ebook-page .ebook-author-copy h2 { font-size:25px; }
  .ebook-page .ebook-author-copy p { font-size:12.5px; }
  .ebook-page .ebook-buy-section { padding-top:34px; padding-bottom:82px; }
  .ebook-page .ebook-buy-panel { padding:24px 20px; gap:20px; }
  .ebook-page .ebook-buy-panel h2 { font-size:32px; }
  .ebook-page .ebook-buy-panel p { font-size:13px; }
}
/* LIQUID FUTURES / EBOOK — scoped visual layer. Commerce and translation logic unchanged. */
body.ebook-page.ebook-liquid {
  --lf-ink:#16252b;--lf-deep:#14232b;--lf-teal:#294c43;--lf-sage:#779b8d;
  --lf-pearl:#edf1eb;--lf-paper:#f5f5ed;--lf-mint:#d6e6dd;--lf-border:#c6d1c7;
  --ink:#16252b;--ink-deep:#14232b;--graphite:#526a60;--muted:#62796d;
  --accent:#294c43;--accent-dark:#172e29;--pistachio-soft:#e0eae2;
  --pistachio-ink:#375b4e;--pistachio-line:#c0d2c6;
  --surface-soft:#e5ece6;--line:#d0dcd3;--line-strong:#c2d1c5;
  background:var(--lf-pearl);color:var(--lf-ink);font-family:'DM Sans',sans-serif;
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
.ebook-liquid h1,.ebook-liquid h2,.ebook-liquid h3,.ebook-liquid .ebook-price,
.ebook-liquid .ebook-proofvalue { font-family:'Manrope',sans-serif; }
.ebook-liquid :is(a,button):focus-visible {outline:2px solid #507967;outline-offset:4px}
.ebook-liquid * {scroll-margin-top:110px}
.ebook-liquid nav {
  top:15px;left:24px;right:24px;width:calc(100% - 48px);max-width:1440px;
  height:66px;margin:auto;padding:8px 15px 8px 20px;
  background:rgba(239,247,240,.82);border:1px solid rgba(255,255,255,.76);
  border-radius:100px;box-shadow:0 10px 38px rgba(26,49,41,.1);
  backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3);
  display:flex;align-items:center;gap:24px;z-index:100;
}
.ebook-liquid nav .nav-identity {flex:0 1 280px;min-width:0;display:flex;align-items:center}
.ebook-liquid nav .nav-identity img.lf-ebook-brand {width:100%;max-width:260px;max-height:46px;object-fit:contain;object-position:left center}
.ebook-liquid nav .nav-links {gap:28px;margin-left:auto;display:flex;align-items:center}
.ebook-liquid nav .nav-links a {font:600 12px 'DM Sans',sans-serif;color:#355449;text-decoration:none;opacity:.95}
.ebook-liquid nav .nav-links a:hover {color:#142d26;opacity:.65}
.ebook-liquid nav .nav-right {display:flex;gap:16px;align-items:center}
.ebook-liquid nav .nav-contact-item {font-size:12px;font-weight:600;color:#355449}
.ebook-liquid .ebook-lang-toggle {padding:3px;border:1px solid #b7c7ba;background:rgba(218,230,221,.54);border-radius:24px;flex-shrink:0}
.ebook-liquid .ebook-lang-toggle button {font-family:'DM Sans',sans-serif;color:#4f6d61;font-size:11px;padding:11px 12px}
.ebook-liquid .ebook-lang-toggle button.active {color:#f6faf4;background:#14292c;box-shadow:none}
/* Editorial, light/pearl hero + subtle liquid fields */
.ebook-liquid .ebook-hero {
  position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 74% 38%,#f8f8e9 0%,#e8efe7 48%,#d9e7df 100%);
  padding:145px 5vw 85px;border-bottom:0;
}
.ebook-liquid .ebook-hero::before {
  content:"";position:absolute;width:680px;height:680px;right:-220px;top:0;z-index:-1;pointer-events:none;
  border-radius:48% 52% 60% 40%;background:radial-gradient(ellipse at 35% 30%,rgba(255,255,255,.9),rgba(147,189,177,.34) 52%,rgba(96,148,144,.08) 75%,transparent);
  filter:blur(5px);animation:lfAmbient 10s ease-in-out infinite alternate;
}
@keyframes lfAmbient {from{transform:translate(0,0) rotate(-9deg)}to{transform:translate(-45px,28px) rotate(7deg)}}
.ebook-liquid .ebook-hero-inner {max-width:1240px;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:clamp(34px,6vw,100px);align-items:center}
.ebook-liquid .ebook-cover-stage {min-height:480px;filter:drop-shadow(2px 20px 25px #42605225)}
.ebook-liquid .ebook-cover-stage::before {width:92%;max-width:460px;background:radial-gradient(circle at 40% 35%,#edf9e8 0%,#c0d8cc 47%,#8faeac45 72%,transparent 74%);filter:blur(3px)}
.ebook-liquid .ebook-cover-card {width:min(315px,80%);box-shadow:0 38px 85px rgba(27,57,47,.18),0 8px 28px rgba(27,57,47,.1);transform:rotate(-4deg);transition:transform .65s cubic-bezier(.2,.8,.2,1),box-shadow .6s;border-radius:4px}
.ebook-liquid .ebook-cover-stage:hover .ebook-cover-card {transform:rotate(-1deg) translateY(-10px);box-shadow:0 48px 95px rgba(27,57,47,.2)}
.ebook-liquid .ebook-kicker,.ebook-liquid .ebook-section-kicker {color:#447265;font:700 10px 'DM Sans',sans-serif;letter-spacing:.18em}
.ebook-liquid .ebook-title {font-size:clamp(43px,4.7vw,69px);line-height:1.065;letter-spacing:-.075em;font-weight:600;max-width:15ch;color:#172c2e}
.ebook-liquid .ebook-deck {font:400 clamp(16px,1.45vw,19px)/1.65 'DM Sans',sans-serif;color:#526b61;max-width:570px}
.ebook-liquid .ebook-meta-pill {background:#ffffff74;border-color:#baccc2;color:#4a675d;border-radius:18px}
.ebook-liquid .ebook-price {font-size:30px;letter-spacing:-.05em;font-weight:700;color:#1b3932}
.ebook-liquid .ebook-price-note {color:#607568}
.ebook-liquid .ebook-buy-btn {font:700 12px 'DM Sans',sans-serif;min-height:51px;border-radius:28px;padding:14px 22px}
.ebook-liquid .ebook-buy-primary {background:#172d2c;border-color:#172d2c;color:#fff}
.ebook-liquid .ebook-buy-primary:hover {background:#31554b;border-color:#31554b}
.ebook-liquid .ebook-buy-secondary {background:rgba(255,255,255,.47);color:#203e36;border-color:#aebeb4}
.ebook-liquid .ebook-buy-secondary:hover {background:#fff;color:#172d2c;border-color:#758e80}
.ebook-liquid .ebook-trust-note {color:#627a6d}
.ebook-liquid .ebook-trust-note svg {color:#3d6658}
/* Narrow dark score strip */
.ebook-liquid .ebook-proofbar {background:#14272c;color:#f1f6ed}
.ebook-liquid .ebook-proofbar-inner {max-width:1240px}
.ebook-liquid .ebook-proofvalue {font-size:21px;font-weight:600;letter-spacing:-.05em}
.ebook-liquid .ebook-prooflabel {font-family:'DM Sans',sans-serif;color:#c0d0c4;font-size:10px;letter-spacing:.12em}
/* Editorial content — fewer generic cards, cleaner rhythm */
.ebook-liquid .ebook-section {padding:80px 5vw}
.ebook-liquid .ebook-section-inner {max-width:1240px}
.ebook-liquid .ebook-section-head {margin-bottom:38px;gap:clamp(26px,4vw,64px)}
.ebook-liquid .ebook-section-title {font-size:clamp(34px,3.8vw,54px);font-weight:600;letter-spacing:-.07em;line-height:1.12;max-width:18ch;color:inherit}
.ebook-liquid .ebook-section-lead {color:#5b7066;font-size:15px;line-height:1.8}
.ebook-liquid .ebook-shift {background:#e4ece5}
.ebook-liquid .ebook-shift-grid {gap:0;border-top:1px solid #b3c7b8;border-bottom:1px solid #b3c7b8}
.ebook-liquid .ebook-shift-card {padding:30px 30px 27px 0;min-height:216px;background:transparent;border:0;border-right:1px solid #bacdbd;border-radius:0!important}
.ebook-liquid .ebook-shift-card:not(:first-child){padding-left:30px}
.ebook-liquid .ebook-shift-card:last-child{border-right:0}
.ebook-liquid .ebook-card-index {color:#41715f}
.ebook-liquid .ebook-shift-card h3 {margin:20px 0 10px;font:600 clamp(20px,2vw,27px) 'Manrope',sans-serif;letter-spacing:-.05em}
.ebook-liquid .ebook-shift-card p{color:#536c60;font-size:13px}
.ebook-liquid #inside {background:#f3f3ed}
.ebook-liquid .ebook-contents-grid {gap:18px}
.ebook-liquid .ebook-contents-panel {background:#fffef9;border:1px solid #d3ddd2;border-radius:8px;box-shadow:0 15px 45px #25403509}
.ebook-liquid .ebook-toolkit {background:#e7eee6;border-color:#c7d7c7}
.ebook-liquid .ebook-chapter-list li {border-color:#dbe5d9}
.ebook-liquid .ebook-chapter-name {color:#263d35}
.ebook-liquid .ebook-chapter-num{color:#507263}
.ebook-liquid .ebook-contents-toggle{color:#33584b}
.ebook-liquid .ebook-audience {background:#14232b;color:#f1f5ed;position:relative;overflow:hidden}
.ebook-liquid .ebook-audience::after{content:"";position:absolute;right:-100px;bottom:-260px;width:660px;height:660px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(97,158,145,.18),rgba(97,158,145,0) 70%)}
.ebook-liquid .ebook-audience .ebook-section-title{color:#f4f6ef}
.ebook-liquid .ebook-audience .ebook-section-lead{color:#baccbf}
.ebook-liquid .ebook-audience .ebook-section-kicker{color:#b2d1c2}
.ebook-liquid .ebook-audience-grid {gap:0;background:none;border:1px solid #476258;border-radius:8px}
.ebook-liquid .ebook-audience-card {background:transparent;border-right:1px solid #476258;position:relative;z-index:1}
.ebook-liquid .ebook-audience-card:last-child{border-right:0}
.ebook-liquid .ebook-audience-card svg{color:#b7dfc8}
.ebook-liquid .ebook-audience-card p{color:#b9cfc4}
.ebook-liquid .ebook-license-wrap{gap:38px}
.ebook-liquid .ebook-license-visual {background:linear-gradient(130deg,#dbe7dd,#edf2e9);border-color:#c7d7ca;border-radius:10px}
.ebook-liquid .ebook-license-stamp{color:#315f4c;border-color:#618979}
.ebook-liquid .ebook-license-sample{color:#365c4d}
.ebook-liquid .ebook-license-copy h2{color:#172f2a}
.ebook-liquid .ebook-license-copy p,.ebook-liquid .ebook-license-point{color:#526c5d}
.ebook-liquid .ebook-author {background:#e5ece5}
.ebook-liquid .ebook-author-card {background:#f5f6f0;border:1px solid #cad9ce;border-radius:10px;box-shadow:none}
.ebook-liquid .ebook-author-photo{border-radius:140px 140px 6px 6px;background:#cbded0}
.ebook-liquid .ebook-author-copy h2{color:#20362d}
.ebook-liquid .ebook-author-copy p{color:#536b5e}
/* Closing purchase section = dark, high-contrast Liquid Futures footer */
.ebook-liquid .ebook-buy-section {background:linear-gradient(135deg,#15292e,#223f3c);padding:82px 5vw;color:#f3f6f0}
.ebook-liquid .ebook-buy-panel {max-width:1240px;margin:auto;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;gap:clamp(34px,5vw,75px)}
.ebook-liquid .ebook-buy-panel h2{color:#f3f7ef;font-weight:600;letter-spacing:-.065em}
.ebook-liquid .ebook-buy-panel p{color:#c3d5c9}
.ebook-liquid .ebook-buy-panel .ebook-section-kicker{color:#b8d6c0}
.ebook-liquid .ebook-edition-card {border:1px solid #75988c;background:rgba(240,250,241,.07);color:#f4f8f1;border-radius:9px;transition:transform .25s,background .25s}
.ebook-liquid .ebook-edition-card:hover{background:rgba(240,250,241,.15);transform:translateY(-3px)}
.ebook-liquid .ebook-edition-card strong,.ebook-liquid .ebook-edition-card .ebook-edition-price{color:#f8fbf4}
.ebook-liquid .ebook-edition-card small{color:#c4d4c9}
.ebook-liquid footer {background:#111f26;color:#edf6ee;border:0}
.ebook-liquid footer .footer-name {color:#f0f5eb}
.ebook-liquid footer .footer-role,.ebook-liquid footer .footer-link{color:#c4d7c8}
.ebook-liquid footer .footer-link:hover{color:#fff}
.ebook-liquid .ebook-mobile-buybar {z-index:95}
.ebook-liquid .ebook-mobile-buybar-btn{background:#cde0cb;color:#172e29}
.ebook-liquid .ebook-toast {background:#162d2c;color:#fff}
@media (max-width:1050px){
  .ebook-liquid nav .nav-links{gap:17px}
  .ebook-liquid nav .nav-identity{flex-basis:230px}
  .ebook-liquid nav .nav-identity img.lf-ebook-brand{max-width:225px}
  .ebook-liquid nav .nav-contact{display:none}
}
@media (max-width:820px){
  .ebook-liquid nav{top:12px;left:12px;right:12px;width:calc(100% - 24px);height:62px;padding:8px 14px;border-radius:22px;gap:10px;justify-content:space-between}
  .ebook-liquid nav .nav-links{display:none}
  .ebook-liquid nav .nav-identity{flex:1;max-width:260px}
  .ebook-liquid .ebook-hero{padding:112px 24px 58px}
  .ebook-liquid .ebook-hero-inner{grid-template-columns:1fr;gap:25px}
  .ebook-liquid .ebook-hero-copy{order:0}
  .ebook-liquid .ebook-cover-stage{order:1;min-height:345px}
  .ebook-liquid .ebook-cover-card{width:min(225px,62%)}
  .ebook-liquid .ebook-title{font-size:clamp(39px,6.1vw,60px)}
  .ebook-liquid .ebook-shift-grid{grid-template-columns:1fr}
  .ebook-liquid .ebook-shift-card,.ebook-liquid .ebook-shift-card:not(:first-child){padding:19px 4px;border:0;border-bottom:1px solid #bdcec1}
  .ebook-liquid .ebook-shift-card:last-child{border-bottom:0}
  .ebook-liquid .ebook-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ebook-liquid .ebook-audience-card{border-bottom:1px solid #476258}
  .ebook-liquid .ebook-audience-card:nth-child(2){border-right:0}
  .ebook-liquid .ebook-audience-card:nth-child(n+3){border-bottom:0}
  .ebook-liquid .ebook-section{padding:56px 24px}
  .ebook-liquid .ebook-section-head{grid-template-columns:1fr;gap:10px}
  .ebook-liquid .ebook-license-wrap{gap:20px}
  .ebook-liquid .ebook-buy-section{padding:60px 24px}
}
@media(max-width:560px){
  .ebook-liquid nav {height:58px;padding:8px 12px}
  .ebook-liquid nav .nav-identity{flex:1;min-width:0;max-width:none}
  .ebook-liquid nav .nav-identity img.lf-ebook-brand{width:min(240px,100%);max-height:37px}
  .ebook-liquid .ebook-lang-toggle button{padding:10px 11px;font-size:11px}
  .ebook-liquid .ebook-hero{padding:100px 19px 40px}
  .ebook-liquid .ebook-hero::before{width:370px;height:370px;right:-185px;top:155px;opacity:.7}
  .ebook-liquid .ebook-hero-inner{gap:15px}
  .ebook-liquid .ebook-kicker{font-size:9px}
  .ebook-liquid .ebook-title{font-size:clamp(35px,9.8vw,48px);line-height:1.08;margin:13px 0 14px;max-width:18ch}
  .ebook-liquid .ebook-deck{font-size:14px;line-height:1.65;margin-bottom:16px}
  .ebook-liquid .ebook-meta-row{gap:7px;margin-bottom:16px}
  .ebook-liquid .ebook-meta-pill{font-size:9px;padding:6px 8px}
  .ebook-liquid .ebook-price-line{margin-bottom:15px}
  .ebook-liquid .ebook-price{font-size:27px}
  .ebook-liquid .ebook-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .ebook-liquid .ebook-buy-btn{width:100%;padding:13px 12px;min-height:46px}
  .ebook-liquid .ebook-cover-stage{min-height:275px}
  .ebook-liquid .ebook-cover-card{width:min(167px,51%)}
  .ebook-liquid .ebook-proofbar-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ebook-liquid .ebook-proofitem{padding:17px 12px!important}
  .ebook-liquid .ebook-proofvalue{font-size:18px}
  .ebook-liquid .ebook-section{padding:47px 19px}
  .ebook-liquid .ebook-section-title{font-size:clamp(29px,8vw,37px);max-width:none}
  .ebook-liquid .ebook-section-lead{font-size:14px}
  .ebook-liquid .ebook-contents-grid,.ebook-liquid .ebook-license-wrap{grid-template-columns:1fr}
  .ebook-liquid .ebook-contents-panel{border-radius:8px}
  .ebook-liquid .ebook-audience-grid{grid-template-columns:1fr 1fr}
  .ebook-liquid .ebook-audience-card{padding:17px 14px}
  .ebook-liquid .ebook-audience-card svg{margin-bottom:17px}
  .ebook-liquid .ebook-author-card{grid-template-columns:1fr;gap:18px;padding:21px}
  .ebook-liquid .ebook-author-photo{width:170px;margin:0 auto}
  .ebook-liquid .ebook-buy-section{padding:55px 19px 95px}
  .ebook-liquid .ebook-buy-panel{display:grid;grid-template-columns:1fr;gap:28px}
  .ebook-liquid .ebook-buy-panel h2{font-size:35px}
  .ebook-liquid .ebook-mobile-buybar{left:12px;right:12px;bottom:10px;width:auto;max-width:none;background:#152c2c;border:1px solid #729586}
  .ebook-liquid footer{padding-bottom:105px}
}
@media(max-width:365px){
  .ebook-liquid nav .nav-identity img.lf-ebook-brand{width:min(205px,100%)}
  .ebook-liquid .ebook-title{font-size:34px}
  .ebook-liquid .ebook-hero{padding-left:16px;padding-right:16px}
}
@media (prefers-reduced-motion:reduce){.ebook-liquid .ebook-hero::before{animation:none}.ebook-liquid .ebook-cover-card,.ebook-liquid .ebook-buy-btn{transition:none}}


/* Ebook premium card experience 2026-11: tactile editorial glass, no change to copy or checkout */
.ebook-liquid .ebook-audience-grid{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;background:none;border:0;border-radius:0;overflow:visible;
}
.ebook-liquid .ebook-audience-card{
  isolation:isolate;overflow:hidden;position:relative;
  min-width:0;min-height:212px;padding:25px 22px 23px;
  border:1px solid rgba(171,223,206,.25)!important;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(237,255,250,.09),rgba(147,209,210,.035) 53%,rgba(15,30,38,.12));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 15px 35px rgba(3,14,20,.1);
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  transition:transform .35s cubic-bezier(.2,.7,.25,1),border-color .3s,box-shadow .3s,background .4s;
}
.ebook-liquid .ebook-audience-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(circle at 13% 5%,rgba(187,253,222,.18),transparent 65%);
  opacity:.7;transition:opacity .4s;
}
.ebook-liquid .ebook-audience-card::after{
  content:"";position:absolute;left:-50%;top:-100%;width:130%;height:140%;pointer-events:none;
  background:linear-gradient(115deg,transparent 43%,rgba(247,255,255,.08) 50%,transparent 57%);
  transform:translateX(-65%) rotate(8deg);transition:transform .9s cubic-bezier(.2,.7,.25,1);
}
.ebook-liquid .ebook-audience-card:hover{
  transform:translateY(-5px);border-color:rgba(169,239,210,.62)!important;
  background:linear-gradient(145deg,rgba(236,255,246,.15),rgba(111,182,178,.075) 80%);
  box-shadow:0 18px 38px rgba(4,16,22,.22),0 0 0 1px rgba(167,236,204,.13),inset 0 1px 0 rgba(255,255,255,.2);
}
.ebook-liquid .ebook-audience-card:hover::before{opacity:1}
.ebook-liquid .ebook-audience-card:hover::after{transform:translateX(120%) rotate(8deg)}
.ebook-liquid .ebook-audience-card svg{
  position:relative;z-index:1;width:24px;height:24px;margin-bottom:27px;
  color:#b4e5d2;filter:drop-shadow(0 0 9px rgba(170,243,215,.16));
}
.ebook-liquid .ebook-audience-card h3{position:relative;z-index:1;font-size:17px;line-height:1.3;margin-bottom:10px}
.ebook-liquid .ebook-audience-card p{position:relative;z-index:1;color:#c0d5cc;font-size:12.5px;line-height:1.7}
.ebook-liquid .ebook-shift-grid{gap:13px;border:0}
.ebook-liquid .ebook-shift-card,.ebook-liquid .ebook-shift-card:not(:first-child){
  position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:205px;
  padding:25px 24px 23px;border:1px solid #c3d6c8;
  border-radius:17px!important;
  background:linear-gradient(140deg,rgba(255,255,255,.72),rgba(237,248,239,.44) 65%,rgba(225,237,230,.68));
  box-shadow:0 7px 22px rgba(40,81,65,.06),inset 0 1px 0 #fff;
  transition:transform .3s,border-color .3s,box-shadow .3s;
}
.ebook-liquid .ebook-shift-card:hover{
  transform:translateY(-4px);border-color:#8eaf9e;
  box-shadow:0 14px 32px rgba(40,81,65,.13),inset 0 1px 0 #fff;
}
.ebook-liquid .ebook-shift-card h3{margin:27px 0 10px}
.ebook-liquid .ebook-contents-panel{
  border-radius:17px;border-color:#cbd9cb;
  box-shadow:0 12px 36px rgba(30,64,48,.075);
  transition:border-color .25s,box-shadow .3s,transform .3s;
}
.ebook-liquid .ebook-contents-panel:hover{
  border-color:#aac8b2;box-shadow:0 18px 38px rgba(30,64,48,.115);
}
.ebook-liquid .ebook-chapter-list li{transition:background .2s}
.ebook-liquid .ebook-chapter-list li:hover{background:rgba(197,227,204,.19)}
.ebook-liquid .ebook-author-card{
  border-radius:20px;border-color:#c0d7c8;
  background:linear-gradient(130deg,#fbfcf7 0%,#eef5ed 100%);
  box-shadow:0 15px 35px rgba(30,73,50,.065);
}
.ebook-liquid .ebook-edition-card{
  position:relative;isolation:isolate;overflow:hidden;
  padding:20px 21px;border-radius:15px;
  background:linear-gradient(115deg,rgba(239,255,244,.13),rgba(218,245,232,.035));
  border-color:rgba(173,230,196,.49);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 24px rgba(0,0,0,.06);
  transition:transform .3s,background .3s,border-color .3s,box-shadow .3s;
}
.ebook-liquid .ebook-edition-card::after{
  content:"↗";display:grid;place-items:center;flex:none;
  width:27px;height:27px;border-radius:50%;
  color:#e2f7e8;border:1px solid rgba(191,239,206,.48);
  background:rgba(215,252,228,.12);font-size:14px;
  transition:transform .3s,background .3s,color .3s;
}
.ebook-liquid .ebook-edition-card:hover,.ebook-liquid .ebook-edition-card:focus-visible{
  background:linear-gradient(115deg,rgba(239,255,244,.20),rgba(218,245,232,.10));
  transform:translateY(-3px);border-color:#c1efcf;
  box-shadow:0 17px 30px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.2);
}
.ebook-liquid .ebook-edition-card:hover::after,.ebook-liquid .ebook-edition-card:focus-visible::after{
  transform:translate(2px,-2px);background:#d2f0d9;color:#213c33;
}
.ebook-liquid .ebook-edition-card:focus-visible,.ebook-liquid .ebook-contents-toggle:focus-visible,
.ebook-liquid .ebook-buy-btn:focus-visible{outline:3px solid #a8e0c0;outline-offset:3px}
.ebook-liquid .ebook-audience .ebook-section-head{margin-bottom:30px}
.ebook-liquid .ebook-buy-section{background:linear-gradient(130deg,#15292e,#213e3d)}
@media(max-width:1024px){
  .ebook-liquid .ebook-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ebook-liquid .ebook-shift-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .ebook-liquid .ebook-shift-grid{grid-template-columns:1fr;gap:10px}
  .ebook-liquid .ebook-shift-card,.ebook-liquid .ebook-shift-card:not(:first-child){
    min-height:0;padding:18px 19px 19px;border:1px solid #c3d6c8;border-radius:15px!important;
  }
  .ebook-liquid .ebook-shift-card h3{margin:12px 0 7px}
  .ebook-liquid .ebook-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ebook-liquid .ebook-audience-card{
    min-height:190px;padding:19px 17px 18px;border:1px solid rgba(171,223,206,.25)!important;
  }
  .ebook-liquid .ebook-audience-card svg{margin-bottom:19px}
}
@media(max-width:560px){
  .ebook-liquid .ebook-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .ebook-liquid .ebook-audience-card{
    min-height:0;padding:17px 13px 18px;border-radius:14px;
  }
  .ebook-liquid .ebook-audience-card h3{font-size:13px;line-height:1.35;margin-bottom:7px}
  .ebook-liquid .ebook-audience-card p{font-size:11px;line-height:1.55}
  .ebook-liquid .ebook-audience-card svg{width:21px;height:21px;margin-bottom:14px}
  .ebook-liquid .ebook-shift-card{box-shadow:0 5px 16px rgba(40,81,65,.055)}
  .ebook-liquid .ebook-edition-card{flex-wrap:wrap;gap:10px;padding:17px 16px}
  .ebook-liquid .ebook-edition-card::after{width:25px;height:25px}
  .ebook-liquid .ebook-edition-price{font-size:18px}
  .ebook-liquid .ebook-contents-panel{border-radius:14px}
  .ebook-liquid .ebook-author-card{border-radius:16px}
}
@media(hover:none){.ebook-liquid .ebook-audience-card:hover,.ebook-liquid .ebook-shift-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){
  .ebook-liquid .ebook-audience-card,.ebook-liquid .ebook-audience-card::before,
  .ebook-liquid .ebook-audience-card::after,.ebook-liquid .ebook-shift-card,
  .ebook-liquid .ebook-contents-panel,.ebook-liquid .ebook-chapter-list li,
  .ebook-liquid .ebook-edition-card,.ebook-liquid .ebook-edition-card::after{transition:none!important}
}

/* Ebook back-to-home: same in-header placement as AI Made Simple */
.ebook-liquid nav .ebook-back-home{
  position:static;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;max-width:none;white-space:nowrap;
  padding:7px 11px;border:1px solid #c6dbc9;border-radius:30px;
  background:#edf5ed;color:#3b6757;box-shadow:none;
  font-family:'DM Sans',sans-serif;font-size:10px;font-weight:700;
  text-decoration:none;transition:background .2s,color .2s,transform .2s;
}
.ebook-liquid nav .ebook-back-home:hover{background:#dceee2;color:#224b3b;transform:translateX(-2px)}
.ebook-liquid nav .ebook-back-home:focus-visible{outline:3px solid #89bb9e;outline-offset:3px}
@media(min-width:821px) and (max-width:1230px){
  .ebook-liquid nav .ebook-back-home{font-size:9px;padding:6px 8px}
  .ebook-liquid nav{gap:12px}
  .ebook-liquid nav .nav-links{gap:12px}
}
@media(max-width:1050px){
  .ebook-liquid nav .ebook-back-home{font-size:9px}
}
@media(max-width:820px){
  /* Second row INSIDE the nav, like the AI sublanding. */
  .ebook-liquid nav{
    height:99px;align-items:flex-start;flex-wrap:wrap;
    padding:10px 14px 9px;border-radius:22px;
  }
  .ebook-liquid nav .nav-identity{flex:1 1 auto;height:40px;min-width:0;max-width:calc(100% - 110px)}
  .ebook-liquid nav .nav-right{height:40px;flex:0 0 auto;margin-left:auto}
  .ebook-liquid nav .ebook-back-home{
    position:static;flex:0 0 100%;order:3;max-width:100%;
    align-self:flex-end;justify-content:flex-start;
    margin-top:0;padding:2px 0;background:none;border:0;border-radius:0;
    font-size:10px;line-height:1.3;box-shadow:none;
  }
  .ebook-liquid .ebook-hero{padding-top:147px}
}
@media(max-width:560px){
  .ebook-liquid nav{height:96px;padding:8px 12px 10px}
  .ebook-liquid nav .nav-identity{max-width:calc(100% - 105px);height:38px}
  .ebook-liquid nav .nav-right{height:38px}
  .ebook-liquid nav .ebook-back-home{font-size:10px;padding:2px 0}
  .ebook-liquid .ebook-hero{padding-top:139px}
}


/* Unified mobile sublanding header: ebook matches AI Made Simple */
@media(max-width:820px){
  /* Shared mobile UX: full-width sticky glass header, not a floating card. */
  .ebook-liquid nav{
    position:sticky;
    top:0;left:auto;right:auto;
    width:100%;max-width:none;
    height:auto;min-height:0;
    margin:0;
    padding:7px 24px 8px;
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    gap:1px 9px;align-items:center;justify-content:initial;
    border-radius:0;
    border:0;border-bottom:1px solid #dbe5e0;
    background:rgba(255,255,255,.86);
    box-shadow:none;
    backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
    z-index:100;
  }
  .ebook-liquid nav .nav-identity{
    grid-column:1;grid-row:1;
    width:min(100%,205px);max-width:205px;height:auto;
    min-width:0;flex:none;align-self:center;
  }
  .ebook-liquid nav .nav-identity img.lf-ebook-brand{
    display:block;width:100%;max-width:205px;max-height:41px;height:auto;
  }
  .ebook-liquid nav .nav-right{
    grid-column:2;grid-row:1;
    height:auto;min-width:0;
    justify-self:end;align-self:center;
    display:flex;align-items:center;
    margin:0;flex:none;
  }
  .ebook-liquid nav .ebook-back-home{
    grid-row:2;grid-column:1/-1;
    display:inline-flex;align-items:center;justify-content:flex-start;
    justify-self:start;align-self:center;
    max-width:100%;width:auto;flex:none;order:initial;
    padding:2px 0;margin:0;border:0;border-radius:0;
    background:transparent;color:#465d7a;box-shadow:none;
    font-size:9px;font-weight:700;line-height:1.35;white-space:normal;
  }
  .ebook-liquid nav .nav-links,.ebook-liquid nav .nav-contact{display:none}
  .ebook-liquid .ebook-lang-toggle{
    padding:2px;border-color:#d2dfd6;background:#edf3f0;
    border-radius:40px;
  }
  .ebook-liquid .ebook-lang-toggle button{padding:6px 9px;font-size:10px}
  /* The header is in normal layout flow now, so remove the old fixed-nav offset. */
  .ebook-liquid .ebook-hero{padding-top:45px}
}
@media(max-width:560px){
  .ebook-liquid nav{padding:6px 19px 7px}
  .ebook-liquid nav .nav-identity{max-width:min(43vw,176px)}
  .ebook-liquid nav .nav-identity img.lf-ebook-brand{max-width:176px;max-height:36px}
  .ebook-liquid nav .ebook-back-home{font-size:9px;padding:2px 0}
  .ebook-liquid .ebook-hero{padding-top:35px}
}


/* Desktop vertical rhythm: ebook editorial spacing audit */
@media(min-width:1101px){
 .ebook-liquid .ebook-hero{padding-top:123px;padding-bottom:70px}
 .ebook-liquid .ebook-hero-inner{gap:clamp(42px,5vw,82px)}
 .ebook-liquid .ebook-cover-stage{min-height:535px}
 .ebook-liquid .ebook-section{padding-top:68px;padding-bottom:69px}
 .ebook-liquid .ebook-section-head{margin-bottom:30px}
 .ebook-liquid .ebook-buy-section{padding-top:72px;padding-bottom:75px}
 .ebook-liquid .ebook-proofbar-inner{min-height:82px}
}
