/* subscription/operation.html */
:root {
            --op-primary: #2563eb;
            --op-accent:  #f97316;
            --op-fg:      #1a1a1a;
            --op-muted:   #6b7280;
            --op-border:  #e5e7eb;
            --op-bg:      #f9fafb;
        }

        /* 整頁背景 */
        .op-page { background: var(--op-bg); min-height: 60vh; padding: 3rem 0 5rem; }

        .op-container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

        /* 返回 */
        .op-back {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: .9rem; color: var(--op-muted); text-decoration: none;
            margin-bottom: 2.5rem; transition: color .2s;
        }
        .op-back:hover { color: var(--op-primary); text-decoration: none; }

        /* Hero */
        .op-hero { text-align: center; margin-bottom: 3.5rem; }
        .op-hero h1 { font-size: 2rem; font-weight: 800; color: var(--op-fg); margin-bottom: 12px; }
        @media (min-width: 768px) { .op-hero h1 { font-size: 2.6rem; } }
        .op-hero p { color: var(--op-muted); font-size: 1rem; line-height: 1.7; }
        .text-accent { color: var(--op-accent); }

        /* ── Timeline wrapper ── */
        .op-timeline { position: relative; }

        /* 垂直連接線：從第一個 circle 中心到最後一個 circle 中心 */
        .op-timeline::before {
            content: '';
            position: absolute;
            left: 25px;          /* circle 寬 52px / 2 = 26px，減去線寬 1px */
            top: 26px;           /* 第一個 circle 中心 */
            bottom: 26px;        /* 最後一個 circle 中心 */
            width: 2px;
            background: linear-gradient(to bottom, #fed7aa, #fdba74, #fed7aa);
            z-index: 0;
        }

        /* ── 單一 Step ── */
        .op-step { margin-bottom: 3.5rem; position: relative; }
        .op-step:last-child { margin-bottom: 0; }

        /* Step header row */
        .op-step-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 1.5rem; }

        .op-step-circle {
            display: flex; align-items: center; justify-content: center;
            width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
            background: var(--op-accent); color: #fff;
            font-size: 1.4rem; font-weight: 800;
            position: relative; z-index: 1;
            box-shadow: 0 0 0 4px var(--op-bg);  /* 讓圓圈蓋住連接線 */
        }

        .op-step-info h2 {
            font-size: 1.35rem; font-weight: 800; color: var(--op-fg);
            margin: 10px 0 6px;
        }
        @media (min-width: 768px) { .op-step-info h2 { font-size: 1.6rem; } }
        .op-step-info p { color: var(--op-muted); font-size: .95rem; margin: 0; line-height: 1.6; }

        /* ── Sub-steps ── */
        .op-substeps {
            margin-left: 72px;   /* 52px circle + 20px gap */
            display: flex; flex-direction: column; gap: 2rem;
        }
        @media (max-width: 640px) { .op-substeps { margin-left: 0; } }

        .op-substep { display: flex; gap: 16px; align-items: flex-start; }

        .op-substep-badge {
            display: inline-flex; align-items: center; justify-content: center;
            min-width: 36px; height: 28px; border-radius: 6px;
            background: #fff; border: 1.5px solid var(--op-border);
            font-size: .8rem; font-weight: 700; color: var(--op-fg);
            flex-shrink: 0; margin-top: 2px; padding: 0 6px;
        }

        .op-substep-body p {
            color: var(--op-muted); font-size: .93rem; line-height: 1.6;
            margin: 0 0 12px;
        }

        /* 圖片：顯示為小截圖，有陰影邊框 */
        .op-substep-body img {
            display: block;
            width: 100%;
            max-width: 540px;
            border-radius: 10px;
            border: 1px solid var(--op-border);
            box-shadow: 0 2px 12px rgba(0,0,0,.08);
        }

        /* Step 分隔線 */
        .op-step-divider {
            border: none;
            border-top: 1px dashed var(--op-border);
            margin: 0 0 3.5rem 72px;
        }
        @media (max-width: 640px) { .op-step-divider { margin-left: 0; } }

        /* CTA */
        .op-cta { text-align: center; padding-top: 2rem; }
        .op-cta a {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--op-primary); color: #fff;
            padding: 14px 36px; border-radius: 10px;
            font-size: 1rem; font-weight: 700;
            text-decoration: none; transition: background .2s;
        }
        .op-cta a:hover { background: #1d4ed8; color: #fff; text-decoration: none; }
