/* =====================================================================
   Wake Intelligence Platform — World Model Platform page-set (wm.css)
   ---------------------------------------------------------------------
   Shared styling for the World Model Platform "set of pages":
     world-model-platform.html (main) + wm-01..wm-06 sub-pages.

   Design intent (per PO feedback WM_comments_2026_06_18a):
     - one complete idea per laptop screen
     - fewer words, LARGER print, 1.5+ line spacing
     - positive tone, consistent font / print / functionality
   Reuses the site design tokens from styles.css (--primary-color, etc.).
   Only linked by the WM page-set, so component class names live here.
   ===================================================================== */

/* ---- Reading column + base rhythm (larger print, airy spacing) ---- */
.wm-narrow      { max-width: 820px; margin-left: auto; margin-right: auto; }
.wm-readable    { max-width: 760px; margin-left: auto; margin-right: auto; }
.wm-section     { padding: 2.75rem 0; }
.wm-section + .wm-section { border-top: 1px solid rgba(61, 43, 31, 0.08); }
.wm-lead        { color: var(--text-medium); font-size: 1.25rem; line-height: 1.75; }
.wm-lead strong { color: var(--text-light); }

/* ---- Hero: WAKE / AI WORLD MODEL PLATFORM ---- */
/* 7.5rem top clears the position:fixed header (~85px) so the big WAKE isn't cut
   off under the menu bar; bottom stays tight per the requested spacing. */
.wm-hero        { text-align: center; padding: 7.5rem 0 0.25rem; }
.wm-title {
    font-family: 'Libre Caslon Text', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(3.4rem, 9vw, 6rem);
    letter-spacing: 0.05em;
    /* 1.25, not a tight 1.0x: the large italic glyphs overflow a tight line box
       and the background-clip:text gradient then clips "WAKE" at the top. */
    line-height: 1.25;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}
.wm-subtitle {
    font-weight: 700;
    font-size: clamp(1.1rem, 3.2vw, 1.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0;
}

/* ---- Positive intro paragraphs (main page) ---- */
.wm-intro       { text-align: center; padding-top: 0.5rem; }
.wm-intro p     { font-size: 1.22rem; line-height: 1.7; color: var(--text-medium); margin-bottom: 1.05rem; }
.wm-intro strong{ color: var(--text-light); }
.wm-intro em    { color: var(--secondary-color); font-style: italic; }

/* ---- "Why 'Wake'?" — a simple, flat banner at the bottom of the explore
   section (replaces the old sticky-note + push-pin). Light, on the page's warm
   palette; deliberately flatter than the floaty glass cards so it reads as a
   banner, not another card. ---- */
.wm-why-banner {
    max-width: 720px;
    margin: 2.25rem auto 0;
    padding: 1.3rem 1.7rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.45);
    text-align: center;
}
.wm-why-banner h3   { margin: 0 0 0.4rem; font-size: 1.2rem; font-style: italic; color: var(--text-light); }
.wm-why-banner p    { margin: 0 0 0.6rem; font-size: 1.05rem; line-height: 1.6; color: var(--text-medium); }
.wm-why-banner em   { color: var(--secondary-color); font-style: italic; }
.wm-why-banner a    { font-weight: 700; color: var(--secondary-color); text-decoration: underline; text-underline-offset: 2px; }
.wm-why-banner a:hover { color: var(--secondary-color); }

/* ---- 6-link index table (main page) ---- */
.wm-index {
    margin: 2.5rem auto 0.5rem;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}
.wm-index a {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
.wm-index a:last-child { border-bottom: none; }
.wm-index a:hover      { background: rgba(75, 142, 196, 0.10); padding-left: 1.85rem; }
.wm-index .num         { font-weight: 700; color: var(--secondary-color); min-width: 2.2rem; }
.wm-index .ttl         { flex: 1; }
.wm-index a:hover .ttl { color: var(--secondary-color); }
.wm-index .chev        { color: var(--text-dark); }

/* ---- Explore section: the 6-link index table, centered. ("Why Wake?" used
   to sit to the right of it; it's now a banner below the table &mdash; see
   .wm-why-banner.) ---- */
.wm-explore-row {
    max-width: 720px;
    margin: 1.25rem auto 0;
}
.wm-explore-col { min-width: 0; }
.wm-explore-row .wm-index  { margin: 0.75rem 0 0; max-width: none; }
.wm-explore-row .wm-index a { padding: 0.95rem 1.35rem; font-size: 1.12rem; }

/* ---- [BACK] link (top and bottom of each sub-page) ---- */
.wm-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}
.wm-back:hover  { color: var(--secondary-color); gap: 0.75rem; }
.wm-back-top    { display: block; padding: 7.5rem 0 0.5rem; }  /* clear the fixed header */
.wm-back-bottom { display: block; text-align: center; padding: 2.5rem 0 1rem; }

/* ---- Sub-page header block ---- */
.wm-page-head        { text-align: center; padding: 2rem 0 1rem; }
.wm-eyebrow {
    text-transform: uppercase; letter-spacing: 0.15em;
    font-size: 0.85rem; font-weight: 700; color: var(--secondary-color);
    margin-bottom: 0.6rem;
}
.wm-page-head h1     { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 0.8rem; color: var(--text-light); }
.wm-page-head p      { font-size: 1.25rem; line-height: 1.75; color: var(--text-medium); }

/* ---- Value cards (wm-01) ---- */
.value-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 2.5rem 0 0.5rem; }
.value-card {
    text-align: left; padding: 1.85rem 1.6rem;
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--secondary-color); }
.value-card i  { font-size: 1.7rem; color: var(--secondary-color); margin-bottom: 0.9rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; color: var(--text-light); }
.value-card p  { font-size: 1.05rem; color: var(--text-medium); line-height: 1.7; }

/* ---- "In plain words" callout ---- */
.plain {
    border-left: 3px solid var(--secondary-color);
    background: rgba(43, 107, 123, 0.08);
    border-radius: 0 10px 10px 0;
    padding: 1.15rem 1.4rem; margin: 1.75rem auto;
    color: var(--text-medium); font-size: 1.08rem; line-height: 1.75;
}
.plain strong { color: var(--text-light); }

/* ---- Level-0 diagram: FULL-BLEED stage (matches wmp L0 size) ----
   wmp renders wake-level0.svg at its registry maxWidth 2385px, breaking
   out of the page column. We mirror that: break out of .container (max 1200px)
   and center on the viewport, so the map renders at its full natural width. */
.wm-diagram-stage {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 2rem), 2385px);
    margin: 2rem auto 1rem;
    overflow-x: auto;            /* graceful scroll on very narrow screens */
    /* The L0 SVG is authored for a dark canvas (wmp --bg #0d1117): its
       labels are white / module-accent colors that wash out on the cream page.
       Restore the dark canvas so the diagram reads exactly like the original. */
    background: #0d1117;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}
.wm-diagram-stage object,
.wm-diagram-stage img { display: block; width: 100%; height: auto; }
.wm-diagram-hint { text-align: center; color: var(--text-dark); font-size: 0.95rem; margin-top: 0.75rem; }
.wm-diagram-hint i { color: var(--secondary-color); }

/* ---- wm-02: tap the Level-0 map to view it full-screen on a phone ----
   The L0 map is wide (~2.34:1) and renders tiny on a portrait phone. On touch /
   small screens, tapping it opens a full-screen overlay (diagram-fullscreen.js);
   in portrait the map is rotated 90deg so its long axis runs down the phone and
   fills it, and turning the phone to landscape lays it out upright. */
.wm-diagram-hint-mobile { display: none; }
@media (max-width: 768px), (pointer: coarse) {
    .wm-diagram-stage { cursor: zoom-in; }
    /* let taps fall THROUGH the embedded SVG to the stage's click handler */
    .wm-diagram-stage object { pointer-events: none; }
    .wm-diagram-hint-desktop { display: none; }
    .wm-diagram-hint-mobile  { display: block; }
}

body.diagram-fs-open { overflow: hidden; }

.diagram-fs-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: #0d1117;
    opacity: 0; transition: opacity 0.18s ease;
}
.diagram-fs-overlay.open { opacity: 1; }

/* Centered + sized to fill the viewport. Portrait (default): rotate the wide
   map 90deg so it runs the long way down the phone. dvh/dvw track the real
   mobile viewport (toolbars); vh/vw are the fallback. */
.diagram-fs-img {
    position: absolute; top: 50%; left: 50%;
    object-fit: contain;
    /* override the global `img { max-width:100%; height:auto }` guard, which
       would otherwise cap the rotated map to the container's (narrow) width */
    max-width: none; max-height: none;
    width: 100vh;  height: 100vw;
    width: 100dvh; height: 100dvw;
    transform: translate(-50%, -50%) rotate(90deg);
}
@media (orientation: landscape) {
    .diagram-fs-img {
        width: 100vw;  height: 100vh;
        width: 100dvw; height: 100dvh;
        transform: translate(-50%, -50%);
    }
}

.diagram-fs-close {
    position: absolute; z-index: 2001;
    top: max(0.6rem, env(safe-area-inset-top));
    right: max(0.8rem, env(safe-area-inset-right));
    width: 2.6rem; height: 2.6rem;
    border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.14); color: #fff;
    font-size: 1.8rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.diagram-fs-close:hover { background: rgba(255, 255, 255, 0.24); }

.diagram-fs-hint {
    position: absolute; z-index: 2001;
    left: 50%; transform: translateX(-50%);
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    margin: 0; padding: 0.45rem 1rem;
    width: max-content; max-width: 86vw; max-width: 86dvw;
    background: rgba(13, 17, 23, 0.72); color: rgba(255, 255, 255, 0.92);
    border-radius: 14px; font-size: 0.84rem; line-height: 1.35; text-align: center;
    pointer-events: none;
}
.diagram-fs-hint .rot { display: none; }
@media (orientation: portrait) { .diagram-fs-hint .rot { display: inline; } }

/* ---- Legend grid (wm-02) ---- */
.legend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.legend-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 1.2rem 1.3rem; }
.legend-item h4 { color: var(--text-light); font-size: 1.08rem; margin-bottom: 0.4rem; }
.legend-item p  { color: var(--text-medium); font-size: 1rem; line-height: 1.65; }

/* ---- Plain-English decision steps (wm-03) ---- */
.steps { margin: 2.25rem auto 0.5rem; display: grid; gap: 1.15rem; }
.step  { display: flex; gap: 1.2rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.5rem 1.6rem; }
.step .num {
    flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--primary-gradient); color: #053b34;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
}
.step h4 { color: var(--text-light); font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p  { color: var(--text-medium); font-size: 1.06rem; line-height: 1.7; margin: 0; }

/* wm-03: a one-time "start" step shown above the recurring loop, plus its lead line.
   Tinted + flag icon (not a number) so it reads as a one-time start, not a loop step. */
.step-start { background: rgba(43, 107, 123, 0.06); border-color: rgba(43, 107, 123, 0.28); }
.step-start .num { background: var(--secondary-color); }
.steps-lead { text-align: center; font-weight: 700; color: var(--text-light); font-size: 1.12rem; margin: 1.9rem auto 0; }
.steps-lead + .steps { margin-top: 0.8rem; }

/* ---- Concrete "for example" subsection inside a setup step ---- */
.step-example {
    margin-top: 0.95rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(43, 107, 123, 0.32);
}
.step-example .ex-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}
.step-example p {
    margin: 0;
    font-size: 0.99rem;
    line-height: 1.6;
    color: var(--text-medium);
}

/* ---- Three-verb serving loop (wm-04 header, #906 demo delta) ----
   The real-time loop your app runs: perceive -> next action -> report.
   Sits above the six gateway cards to lead with the three verbs, then
   the doors that shape them. The tempo tags mark the world doors
   (real-time) apart from the mind doors (fail-soft, never block). */
.verb-loop {
    display: flex; align-items: stretch; gap: 0.75rem; flex-wrap: wrap;
    margin: 1.5rem 0 0.9rem;
}
.verb-step {
    flex: 1 1 200px;
    background: linear-gradient(160deg, #0e2a33, #0f172a 82%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--verb, var(--primary-color));
    border-radius: 14px; padding: 1.1rem 1.2rem;
    box-shadow: 0 10px 24px rgba(11, 42, 51, 0.28);
}
.verb-step h4 { color: #ffffff; font-size: 1.08rem; margin: 0.45rem 0 0.35rem; }
.verb-step code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem;
    color: #eafaf7; background: rgba(255, 255, 255, 0.10);
    padding: 0.12rem 0.45rem; border-radius: 6px;
}
.verb-step p { color: #cfe6e2; font-size: 0.97rem; line-height: 1.6; margin: 0.55rem 0 0; }
.verb-tempo {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #7fd7c9; background: rgba(0, 129, 46, 0.14);
    border: 1px solid rgba(127, 215, 201, 0.35);
    padding: 0.12rem 0.5rem; border-radius: 999px;
}
.verb-tempo-free { color: #ffd98a; background: rgba(206, 144, 0, 0.16); border-color: rgba(255, 217, 138, 0.4); }
.verb-arrow { align-self: center; color: #6a8b86; font-size: 1.1rem; flex: 0 0 auto; }
.verb-loop-note { color: var(--text-medium); font-size: 1rem; line-height: 1.6; margin: 0 0 0.5rem; }

/* Tempo tag on a plane header — world doors (live) vs mind doors (soft). */
.tempo-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
    padding: 0.16rem 0.6rem; border-radius: 999px;
}
.tempo-live { color: #ffe08a; background: rgba(206, 144, 0, 0.16); border: 1px solid rgba(255, 217, 138, 0.4); }
.tempo-soft { color: #9fd4ff; background: rgba(0, 63, 132, 0.18); border: 1px solid rgba(159, 212, 255, 0.4); }

/* ---- Gateways (wm-04, "a little technical") ---- */
.plane { margin: 2.25rem 0; }
.plane-head { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.plane-head h3 { color: var(--text-light); font-size: 1.4rem; }
.plane-head .tag { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-color); font-weight: 700; }
.plane > p.plane-sub { color: var(--text-medium); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.3rem; }
.gateways-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gw-card {
    /* !important: theme.css lists .gw-card among its light glass surfaces with
       an !important background; this deep gradient must win (wm.css loads after). */
    background: linear-gradient(160deg, #0e2a33, #0f172a 82%) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--gw, var(--primary-color)); border-radius: 14px; padding: 1.6rem;
    transition: transform 0.3s ease; color: #d3ebe7;
    box-shadow: 0 14px 32px rgba(11, 42, 51, 0.30) !important;
}
.gw-card:hover { transform: translateY(-5px); }
.gw-name { display: flex; align-items: center; gap: 0.6rem; color: #ffffff; font-size: 1.2rem; margin-bottom: 0.3rem; }
.gw-dot  { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--gw, var(--primary-color)); flex-shrink: 0; box-shadow: 0 0 12px var(--gw, var(--primary-color)); }
.gw-gloss{ color: #9fc7c0; font-size: 0.95rem; font-style: italic; margin-bottom: 0.8rem; }
.gw-card > p { color: #cfe6e2; font-size: 1.04rem; line-height: 1.7; margin-bottom: 1rem; }
.gw-eps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.gw-eps li { display: flex; gap: 0.65rem; align-items: baseline; font-size: 1rem; color: #bcd9d4; line-height: 1.55; }
.gw-eps code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88rem; color: #eafaf7; background: rgba(255,255,255,0.10); padding: 0.15rem 0.5rem; border-radius: 6px; white-space: nowrap; flex-shrink: 0; }

/* ---- Concrete first-tenant example inside a gateway card (wm-04) ----
   Dark-card sibling of wm-03's .step-example: same "For example" label
   pattern, adapted to the .gw-card deep-gradient surface. Endpoint chips
   inside the prose must wrap (no nowrap) so cards stay clean on mobile. */
.gw-example {
    margin-top: 1.05rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.gw-example .ex-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fc7c0;
    margin-bottom: 0.4rem;
}
.gw-example p { margin: 0; font-size: 0.98rem; line-height: 1.65; color: #bcd9d4; }
.gw-example em { color: #eafaf7; }
/* Second "for example" per door: the robot-arm app, warm accent to tell it from the swim one */
.gw-example-arm .ex-label { color: #f0a860; }
.step-example-arm .ex-label { color: #b5651d; }
.gw-example code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem;
    color: #eafaf7;
    background: rgba(255, 255, 255, 0.10);
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
}

/* ---- Pilot timeline + partner (wm-05) ---- */
.timeline { display: flex; align-items: stretch; gap: 0; margin: 2.5rem 0 1rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
.phase {
    flex: 1 1 0; min-width: 175px; display: flex; flex-direction: column; gap: 0.6rem;
    background: linear-gradient(160deg, #0b3b46, #0f172a 82%);
    border: 1px solid rgba(45, 212, 191, 0.22); border-radius: 14px;
    padding: 1.3rem 1.15rem; position: relative; color: #d3ebe7;
    box-shadow: 0 12px 30px rgba(11, 42, 51, 0.28);
}
.phase .wk { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--wake-cyan); }
.phase h4  { color: #ffffff; font-size: 1.08rem; margin: 0; }
.phase p   { color: #cfe6e2; font-size: 0.96rem; line-height: 1.6; margin: 0; }
.phase .gate {
    align-self: flex-start; margin-top: auto;
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #bff0e8;
    background: rgba(45, 212, 191, 0.16); border: 1px solid rgba(45, 212, 191, 0.45);
    border-radius: 999px; padding: 0.25rem 0.65rem;
}
.timeline .phase + .phase { margin-left: 0.85rem; }
.timeline .phase:not(:last-child)::after {
    content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: var(--wake-teal-deep, #0E9F8E); position: absolute; right: -0.7rem; top: 50%; transform: translateY(-50%); font-size: 0.85rem; z-index: 2;
}
.partner-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin: 2.25rem 0; }
.partner-col  { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 1.85rem; }
.partner-col h3 { color: var(--text-light); font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.partner-col h3 i { color: var(--secondary-color); }
.partner-col ul { list-style: none; padding: 0; margin: 0; }
.partner-col li { color: var(--text-medium); padding: 0.55rem 0 0.55rem 1.7rem; position: relative; line-height: 1.65; font-size: 1.05rem; }
.partner-col li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary-color); position: absolute; left: 0; top: 0.6rem; }

/* ---- Final CTA (wm-06) — light glass tile (the calm "reach out" window) ---- */
.wm-cta {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    -webkit-backdrop-filter: blur(13px) saturate(1.2);
    backdrop-filter: blur(13px) saturate(1.2);
}
.wm-cta h1    { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 1rem; color: var(--text-light); }
.wm-cta p     { color: var(--text-medium); font-size: 1.25rem; line-height: 1.75; margin-bottom: 2rem; }
.cta-buttons  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .value-props, .legend-grid, .partner-cols, .gateways-grid { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; }
    .timeline .phase + .phase { margin-left: 0; margin-top: 1.4rem; }
    .timeline .phase:not(:last-child)::after { content: "\f078"; right: 50%; top: auto; bottom: -1.15rem; transform: translateX(50%); }
    .wm-intro p, .wm-lead, .wm-page-head p, .wm-cta p { font-size: 1.12rem; }
    .wm-index a { font-size: 1.06rem; padding: 1rem 1.1rem; }
}

/* ---- #935 gated beta-access request form (wm-06) ---- */
.beta-request {
    margin: 2.5rem auto 0;
    max-width: 560px;
    padding: 1.75rem;
    border: 1px solid rgba(61, 43, 31, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}
.beta-request h2 { color: var(--text-light); font-size: 1.5rem; margin: 0.15rem 0 0.6rem; }
.beta-request > p { color: var(--text-medium); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.25rem; }
.beta-form { display: flex; flex-direction: column; gap: 1rem; }
.beta-field { display: flex; flex-direction: column; gap: 0.4rem; }
.beta-label { font-size: 0.95rem; font-weight: 600; color: var(--text-light); }
.beta-optional { font-weight: 400; color: var(--secondary-color); }
.beta-form input,
.beta-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(61, 43, 31, 0.2);
    border-radius: 9px;
    background: #fff;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
}
.beta-form textarea { resize: vertical; min-height: 4.5rem; }
.beta-form input:focus,
.beta-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 107, 123, 0.15);
}
.beta-form .btn.primary { margin-top: 0.25rem; }
.beta-status { margin: 0.4rem 0 0; font-size: 0.95rem; line-height: 1.5; min-height: 1.2em; }
.beta-status-ok { color: #1f7a4d; }
.beta-status-error { color: #b3261e; }
