:root {
  color-scheme: dark;
  --bg: #08101f;
  --panel: #111e35;
  --line: #293b58;
  --text: #f5f8ff;
  --muted: #d3dfed;
  --blue: #8fc9ff;
  --gold: #ffdc74;
  --red: #b91e39;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 28px;
}

body {
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--blue);
  text-underline-offset: 4px;
}

a:hover {
  color: white;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.55rem, 5.3vw, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

strong {
  color: var(--text);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.skip {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  color: #08101f;
  padding: 12px;
  z-index: 10;
}

.skip:focus {
  top: 10px;
}

.header {
  background: #090f1e;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  width: 175px;
  flex-shrink: 0;
}

.nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.nav nav a:not(.button) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 8px 0;
}

.nav nav a:hover {
  color: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--red);
  color: white;
  border: 1px solid #ff9aaa;
  border-radius: 7px;
  text-decoration: none;
  padding: 14px 19px;
  min-height: 48px;
  font-weight: 750;
  line-height: 1.3;
  box-shadow: 0 6px 22px #0003;
}

.button:hover {
  background: #d12846;
  color: white;
}

.button.small {
  font-size: 0.85rem;
  padding: 10px 15px;
  min-height: 44px;
}

.button.secondary {
  background: #101f36;
  border-color: #536c90;
  box-shadow: none;
}

.button.secondary:hover {
  background: #223958;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 40%, #183b78 0, transparent 53%), #08101f;
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #08101fed 0%, #08101f9e 48%, transparent 100%);
  pointer-events: none;
}

#connection-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
  padding: 78px 0 72px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
}

.dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px #ffdc74;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: #e0eaff;
  line-height: 1.5;
}

.aside {
  font-style: italic;
  color: #d4dff1;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}

.fine {
  font-size: 0.86rem;
  color: var(--muted);
}

.cover-area {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.cover-frame {
  position: relative;
  width: min(100%, 330px);
  padding: 0;
  box-shadow: 0 24px 70px #0009, 0 0 55px #2879ff40;
  border: 1px solid #6b9ee2;
  border-radius: 3px;
}

.cover {
  width: 100%;
  border-radius: 2px;
}

.cover-note {
  text-align: center;
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cover-note span:first-child {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 750;
}

.principle-bar {
  border-block: 1px solid var(--line);
  background: #101c31;
}

.principle-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 15px;
  padding: 20px 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d7e5fb;
}

.section {
  padding: 86px 0;
}

.tinted {
  background: #0d1729;
  border-block: 1px solid #21314b;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.book-panel,
.future-list {
  background: linear-gradient(145deg, #172944, #101b30);
  border: 1px solid #35496a;
  border-radius: 12px;
  padding: 34px;
}

.book-panel h3 {
  font-size: 1.9rem;
}

.quote {
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  color: #e6edf9;
  font-size: 1.05rem;
  font-style: italic;
  background: #111e33;
}

.mini-rule {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}

.section-head {
  max-width: 730px;
  margin-bottom: 34px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.benefit {
  border: 1px solid #2b3f5f;
  background: #111e33;
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}

.benefit h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin-top: 17px;
}

.benefit p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.glyph {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #1c3555;
  border: 1px solid #355b86;
  border-radius: 9px;
  color: var(--blue);
}

.glyph svg {
  width: 25px;
  height: 25px;
}

.accent {
  background: #182c48;
  border-color: #52729b;
}

.accent a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
}

.accent .kicker {
  margin-bottom: 0;
}

.belts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
  padding: 0;
  margin: 38px 0;
}

.belts li {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px 5px 13px;
  background: #111e31;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.belt-icon {
  display: block;
  position: relative;
  width: 70px;
  height: 19px;
  background: var(--belt);
  border: 1px solid #8290a0;
  border-radius: 3px;
  box-shadow: 0 5px 10px #0004;
}

.belt-icon:before,
.belt-icon:after {
  content: '';
  position: absolute;
  top: 12px;
  width: 17px;
  height: 28px;
  background: var(--belt);
  border: 1px solid #8290a0;
  border-radius: 2px;
  left: 25px;
  transform: rotate(24deg);
  transform-origin: top;
}

.belt-icon:after {
  transform: rotate(-26deg);
}

.belt-icon i {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 20px;
  left: 23px;
  top: -2px;
  background: var(--belt);
  border: 1px solid #8290a0;
  border-radius: 3px;
}

.belts strong {
  margin-top: 23px;
}

.belts small {
  font-size: 0.69rem;
  color: var(--muted);
}

.method-copy {
  gap: 40px;
}

.method-note {
  color: var(--gold);
  font-style: italic;
  margin: 15px 0 0;
}

.future-list ul,
.checks {
  padding-left: 22px;
  color: #e5edfc;
}

.future-list li,
.checks li {
  margin: 10px 0;
}

.status-tag {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.text-link {
  font-weight: 650;
}

.join {
  background: radial-gradient(ellipse at 25% 50%, #1b3761, transparent 65%), #101b30;
  border-block: 1px solid #344b6c;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
}

.checks li {
  padding-left: 28px;
  position: relative;
}

.checks li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #86efac;
  font-weight: 800;
}

form {
  background: #0c1729;
  border: 1px solid #45648c;
  border-radius: 13px;
  padding: 30px;
  box-shadow: 0 20px 50px #0003;
}

form label:not(.consent) {
  display: block;
  font-weight: 700;
  margin: 16px 0 6px;
}

label span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.86rem;
}

input:not([type=checkbox]) {
  width: 100%;
  background: #07101f;
  color: white;
  border: 1px solid #59708e;
  border-radius: 6px;
  min-height: 48px;
  padding: 10px 12px;
}

input[type=checkbox] {
  accent-color: #22c55e;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 3px 0;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
}

.consent span {
  font-size: 0.9rem;
  color: #e2ebf8;
}

form .button {
  width: 100%;
  margin-bottom: 14px;
}

#form-status:empty {
  display: none;
}

#form-status {
  padding: 12px;
  background: #192c47;
  border-left: 3px solid var(--gold);
  margin-bottom: 0;
  color: white;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-wrap {
  max-width: 960px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  align-items: start;
}

details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #101c30;
}

summary {
  cursor: pointer;
  padding: 15px 18px;
  min-height: 48px;
  font-weight: 650;
  color: #e8f0ff;
}

details p {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 0.94rem;
}

.privacy .wrap {
  max-width: 960px;
}

.privacy {
  padding: 60px 0;
}

.privacy h2 {
  font-size: 2rem;
}

footer {
  background: #060c17;
  padding: 40px 0 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
}

.footer-grid img {
  width: 160px;
}

.footer-grid p {
  font-size: 0.86rem;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 550px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1050px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav nav {
    justify-content: center;
    gap: 12px 20px;
  }

  .hero-grid {
    gap: 32px;
  }

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

  .belts {
    grid-template-columns: repeat(4, 1fr);
  }

  .split,
  .join-grid {
    gap: 35px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    padding: 16px 0;
  }

  .nav nav {
    gap: 4px 14px;
  }

  .nav nav a:not(.button) {
    font-size: 0.78rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-grid,
  .split,
  .join-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-grid {
    padding: 50px 0 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .actions {
    justify-content: center;
  }

  .hero:after {
    background: #08101f88;
  }

  .cover-frame {
    width: min(75%, 275px);
  }

  .principle-bar .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .book-panel,
  .future-list,
  form {
    padding: 22px;
  }

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

  .footer-grid {
    flex-direction: column;
  }

  .belts {
    gap: 7px;
  }

  .belts li {
    padding-inline: 2px;
  }

  .belt-icon {
    transform: scale(0.8);
  }

  .benefit {
    padding: 18px;
  }

  .benefit h3 {
    font-size: 1.05rem;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.09em;
  }
}

@media (max-width: 380px) {
  .benefits {
    grid-template-columns: 1fr;
  }

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

  .actions .button {
    width: 100%;
  }

  .nav nav {
    gap: 2px 12px;
  }
}

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

/* Original brand colours on a neutral contrast surface. */
.brand,
.footer-grid > div:first-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f9ff;
  border: 1px solid #dce5f4;
  border-radius: 8px;
  padding: 8px 10px;
}

.brand img,
.footer-grid > div:first-child > a img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* v1.2: author portrait, verified credential links and feature checks */
.principle-bar .wrap {
  font-size: 1rem;
  gap: 18px;
  align-items: center;
}

.principle-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
  line-height: 1.35;
}

.principle-bar span:before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  height: 23px;
  border: 1px solid #22c55e;
  border-radius: 4px;
  color: #86efac;
  background: #102b2a;
  font-size: 1rem;
  font-weight: 850;
}

.author-intro {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}

.author-intro h2 {
  margin: 0;
}

.author-portrait {
  width: 116px;
  height: 116px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 12px;
  border: 1px solid #536c90;
  flex-shrink: 0;
}

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

.credentials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px 4px;
  text-decoration: none;
  border: 1px solid #3a506e;
  background: #14223a;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: #e0eaff;
}

.credentials a:hover {
  border-color: #8fc9ff;
  background: #1d3451;
}

.credentials img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}

.credentials span {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .author-intro {
    justify-content: center;
  }

  .principle-bar .wrap {
    font-size: 0.96rem;
  }

  .principle-bar span {
    justify-content: flex-start;
  }

  .credentials {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  .credentials {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-bar .wrap {
    grid-template-columns: 1fr;
  }

  .author-portrait {
    width: 90px;
    height: 90px;
  }
}

/* v1.4: aligned footer navigation and centered mobile imagery. */
.copyright {
  text-align: center;
}

.footer-grid {
  align-items: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  max-width: none;
  align-items: center;
  flex: 0 1 auto;
}

.footer-links a {
  display: block;
  white-space: nowrap;
  line-height: 1.5;
}

@media (max-width: 950px) {
  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 18px;
  }
}

@media (max-width: 700px) {
  img {
    margin-inline: auto;
  }

  .footer-grid {
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    width: 100%;
    max-width: 440px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    justify-items: center;
  }

  .footer-links a {
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  .footer-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .author-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .cover-frame {
    margin-inline: auto;
  }

  .credentials {
    justify-items: stretch;
  }

  .benefit .glyph {
    display: grid;
    margin-inline: auto;
  }
}

/* Readability, centered card checks and direct form navigation. */
.benefit .glyph {
  display: grid;
  margin-inline: auto;
  border: 2px solid #22c55e;
  border-radius: 8px;
  color: #86efac;
  background: #102b2a;
  font-size: 1.25rem;
  font-weight: 900;
}

.benefit h3 {
  text-align: center;
}

.benefit.accent .kicker {
  display: flex;
  justify-content: center;
}

#subscribe {
  scroll-margin-top: 16px;
}

@keyframes wh-spin {
  to {
    transform: rotate(360deg);
  }
}

.wh-spinner {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  margin-right: 0.5em;
  animation: wh-spin 0.65s linear infinite;
}

#subscribe .form-notice {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
}

#subscribe .form-notice.is-success,
#subscribe #form-status.is-success {
  display: block !important;
  border: 1px solid #22c55e !important;
  background: #102b2a !important;
  color: #86efac !important;
}

#subscribe .form-notice.is-error,
#subscribe #form-status.is-error {
  display: block !important;
  border: 1px solid #c52d40 !important;
  background: #2b1219 !important;
  color: #fca5a5 !important;
}

.wh-status-check {
  color: #86efac;
  font-weight: 700;
  margin-right: 0.4em;
}

#subscribe .button:disabled {
  cursor: wait;
}

#subscribe #form-status[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wh-spinner {
    animation: none;
  }
}

/* Footer navigation: balanced, readable, responsive. */
footer .footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

footer .footer-grid > div:first-child {
  flex: 0 0 auto;
}

footer .footer-links {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: end;
  align-items: center;
  gap: 4px 22px;
  max-width: none;
}

footer .footer-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

footer .copyright {
  text-align: center;
}

@media (max-width: 1050px) {
  footer .footer-links {
    grid-template-columns: repeat(3, max-content);
    gap: 4px 18px;
  }
}

@media (max-width: 700px) {
  footer .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 420px);
    justify-content: center;
    gap: 2px 12px;
  }

  footer .footer-links a {
    justify-content: center;
    white-space: normal;
    min-height: 44px;
  }

  footer .footer-grid img {
    margin-inline: auto;
  }
}

/* Desktop footer: full-width navigation beneath centered branding. */
@media (min-width: 701px) {
  footer .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  footer .footer-grid img {
    margin-inline: auto;
  }

  footer .footer-grid p {
    margin-bottom: 0;
  }

  footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    gap: 4px 26px;
  }

  footer .footer-links a {
    justify-content: center;
  }
}
