:root {
    --page-bg: #f0ebe4;
    --surface: rgba(255, 253, 249, 0.96);
    --surface-strong: rgba(255, 255, 255, 0.86);
    --surface-soft: rgba(237, 242, 248, 0.78);
    --ink: #161b22;
    --muted: #58606d;
    --accent: #18263c;
    --accent-soft: rgba(24, 38, 60, 0.08);
    --gold: #c9a564;
    --rule: rgba(24, 38, 60, 0.12);
    --shadow: 0 24px 60px rgba(19, 27, 40, 0.12);
    --chessiq-bg: #070b12;
    --chessiq-panel: rgba(15, 19, 31, 0.8);
    --chessiq-panel-strong: rgba(18, 24, 36, 0.92);
    --chessiq-cyan: #6fe7ff;
    --chessiq-cyan-strong: #5aaee8;
    --chessiq-amber: #ffd166;
    --chessiq-pink: #ff6b9e;
    --chessiq-line: rgba(163, 214, 255, 0.14);
}

@font-face {
    font-family: 'ChessIQ Display';
    src: url('ChessIQ/assets/fonts/PixelatedEleganceRegular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'ChessIQ Compact';
    src: url('ChessIQ/assets/fonts/Cairopixel-Regular.ttf') format('truetype');
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(201, 165, 100, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(24, 38, 60, 0.08), rgba(24, 38, 60, 0)),
        linear-gradient(180deg, #f6f2ec 0%, var(--page-bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(24, 38, 60, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(24, 38, 60, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 78%);
    pointer-events: none;
}

.page-shell {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.site-header,
.content-wrap,
.site-footer {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 24px 0 14px;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand-logo {
    width: min(280px, 34vw);
    min-width: 180px;
    height: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: rgba(244, 245, 241, 0.055);
    color: rgba(244, 245, 241, 0.78);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.site-nav a,
.cta-link,
.text-link,
.footer-links a {
    color: var(--accent);
    text-decoration: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(24, 38, 60, 0.08);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-dropdown-trigger::after {
    content: "\25be";
    margin-left: 8px;
    font-size: 0.66rem;
    line-height: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: grid;
    gap: 8px;
    min-width: 180px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(8, 10, 10, 0.94);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown-trigger:hover {
    color: var(--ink);
}

.nav-dropdown-menu a {
    justify-content: flex-start;
    width: 100%;
    white-space: nowrap;
}

.site-nav a:hover,
.cta-link:hover,
.primary-button:hover,
.secondary-button:hover,
.text-link:hover,
.footer-links a:hover {
    color: #0d1117;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(24, 38, 60, 0.18);
}

.content-wrap {
    padding-bottom: 44px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    padding: clamp(28px, 4vw, 56px);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0)),
        var(--surface);
    border: 1px solid rgba(24, 38, 60, 0.1);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 22px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(24, 38, 60, 0.18));
}

.hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 165, 100, 0.18), rgba(201, 165, 100, 0));
    pointer-events: none;
}

.hero-copy,
.hero-panel,
.section-block {
    position: relative;
    z-index: 1;
}

.eyebrow,
.card-label,
.panel-label,
.section-number {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
}

h1 {
    margin-bottom: 18px;
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 1.18rem;
    line-height: 1.72;
    color: var(--ink);
}

.hero-note,
.section-intro,
.proof-copy p,
.contact-layout p,
.product-card p,
.feature-card p,
.hero-meta dd,
.hero-meta dt,
.site-footer p {
    color: var(--muted);
}

.hero-note {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: 1.03rem;
    line-height: 1.78;
}

.hero-stance {
    max-width: 760px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(24, 38, 60, 0.08);
    background: linear-gradient(180deg, rgba(201, 165, 100, 0.12), rgba(255, 255, 255, 0.58));
    box-shadow: 0 14px 28px rgba(24, 38, 60, 0.08);
}

.hero-stance p:last-child {
    margin-bottom: 0;
    color: var(--accent);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.primary-button {
    background: var(--accent);
    color: #f8fafc;
    box-shadow: 0 14px 32px rgba(24, 38, 60, 0.18);
}

.secondary-button {
    border: 1px solid rgba(24, 38, 60, 0.14);
    background: rgba(255, 255, 255, 0.74);
    color: var(--accent);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid rgba(24, 38, 60, 0.08);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-panel {
    align-self: end;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(237, 242, 248, 0.8), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(24, 38, 60, 0.1);
}

.panel-label {
    margin-bottom: 14px;
}

.hero-meta {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.hero-meta div {
    padding-top: 12px;
    border-top: 1px solid var(--rule);
}

.hero-meta div:first-child {
    border-top: none;
    padding-top: 0;
}

.hero-meta dt {
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-meta dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.section-block {
    margin-top: 22px;
    padding: 28px 30px;
    border-radius: 28px;
    background: var(--surface-strong);
    border: 1px solid rgba(24, 38, 60, 0.08);
    box-shadow: 0 18px 40px rgba(19, 27, 40, 0.08);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
}

h2 {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.74;
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    display: grid;
    grid-template-columns: minmax(92px, 0.28fr) 1fr;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    line-height: 1.56;
}

.detail-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.detail-list span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-detail-list {
    margin-top: 14px;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: 1.03rem;
}

.feature-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.product-card,
.contact-panel,
.proof-list article {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(24, 38, 60, 0.08);
}

.product-card-highlight {
    background:
        linear-gradient(180deg, rgba(201, 165, 100, 0.12), rgba(255, 255, 255, 0.88)),
        rgba(255, 255, 255, 0.9);
}

.card-label {
    margin-bottom: 10px;
}

.text-link {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.proof-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 20px;
}

.proof-copy {
    display: grid;
    align-content: start;
    gap: 0;
}

.proof-note-card {
    margin-top: 10px;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(24, 38, 60, 0.08);
    background: linear-gradient(180deg, rgba(201, 165, 100, 0.1), rgba(255, 255, 255, 0.72));
    box-shadow: 0 16px 34px rgba(24, 38, 60, 0.08);
}

.proof-note-card p:last-of-type {
    margin-bottom: 0;
    color: var(--accent);
    font-weight: 600;
}

.proof-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.proof-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(24, 38, 60, 0.08);
    border: 1px solid rgba(24, 38, 60, 0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.proof-list {
    display: grid;
    gap: 14px;
}

.proof-list article p {
    margin-bottom: 0;
}

.contact-panel p:last-of-type {
    margin-bottom: 18px;
}

.primary-button-inline {
    display: inline-flex;
}

.chessiq-story {
    position: relative;
    overflow: hidden;
    color: #edf4ff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, #0b1019 0%, #070b12 56%, #0a0d15 100%);
    border: 1px solid rgba(111, 231, 255, 0.16);
    box-shadow: 0 28px 80px rgba(4, 8, 17, 0.54);
}

.chessiq-story::before,
.chessiq-story::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.chessiq-story::before {
    background:
        radial-gradient(circle at 16% 18%, rgba(90, 174, 232, 0.28), transparent 22%),
        radial-gradient(circle at 84% 14%, rgba(255, 209, 102, 0.22), transparent 18%),
        radial-gradient(circle at 62% 82%, rgba(255, 107, 158, 0.14), transparent 20%);
}

.chessiq-story::after {
    background-image:
        linear-gradient(to right, rgba(111, 231, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(111, 231, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 82%);
}

.chessiq-story .section-heading,
.chessiq-stage,
.chessiq-stage>* {
    position: relative;
    z-index: 1;
}

.chessiq-story .section-number {
    background: rgba(111, 231, 255, 0.14);
    color: var(--chessiq-cyan);
}

.chessiq-story .section-heading h2,
.chessiq-story h3,
.chessiq-story h4 {
    color: #f7fbff;
}

.chessiq-story .card-label,
.chessiq-story .eyebrow {
    color: var(--chessiq-cyan);
}

.chessiq-story p,
.chessiq-story .text-link {
    color: rgba(237, 244, 255, 0.8);
}

.chessiq-stage {
    position: relative;
    margin-top: 8px;
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.chessiq-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.chessiq-signal,
.chessiq-core-shape,
.chessiq-floating-move {
    position: absolute;
}

.chessiq-signal {
    border-radius: 50%;
    filter: blur(12px);
    animation: chessiqPulse 9.8s ease-in-out infinite;
}

.chessiq-signal-cyan {
    top: -120px;
    left: -90px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(90, 174, 232, 0.34), rgba(90, 174, 232, 0));
}

.chessiq-signal-amber {
    right: -88px;
    top: 50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.28), rgba(255, 209, 102, 0));
    animation-delay: -3.1s;
}

.chessiq-core-shape {
    left: 50%;
    top: 48%;
    border-radius: 24px;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0%, 86% 18%, 100% 50%, 86% 82%, 50% 100%, 14% 82%, 0% 50%, 14% 18%);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.chessiq-core-shape-a {
    width: min(34vw, 360px);
    height: min(34vw, 360px);
    background: radial-gradient(circle, rgba(90, 174, 232, 0.08), rgba(90, 174, 232, 0));
    box-shadow: 0 0 0 1px rgba(90, 174, 232, 0.18), 0 0 36px rgba(90, 174, 232, 0.14);
    animation: chessiqSpin 24s linear infinite;
}

.chessiq-core-shape-b {
    width: min(26vw, 272px);
    height: min(26vw, 272px);
    background: radial-gradient(circle, rgba(255, 209, 102, 0.08), rgba(255, 209, 102, 0));
    box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.22), 0 0 32px rgba(255, 209, 102, 0.12);
    animation: chessiqSpinReverse 18s linear infinite;
}

.chessiq-floating-move {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 12, 20, 0.56);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    color: rgba(237, 244, 255, 0.88);
    font-family: 'ChessIQ Compact', 'Sora', sans-serif;
    font-size: 0.96rem;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: chessiqDrift 14s ease-in-out infinite;
}

.chessiq-floating-move-a {
    top: 10%;
    left: 11%;
}

.chessiq-floating-move-b {
    top: 18%;
    right: 24%;
    animation-delay: -2.8s;
}

.chessiq-floating-move-c {
    top: 66%;
    left: 8%;
    animation-delay: -4.2s;
}

.chessiq-floating-move-d {
    top: 72%;
    right: 10%;
    animation-delay: -7.3s;
}

.chessiq-floating-move-e {
    top: 41%;
    left: 41%;
    animation-delay: -5.4s;
}

.chessiq-floating-move-f {
    top: 28%;
    right: 6%;
    animation-delay: -1.6s;
}

.chessiq-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 22px;
    align-items: stretch;
}

.chessiq-story-copy,
.chessiq-manifesto-panel,
.chessiq-art-panel {
    padding: clamp(22px, 2.4vw, 32px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        var(--chessiq-panel);
    box-shadow: 0 22px 54px rgba(2, 6, 12, 0.34);
    backdrop-filter: blur(18px);
}

.chessiq-story-copy {
    display: flex;
    flex-direction: column;
}

.chessiq-brand-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.chessiq-wordmark {
    width: min(420px, 100%);
    height: clamp(104px, 9vw, 150px);
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.26));
}

.chessiq-app-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.chessiq-story-eyebrow {
    margin-bottom: 14px;
}

.chessiq-story-copy h3 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-family: 'ChessIQ Display', 'Sora', sans-serif;
    font-size: clamp(2.5rem, 4.6vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.chessiq-story-lead {
    max-width: 50rem;
    font-size: 1.08rem;
    line-height: 1.78;
}

.chessiq-story-actions {
    margin-top: 24px;
}

.chessiq-primary-button {
    background: linear-gradient(135deg, var(--chessiq-cyan), var(--chessiq-cyan-strong));
    color: #071219;
    box-shadow: 0 18px 34px rgba(90, 174, 232, 0.28);
}

.chessiq-secondary-button {
    border-color: rgba(255, 209, 102, 0.24);
    background: rgba(255, 209, 102, 0.08);
    color: #fff0bd;
}

.chessiq-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.chessiq-feature-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(11, 15, 24, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chessiq-feature-card h4 {
    margin: 0 0 10px;
    font-family: 'ChessIQ Display', 'Sora', sans-serif;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
}

.chessiq-feature-card p:last-child {
    margin-bottom: 0;
}

.chessiq-commitment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.chessiq-commitment-strip span,
.chessiq-manifesto-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(247, 251, 255, 0.86);
    font-family: 'ChessIQ Compact', 'Manrope', sans-serif;
    font-size: 0.94rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chessiq-side-stack {
    display: grid;
    gap: 18px;
}

.chessiq-manifesto-panel {
    align-self: start;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        var(--chessiq-panel-strong);
}

.chessiq-manifesto-label {
    color: var(--chessiq-amber);
}

.chessiq-manifesto-panel h4 {
    margin: 0 0 12px;
    font-family: 'ChessIQ Display', 'Sora', sans-serif;
    font-size: clamp(1.9rem, 2.5vw, 2.7rem);
    letter-spacing: -0.04em;
    color: #f7fbff;
}

.chessiq-manifesto-panel p:last-of-type {
    margin-bottom: 0;
}

.chessiq-manifesto-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.chessiq-art-panel {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(9, 13, 22, 0.9);
}

.chessiq-art-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 20%, rgba(90, 174, 232, 0.14), transparent 22%),
        radial-gradient(circle at 78% 18%, rgba(255, 209, 102, 0.14), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
    pointer-events: none;
}

.chessiq-academy-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
}

.chessiq-academy-card {
    position: relative;
    min-height: 224px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at center, rgba(111, 231, 255, 0.18), transparent 54%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(7, 10, 18, 0.34)),
        rgba(7, 10, 18, 0.88);
}

.chessiq-academy-card-amber {
    background:
        radial-gradient(circle at center, rgba(255, 209, 102, 0.18), transparent 54%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(7, 10, 18, 0.34)),
        rgba(7, 10, 18, 0.88);
}

.chessiq-academy-base,
.chessiq-academy-glow,
.chessiq-academy-sweep {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: contain;
    object-position: center;
}

.chessiq-academy-base {
    z-index: 1;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.26));
}

.chessiq-academy-glow {
    z-index: 2;
    opacity: 0.16;
    mix-blend-mode: screen;
}

.chessiq-academy-sweep {
    z-index: 3;
    opacity: 0;
    mix-blend-mode: screen;
    filter: saturate(1.22) brightness(1.12);
    -webkit-mask-image: linear-gradient(120deg, transparent 34%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.32) 57%, transparent 68%);
    -webkit-mask-size: 250% 160%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 140% 0;
    mask-image: linear-gradient(120deg, transparent 34%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.32) 57%, transparent 68%);
    mask-size: 250% 160%;
    mask-repeat: no-repeat;
    mask-position: 140% 0;
    animation: chessiqSweep 6.2s ease-in-out infinite;
}

.chessiq-academy-card-amber .chessiq-academy-sweep {
    animation-delay: -2.8s;
}

.chessiq-portrait-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.chessiq-portrait-card {
    padding: 10px 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 18, 0.68);
    text-align: center;
}

.chessiq-portrait-card img {
    display: block;
    width: 100%;
    max-width: 68px;
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

.chessiq-portrait-card span {
    display: block;
    color: rgba(247, 251, 255, 0.88);
    font-family: 'ChessIQ Compact', 'Sora', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chessiq-stage-piece {
    position: absolute;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
    animation: chessiqDrift 12s ease-in-out infinite;
}

.chessiq-stage-piece-king {
    left: -6px;
    bottom: 22px;
    width: 84px;
}

.chessiq-stage-piece-queen {
    right: -10px;
    bottom: 118px;
    width: 92px;
    animation-delay: -2.8s;
}

.chessiq-stage-piece-knight {
    left: 34px;
    bottom: 280px;
    width: 70px;
    animation-delay: -1.7s;
}

@keyframes chessiqPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.84;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes chessiqSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes chessiqSpinReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes chessiqDrift {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@keyframes chessiqSweep {

    0%,
    18% {
        opacity: 0;
        -webkit-mask-position: 140% 0;
        mask-position: 140% 0;
    }

    30% {
        opacity: 0.84;
    }

    52% {
        opacity: 1;
        -webkit-mask-position: 34% 0;
        mask-position: 34% 0;
    }

    72%,
    100% {
        opacity: 0;
        -webkit-mask-position: -120% 0;
        mask-position: -120% 0;
    }
}

.site-footer {
    padding: 0 0 34px;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 0;
}

.site-footer p {
    margin: 0;
    font-size: 0.94rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    font-size: 0.94rem;
    font-weight: 700;
}

@media (max-width: 1080px) {

    .site-header-inner,
    .hero,
    .proof-layout,
    .contact-layout,
    .site-footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-inner {
        justify-content: flex-start;
    }

    .hero {
        gap: 22px;
    }

    .hero-panel {
        width: 100%;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .chessiq-story-grid,
    .chessiq-feature-grid {
        grid-template-columns: 1fr;
    }

    .chessiq-portrait-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .chessiq-core-shape {
        top: 34%;
        left: 52%;
    }
}

@media (max-width: 720px) {

    .site-header,
    .content-wrap,
    .site-footer {
        width: min(100% - 20px, 1160px);
    }

    .site-brand-logo {
        width: min(240px, 70vw);
    }

    .hero,
    .section-block {
        padding: 22px;
        border-radius: 22px;
    }

    .hero::before {
        left: 22px;
        right: 22px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.42rem;
    }

    .hero-actions,
    .trust-strip,
    .site-nav,
    .footer-links {
        width: 100%;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .primary-button,
    .secondary-button,
    .cta-link {
        width: 100%;
    }

    .chessiq-story-copy,
    .chessiq-manifesto-panel,
    .chessiq-art-panel,
    .chessiq-stage {
        padding: 20px;
        border-radius: 22px;
    }

    .chessiq-brand-lockup {
        align-items: flex-start;
    }

    .chessiq-app-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .chessiq-story-copy h3 {
        max-width: none;
        font-size: 2.4rem;
    }

    .chessiq-portrait-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chessiq-floating-move {
        font-size: 0.82rem;
        padding: 8px 11px;
    }

    .chessiq-art-panel {
        min-height: 560px;
    }
}

/* Premium alignment pass: monochrome QILA surface with animated polygon structure. */
:root {
    --page-bg: #050606;
    --surface: rgba(244, 245, 241, 0.055);
    --surface-strong: rgba(244, 245, 241, 0.095);
    --surface-soft: rgba(244, 245, 241, 0.07);
    --ink: #f4f5f1;
    --muted: rgba(244, 245, 241, 0.66);
    --accent: #f7f8f3;
    --accent-soft: rgba(244, 245, 241, 0.12);
    --gold: #d7dccf;
    --rule: rgba(244, 245, 241, 0.14);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body {
    color: var(--ink);
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 32%),
        linear-gradient(180deg, #0c0e0d 0%, #050606 48%, #0b0c0b 100%);
}

body::before {
    background-image:
        linear-gradient(to right, rgba(244, 245, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 245, 241, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 82%);
}

body::after {
    content: "";
    position: fixed;
    right: -12vw;
    top: 108px;
    width: min(48vw, 660px);
    aspect-ratio: 1;
    border: 1px solid rgba(244, 245, 241, 0.14);
    background:
        linear-gradient(135deg, rgba(244, 245, 241, 0.13), transparent 52%),
        repeating-linear-gradient(48deg, rgba(244, 245, 241, 0.12) 0 1px, transparent 1px 32px);
    clip-path: polygon(50% 0%, 86% 15%, 100% 50%, 82% 88%, 46% 100%, 8% 78%, 0% 38%, 18% 10%);
    opacity: 0.22;
    pointer-events: none;
    animation: modusPolygonDrift 18s ease-in-out infinite;
}

.site-header,
.content-wrap,
.site-footer {
    width: min(1220px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    background: rgba(5, 6, 6, 0.58);
    box-shadow: none;
}

.site-brand-logo {
    width: auto;
    max-width: min(320px, 32vw);
    height: clamp(56px, 5.4vw, 78px);
    filter: invert(1) grayscale(1) brightness(1.9) contrast(1.08);
}

.site-nav {
    gap: 8px;
    justify-content: flex-end;
    margin-left: 0;
}

.site-nav a {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.86rem;
}

.cta-link {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 0.86rem;
}

.site-nav a,
.nav-dropdown-trigger,
.cta-link,
.primary-button,
.secondary-button,
.trust-strip span,
.proof-chip-row span,
.chessiq-commitment-strip span,
.chessiq-manifesto-list span {
    border-radius: 999px;
}

.site-nav a,
.nav-dropdown-trigger,
.secondary-button,
.trust-strip span,
.proof-chip-row span {
    background: linear-gradient(180deg, rgba(244, 245, 241, 0.1), rgba(244, 245, 241, 0.035));
    border-color: rgba(244, 245, 241, 0.16);
    color: rgba(244, 245, 241, 0.84);
}

.cta-link,
.primary-button,
.primary-button-inline {
    background: linear-gradient(180deg, rgba(244, 245, 241, 0.98), rgba(222, 226, 216, 0.94));
    border-color: rgba(244, 245, 241, 0.92);
    color: #050606;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.site-nav a:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown-trigger:hover {
    background: linear-gradient(180deg, rgba(244, 245, 241, 0.15), rgba(244, 245, 241, 0.05));
    border-color: rgba(244, 245, 241, 0.24);
    color: var(--ink);
}

.cta-link:hover {
    color: #050606;
}

.hero {
    min-height: auto;
    align-items: center;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    box-shadow: none;
    padding: clamp(44px, 7vw, 86px) 0 clamp(36px, 6vw, 68px);
}

.hero::before {
    left: auto;
    right: 8%;
    top: 12%;
    width: min(34vw, 420px);
    height: auto;
    aspect-ratio: 1.1;
    border-radius: 0;
    border: 1px solid rgba(244, 245, 241, 0.18);
    background:
        linear-gradient(145deg, rgba(244, 245, 241, 0.16), transparent 54%),
        repeating-linear-gradient(35deg, transparent 0 30px, rgba(244, 245, 241, 0.12) 31px 32px);
    clip-path: polygon(16% 8%, 72% 0%, 100% 34%, 80% 100%, 22% 86%, 0% 38%);
    animation: modusPolygonTilt 14s ease-in-out infinite;
}

.hero::after {
    right: 12%;
    top: auto;
    bottom: 12%;
    width: min(23vw, 290px);
    height: auto;
    aspect-ratio: 1;
    border-radius: 0;
    border: 1px solid rgba(244, 245, 241, 0.12);
    background: repeating-linear-gradient(125deg, rgba(244, 245, 241, 0.14) 0 1px, transparent 1px 26px);
    clip-path: polygon(50% 0%, 96% 32%, 82% 100%, 22% 88%, 0% 25%);
    opacity: 0.42;
}

h1,
h2,
h3 {
    color: var(--ink);
}

h1 {
    max-width: 13ch;
    font-size: clamp(2.8rem, 5vw, 4.85rem);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: 0;
}

.eyebrow,
.card-label,
.panel-label,
.section-number {
    color: var(--accent);
}

.hero-lead,
.hero-note,
.section-intro,
.proof-copy p,
.contact-layout p,
.product-card p,
.feature-card p,
.hero-meta dd,
.hero-meta dt,
.site-footer p {
    color: var(--muted);
}

.hero-lead,
.hero-note,
.section-intro,
.proof-copy p,
.contact-layout p,
.product-card p,
.feature-card p {
    line-height: 1.62;
}

.hero-stance,
.hero-panel,
.feature-card,
.product-card,
.contact-panel,
.proof-list article,
.proof-note-card,
.chessiq-story-copy,
.chessiq-manifesto-panel,
.chessiq-art-panel,
.chessiq-feature-card,
.chessiq-portrait-card {
    border-radius: 8px;
    border-color: var(--rule);
    background:
        linear-gradient(180deg, rgba(244, 245, 241, 0.09), rgba(244, 245, 241, 0.035));
    box-shadow: var(--shadow);
}

.hero-stance p:last-child,
.proof-note-card p:last-of-type {
    color: var(--ink);
}

.hero-panel,
.proof-note-card,
.product-card-highlight {
    background:
        linear-gradient(180deg, rgba(244, 245, 241, 0.13), rgba(244, 245, 241, 0.045));
}

.section-block {
    margin-top: 0;
    padding: clamp(42px, 7vw, 86px) 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    box-shadow: none;
}

.section-number {
    background: var(--accent-soft);
    border: 1px solid var(--rule);
}

.feature-card,
.product-card,
.proof-list article,
.contact-panel {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.product-card::before,
.proof-list article::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 12px 12px auto auto;
    width: 64px;
    aspect-ratio: 1;
    border: 1px solid rgba(244, 245, 241, 0.14);
    clip-path: polygon(50% 0%, 100% 28%, 88% 84%, 26% 100%, 0% 42%);
    opacity: 0.52;
}

.chessiq-story {
    border-radius: 0;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(30px, calc((100vw - 1220px) / 2));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        #05070a;
    border-top: 1px solid rgba(111, 231, 255, 0.14);
    border-bottom: 1px solid rgba(255, 209, 102, 0.1);
}

.chessiq-story::before {
    background:
        linear-gradient(115deg, rgba(111, 231, 255, 0.13), transparent 32%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 30px);
    clip-path: polygon(9% 12%, 58% 0%, 96% 35%, 83% 88%, 26% 100%, 0% 48%);
    width: min(58vw, 760px);
    height: min(58vw, 760px);
    inset: 6% -14% auto auto;
    opacity: 0.46;
}

.chessiq-story::after {
    background-size: 36px 36px;
}

@keyframes modusPolygonDrift {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(-18px, 22px, 0) rotate(7deg);
    }
}

@keyframes modusPolygonTilt {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-16px) rotate(4deg);
    }
}

@media (max-width: 1080px) {
    .hero {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        gap: 10px;
    }

    .site-brand-logo {
        max-width: min(240px, 28vw);
        height: 54px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav a,
    .cta-link,
    .nav-dropdown-trigger {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 720px) {

    .site-header,
    .content-wrap,
    .site-footer {
        width: min(100% - 20px, 1220px);
    }

    .site-header {
        position: relative;
    }

    .site-header-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 12px;
    }

    .site-brand-logo {
        height: 58px;
        max-width: min(280px, 74vw);
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav a,
    .cta-link,
    .nav-dropdown-trigger {
        width: auto;
    }

    .hero,
    .section-block {
        padding: 34px 0;
    }

    .detail-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hero::before,
    .hero::after,
    body::after {
        opacity: 0.24;
    }

    .chessiq-story {
        padding-inline: 20px;
    }
}