/* ============================================================
   10x Technologies — site styles
   Built on the design system tokens (design-system/styles.css).
   Pages must link design-system/styles.css BEFORE this file and
   set data-theme="dark" (or "light") on <html>.
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Legacy variable bridge — older pages and inline styles reference
   these names; they now resolve to design-system tokens. */
:root {
    --primary-color: var(--accent);
    --primary-dark: var(--accent-press);
    --secondary-color: var(--accent);
    --text-light: var(--text-primary);
    --text-muted: var(--text-secondary);
    --text-dark: var(--text-tertiary);
    --bg-dark: var(--bg-base);
    --bg-darker: var(--bg-sunken);
    --bg-card: var(--surface-1);
    --bg-card-hover: var(--surface-2);
    --border-color: var(--border-default);
    --border-hover: var(--border-strong);
    --shadow: var(--shadow-sm);
    /* --shadow-lg comes straight from the design system */
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--text-primary);
    background-color: var(--bg-base);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-7);
}

/* ---- Shared type patterns ---- */
.eyebrow {
    font: var(--fw-medium) var(--text-eyebrow)/1 var(--font-mono);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.accent {
    color: var(--text-accent);
}

.section-head {
    max-width: 660px;
    margin-bottom: var(--space-9);
}

.section-title {
    font-size: var(--text-display-lg);
    line-height: var(--lh-display-lg);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin: var(--space-4) 0 0;
}

.section-subtitle {
    font-size: var(--text-body-lg);
    line-height: var(--lh-body-lg);
    color: var(--text-secondary);
    margin: var(--space-4) 0 0;
}

.rss-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: var(--text-body-sm);
    color: var(--text-secondary);
    text-decoration: none;
}

.rss-link:hover {
    color: var(--text-accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--bg-base) 80%, transparent);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 17px;
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-snug);
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--dur) var(--ease-out);
}

.logo:hover {
    color: var(--text-accent);
}

.nav-links {
    display: flex;
    gap: var(--space-7);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: var(--text-body-sm);
    font-weight: var(--fw-regular);
    letter-spacing: -0.01em;
    transition: color var(--dur) var(--ease-out);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Free Tools nav dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    cursor: pointer;
}

.nav-dropdown-caret {
    transition: transform var(--dur) var(--ease-out);
    opacity: 0.7;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 264px;
    padding: var(--space-2);
    background: color-mix(in srgb, var(--surface-1) 96%, transparent);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
    z-index: 1001;
}

/* Hover bridge so the menu doesn't close in the gap below the trigger. */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: grid;
    gap: 2px;
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: background var(--dur) var(--ease-out);
}

.nav-dropdown-menu a:hover {
    background: var(--surface-2);
}

.nav-dropdown-label {
    font-size: var(--text-body-sm);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
}

.nav-dropdown-desc {
    font-size: var(--text-mono-sm);
    color: var(--text-secondary);
}

.nav-dropdown-divider {
    height: 1px;
    margin: var(--space-2) var(--space-2);
    background: var(--border-subtle);
}

.nav-dropdown-all {
    color: var(--text-accent) !important;
    font-size: var(--text-body-sm);
    font-weight: var(--fw-medium);
}

/* Homepage "view all" links per tool collection + browse-all CTA */
.app-group-all {
    display: inline-block;
    margin-top: var(--space-5);
    color: var(--text-accent);
    font-weight: var(--fw-medium);
    font-size: var(--text-body-sm);
    text-decoration: none;
    transition: color var(--dur) var(--ease-out);
}

.app-group-all:hover {
    color: var(--accent-hover);
}

/* Coming-soon collections — roadmap teasers rendered by js/main.js on the
   homepage and js/tools.js on /resources/. */
.soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
}

.soon-card {
    padding: var(--space-6);
    border: 1px dashed var(--border-default);
    border-radius: var(--radius-lg);
}

.soon-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.soon-card-kicker {
    color: var(--text-tertiary);
    font: var(--fw-medium) var(--text-eyebrow)/1 var(--font-mono);
    letter-spacing: var(--tracking-eyebrow);
}

.soon-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px var(--space-2);
    border-radius: var(--radius-pill);
    font: var(--fw-medium) var(--text-mono-sm)/1.4 var(--font-mono);
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: var(--surface-2);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.soon-card h4 {
    margin: 0 0 var(--space-2);
    color: var(--text-primary);
    font-size: var(--text-h4);
}

.soon-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-body-sm);
    line-height: var(--lh-body);
}

.tools-coming-soon {
    margin-top: var(--space-10);
}

.tools-coming-soon:empty {
    display: none;
}

.tools-soon-title {
    margin: 0 0 var(--space-5);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: var(--text-h3);
}

.apps-browse-all {
    margin-top: var(--space-10);
    display: flex;
    justify-content: center;
}

/* The playground link closes the apps grid without competing with it. These
   are experiments, not curriculum, so it reads as a footnote rather than a
   tenth card — smaller than .research-strip-all and deliberately quiet. */
.apps-playground {
    margin: var(--space-8) 0 0;
    text-align: center;
    font-size: var(--text-small, 0.875rem);
    color: var(--text-secondary);
}

.apps-playground a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.apps-playground a:hover {
    color: var(--accent);
}

/* Sign in is the one link in the marketing nav that leads somewhere else
   entirely — out of the brochure and into the product. Coloured text among
   seven other coloured-text links did not read as a door, so it gets an
   outline. (Signed in, js/app-shell.js replaces this whole row.) */
.nav-links .nav-account {
    padding: 6px 14px;
    margin: -6px 0;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-pill, 999px);
    color: var(--text-accent);
    transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.nav-links .nav-account:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--text-accent);
}

/* ------------------------------------------------------------------
   App nav — what the navbar becomes once you are signed in.
   Rendered by js/app-shell.js into the same .nav-links container, so
   the hamburger, the slide-down panel and the mobile rules below all
   keep working unchanged.
   ------------------------------------------------------------------ */

/* Hold the marketing links back until the app nav replaces them.
   js/app-shell.js is a module, so it runs deferred — without this the
   browser is free to paint "Services / Free Resources / Newsletter /
   Contact" to a signed-in learner and swap it a frame later. The <head>
   snippet that sets data-auth also arms a timeout that clears it, so a
   shell script that never loads degrades to the marketing nav rather
   than to no nav at all. Only the links are held; the logo still
   paints, so the bar never collapses. */
html[data-auth="in"] .navbar .nav-links:not(.is-app-nav) {
    visibility: hidden;
}
.nav-links.is-app-nav {
    align-items: center;
    gap: var(--space-6);
}

.nav-links.is-app-nav a[aria-current="page"] {
    color: var(--text-primary);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: var(--space-1);
    border-radius: 999px;
    background: var(--accent);
    color: var(--text-on-accent);
    font-size: 11px;
    font-weight: var(--fw-medium);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.nav-account-menu {
    position: relative;
    display: inline-flex;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    background: var(--accent-subtle);
    color: var(--text-accent);
    font: var(--fw-medium) var(--text-body-sm)/1 var(--font-sans);
    cursor: pointer;
    transition: border-color var(--dur) var(--ease-out);
}

.nav-avatar:hover,
.nav-avatar[aria-expanded="true"] {
    border-color: var(--accent);
}

.nav-avatar:focus-visible {
    outline: none;
    box-shadow: var(--ring-focus);
}

.nav-account-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    min-width: 220px;
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.nav-account-panel[hidden] {
    display: none;
}

.nav-account-who {
    margin: 0;
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: var(--text-caption);
    line-height: 1.5;
}

.nav-account-who span {
    display: block;
    color: var(--text-secondary);
}

.nav-account-panel a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.nav-account-panel a:hover {
    background: var(--surface-2);
    color: var(--text-primary);
}

.nav-account-panel .nav-signout {
    margin-top: var(--space-1);
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Mobile nav toggle (hamburger). Injected by js/nav.js; hidden on desktop. */
.nav-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    margin: -8px calc(var(--space-2) * -1) -8px 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    margin-left: -11px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.nav-toggle-bar:nth-child(1) { transform: translateY(-6px); }
.nav-toggle-bar:nth-child(2) { transform: translateY(0); }
.nav-toggle-bar:nth-child(3) { transform: translateY(6px); }

.navbar.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(0) rotate(45deg); }
.navbar.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.navbar.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Hero Section */
.hero {
    height: calc(100vh - 60px);
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 100px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 55% at 50% 0%, rgba(61, 139, 255, 0.14), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

#waveform-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    background: color-mix(in srgb, var(--bg-base) 72%, transparent);
    padding: var(--space-9) var(--space-9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: var(--text-display-xl);
    line-height: var(--lh-display-xl);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin: var(--space-6) 0 0;
}

.hero-subtitle {
    font-size: var(--text-body-lg);
    line-height: var(--lh-body-lg);
    color: var(--text-secondary);
    margin: var(--space-6) auto 0;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-tertiary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-default);
    background: color-mix(in srgb, var(--bg-base) 60%, transparent);
    backdrop-filter: blur(5px);
    transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
    animation: pulseCaret 2.4s var(--ease-in-out) infinite;
}

.scroll-indicator:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
}

@keyframes pulseCaret {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }
}

.hero-description {
    font-size: var(--text-body-lg);
    margin-bottom: var(--space-7);
    color: var(--text-secondary);
    line-height: var(--lh-body-lg);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 26px;
    background: var(--accent);
    color: var(--text-on-accent);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--fw-medium);
    font-size: var(--text-body);
    letter-spacing: -0.01em;
    transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.cta-button:hover {
    background: var(--accent-hover);
    box-shadow: var(--glow-accent-soft);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: scale(0.99);
}

.cta-button.outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.cta-button.outline:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    box-shadow: none;
}

/* Mutual AI Section — compact cross-sell banner */
.mutual-ai {
    padding: var(--space-8) 0;
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.mutual-ai-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-7);
    padding: var(--space-6) var(--space-7);
    background: var(--surface-1);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
}

.mutual-ai-content {
    text-align: left;
}

.mutual-ai-title {
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin: var(--space-2) 0;
}

.mutual-ai-description {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: var(--lh-body);
    margin: 0;
}

.mutual-ai-link {
    flex: none;
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--fw-medium);
    font-size: var(--text-body-sm);
    white-space: nowrap;
    transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.mutual-ai-link:hover {
    background: var(--surface-2);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .mutual-ai-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-5);
    }
}

/* Newsletter Section */
.newsletter {
    padding: 104px 0;
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--space-4);
    margin-top: var(--space-7);
}

.newsletter-card {
    background: var(--surface-1);
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-default);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
    display: block;
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.newsletter-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.newsletter-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.newsletter-title {
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-snug);
    color: var(--text-primary);
    margin: 0;
}

.newsletter-date {
    font-family: var(--font-mono);
    font-size: var(--text-mono-sm);
    letter-spacing: var(--tracking-mono);
    color: var(--text-tertiary);
    margin: 0;
}

.newsletter-link {
    color: var(--text-accent);
    font-weight: var(--fw-medium);
    font-size: var(--text-body-sm);
    margin-top: var(--space-4);
    display: inline-block;
    transition: transform var(--dur) var(--ease-out);
}

.newsletter-card:hover .newsletter-link {
    transform: translateX(4px);
}

.newsletter-empty {
    text-align: center;
    padding: var(--space-10) var(--space-7);
    color: var(--text-tertiary);
    font-size: var(--text-body);
}

/* Newsletter Article Page Styles */
.newsletter-article {
    padding: 120px 0 80px;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    background: var(--bg-base);
}

.newsletter-article .container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-7);
}

.back-link {
    display: inline-block;
    color: var(--text-accent);
    text-decoration: none;
    margin-bottom: var(--space-7);
    font-weight: var(--fw-medium);
    font-size: var(--text-body-sm);
    transition: color var(--dur) var(--ease-out);
}

.back-link:hover {
    color: var(--text-primary);
}

.newsletter-article h1 {
    font-size: var(--text-h1);
    line-height: var(--lh-h1);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.article-date {
    font-family: var(--font-mono);
    font-size: var(--text-mono);
    letter-spacing: var(--tracking-mono);
    color: var(--text-tertiary);
    padding-bottom: var(--space-7);
    border-bottom: 1px solid var(--border-subtle);
}

.share-link-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-3) 0 var(--space-9);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--text-body-sm);
    font-weight: var(--fw-medium);
    color: var(--text-accent);
    background: var(--surface-2);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.share-link-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.share-link-btn.is-copied {
    color: var(--accent);
    border-color: var(--border-accent);
}

.article-content {
    color: var(--text-primary);
    line-height: var(--lh-body-lg);
    font-size: var(--text-body-lg);
}

.article-content h2 {
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-snug);
    color: var(--text-primary);
    margin-top: var(--space-9);
    margin-bottom: var(--space-5);
}

.article-content h3 {
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-top: var(--space-7);
    margin-bottom: var(--space-4);
}

.article-content p {
    margin-bottom: var(--space-5);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-5);
    padding-left: var(--space-7);
}

.article-content li {
    margin-bottom: var(--space-2);
}

.article-content a {
    color: var(--text-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-out);
}

.article-content a:hover {
    border-bottom-color: var(--accent);
}

.article-content code {
    background: var(--surface-2);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--text-accent);
}

.article-content pre {
    background: var(--surface-inset);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: var(--space-5);
    border: 1px solid var(--border-default);
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.article-content blockquote {
    border-left: 2px solid var(--accent);
    padding-left: var(--space-5);
    margin: var(--space-7) 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Services Section */
.services {
    padding: 104px 0;
    background: var(--bg-base);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.service-card {
    background: var(--surface-1);
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-default);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.service-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Box Base Styles — engineered motifs, single blue accent */
.icon-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bg-sunken);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-subtle);
    transition: box-shadow var(--dur) var(--ease-out);
    box-shadow: 0 0 30px rgba(61, 139, 255, 0.08);
}

.icon-box:hover,
.service-card:hover .icon-box {
    box-shadow: 0 0 40px rgba(61, 139, 255, 0.2);
}

/* UPSKILLING - Reactor Core */
.reactor-core-service {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--blue-500);
    border-bottom-color: var(--blue-500);
    animation: spin 3s linear infinite;
    position: relative;
}

.reactor-core-service::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left-color: var(--blue-300);
    border-right-color: var(--blue-300);
    animation: spin 2s linear infinite reverse;
}

.reactor-core-service::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--blue-500));
    opacity: 0.7;
    animation: pulse 1.4s var(--ease-in-out) infinite alternate;
    box-shadow: 0 0 30px rgba(61, 139, 255, 0.5);
}

/* COACHING - Wavelength */
.icon-coaching canvas {
    display: block;
}

/* STRATEGY - Tactical HUD */
.hud-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.hud-ring.outer {
    width: 180px;
    height: 180px;
    border-top: 2px solid var(--blue-500);
    border-bottom: 2px solid var(--blue-500);
    opacity: 0.5;
    animation: rotate 8s linear infinite;
}

.hud-ring.mid {
    width: 140px;
    height: 140px;
    border-left: 2px dashed var(--blue-400);
    border-right: 2px dashed var(--blue-400);
    opacity: 0.8;
    animation: rotate 4s linear infinite reverse;
}

.hud-ring.inner {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(61, 139, 255, 0.3);
    background: rgba(61, 139, 255, 0.05);
}

.hud-crosshair {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(61, 139, 255, 0.7);
    animation: pulseTarget 2s var(--ease-in-out) infinite;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(61, 139, 255, 0.45);
    box-shadow: 0 0 10px rgba(61, 139, 255, 0.6);
    animation: scan 3s var(--ease-in-out) infinite;
}

/* DEVELOPMENT - Hyper Cube */
.icon-dev {
    perspective: 600px;
}

.cube {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCube 8s linear infinite;
}

.face {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(61, 139, 255, 0.65);
    background: rgba(61, 139, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(61, 139, 255, 0.15);
}

.face.front {
    transform: rotateY(0deg) translateZ(40px);
}

.face.back {
    transform: rotateY(180deg) translateZ(40px);
}

.face.right {
    transform: rotateY(90deg) translateZ(40px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(40px);
}

.face.top {
    transform: rotateX(90deg) translateZ(40px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

/* Animation Keyframes */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseTarget {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

@keyframes spinCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.service-card h3 {
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-snug);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
}

/* Apps Section */
.apps {
    padding: 104px 0;
    background: var(--bg-base);
}

/* Pathways row — the three guided entry points into the resources. */
.pathways-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-9);
}

.pathway-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-6);
    background: var(--surface-1);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.pathway-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.pathway-card h3 {
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    margin: 0;
}

.pathway-card p {
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.pathway-cta {
    font-size: var(--text-body-sm);
    font-weight: var(--fw-medium);
    color: var(--text-accent);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
}

.app-groups {
    display: grid;
    gap: var(--space-10);
}

.app-group {
    scroll-margin-top: 100px;
}

.app-group-head {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.3fr);
    gap: var(--space-6);
    align-items: end;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-default);
}

.app-group-kicker {
    margin-bottom: var(--space-2);
    color: var(--text-accent);
    font: var(--fw-medium) var(--text-eyebrow)/1 var(--font-mono);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
}

.app-group-title {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
}

.app-group-description {
    max-width: 620px;
    margin: 0;
    color: var(--text-secondary);
    line-height: var(--lh-body);
}

.app-card {
    background: var(--surface-1);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--border-default);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

.app-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--surface-2);
}

.app-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App Icon Box Base Styles */
.icon-box-app {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bg-sunken);
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-subtle);
    transition: box-shadow var(--dur) var(--ease-out);
    box-shadow: 0 0 30px rgba(61, 139, 255, 0.08);
}

.app-card:hover .icon-box-app {
    box-shadow: 0 0 40px rgba(61, 139, 255, 0.2);
}

.icon-box-app > * {
    overflow: hidden;
    border-radius: 50%;
}

/* PYRAMID - Digital Maturity */
.pyramid-container-app {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(45deg) scale(1);
}

.layer-app {
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(61, 139, 255, 0.08);
    border: 2px solid var(--blue-500);
    box-shadow: 0 0 10px rgba(61, 139, 255, 0.5), inset 0 0 10px rgba(61, 139, 255, 0.35);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: buildUpApp 6s infinite var(--ease-in-out);
}

.l1-app {
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%) translateZ(0px);
    animation-delay: 0s;
}

.l2-app {
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%) translateZ(30px);
    animation-delay: 0.5s;
}

.l3-app {
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%) translateZ(60px);
    animation-delay: 1s;
}

.l4-app {
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) translateZ(90px);
    animation-delay: 1.5s;
}

.top-node-app {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--blue-bright);
    transform: translate(-50%, -50%) translateZ(120px);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(111, 180, 255, 0.7);
    opacity: 0;
    animation: buildUpNodeApp 6s infinite var(--ease-in-out);
    animation-delay: 2s;
}

@keyframes buildUpApp {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(-200px) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(var(--tz, 0px)) scale(1);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(200px) scale(0);
    }
}

@keyframes buildUpNodeApp {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(-200px) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(120px) scale(1);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(300px) scale(0);
    }
}

/* NEURAL NET - Technology Mental Models */
.icon-neural canvas {
    display: block;
    background: radial-gradient(circle at center, var(--surface-1) 0%, var(--bg-base) 100%);
}

/* TREND LINE - Technology Trends */
.trend-svg-app {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(transparent 95%, rgba(61, 139, 255, 0.08) 95%);
    background-size: 100% 10px;
    overflow: visible;
}

.axis-app {
    stroke: var(--neutral-300);
    stroke-width: 2;
}

.grid-line-app {
    stroke: var(--neutral-200);
    stroke-width: 1;
    stroke-dasharray: 2, 4;
}

#trendPathApp {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(61, 139, 255, 0.6));
    transition: d 1.5s var(--ease-in-out);
}

#trendAreaApp {
    fill: rgba(61, 139, 255, 0.08);
    stroke: none;
    transition: d 1.5s var(--ease-in-out);
}

.trend-label-app {
    fill: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 10px;
    opacity: 0.7;
}

/* COMPASS - Digital Strategy Toolkit */
.compass-svg-app {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.compass-ring-app {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 2;
    opacity: 0.5;
}

.compass-ring-inner-app {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 1;
    stroke-dasharray: 4, 6;
    opacity: 0.35;
}

.compass-tick-app {
    stroke: var(--blue-bright);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.7;
}

.compass-needle-app {
    fill: var(--blue-500);
    filter: drop-shadow(0 0 6px rgba(61, 139, 255, 0.7));
    transform-origin: 100px 100px;
    animation: compassSpinApp 6s infinite var(--ease-in-out);
}

.compass-hub-app {
    fill: var(--blue-bright);
}

@keyframes compassSpinApp {

    0%,
    100% {
        transform: rotate(-18deg);
    }

    50% {
        transform: rotate(18deg);
    }
}

.app-card h3 {
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-snug);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: var(--text-body-sm);
    line-height: var(--lh-body-sm);
}

.app-link {
    color: var(--text-accent);
    font-weight: var(--fw-medium);
    font-size: var(--text-body-sm);
    display: inline-block;
}

/* Contact Section */
.contact {
    padding: 104px 0;
    background: var(--bg-base);
}

.contact-form {
    max-width: 600px;
    background: var(--surface-1);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.reactor-wrapper {
    flex: 0 0 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    padding: var(--space-7);
}

.reactor-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--blue-500);
    border-bottom-color: var(--blue-500);
    animation: spin 3s linear infinite;
    box-shadow: 0 0 50px rgba(61, 139, 255, 0.2);
    position: relative;
}

.reactor-core::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left-color: var(--blue-300);
    border-right-color: var(--blue-300);
    animation: spin 2s linear infinite reverse;
}

.reactor-core::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--blue-500));
    opacity: 0.7;
    animation: pulse 1.4s var(--ease-in-out) infinite alternate;
    box-shadow: 0 0 30px rgba(61, 139, 255, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-eyebrow);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: var(--text-body-sm);
    font-family: var(--font-sans);
    background: var(--surface-inset);
    color: var(--text-primary);
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: var(--ring-focus);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--text-on-accent);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-body);
    font-family: var(--font-sans);
    font-weight: var(--fw-medium);
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.submit-button:hover {
    background: var(--accent-hover);
    box-shadow: var(--glow-accent-soft);
    transform: translateY(-2px);
}

.form-message {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: var(--text-body-sm);
    display: none;
}

.form-message.success {
    background: rgba(47, 191, 113, 0.12);
    color: var(--success-bright);
    border: 1px solid rgba(47, 191, 113, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(255, 93, 93, 0.12);
    color: var(--danger-bright);
    border: 1px solid rgba(255, 93, 93, 0.3);
    display: block;
}

/* What happens to what they just typed. Sits under the button, quiet. */
.contact-form .form-note {
    margin: var(--space-4) 0 0;
    font-size: var(--text-body-sm);
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-base);
    color: var(--text-tertiary);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: var(--text-mono-sm);
    letter-spacing: var(--tracking-mono);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer .container:not(.footer-inner) {
    text-align: center;
}

/* Compact sitemap row above the copyright line. */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-h1);
        line-height: var(--lh-h1);
    }

    .hero-subtitle {
        font-size: var(--text-body);
    }

    .hero-content {
        padding: var(--space-7) var(--space-6);
    }

    .section-title {
        font-size: var(--text-h2);
        line-height: var(--lh-h2);
    }

    .nav-toggle {
        display: block;
    }

    /* Slide-down panel: nav-links leaves the flex row so the bar shows
       only the logo (left) and the toggle (right). */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-2) var(--space-6) var(--space-6);
        background: color-mix(in srgb, var(--bg-base) 98%, transparent);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.55);
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity var(--dur) var(--ease-out),
                    transform var(--dur) var(--ease-out),
                    visibility var(--dur) var(--ease-out);
    }

    .navbar.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 15px;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    /* The desktop pill outranks the row rule above (0,2,0 beats 0,1,1), which
       would leave one floating capsule in a stack of full-width rows. In the
       slide-down panel Sign in is just the last row. */
    .nav-links .nav-account {
        padding: var(--space-3) 0;
        margin: 0;
        border: 0;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: 0;
    }

    /* App nav in the slide-down panel. The account menu stops being a flyout
       and lists its items inline — a popover anchored to a 32px avatar inside
       an already-overlaid panel is a tap-target trap. */
    .nav-links.is-app-nav {
        align-items: stretch;
        gap: 0;
    }

    .nav-account-menu {
        display: block;
    }

    .nav-avatar {
        display: none;
    }

    .nav-account-panel,
    .nav-account-panel[hidden] {
        position: static;
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .nav-account-who {
        padding: var(--space-4) 0 var(--space-2);
        border-bottom: 0;
    }

    .nav-account-panel a {
        display: block;
        padding: var(--space-3) 0;
        border-radius: 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-account-panel a:hover {
        background: none;
    }

    .nav-account-panel .nav-signout {
        margin-top: 0;
        color: var(--text-tertiary);
    }

    .nav-dropdown {
        display: block;
    }

    .nav-dropdown-trigger {
        justify-content: space-between;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    /* Show the Free Tools items inline inside the mobile panel rather than
       as a hover flyout. Reveal is deferred to .nav-open below: without it
       the child's visibility/pointer-events would override the collapsed
       panel's, leaving an invisible menu that hijacks taps on the page
       beneath the navbar (e.g. resource cards → the filter page). */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        margin: 0;
        padding: var(--space-1) 0 var(--space-2) var(--space-4);
        background: none;
        backdrop-filter: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar.nav-open .nav-dropdown-menu {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-menu a {
        padding: var(--space-2) 0;
        border-bottom: 0;
    }

    .nav-dropdown::after {
        display: none;
    }

    .logo span {
        display: none;
    }

    .services-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-group-head {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .contact-form {
        padding: var(--space-6);
        max-width: 100%;
    }
}


/* ============================================================
   DIGITAL MBA ANNOUNCEMENT (homepage)
   Sits between #services and #apps. Deliberately quiet next to
   the hero — it is an announcement, not a second hero.
   ============================================================ */
/* Homepage research strip. The cards are .analysis-paper from css/analysis.css;
   this only supplies the band around them. */
.research-strip {
    padding: 96px 24px;
    border-block: 1px solid var(--border-subtle);
}

.research-strip .container { max-width: 1100px; margin: 0 auto; }

.research-strip .section-head { margin-bottom: var(--space-7); }

.research-strip-all {
    padding-top: var(--space-7);
    color: var(--text-secondary);
}

.mba-announce {
    padding: 64px 24px;
    border-block: 1px solid var(--border-subtle);
    background: var(--surface-1);
}
.mba-announce .container { max-width: 1100px; margin: 0 auto; }
.mba-announce-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
    gap: 40px;
    align-items: center;
}
.mba-announce-badge {
    display: inline-block;
    font: var(--fw-semibold) 11.5px/1 var(--font-sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #3D8BFF;
    background: rgba(61, 139, 255, .12);
    border: 1px solid rgba(61, 139, 255, .35);
    padding: 7px 13px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.mba-announce h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-tight);
    margin: 0 0 14px;
}
.mba-announce p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 62ch;
    margin: 0 0 18px;
}
.mba-announce p strong { color: var(--text-primary); }
.mba-announce-points {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.mba-announce-points li {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    padding-left: 26px;
    position: relative;
}
.mba-announce-points li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: #3D8BFF;
    font-weight: 700;
}
.mba-announce-aside { display: flex; flex-direction: column; gap: 14px; }
.mba-announce-stat {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md, 12px);
    padding: 18px 20px;
}
.mba-announce-stat b {
    display: block;
    font: 700 2rem/1 var(--font-mono, monospace);
    color: var(--text-primary);
}
.mba-announce-stat span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-tertiary);
}

@media (max-width: 820px) {
    .mba-announce-inner { grid-template-columns: 1fr; gap: 28px; }
    .mba-announce-aside { flex-direction: row; flex-wrap: wrap; }
    .mba-announce-stat { flex: 1 1 150px; }
}
