@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-91035ed3.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-83788871.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-51f6dcb3.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-4e9745d9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-320adf24.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-8a39ba5e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-tight-6c70c77f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight Fallback';
  src: local("Arial");
  ascent-override: 100.51%;
  descent-override: 25.03%;
  line-gap-override: 0.00%;
  size-adjust: 96.39%;
}
body.codex-ebook{--font-inter-tight:"Inter Tight";font-synthesis:none}body.codex-ebook h1,body.codex-ebook p{margin:0}body.codex-ebook a{text-decoration:none}body.codex-ebook input,body.codex-ebook button{font:inherit}body.codex-ebook img,body.codex-ebook svg{display:block;vertical-align:middle}body.codex-ebook img{max-width:100%;height:auto}body.codex-ebook button{cursor:pointer}body.codex-ebook #qlwapp,body.codex-ebook .qlwapp,body.codex-ebook .elementor-location-header,body.codex-ebook .elementor-location-footer{display:none!important}
body.codex-ebook {
  --background: #00020f;
  --background-alt: #11121c;
  --foreground: #ffffff;
  --muted: #a7adbe;
  --primary: #6633ff;
  --secondary: #531aff;
  --icon: #c03bfc;
  --border: #262935;
}

body.codex-ebook, body.codex-ebook * { box-sizing: border-box; }

body.codex-ebook {
  min-width: 320px;
  background: var(--background);
  color-scheme: dark;
  font-family: var(--font-inter-tight), Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body.codex-ebook {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-inter-tight), Arial, Helvetica, sans-serif;
}

body.codex-ebook a { color: inherit; }

body.codex-ebook .landing-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 38%, rgb(83 26 255 / 18%), transparent 30rem),
    radial-gradient(circle at 18% 82%, rgb(192 59 252 / 10%), transparent 26rem),
    linear-gradient(145deg, #00020f 0%, #050615 58%, #090516 100%);
}

body.codex-ebook .landing-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.2%) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: '';
}

body.codex-ebook .ambient {
  position: absolute;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}

body.codex-ebook .ambient-one { top: -14rem; right: -8rem; background: var(--primary); }
body.codex-ebook .ambient-two { bottom: -17rem; left: -9rem; background: var(--icon); }

body.codex-ebook .brand {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  align-items: center;
  gap: 12px;
  color: #f7f7fb;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

body.codex-ebook .brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--secondary), var(--icon));
  box-shadow: 0 10px 30px rgb(83 26 255 / 30%);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.codex-ebook .hero {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  padding: 38px 0 64px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: clamp(44px, 8vw, 112px);
}

body.codex-ebook .copy-column { position: relative; z-index: 2; }

body.codex-ebook .eyebrow {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(102 51 255 / 45%);
  border-radius: 999px;
  background: rgb(102 51 255 / 10%);
  color: #d7cfff;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.codex-ebook h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 6.25rem);
  font-weight: 740;
  letter-spacing: -0.062em;
  line-height: 0.91;
}

body.codex-ebook h1 span {
  background: linear-gradient(100deg, #ffffff 4%, #c9bdff 52%, #c03bfc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

body.codex-ebook .intro {
  max-width: 620px;
  margin: 27px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.58;
}

body.codex-ebook .cta-wrap {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 2px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(255 255 255 / 10%);
  box-shadow: 0 20px 55px rgb(83 26 255 / 26%), inset 0 0 0 1px rgb(255 255 255 / 8%);
}

body.codex-ebook .cta-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 260%;
  translate: -50% -50%;
  background: linear-gradient(90deg, transparent, #ffffff, #c03bfc, transparent);
  filter: blur(1px);
  animation: codex-ebook-orbit 3.2s linear infinite;
}

body.codex-ebook .download-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 64px;
  padding: 18px 28px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 10px;
  background: linear-gradient(118deg, #531aff 0%, #6633ff 55%, #8a36f3 100%);
  color: white;
  font-size: 1.06rem;
  font-weight: 760;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

body.codex-ebook .download-cta::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 22%, rgb(255 255 255 / 24%) 46%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 650ms ease;
  content: '';
}

body.codex-ebook .download-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 35px rgb(102 51 255 / 38%);
}

body.codex-ebook .download-cta:hover::after { transform: translateX(130%); }
body.codex-ebook .download-cta:active { transform: translateY(0) scale(0.985); }
body.codex-ebook .download-cta:focus-visible { outline: 3px solid white; outline-offset: 5px; }

body.codex-ebook .microcopy { margin: 13px 0 0; color: #858b9d; font-size: 0.88rem; }

body.codex-ebook .book-stage {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  perspective: 1200px;
}

body.codex-ebook .book-glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(102 51 255 / 46%), rgb(192 59 252 / 8%) 53%, transparent 72%);
  filter: blur(28px);
  animation: codex-ebook-breathe 5s ease-in-out infinite;
}

body.codex-ebook .book-card {
  position: relative;
  width: min(270px, 74vw);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;
  background: #070718;
  box-shadow: -19px 24px 60px rgb(0 0 0 / 58%), 0 0 0 1px rgb(102 51 255 / 14%), 24px 0 70px rgb(83 26 255 / 24%);
  transform: rotateY(-10deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
  animation: codex-ebook-float 5.5s ease-in-out infinite;
}

body.codex-ebook .book-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 6px;
  background: linear-gradient(to right, rgb(255 255 255 / 24%), transparent);
  content: '';
}

body.codex-ebook .book-card img { display: block; width: 100%; height: auto; }

body.codex-ebook .spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px 5px rgb(102 51 255 / 80%);
  animation: codex-ebook-twinkle 2.6s ease-in-out infinite;
}

body.codex-ebook .spark-one { top: 22%; right: 6%; }
body.codex-ebook .spark-two { bottom: 19%; left: 5%; animation-delay: -1.3s; }

body.codex-ebook footer {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 26px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: #767c8d;
  font-size: 0.78rem;
}

body.codex-ebook .optin-title { font-size: clamp(2.8rem, 6vw, 5.4rem); }
body.codex-ebook .optin-intro { margin-bottom: 26px; }

body.codex-ebook .optin-form {
  width: min(100%, 590px);
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 18px;
  background: rgb(10 11 27 / 72%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  backdrop-filter: blur(18px);
}

body.codex-ebook .form-fields {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

body.codex-ebook .field-label {
  display: grid;
  gap: 8px;
  color: #d9dbe5;
  font-size: 0.86rem;
  font-weight: 650;
  text-align: left;
}

body.codex-ebook .field-label input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  outline: none;
  background: rgb(0 2 15 / 76%);
  color: white;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.codex-ebook .field-label input::placeholder { color: #777d90; }

body.codex-ebook .field-label input:focus {
  border-color: rgb(102 51 255 / 82%);
  background: rgb(5 5 23 / 94%);
  box-shadow: 0 0 0 4px rgb(102 51 255 / 15%);
}

body.codex-ebook .privacy-check {
  display: flex;
  margin: 16px 2px 18px;
  align-items: flex-start;
  gap: 10px;
  color: #aeb3c3;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}

body.codex-ebook .privacy-check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

body.codex-ebook .privacy-check a,
body.codex-ebook .legal-links a {
  color: #cec6ff;
  text-underline-offset: 3px;
}

body.codex-ebook .privacy-check a:hover,
body.codex-ebook .legal-links a:hover { color: white; }

body.codex-ebook .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.codex-ebook .form-cta-wrap,
body.codex-ebook .form-submit { width: 100%; }

body.codex-ebook .form-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

body.codex-ebook .form-submit:disabled { cursor: wait; opacity: 0.84; }
body.codex-ebook .submit-spinner { animation: codex-ebook-spin 900ms linear infinite; }

body.codex-ebook .form-note,
body.codex-ebook .form-status {
  display: block;
  margin: 11px 0 0;
  color: #858b9d;
  font-size: 0.76rem;
  line-height: 1.4;
}

body.codex-ebook .form-status { min-height: 1.1em; color: #ffb1bc; }

body.codex-ebook .legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

body.codex-ebook .success-page {
  display: grid;
  min-height: 100svh;
  padding: 32px 20px;
  place-items: center;
  background: #ffffff;
  color: #11121c;
}

body.codex-ebook .success-card {
  width: min(100%, 650px);
  text-align: center;
}

body.codex-ebook .success-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: #6633ff;
  box-shadow: 0 14px 38px rgb(102 51 255 / 22%);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

body.codex-ebook .success-card h1 {
  max-width: none;
  margin: 0 0 22px;
  color: #11121c;
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

body.codex-ebook .success-card p {
  margin: 0 auto 16px;
  color: #555968;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
}

body.codex-ebook .email-link {
  display: inline-flex;
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgb(102 51 255 / 20%);
  border-radius: 12px;
  background: rgb(102 51 255 / 7%);
  color: #531aff;
  font-size: 1rem;
  font-weight: 720;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

body.codex-ebook .email-link:hover { background: rgb(102 51 255 / 12%); transform: translateY(-1px); }
body.codex-ebook .email-link:focus-visible { outline: 3px solid #6633ff; outline-offset: 4px; }

@keyframes codex-ebook-orbit { to { transform: rotate(360deg); } }
@keyframes codex-ebook-spin { to { transform: rotate(360deg); } }

@keyframes codex-ebook-float {
  0%, 100% { transform: translateY(0) rotateY(-10deg) rotateZ(1.5deg); }
  50% { transform: translateY(-13px) rotateY(-7deg) rotateZ(0.5deg); }
}

@keyframes codex-ebook-breathe {
  0%, 100% { opacity: 0.68; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes codex-ebook-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 820px) {
  body.codex-ebook .hero {
    width: min(680px, calc(100% - 40px));
    padding-top: 30px;
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  body.codex-ebook .copy-column { display: flex; flex-direction: column; align-items: center; }
  body.codex-ebook .intro { margin-bottom: 30px; }
  body.codex-ebook .optin-form { text-align: left; }
  body.codex-ebook .book-stage { min-height: 390px; }
  body.codex-ebook .book-card { width: min(220px, 62vw); }
}

@media (max-width: 480px) {
  body.codex-ebook .brand, body.codex-ebook footer { width: calc(100% - 32px); }
  body.codex-ebook .brand { padding: 20px 0; }
  body.codex-ebook .hero { width: calc(100% - 32px); padding: 24px 0 46px; gap: 28px; }
  body.codex-ebook .eyebrow { margin-bottom: 20px; }
  body.codex-ebook h1 { font-size: clamp(2.7rem, 14.5vw, 4rem); }
  body.codex-ebook .intro { margin: 22px 0 27px; font-size: 1rem; line-height: 1.52; }
  body.codex-ebook .cta-wrap, body.codex-ebook .download-cta { width: 100%; }
  body.codex-ebook .download-cta { min-height: 62px; padding-inline: 20px; font-size: 1rem; }
  body.codex-ebook .form-fields { grid-template-columns: 1fr; }
  body.codex-ebook .optin-form { padding: 18px; }
  body.codex-ebook .book-stage { min-height: 340px; }
  body.codex-ebook .book-card { width: min(190px, 58vw); }
  body.codex-ebook footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  body.codex-ebook .legal-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  body.codex-ebook, body.codex-ebook *, body.codex-ebook *::before, body.codex-ebook *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.codex-ebook .field-label{line-height:1.5}
