/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #171717;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.pc-rails {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    pointer-events: none;
    z-index: 50;
}
.pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 640px) { .pc-container { padding: 0 3rem; } }

/* ===== NAVBAR ===== */
.pc-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.pc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.pc-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #171717;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pc-logo img {
    margin-top: -15px;
    max-width: none;
    height: 80px;
    width: auto;
    object-fit: contain;
}
.pc-nav-links { display: none; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .pc-nav-links { display: flex; } }
.pc-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #525252;
    transition: color 0.15s;
}
.pc-nav-links a:hover { color: #171717; }
.pc-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #fe7100;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.15s;
    border: 1px solid #fe7100;
}
.pc-nav-cta:hover { background: #d45f00; border-color: #d45f00; }

/* ===== DOTTED SEP ===== */
.pc-dotted-sep {
    width: 100%;
    height: 1px;
    background-image: radial-gradient(circle, #d4d4d4 1px, transparent 1px);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    background-position: center;
}

/* ===== BLOG LAYOUT ===== */
.pc-blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 5rem;
}
@media (min-width: 1024px) {
    .pc-blog-layout { grid-template-columns: 1fr 300px; gap: 3rem; }
}

/* ===== ARCHIVE HEADER ===== */
.pc-archive-header {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}
.pc-archive-header h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #0a0a0a;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .pc-archive-header h1 { font-size: 2.5rem; } }
.pc-archive-header p {
    font-size: 1.0625rem;
    color: #525252;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== POST CARDS (archive) ===== */
.pc-post-list { display: grid; gap: 2rem; }
.pc-post-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pc-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pc-post-card a { display: block; }
.pc-post-card-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.pc-post-card-body { padding: 1.5rem; }
.pc-post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #a3a3a3;
    margin-bottom: 0.75rem;
}
.pc-post-card-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fe7100;
    background: rgba(254,113,0,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pc-post-card-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a0a0a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.pc-post-card-body h2 a { color: #0a0a0a; }
.pc-post-card-body h2 a:hover { color: #fe7100; }
.pc-post-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #525252;
}
.pc-post-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fe7100;
    margin-top: 1rem;
}
.pc-post-card-read:hover { color: #d45f00; }
.pc-post-card-read svg { width: 14px; height: 14px; }

/* ===== SIDEBAR ===== */
.pc-sidebar { display: none; }
@media (min-width: 1024px) { .pc-sidebar { display: block; } }
.pc-sidebar-widget {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.pc-sidebar-widget h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e5e5;
}
.pc-sidebar-widget ul { list-style: none; padding: 0; }
.pc-sidebar-widget li { margin-bottom: 0.5rem; }
.pc-sidebar-widget li a {
    font-size: 0.9375rem;
    color: #525252;
    transition: color 0.15s;
}
.pc-sidebar-widget li a:hover { color: #fe7100; }

/* ===== PAGINATION ===== */
.pc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem 0;
}
.pc-pagination a, .pc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    color: #525252;
    transition: all 0.15s;
}
.pc-pagination a:hover { border-color: #fe7100; color: #fe7100; }
.pc-pagination .current {
    background: #fe7100;
    border-color: #fe7100;
    color: #fff;
}

/* ===== SINGLE POST ===== */
.pc-single-header {
    padding: 4rem 0 2rem;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
.pc-single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #a3a3a3;
    margin-bottom: 1.5rem;
}
.pc-single-meta a { color: #fe7100; font-weight: 500; }
.pc-single-meta a:hover { color: #d45f00; }
.pc-single-header h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #0a0a0a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .pc-single-header h1 { font-size: 2.75rem; } }
.pc-single-hero-img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.pc-single-hero-img img { width: 100%; height: auto; display: block; }
.pc-single-hero-img--right { margin-left: auto; margin-right: 0; }
.pc-single-hero-img--left { margin-left: 0; margin-right: auto; }

/* ===== ARTICLE CONTENT ===== */
.pc-article-content {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 4rem;
}
.pc-article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a0a0a;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}
.pc-article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a0a0a;
    margin: 2rem 0 0.75rem;
}
.pc-article-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #404040;
    margin-bottom: 1.5rem;
}
.pc-article-content a {
    color: #fe7100;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pc-article-content a:hover { color: #d45f00; }
.pc-article-content ul, .pc-article-content ol {
    margin: 0 0 1.5rem 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #404040;
}
.pc-article-content li { margin-bottom: 0.5rem; }
.pc-article-content blockquote {
    border-left: 3px solid #fe7100;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(254,113,0,0.04);
    border-radius: 0 8px 8px 0;
}
.pc-article-content blockquote p {
    color: #525252;
    font-style: italic;
    margin-bottom: 0;
}
.pc-article-content img { border-radius: 10px; margin: 1.5rem 0; }
.pc-article-content pre {
    background: #0a0a0a;
    color: #e5e5e5;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.pc-article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.pc-article-content pre code { background: none; padding: 0; }

/* ===== POST NAV ===== */
.pc-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 720px;
}
.pc-post-nav-item {
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: border-color 0.15s;
}
.pc-post-nav-item:hover { border-color: #fe7100; }
.pc-post-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a3a3a3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.pc-post-nav-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0a0a0a;
    line-height: 1.4;
}
.pc-post-nav-item--next { text-align: right; }

/* ===== FOOTER ===== */
.pc-footer {
    padding: 3rem 0;
    text-align: center;
    color: #a3a3a3;
    font-size: 0.8125rem;
    width: 100%;
}
.pc-footer a { color: #737373; transition: color 0.15s; }
.pc-footer a:hover { color: #171717; }
.pc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== ARTICLE CTA BLOCKS ===== */
.pc-cta-block {
    border-radius: 0.875rem;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    text-align: center;
}
.pc-cta-block--sim {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}
.pc-cta-block--app {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}
.pc-cta-block--final {
    background: linear-gradient(135deg, #1e3a5f 0%, #2b6cb0 100%);
}
.pc-cta-block__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.625rem;
}
.pc-cta-block--sim .pc-cta-block__eyebrow { color: #0369a1; }
.pc-cta-block--app .pc-cta-block__eyebrow { color: #c2410c; }
.pc-cta-block--final .pc-cta-block__eyebrow { color: rgba(255,255,255,0.65); }
.pc-cta-block__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}
.pc-cta-block--sim .pc-cta-block__title { color: #0c2d4a; }
.pc-cta-block--app .pc-cta-block__title { color: #7c2d12; }
.pc-cta-block--final .pc-cta-block__title { color: #fff; font-size: 1.25rem; }
.pc-cta-block__sub {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.pc-cta-block--sim .pc-cta-block__sub { color: #374151; }
.pc-cta-block--app .pc-cta-block__sub { color: #374151; }
.pc-cta-block--final .pc-cta-block__sub { color: rgba(255,255,255,0.85); }
.pc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.6875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    transition: all 0.18s;
}
.pc-cta-btn--blue { background: #2b6cb0; color: #fff !important; }
.pc-cta-btn--blue:hover { background: #1d4f8e; box-shadow: 0 4px 12px rgba(43,108,176,0.35); transform: translateY(-1px); }
.pc-cta-btn--orange { background: #e8660a; color: #fff !important; }
.pc-cta-btn--orange:hover { background: #d45f00; box-shadow: 0 4px 12px rgba(232,102,10,0.35); transform: translateY(-1px); }
.pc-cta-btn--white { background: #fff; color: #1e3a5f !important; font-weight: 700; }
.pc-cta-btn--white:hover { background: #f0f9ff; box-shadow: 0 4px 12px rgba(0,0,0,0.12); transform: translateY(-1px); }
.pc-cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
}
.pc-cta-trust-item::before { content: "✓"; margin-right: 0.3rem; }
.pc-cta-block--sim .pc-cta-trust { color: #4b5563; }
.pc-cta-block--sim .pc-cta-trust-item::before { color: #22c55e; }
.pc-cta-block--app .pc-cta-trust { color: #4b5563; }
.pc-cta-block--app .pc-cta-trust-item::before { color: #22c55e; }
.pc-cta-block--final .pc-cta-trust { color: rgba(255,255,255,0.8); }
.pc-cta-block--final .pc-cta-trust-item::before { color: #86efac; }

/* ===== AUTHOR BLOCK ===== */
.pc-author-block {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 1.5rem;
    margin: 2.5rem auto;
    max-width: 720px;
}
.pc-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid #e5e5e5;
}
.pc-author-info { flex: 1; min-width: 0; }
.pc-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.125rem;
}
.pc-author-title {
    font-size: 0.8125rem;
    color: #fe7100;
    font-weight: 600;
    margin-bottom: 0.625rem;
}
.pc-author-bio {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #525252;
    margin: 0;
}
.pc-author-bio a {
    color: #fe7100;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pc-author-bio a:hover { color: #d45f00; }
.pc-author-link-js {
    color: #fe7100;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.pc-author-link-js:hover { color: #d45f00; }
