/* Shared layout repairs. Keep template-specific colors and typography intact. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
input, textarea, select, button { font: inherit; }
textarea, select, input:not([type="checkbox"]):not([type="radio"]) { max-width: 100%; }
button, a, input, textarea, select { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #75bfff; outline-offset: 4px;
}
/* Older Gridsome pages share a dark canvas, including pages missing theme-light. */
.classic-page #app {
  --bg-background-primary: #0c081b;
  --bg-background-secondary: #160f30;
  --text-copy-primary: #f1f3fa;
  --text-copy-secondary: #bac5d7;
  min-height: 100vh; background: var(--bg-background-primary); color: var(--text-copy-primary);
}
.classic-page .main-class-content { min-width: 0; }
.classic-page .main-logo { flex-shrink: 0; height: 40px; }
.classic-page .navbar-custom > a { flex-shrink: 0; }
.classic-page .text-container {
  width: 100%; max-width: 1100px; margin: 140px auto 48px; padding: 16px 32px;
  overflow-wrap: anywhere; color: #f1f3fa;
}
.classic-page .text-container p, .classic-page .text-container li { color: inherit; }
.classic-page .text-container pre { max-width: 100%; overflow-x: auto; }
.classic-page .markdown-body { color: #e2e8f0; }
.classic-page .markdown-body pre, .classic-page .markdown-body table { color: #24292e; }
.classic-page .pagination-post-wrapper { width: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.classic-page .main-btn { max-width: 100%; white-space: normal; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
.classic-page .video-content-wrapper video { display: block; width: 100%; }
.classic-page .featureImage { max-width: 100%; }
.classic-page .footer-link { flex-wrap: wrap; gap: 24px; }
.classic-page .row > * { min-width: 0; }
@media (max-width: 991px) {
  /* The archived navigation must remain usable without Bootstrap's missing script. */
  .classic-page .navbar-area { position: relative; }
  .classic-page .navbar-custom { flex-wrap: wrap; gap: 12px; padding: 16px !important; }
  .classic-page .navbar-toggler { display: none; }
  .classic-page .navbar-collapse.collapse {
    display: block; position: static; flex-basis: 100%; width: 100%;
    background: transparent; box-shadow: none; padding: 0;
  }
  .classic-page .navbar-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; padding: 0 !important; }
  .classic-page .navbar-nav .nav-item a { color: #f1f3fa; }
  .classic-page .readima-x2-now { display: block; margin-left: auto; }
  .classic-page .text-container { margin-top: 24px; padding: 16px 24px; }
  .classic-page .container-blog, .classic-page .content-blog { padding-top: 24px; }
  .classic-page .header-hero { padding-top: 32px; }
}
@media (max-width: 575px) {
  .classic-page .text-container { padding: 16px 20px; }
  .classic-page .readima-name { font-size: 18px; padding-left: 0; }
  .classic-page .readima-x2-now .main-btn { padding: 10px 12px; font-size: 12px; }
  .classic-page .main-post { margin-left: 0; margin-right: 0; }
  .classic-page .post-mini-wrapper { margin-left: -12px; margin-right: -12px; }
  .classic-page .leading-tight { font-size: clamp(1.75rem, 7vw, 2.5rem); min-height: 0; overflow-wrap: anywhere; }
  .classic-page .footer-link { display: block !important; }
  .classic-page .footer-link .link-wrapper + .link-wrapper { margin-top: 28px; }
}
/* Replacements for the discontinued WordPress theme stylesheets. */
.legacy-page { font: 16px/1.65 Georgia, serif; color: #243145; background: #f3f5f8; }
.legacy-page #whitewrap { width: min(100% - 32px, 960px); margin: 32px auto; padding: clamp(20px, 5vw, 56px); background: #fff; border-radius: 12px; box-shadow: 0 8px 32px #24314512; }
.legacy-page .wrapper, .legacy-page .grid-container, .legacy-page .column, .legacy-page .block { max-width: 100%; min-width: 0; }
.legacy-page h1, .legacy-page h2, .legacy-page h3 { color: #182337; line-height: 1.25; overflow-wrap: anywhere; }
.legacy-page a { color: #216b93; overflow-wrap: anywhere; }
.legacy-page p { margin: 0 0 1.25em; }
.legacy-page input:not([type="hidden"]):not([type="image"]), .legacy-page textarea, .legacy-page select { border: 1px solid #b9c4d1; border-radius: 6px; padding: 10px 12px; background: #fff; color: #243145; }
.legacy-page textarea { width: min(100%, 38rem); resize: vertical; }
.legacy-page input[type="submit"], .legacy-page button { cursor: pointer; background: #216b93; color: #fff; border: 0; border-radius: 6px; padding: 10px 22px; }
.legacy-page table { max-width: 100%; }
@media (max-width: 575px) {
  .legacy-page #whitewrap { margin: 16px auto; }
  .legacy-page input:not([type="hidden"]):not([type="image"]):not([type="submit"]) { width: 100%; }
}
/* Components used by the modern pages, alongside the local utility stylesheet. */
.modern-page { color: #fff; background: #090a12; font-family: 'Nunito Sans', ui-sans-serif, sans-serif; }
.modern-page .section-container { width: 100%; max-width: 1248px; padding-inline: 24px; margin-inline: auto; }
.modern-page .gradient-text { color: #b3b7fa; background: linear-gradient(110deg, #b3b7fa, #bc83dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.modern-page .btn-primary, .modern-page .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; line-height: 1.5; transition: background-color .2s, transform .2s; }
.modern-page .btn-primary { color: #fff; background: #6169d2; border: 1px solid #959bf340; }
.modern-page .btn-secondary { color: #fff; background: #ffffff08; border: 1px solid #ffffff26; }
.modern-page .btn-primary:hover { background: #737bdf; }
.modern-page .btn-secondary:hover { background: #ffffff12; }
.modern-page .badge { border: 1px solid #959bf333; border-radius: 999px; padding: 6px 14px; color: #b3b7fa; background: #777fea12; font-size: 13px; font-weight: 600; }
.modern-page .glass-card, .modern-page .feature-card, .modern-page .pricing-card { background: linear-gradient(135deg, #ffffff0c, #ffffff03); border: 1px solid #ffffff14; border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.modern-page .pricing-card.featured { border-color: #959bf380; }
.modern-page .bg-grid { background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 48px 48px; }
.modern-page .video-container { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #ffffff20; border-radius: 16px; }
.modern-page .video-container video, .modern-page .video-container iframe { width: 100%; height: 100%; }
.modern-page .prose-readima { color: #ffffffb3; line-height: 1.8; overflow-wrap: anywhere; }
.modern-page .prose-readima :is(h1,h2,h3,h4) { color: #fff; font-weight: 700; line-height: 1.3; margin: 1.8em 0 .75em; }
.modern-page .prose-readima h2 { font-size: 1.75rem; }
.modern-page .prose-readima h3 { font-size: 1.35rem; }
.modern-page .prose-readima :is(p,ul,ol,blockquote,pre,table) { margin-block: 1.25em; }
.modern-page .prose-readima :is(ul,ol) { padding-left: 1.5em; }
.modern-page .prose-readima ul { list-style: disc; }
.modern-page .prose-readima ol { list-style: decimal; }
.modern-page .prose-readima a { color: #b3b7fa; text-decoration: underline; }
.modern-page .prose-readima pre { overflow-x: auto; padding: 20px; background: #ffffff08; border-radius: 8px; }
.modern-page .prose-readima blockquote { border-left: 3px solid #959bf3; padding-left: 20px; }
.modern-page .prose-readima table { display: block; overflow-x: auto; }
.modern-page .prose-readima :is(td,th) { padding: 10px 14px; border: 1px solid #ffffff20; }
@media (max-width: 1023px) {
  .modern-page > div > header, .modern-page header.fixed { position: relative; background: #090a12; }
  .modern-page header nav > div { height: auto; min-height: 72px; flex-wrap: wrap; padding-block: 16px; gap: 16px; }
  .modern-page header nav > div > div.hidden:first-of-type { display: flex; order: 3; width: 100%; flex-wrap: wrap; gap: 4px; }
  .modern-page header button[aria-label="Toggle menu"] { display: none; }
  .modern-page header nav a { padding-inline: 8px; }
  .modern-page main > section:first-child { padding-top: 48px; }
}
@media (max-width: 479px) {
  .modern-page .section-container { padding-inline: 20px; }
  .modern-page h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 991px) {
  .classic-page .navbar-custom { justify-content: flex-start; }
  .classic-page .readima-name { margin-right: auto; }
  .classic-page .navbar-custom .navbar-btn { position: static; margin-left: 0; }
  .classic-page .navbar-collapse.collapse { order: 2; }
  .classic-page .header-hero-content { padding-top: 32px; }
}
@media (max-width: 575px) {
  .modern-page a.group .flex-1 > .flex { flex-wrap: wrap; }
}
.modern-page .text-container { overflow-wrap: anywhere; }
.modern-page footer .flex { flex-wrap: wrap; }
.modern-page footer .flex > * { min-width: 0; }
.modern-page .text-container { width: 100%; max-width: 960px; margin: 0 auto; padding: 140px 24px 64px; color: #d7d9e4; line-height: 1.8; }
.modern-page .text-container p { margin-bottom: 1.25em; }
.modern-page .text-container h1 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
@media (max-width: 1023px) {
  .modern-page main > .text-container:first-child { padding-top: 40px; }
}
