/* Thinkmate: Insights articles (covers, article blocks) and the GePG guide's animated sections (gp-*). */

/* ---------- Covers ---------- */
.news-thumb.cover { padding: 0; background: #0b1453; overflow: hidden; }
.news-thumb.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
a.news-card:hover .news-thumb.cover img, a.card:hover .news-thumb.cover img { transform: scale(1.04); }
.ins-cover { margin: 0 0 36px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #0b1453; aspect-ratio: 1200 / 630; }
.ins-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ins-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #cfe0ff; font-size: .92rem; }
.ins-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ins-meta svg { width: 16px; height: 16px; }

/* ---------- Article building blocks ---------- */
.article h3 { font-size: 1.2rem; margin: 26px 0 10px; letter-spacing: -.02em; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .95rem; }
.ins-table-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 16px; }
.ins-table-wrap table { margin: 0; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.article th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: .88rem; }
.article tr:last-child td { border-bottom: 0; }
.ins-callout { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 22px; margin: 24px 0; border-radius: 18px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.ins-callout .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.ins-callout .ic svg { width: 20px; height: 20px; }
.ins-callout p { margin: 0; }
.ins-callout b { color: var(--ink); }
.ins-callout.warn { background: #fffbeb; border-color: #fde68a; }
.ins-callout.warn .ic { background: #f59e0b; }
.ins-takeaways { padding: 26px 28px; border-radius: var(--r-lg); margin: 0 0 32px; background: linear-gradient(135deg, #0b1453, #12207a); color: #fff; position: relative; overflow: hidden; }
.ins-takeaways::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(63,224,224,.35), transparent 70%); }
.ins-takeaways h2 { color: #fff; font-size: 1.15rem !important; margin: 0 0 12px !important; letter-spacing: 0; }
.ins-takeaways ul { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid; gap: 8px; }
.ins-takeaways li { color: #dbe3ff !important; padding-left: 28px; position: relative; line-height: 1.55; }
.ins-takeaways li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #3fe0e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1453' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ins-steps { list-style: none !important; padding: 0 !important; counter-reset: st; display: grid; gap: 12px; margin: 12px 0 24px !important; }
.ins-steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: 16px; background: #fff; line-height: 1.6; }
.ins-steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.ins-steps li b { color: var(--ink); display: block; }
.ins-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 24px; }
.ins-grid2 > div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff; }
.ins-grid2 b { display: block; color: var(--ink); margin-bottom: 4px; }
.ins-grid2 p { margin: 0; font-size: .95rem; }
@media (max-width: 640px) { .ins-grid2 { grid-template-columns: 1fr; } }
.ins-faq { display: grid; gap: 10px; margin: 12px 0 0; }
.ins-faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.ins-faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.ins-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.ins-faq summary::-webkit-details-marker { display: none; }
.ins-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--blue-600); transition: transform .25s; }
.ins-faq details[open] summary::after { transform: rotate(45deg); }
.ins-faq details p { padding-bottom: 18px; margin: 0; }
.aside-toc ul { display: grid; gap: 2px; }
.aside-toc ul li a.active { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.ins-author { display: flex; gap: 14px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.ins-author img { width: 44px; height: 50px; }
.ins-author b { display: block; color: var(--ink); }
.ins-author span { color: var(--muted); font-size: .9rem; }

/* ---------- GePG guide ---------- */
.gp-sec { padding: clamp(64px, 8vw, 110px) 0; }
.gp-soft { background: var(--bg-soft); }
.gp-head { max-width: 760px; margin-bottom: 44px; }
.gp-head.center { text-align: center; margin-inline: auto; }
.gp-head p { color: var(--muted); font-size: 1.08rem; }
.gp-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.gp-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Overview: network diagram + stats */
.gp-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gp-net { position: relative; border-radius: var(--r-xl); padding: 18px; background: linear-gradient(160deg, #0b1453, #060b2e); box-shadow: var(--shadow-lg); overflow: hidden; }
.gp-net::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(36,64,245,.45), transparent 70%); }
.gp-net svg { position: relative; width: 100%; height: auto; display: block; }
.gp-net .node rect { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.18); }
.gp-net .node text { fill: #e6ecff; font: 600 13px var(--font); }
.gp-net .node .sub { fill: #9fb0e8; font-weight: 500; font-size: 11px; }
.gp-net .wire { fill: none; stroke: rgba(111,136,255,.35); stroke-width: 1.6; }
.gp-net .wire.live { stroke: url(#gpw); stroke-width: 2.2; stroke-dasharray: 6 10; animation: gp-dash 1.6s linear infinite; }
.gp-net .hub circle.ring { fill: none; stroke: #3fe0e0; stroke-opacity: .35; transform-origin: center; transform-box: fill-box; animation: gp-ring 2.8s ease-out infinite; }
.gp-net .hub circle.ring.r2 { animation-delay: 1.4s; }
@keyframes gp-dash { to { stroke-dashoffset: -32; } }
@keyframes gp-ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.gp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gp-stat { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.gp-stat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 12px; }
.gp-stat .ic svg { width: 20px; height: 20px; }
.gp-stat b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; letter-spacing: -.02em; }
.gp-stat p { margin: 0; font-size: .92rem; color: var(--muted); }
.gp-overview .lead2 { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 24px; }

/* Lifecycle stepper */
.gp-stepper { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.gp-steps { display: grid; gap: 6px; counter-reset: gs; }
.gp-step { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 16px; border-radius: 16px; position: relative; overflow: hidden; transition: background .3s; }
.gp-step:focus-visible { outline: 3px solid var(--blue-400); }
.gp-step .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.gp-step b { display: block; color: var(--ink-2); font-size: 1rem; transition: color .3s; }
.gp-step span.d { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s ease, margin .3s; }
.gp-step.on { background: #fff; box-shadow: var(--shadow-sm); }
.gp-step.on .n { background: var(--grad); color: #fff; border-color: transparent; }
.gp-step.on b { color: var(--ink); }
.gp-step.on span.d { max-height: 120px; opacity: 1; margin-top: 4px; }
.gp-step .pb { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--line-2); opacity: 0; }
.gp-step.on .pb { opacity: 1; }
.gp-step .pb i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad); }
.gp-step.on .pb i { animation: gp-fill var(--gp-dur, 5s) linear forwards; }
.gp-steps.paused .gp-step.on .pb i { animation-play-state: paused; }
@keyframes gp-fill { to { width: 100%; } }
.gp-screen { position: relative; min-height: 470px; border-radius: var(--r-xl); background: linear-gradient(160deg, #0b1453, #12207a 60%, #0b1453); box-shadow: var(--shadow-lg); overflow: hidden; }
.gp-screen::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; }
.gp-pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.gp-pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.gp-pane .st { opacity: 0; transform: translateY(10px); }
.gp-pane.on .st { animation: gp-up .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 140ms + 150ms); }
@keyframes gp-up { to { opacity: 1; transform: none; } }
.gp-card { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); padding: 22px; color: var(--ink); width: min(440px, 100%); }
.gp-card h5 { margin: 0 0 14px; font: 600 .78rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.gp-card h5 i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.gp-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.gp-kv span { color: var(--muted); }
.gp-kv b { text-align: right; color: var(--ink); font-weight: 600; }
.gp-cn { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--grad); color: #fff; }
.gp-cn small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.gp-cn b { font: 700 1.5rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.gp-cn b .typ { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; }
.gp-pane.on .gp-cn b .typ { animation: gp-type 1.4s steps(14) .7s forwards; }
@keyframes gp-type { to { width: 14ch; } }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; width: 100%; padding: 11px; border-radius: 12px; background: var(--blue-600); color: #fff; font-weight: 600; font-size: .92rem; }
.gp-btn.ghost { background: var(--blue-50); color: var(--blue-600); }
.gp-req { font: 500 .8rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; background: #0b1020; color: #c7d2fe; border-radius: 14px; padding: 16px; white-space: pre; overflow: hidden; }
.gp-req .k { color: #7dd3fc; } .gp-req .v { color: #86efac; } .gp-req .c { color: #64748b; }
.gp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.gp-pill.ok { background: #ecfdf5; color: #047857; } .gp-pill.wait { background: #fffbeb; color: #b45309; } .gp-pill.info { background: var(--blue-50); color: var(--blue-600); }
.gp-phone { width: 250px; border-radius: 34px; background: #0f172a; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.gp-phone .scr { border-radius: 26px; background: #f8fafc; min-height: 400px; padding: 34px 16px 18px; position: relative; }
.gp-phone .scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 70px; height: 9px; margin-left: -35px; border-radius: 6px; background: #0f172a; }
.gp-sms { background: #e2e8f0; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .82rem; line-height: 1.5; color: #0f172a; }
.gp-sms b { color: var(--blue-600); }
.gp-ph-title { text-align: center; font-weight: 700; font-size: .95rem; margin-bottom: 14px; color: var(--ink); }
.gp-menu { display: grid; gap: 8px; }
.gp-menu span { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.gp-menu span.sel { border-color: var(--blue-400); background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.gp-okc { width: 64px; height: 64px; border-radius: 50%; background: #10b981; display: grid; place-items: center; margin: 22px auto 10px; box-shadow: 0 0 0 10px rgba(16,185,129,.15); }
.gp-okc svg { width: 32px; height: 32px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; }
.gp-pane.on .gp-okc svg { animation: gp-draw .6s ease .9s forwards; }
@keyframes gp-draw { to { stroke-dashoffset: 0; } }
.gp-rows { display: grid; gap: 8px; }
.gp-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; font-size: .86rem; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); }
.gp-rows div b { font-weight: 600; color: var(--ink); }
.gp-rows .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--muted); }

/* Bill anatomy */
.gp-anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gp-bill { position: relative; background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; }
.gp-bill-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 16px; }
.gp-bill-top .org { display: flex; gap: 12px; align-items: center; }
.gp-bill-top .org i { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; }
.gp-bill-top .org b { display: block; font-size: .98rem; }
.gp-bill-top .org span, .gp-bill-top .no span { font-size: .8rem; color: var(--muted); display: block; }
.gp-bill-top .no { text-align: right; }
.gp-bill-top .no b { font-size: .95rem; }
.gp-bill .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: .92rem; border-bottom: 1px solid var(--line-2); position: relative; }
.gp-bill .row span { color: var(--muted); }
.gp-bill .row b { font-weight: 600; text-align: right; }
.gp-bill .cnbox { margin: 16px 0; padding: 16px; border-radius: 16px; background: var(--grad); color: #fff; position: relative; }
.gp-bill .cnbox small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.gp-bill .cnbox b { font: 700 1.55rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.gp-bill .how { font-size: .84rem; color: var(--muted); background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; margin-top: 14px; position: relative; }
.gp-pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #f59e0b; color: #fff; font: 700 .78rem/26px var(--font); text-align: center; box-shadow: 0 0 0 0 rgba(245,158,11,.6); z-index: 2; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.gp-bill.go .gp-pin { transform: scale(1); animation: gp-pulse 2.2s ease-out infinite; }
.gp-pin.l { left: -13px; } .gp-pin.r { right: -13px; }
@keyframes gp-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 70% { box-shadow: 0 0 0 12px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.gp-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: lg; }
.gp-legend li { counter-increment: lg; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.gp-legend li::before { content: counter(lg); width: 26px; height: 26px; border-radius: 50%; background: #fef3c7; color: #b45309; font-weight: 700; font-size: .8rem; display: grid; place-items: center; margin-top: 2px; }
.gp-legend b { display: block; color: var(--ink); }
.gp-legend span { color: var(--muted); font-size: .94rem; }

/* Architecture */
.gp-arch-sec { background: linear-gradient(160deg, #0b1453, #060b2e); color: #fff; position: relative; overflow: hidden; }
.gp-arch-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 20% 100%, rgba(36,64,245,.55), transparent 70%), radial-gradient(40% 50% at 90% 0%, rgba(25,198,212,.3), transparent 70%); }
.gp-arch-sec .container { position: relative; }
.gp-arch-sec h2 { color: #fff; } .gp-arch-sec .gp-head p { color: #b9c6f5; } .gp-arch-sec .chip { color: #cfe0ff; }
.gp-arch { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.5fr) 64px minmax(0, 1fr); align-items: center; }
.gp-col { display: grid; gap: 12px; }
.gp-box { border-radius: 18px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.gp-box b { display: block; color: #fff; font-size: .98rem; } .gp-box span { color: #9fb0e8; font-size: .84rem; }
.gp-box.hl { background: rgba(63,224,224,.1); border-color: rgba(63,224,224,.45); }
.gp-core { border-radius: 26px; padding: 22px; background: linear-gradient(160deg, rgba(36,64,245,.35), rgba(25,198,212,.18)); border: 1px solid rgba(111,136,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px -30px rgba(36,64,245,.8); }
.gp-core h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.gp-core h3 img { width: 24px; height: 28px; }
.gp-core > p { color: #b9c6f5; font-size: .9rem; margin-bottom: 14px; }
.gp-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gp-mod { border-radius: 14px; padding: 12px 14px; background: rgba(6,11,46,.55); border: 1px solid rgba(255,255,255,.1); transition: border-color .4s, background .4s, transform .4s; }
.gp-mod b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .9rem; }
.gp-mod b svg { width: 16px; height: 16px; color: #3fe0e0; flex: none; }
.gp-mod span { display: block; color: #9fb0e8; font-size: .78rem; margin-top: 3px; line-height: 1.45; }
.gp-mod.lit { border-color: rgba(63,224,224,.7); background: rgba(63,224,224,.12); transform: translateY(-2px); }
.gp-link { position: relative; height: 4px; margin: 0 6px; border-radius: 4px; background: rgba(111,136,255,.25); overflow: hidden; }
.gp-link::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, transparent, #3fe0e0, transparent); animation: gp-zip 1.8s linear infinite; }
.gp-link.rev::after { animation-direction: reverse; }
@keyframes gp-zip { to { left: 100%; } }

/* Message types and code */
.gp-msgs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gp-msg-list { display: grid; gap: 10px; }
.gp-msg { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.gp-msg .ar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: .78rem; }
.gp-msg .ar.out { background: var(--blue-50); color: var(--blue-600); } .gp-msg .ar.in { background: #ecfdf5; color: #047857; }
.gp-msg .ar svg { width: 20px; height: 20px; }
.gp-msg b { display: block; color: var(--ink); } .gp-msg span { color: var(--muted); font-size: .92rem; }
.gp-code { border-radius: 22px; background: #0b1020; box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.gp-code-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #111830; border-bottom: 1px solid rgba(255,255,255,.06); }
.gp-code-top i { width: 11px; height: 11px; border-radius: 50%; } .gp-code-top i:nth-child(1) { background: #f87171; } .gp-code-top i:nth-child(2) { background: #fbbf24; } .gp-code-top i:nth-child(3) { background: #34d399; }
.gp-code-top span { margin-left: 8px; font: 500 .8rem ui-monospace, Menlo, monospace; color: #94a3b8; }
.gp-code pre { margin: 0; padding: 18px 20px 22px; font: 500 .8rem/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c7d2fe; overflow-x: auto; }
.gp-code pre span.l { display: block; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; transition-delay: calc(var(--i) * 70ms); }
.gp-code.go pre span.l { opacity: 1; transform: none; }
.gp-code .t { color: #7dd3fc; } .gp-code .a { color: #fca5a5; } .gp-code .s { color: #86efac; } .gp-code .c { color: #64748b; font-style: italic; }
.gp-code-note { padding: 12px 20px; font-size: .8rem; color: #94a3b8; border-top: 1px solid rgba(255,255,255,.06); }

/* Features */
.gp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gp-feat { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.gp-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.gp-feat::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: width .5s; }
.gp-feat:hover::after { width: 100%; }
.gp-feat .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 10px 24px -10px rgba(36,64,245,.7); }
.gp-feat .ic svg { width: 22px; height: 22px; }
.gp-feat h3 { font-size: 1.08rem; margin-bottom: 6px; letter-spacing: -.02em; }
.gp-feat p { margin: 0; font-size: .94rem; color: var(--muted); }

/* Dashboard */
.gp-dash { border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.gp-dash-top { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gp-dash-top b { font-family: var(--font-display); font-size: 1.05rem; }
.gp-dash-top .sp { flex: 1; }
.gp-dash-top .live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #047857; font-weight: 600; }
.gp-dash-top .live i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: gp-blink 1.4s infinite; }
@keyframes gp-blink { 50% { opacity: .3; } }
.gp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.gp-kpi { padding: 18px 22px; border-right: 1px solid var(--line); }
.gp-kpi:last-child { border-right: 0; }
.gp-kpi span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.gp-kpi b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); }
.gp-kpi small { display: block; font-size: .76rem; color: #047857; font-weight: 600; margin-top: 2px; }
.gp-dash-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.gp-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.gp-tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 22px; background: var(--bg-soft); }
.gp-tbl td { padding: 12px 22px; border-top: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.gp-tbl td.mono { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; }
.gp-tbl tr { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; transition-delay: calc(var(--i) * 120ms); }
.gp-dash.go .gp-tbl tr { opacity: 1; transform: none; }
.gp-tbl-wrap { overflow-x: auto; border-right: 1px solid var(--line); }
.gp-chart { padding: 20px 22px; }
.gp-chart h5 { margin: 0 0 14px; font: 600 .85rem var(--font); color: var(--ink); }
.gp-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 170px; }
.gp-bars i { display: block; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #3d7bff, #2440f5); height: 0; transition: height 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 90ms); }
.gp-bars i.hi { background: linear-gradient(180deg, #3fe0e0, #19c6d4); }
.gp-dash.go .gp-bars i { height: var(--h); }
.gp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 8px; font-size: .72rem; color: var(--muted); text-align: center; }
.gp-match { margin-top: 18px; display: grid; gap: 8px; }
.gp-match div { display: flex; justify-content: space-between; font-size: .84rem; } .gp-match span { color: var(--muted); } .gp-match b { color: var(--ink); }
.gp-meter { height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.gp-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #3fe0e0); transition: width 1.4s cubic-bezier(.2,.8,.2,1) .4s; }
.gp-dash.go .gp-meter i { width: 100%; }

/* Delivery timeline */
.gp-tl { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gp-tl::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 3px; border-radius: 3px; background: var(--line); }
.gp-tl::after { content: ""; position: absolute; left: 24px; top: 23px; height: 3px; width: 0; border-radius: 3px; background: var(--grad); transition: width 2.4s cubic-bezier(.2,.8,.2,1); }
.gp-tl.go::after { width: calc(100% - 48px); }
.gp-ph { position: relative; }
.gp-ph .dot { width: 48px; height: 48px; border-radius: 16px; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--muted); position: relative; z-index: 1; transition: all .4s; transition-delay: calc(var(--i) * 380ms); }
.gp-tl.go .gp-ph .dot { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(36,64,245,.7); }
.gp-ph h3 { font-size: 1rem; margin: 16px 0 6px; letter-spacing: -.02em; }
.gp-ph p { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.gp-ph ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.gp-ph li { font-size: .84rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.gp-ph li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500); }

/* Pitfalls */
.gp-pits { display: grid; gap: 12px; }
.gp-pit { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; }
.gp-pit > div { padding: 18px 20px; border-radius: 18px; }
.gp-pit .bad { background: #fff7ed; border: 1px solid #fed7aa; }
.gp-pit .good { background: #ecfdf5; border: 1px solid #a7f3d0; }
.gp-pit small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.gp-pit .bad small { color: #c2410c; } .gp-pit .good small { color: #047857; }
.gp-pit b { display: block; color: var(--ink); margin-bottom: 2px; } .gp-pit p { margin: 0; font-size: .92rem; }
.gp-pit .arrow { display: grid; place-items: center; color: var(--blue-600); }
.gp-pit .arrow svg { width: 22px; height: 22px; }

/* Who + readiness */
.gp-who { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.gp-who span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: all .25s; }
.gp-who span:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.gp-who span svg { width: 16px; height: 16px; color: var(--blue-600); }
.gp-ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gp-checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.gp-checks li::before { content: ""; width: 24px; height: 24px; border-radius: 8px; background: var(--grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gp-checks b { display: block; color: var(--ink); } .gp-checks span { color: var(--muted); font-size: .92rem; }

/* Responsive */
@media (max-width: 1100px) {
  .gp-overview, .gp-anatomy, .gp-msgs, .gp-ready { grid-template-columns: minmax(0, 1fr); }
  .gp-stepper { grid-template-columns: minmax(0, 1fr); }
  .gp-code { position: relative; top: 0; }
  .gp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-tl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .gp-tl::before, .gp-tl::after { display: none; }
  .gp-arch { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gp-link { width: 4px; height: 36px; margin: 6px auto; }
  .gp-link::after { width: 100%; height: 40%; left: 0; top: -40%; animation-name: gp-zipv; }
  @keyframes gp-zipv { to { top: 100%; } }
  .gp-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-dash-body { grid-template-columns: minmax(0, 1fr); }
  .gp-tbl-wrap { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .gp-stats, .gp-feats, .gp-mods, .gp-col { grid-template-columns: minmax(0, 1fr); }
  .gp-tl { grid-template-columns: minmax(0, 1fr); }
  .gp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-kpi:nth-child(2) { border-right: 0; } .gp-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gp-pit { grid-template-columns: minmax(0, 1fr); }
  .gp-pit .arrow { height: 32px; transform: rotate(90deg); }
  .gp-screen { min-height: 500px; }
  .gp-pane { padding: 16px; }
  .gp-bill { padding: 20px; }
  .gp-req { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-net .wire.live, .gp-net .hub circle.ring, .gp-link::after, .gp-dash-top .live i, .gp-pin { animation: none !important; }
  .gp-pane .st, .gp-code pre span.l, .gp-tbl tr { opacity: 1 !important; transform: none !important; animation: none !important; }
  .gp-cn b .typ { width: auto !important; animation: none !important; }
  .gp-okc svg { stroke-dashoffset: 0; animation: none !important; }
  .gp-bars i { height: var(--h); transition: none; } .gp-meter i { width: 100%; transition: none; }
}
.gp-bill .row .gp-pin.l, .gp-bill .how .gp-pin.l { left: -41px; }
.gp-bill .cnbox .gp-pin.r { right: -41px; }
@media (max-width: 680px) { .gp-bill .row .gp-pin.l, .gp-bill .how .gp-pin.l { left: -33px; } .gp-bill .cnbox .gp-pin.r { right: -33px; } }
.no-js .gp-tbl tr, .no-js .gp-code pre span.l, .no-js .gp-pane .st { opacity: 1; transform: none; }
@media (max-width: 680px) { .gp-net { padding: 8px; } .gp-net .node text { font-size: 18px; } .gp-net .node .sub { display: none; } .gp-net .node text:not(.sub) { transform: translateY(8px); } }
