:root {
    color-scheme: light;
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #f9fbfd;
    --ink: #10233f;
    --ink-soft: #42536b;
    --muted: #728096;
    --line: #dfe6ef;
    --blue: #1674ea;
    --blue-dark: #0d55b7;
    --navy: #123d70;
    --green-bg: #e8f7ec;
    --green: #198442;
    --blue-bg: #eaf4ff;
    --orange-bg: #fff0e8;
    --orange: #dc6d2b;
    --purple-bg: #f2ebff;
    --purple: #7351c7;
    --red-bg: #fdeaea;
    --red: #c0392b;
    --warning-bg: #fff7e8;
    --warning-border: #f2c77b;
    --shadow-sm: 0 10px 28px rgba(31, 59, 95, .06);
    --shadow: 0 22px 60px rgba(31, 59, 95, .10);
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 30px;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
body, button, input { font-family: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(215, 224, 235, .9);
    backdrop-filter: blur(14px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: end; column-gap: 2px; text-decoration: none; line-height: 1; }
.brand strong { font-size: 2rem; letter-spacing: -.06em; color: #15589e; }
.brand > span { font-size: 1.06rem; font-weight: 800; color: #18385e; padding-bottom: 3px; }
.brand small { grid-column: 1 / 3; margin-top: 5px; font-size: .62rem; letter-spacing: .01em; color: #55708d; font-weight: 650; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; text-decoration: none; color: #31445d; font-weight: 700; font-size: .95rem; padding: 26px 0 23px; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; background: var(--blue); border-radius: 2px; }

.eyebrow { display: inline-block; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: #2b6fb3; margin-bottom: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; border-radius: 11px; padding: 12px 18px; font-weight: 800; box-shadow: 0 8px 18px rgba(22,116,234,.17); }
.button:hover { background: var(--blue-dark); }
.text-link { color: var(--blue); text-decoration: none; font-weight: 800; }

/* Homepage */
.home-hero { background: linear-gradient(100deg, #f8fbff 0%, #f5f8fb 47%, #eaf1f7 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.home-hero-grid { min-height: 500px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 42px; }
.home-hero-copy { padding: 64px 0; }
.home-hero h1 { max-width: 650px; margin: 0; font-size: clamp(3rem, 6vw, 5.15rem); line-height: .96; letter-spacing: -.065em; }
.home-hero-copy > p { max-width: 650px; margin: 24px 0 28px; color: var(--ink-soft); font-size: 1.16rem; line-height: 1.65; }
.hero-button { min-width: 245px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #48617e; font-size: .86rem; font-weight: 700; }
.home-hero-visual { margin: 0; height: 390px; border-radius: 26px 0 0 26px; overflow: hidden; box-shadow: var(--shadow); background: #e7edf4; }
.home-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.journey-section, .home-articles, .topics-section { padding: 68px 0; }
.journey-section { background: #fff; }
.section-heading-row { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 28px; }
.section-heading-row h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.04; }
.section-heading-row p { max-width: 520px; margin: 7px 0 0; color: var(--muted); }
.journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.journey-card { position: relative; overflow: hidden; min-height: 360px; padding: 22px; border: 1px solid rgba(160,180,204,.24); border-radius: 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.journey-category { background: var(--green-bg); }
.journey-product { background: var(--blue-bg); }
.journey-comparison { background: var(--orange-bg); }
.journey-howto { background: var(--purple-bg); }
.journey-budget { background: var(--red-bg); }
.journey-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.journey-number { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--navy); font-weight: 900; }
.journey-category .journey-number { background: var(--green); }
.journey-product .journey-number { background: var(--blue); }
.journey-comparison .journey-number { background: var(--orange); }
.journey-howto .journey-number { background: var(--purple); }
.journey-budget .journey-number { background: var(--red); }
.journey-card h3 { margin: 18px 0 8px; font-size: 1.38rem; letter-spacing: -.025em; }
.journey-card p { margin: 0 0 20px; color: #40536b; }
.journey-card img { width: 100%; height: 130px; object-fit: cover; margin-top: auto; border-radius: 12px; background: rgba(255,255,255,.6); }

.home-articles:nth-of-type(odd) { background: #fff; }
.article-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.article-card { --card-accent: var(--blue); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card-image { display: block; height: 190px; overflow: hidden; background: #eef2f7; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-content { padding: 20px; }
.article-type-badge { display: inline-block; border-radius: 999px; padding: 5px 10px; color: var(--card-accent); background: color-mix(in srgb, var(--card-accent) 11%, white); font-weight: 850; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.card-category-orientation { --card-accent: var(--green); }
.card-product-orientation { --card-accent: var(--blue); }
.card-product-comparison { --card-accent: var(--orange); }
.card-how-to { --card-accent: var(--purple); }
.article-card h3 { margin: 12px 0 9px; font-size: 1.26rem; line-height: 1.2; letter-spacing: -.025em; }
.article-card h3 a { text-decoration: none; }
.article-card p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }

.topics-section { background: #fff; border-top: 1px solid #edf1f6; }
.topic-chip-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.topic-chip-grid span { min-height: 84px; display: grid; place-items: center; text-align: center; padding: 12px; border-radius: 14px; background: #f3f7fb; border: 1px solid #e3ebf3; color: #254566; font-size: .84rem; font-weight: 750; }
.trust-strip { background: #edf5fc; border-top: 1px solid #dbe8f5; padding: 38px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-grid > div { padding-left: 18px; border-left: 2px solid #bdd4ea; }
.trust-grid strong { display: block; color: #163d67; }
.trust-grid span { display: block; margin-top: 4px; color: #647990; font-size: .86rem; }

/* Article shell and four visual identities */
.article-hero { --accent-bg: var(--blue-bg); --accent: var(--blue); padding: 58px 0 52px; background: linear-gradient(120deg, #fff 0%, var(--accent-bg) 100%); border-bottom: 1px solid var(--line); }
.article-hero-category-orientation { --accent-bg: var(--green-bg); --accent: var(--green); }
.article-hero-product-orientation { --accent-bg: var(--blue-bg); --accent: var(--blue); }
.article-hero-product-comparison { --accent-bg: var(--orange-bg); --accent: var(--orange); }
.article-hero-how-to { --accent-bg: var(--purple-bg); --accent: var(--purple); }
.article-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.article-hero-copy { padding: 18px 0; }
.breadcrumb { display: inline-flex; gap: 8px; color: #5c7088; font-size: .82rem; text-decoration: none; font-weight: 750; margin-bottom: 22px; }
.phase-pill { display: inline-block; padding: 7px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 17px; }
.article-hero h1 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.055em; }
.article-lead { margin: 24px 0 0; color: #445871; font-size: 1.12rem; line-height: 1.75; max-width: 760px; }
.article-introduction { padding-top: 12px; }
.intro-prose { max-width: 820px; font-size: 1.06rem; line-height: 1.85; color: #3d4f66; }
.intro-prose p { margin: 0 0 1.15em; }
.intro-prose p:last-child { margin-bottom: 0; }
.article-hero-image, .article-hero-illustration { margin: 0; height: 360px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: rgba(255,255,255,.8); }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-illustration { display: flex; align-items: end; justify-content: center; gap: 18px; padding: 60px; }
.article-hero-illustration span { width: 24%; border-radius: 18px 18px 8px 8px; background: color-mix(in srgb, var(--accent) 26%, white); }
.article-hero-illustration span:nth-child(1) { height: 45%; }.article-hero-illustration span:nth-child(2) { height: 72%; }.article-hero-illustration span:nth-child(3) { height: 56%; }

.article-layout { max-width: 980px; padding-top: 54px; padding-bottom: 70px; }
.article-content { background: #fff; border: 1px solid #e1e7ef; border-radius: 24px; padding: clamp(28px, 5vw, 58px); box-shadow: var(--shadow-sm); }
.article-section { margin-bottom: 54px; }
.article-section:last-child { margin-bottom: 0; }
.article-section > h2 { margin: 0 0 22px; font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.038em; }
.article-section > .section-intro { color: var(--muted); margin-top: -10px; }
.article-section p { color: #3e5066; }
.accent-section { padding: 30px; border-radius: 18px; background: #f5f9fd; border: 1px solid #e2ebf5; }
.article-type-category-orientation .accent-section { background: var(--green-bg); border-color: #d4ecd9; }
.article-type-product-orientation .accent-section { background: var(--blue-bg); border-color: #d8e9fb; }
.article-type-product-comparison .accent-section { background: var(--orange-bg); border-color: #f6dfd2; }
.article-type-how-to .accent-section { background: var(--purple-bg); border-color: #e3d9f6; }

.type-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; box-shadow: 0 6px 18px rgba(31,59,95,.04); }
.type-card-marker { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #eef4fa; color: #1b5b9d; font-weight: 900; }
.type-card h3 { margin: 14px 0 8px; }
.type-card p { margin: 0 0 12px; }
.micro-note { color: #637389 !important; font-size: .88rem; }

.table-scroll { width: 100%; overflow-x: visible; border-radius: 14px; border: 1px solid #dce5ef; background: #fff; }
.content-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .91rem; }
.content-table th, .content-table td { padding: 14px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid #e8edf3; }
.content-table thead th { background: #edf4fb; color: #244d78; font-size: .78rem; text-transform: uppercase; letter-spacing: .035em; }
.content-table tbody th { color: #1d3857; width: 20%; }
.content-table tr:last-child th, .content-table tr:last-child td { border-bottom: 0; }
.advice-table tbody td:nth-child(2) { color: #173d67; }

.criteria-list { display: grid; gap: 16px; }
.criterion-card { border: 1px solid #dce5ef; border-radius: 18px; background: #fafdff; padding: 22px; }
.criterion-card h3 { margin: 0 0 7px; font-size: 1.18rem; }
.criterion-card > p { margin: 0 0 16px; }
.criterion-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.criterion-detail-grid > div { padding: 15px; background: #fff; border: 1px solid #e3e9f1; border-radius: 12px; }
.criterion-detail-grid span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 850; color: var(--blue); }
.criterion-detail-grid p { margin: 6px 0 0; font-size: .9rem; }

.answer-box { padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #fff7f1, #fff0e8); border: 1px solid #f5d8c7; }
.answer-label { display: inline-block; color: var(--orange); text-transform: uppercase; letter-spacing: .07em; font-size: .7rem; font-weight: 900; }
.answer-box h2 { margin: 7px 0 10px; font-size: 2rem; }
.answer-key { margin: 0 0 20px; font-size: 1.08rem; color: #403f46; }
.answer-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.answer-choice-grid > div { padding: 16px; background: rgba(255,255,255,.8); border-radius: 12px; border: 1px solid rgba(226,190,168,.55); }
.answer-choice-grid p { margin: 5px 0 0; font-size: .9rem; }

.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prep-card { background: #faf8ff; border: 1px solid #e4dcf3; border-radius: 15px; padding: 18px; }
.prep-card h3 { margin: 0 0 10px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 23px; color: #43536a; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 900; }
.warning-box { margin: 16px 0; padding: 15px 17px; background: var(--warning-bg); border: 1px solid var(--warning-border); border-radius: 12px; color: #624b1e; }
.warning-box ul { margin: 7px 0 0 20px; padding: 0; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step-card { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 15px; padding: 20px; background: #fcfbff; border: 1px solid #e3ddf0; border-radius: 16px; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 900; }
.step-body h3 { margin: 4px 0 9px; }
.step-body p { margin: 0 0 10px; }
.expected-result { padding: 12px 14px; border-radius: 10px; background: #f1f8f4; color: #2e6544 !important; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.result-card { padding: 18px; background: #fff; border: 1px solid #e1d9f3; border-radius: 14px; }
.result-card h3 { margin: 0 0 8px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 7px 20px rgba(31,59,95,.045); }
.product-image { height: 190px; background: #fff; padding: 16px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card-content { padding: 18px; }
.product-brand { display: block; color: var(--muted); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.product-card h3 { margin: 5px 0 8px; font-size: 1.08rem; }
.product-price { margin: 0 0 15px; font-weight: 850; color: #193c64 !important; }
.product-card .button { width: 100%; font-size: .9rem; box-shadow: none; }

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid #dfe6ef; border-radius: 13px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--blue); }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { padding: 0 18px 16px; }
.faq-item p { margin: 0; }

.related-section { background: #fff; border-top: 1px solid var(--line); padding: 62px 0 74px; }
.related-grid { grid-template-columns: repeat(4, 1fr); }
.compact-card .article-card-image { height: 150px; }
.compact-card .article-card-content { padding: 17px; }
.compact-card h3 { font-size: 1.02rem; }

.site-footer { background: #17375b; color: #eaf2fb; }
.footer-grid { min-height: 180px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; }
.footer-brand { color: #fff; font-size: 1.7rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.site-footer p { margin: 6px 0 0; color: #b7c9dc; }
.footer-copy { color: #b7c9dc; }

@media (max-width: 1000px) {
    .journey-grid, .article-card-grid { grid-template-columns: repeat(2, 1fr); }
    .topic-chip-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .article-hero-grid, .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-visual { height: 340px; border-radius: 22px; margin-bottom: 48px; }
    .article-hero-image, .article-hero-illustration { height: 320px; }
    .product-grid, .type-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .container { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 65px; }
    .brand strong { font-size: 1.65rem; }
    .brand small { display: none; }
    .main-nav { gap: 15px; }
    .main-nav a { padding: 21px 0; font-size: .85rem; }
    .main-nav a:nth-child(2) { display: none; }
    .home-hero-grid { min-height: auto; }
    .home-hero-copy { padding: 52px 0 16px; }
    .home-hero h1 { font-size: 3rem; }
    .home-hero-visual { height: 245px; }
    .journey-section, .home-articles, .topics-section { padding: 52px 0; }
    .journey-grid, .article-card-grid, .product-grid, .type-card-grid, .prep-grid, .result-grid, .answer-choice-grid, .criterion-detail-grid { grid-template-columns: 1fr; }
    .journey-card { min-height: 320px; }
    .topic-chip-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .section-heading-row { align-items: start; flex-direction: column; }
    .article-hero { padding: 38px 0; }
    .article-hero h1 { font-size: 2.65rem; }
    .article-hero-image, .article-hero-illustration { height: 245px; }
    .article-layout { padding-top: 28px; padding-bottom: 46px; }
    .article-content { border-radius: 18px; padding: 24px 18px; }
    .accent-section { padding: 20px 16px; }
    .footer-grid { min-height: 220px; grid-template-columns: 1fr; gap: 18px; padding: 42px 0; }
}

/* ==========================================================================
   JaWiDo phase 1 article UI
   The three active routes use a dedicated layout that mirrors the approved
   mockups. Rules are scoped to .article-page-shell so the existing homepage
   remains untouched in this phase.
   ========================================================================== */
.article-page-shell {
    --jawido-ink: #102748;
    --jawido-copy: #435574;
    --jawido-muted: #75839a;
    --jawido-line: #e3eaf2;
    --jawido-soft: #f6faff;
    --jawido-soft-blue: #edf7ff;
    --jawido-blue: #1185ef;
    --jawido-blue-dark: #096bc4;
    --jawido-green: #19b86f;
    --jawido-green-soft: #ebfbf3;
    background: #fff;
    color: var(--jawido-ink);
    line-height: 1.55;
}
.article-page-shell .container { width: min(1120px, calc(100% - 40px)); }
.article-page-shell .article-site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #edf1f5;
    backdrop-filter: blur(14px);
}
.article-page-shell .article-header-inner {
    min-height: 62px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.article-page-shell .article-brand {
    color: #102748;
    font-size: 1.42rem;
    font-weight: 900;
    letter-spacing: -.055em;
    text-decoration: none;
}
.article-page-shell .article-brand span { color: var(--jawido-blue); }
.article-page-shell .article-main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 34px;
}
.article-page-shell .article-main-nav a {
    color: #1d3454;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 750;
}
.article-page-shell .article-main-nav a:hover,
.article-page-shell .article-main-nav a:focus-visible { color: var(--jawido-blue); }
.article-page-shell .article-search {
    width: 170px;
    height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #f5f8fc;
    color: #99a6b8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
}
.article-page-shell .article-search svg,
.article-page-shell .article-meta-row svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.article-page-shell .phase-one-article { background: #fff; }
.article-page-shell .phase-one-hero {
    padding: 22px 0 0;
    border-bottom: 0;
    background: #fff;
}
.article-page-shell .phase-one-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    min-height: 360px;
    border-bottom: 1px solid #edf1f5;
}
.article-page-shell .phase-one-hero-copy {
    padding: 8px 42px 32px 0;
    align-self: center;
}
.article-page-shell .article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 22px;
    color: #7a8799;
    font-size: .73rem;
}
.article-page-shell .article-breadcrumbs a { color: #2a6fab; text-decoration: none; }
.article-page-shell .article-breadcrumbs [aria-current="page"] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-page-shell .phase-route-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: #0578ae;
    background: #dff6ff;
    font-size: .72rem;
    line-height: 1;
    font-weight: 850;
}
.article-page-shell.article-type-product-orientation .phase-route-pill {
    color: #0c8c82;
    background: #daf8f2;
}
.article-page-shell.article-type-how-to .phase-route-pill {
    color: #0a8c52;
    background: #ddf8ea;
}
.article-page-shell .phase-one-hero h1 {
    max-width: 100%;
    margin: 0;
    color: #102748;
    font-size: clamp(2.15rem, 4vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: -.052em;
}
.article-page-shell .phase-one-deck {
    max-width: 100%;
    margin: 17px 0 6px;
    color: #304565;
    font-size: 1rem;
    line-height: 1.58;
}
.article-page-shell .phase-one-summary {
    max-width: 100%;
    margin: 5px 0 0;
    color: #53647f;
    font-size: .92rem;
    line-height: 1.55;
}
.article-page-shell .article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
    color: #7a8799;
    font-size: .72rem;
    font-weight: 650;
}
.article-page-shell .article-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.article-page-shell .phase-one-hero-image,
.article-page-shell .phase-one-hero-placeholder {
    min-height: 336px;
    margin: 0;
    align-self: end;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(145deg,#eff6fb,#e7f1f8);
}
.article-page-shell .phase-one-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 336px;
    max-height: 390px;
    object-fit: cover;
}
.article-page-shell .phase-one-hero-placeholder {
    display: grid;
    place-items: center;
}
.article-page-shell .hero-placeholder-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    color: var(--jawido-blue);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 40px rgba(29,73,113,.12);
}
.article-page-shell .hero-placeholder-icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.article-page-shell .phase-one-article-layout {
    max-width: none;
    padding-top: 18px;
    padding-bottom: 72px;
}
.article-page-shell .article-toc {
    margin: 0 0 46px;
    padding: 22px 26px;
    border: 1px solid #dcecf9;
    border-radius: 16px;
    background: linear-gradient(120deg,#f3f9ff,#edf7ff);
}
.article-page-shell .article-toc > strong {
    display: block;
    margin-bottom: 10px;
    font-size: .92rem;
}
.article-page-shell .article-toc ol {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.article-page-shell .article-toc a {
    display: block;
    color: #126fc2;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 650;
}
.article-page-shell .article-toc a:hover { text-decoration: underline; }
.article-page-shell .article-toc a span { color: #697b94; margin-right: 4px; }

.article-page-shell .phase-one-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.article-page-shell .phase-section {
    max-width: 100%;
    margin: 0 0 50px;
    scroll-margin-top: 92px;
}
.article-page-shell .phase-section > h2 {
    margin: 0 0 7px;
    color: #102748;
    font-size: clamp(1.65rem,2.6vw,2.35rem);
    line-height: 1.12;
    letter-spacing: -.038em;
}
.article-page-shell .phase-section-intro {
    max-width: 100%;
    margin: 0 0 20px;
    color: #53647f;
    font-size: .93rem;
}

.article-page-shell .choice-card-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.article-page-shell .choice-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid #dfe7f0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(32,68,108,.055);
}
.article-page-shell .choice-card-image {
    display: grid;
    place-items: center;
    min-height: 180px;
    height: 180px;
    padding: 18px;
    background: #f8fafc;
}
.article-page-shell .choice-card-image img { width: 100%; height: 100%; max-height: 165px; object-fit: contain; }
.article-page-shell .choice-card-placeholder svg { width: 58px; height: 58px; fill: none; stroke: #6c9ed0; stroke-width: 1.4; }
.article-page-shell .choice-card-body { padding: 24px 22px; }
.article-page-shell .choice-card h3,
.article-page-shell .variant-card h3,
.article-page-shell .criteria-card h3,
.article-page-shell .situation-card h3,
.article-page-shell .phase-product-card h3,
.article-page-shell .phase-result-card h3 { color: #102748; }
.article-page-shell .choice-card h3 { margin: 0 0 12px; font-size: 1.06rem; }
.article-page-shell .green-check-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #40526f;
    font-size: .86rem;
}
.article-page-shell .green-check-list li { position: relative; padding-left: 22px; }
.article-page-shell .green-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .05em;
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background: #20bd71;
    font-size: .64rem;
    font-weight: 900;
}
.article-page-shell .green-check-list.compact { gap: 6px; font-size: .78rem; }

.article-page-shell .comparison-panel {
    padding: 26px;
    border: 1px solid #dcecf9;
    border-radius: 16px;
    background: linear-gradient(120deg,#f1f8ff,#eaf5ff);
}
.article-page-shell .comparison-panel .table-scroll { border: 1px solid #d6e5f2; border-radius: 12px; }
.article-page-shell .comparison-panel .content-table { min-width: 0; font-size: .82rem; }
.article-page-shell .comparison-panel .content-table th,
.article-page-shell .comparison-panel .content-table td { padding: 12px 13px; }
.article-page-shell .comparison-panel .content-table thead th {
    color: #244a73;
    background: #f6fbff;
    text-transform: none;
    letter-spacing: 0;
    font-size: .75rem;
}

.article-page-shell .situation-card-grid,
.article-page-shell .criteria-card-grid,
.article-page-shell .variant-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}
.article-page-shell .situation-card,
.article-page-shell .criteria-card,
.article-page-shell .variant-card {
    min-height: 168px;
    padding: 18px;
    border: 1px solid #e0e8f1;
    border-radius: 15px;
    background: #fff;
}
.article-page-shell .criteria-icon,
.article-page-shell .requirement-card > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 11px;
    border-radius: 50%;
    color: var(--jawido-blue);
    background: #e5f6ff;
}
.article-page-shell .criteria-icon svg,
.article-page-shell .requirement-card svg,
.article-page-shell .success-icon svg,
.article-page-shell .tip-list svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.article-page-shell .situation-card h3,
.article-page-shell .criteria-card h3,
.article-page-shell .variant-card h3 { margin: 0 0 7px; font-size: .94rem; }
.article-page-shell .situation-card p,
.article-page-shell .criteria-card p,
.article-page-shell .variant-card p { margin: 5px 0 0; color: #60708a; font-size: .78rem; line-height: 1.5; }
.article-page-shell .situation-card strong { display: block; color: #2673b8; font-size: .78rem; }
.article-page-shell .situation-card small,
.article-page-shell .variant-card small { display: block; margin-top: 7px; color: #8290a4; font-size: .72rem; }

.article-page-shell .criteria-details { margin-top: 28px; }
.article-page-shell .criteria-details > h3 { margin: 0 0 10px; font-size: 1.42rem; letter-spacing: -.025em; }
.article-page-shell .info-accordion {
    border: 1px solid #e1e8f0;
    border-radius: 0;
    background: #f9fbfd;
    overflow: hidden;
}
.article-page-shell .info-accordion + .info-accordion { border-top: 0; }
.article-page-shell .info-accordion:first-of-type { border-radius: 12px 12px 0 0; }
.article-page-shell .info-accordion:last-of-type { border-radius: 0 0 12px 12px; }
.article-page-shell .info-accordion:only-of-type { border-radius: 12px; }
.article-page-shell .info-accordion summary {
    padding: 13px 15px;
    cursor: pointer;
    list-style: none;
    color: #153153;
    font-size: .82rem;
    font-weight: 800;
}
.article-page-shell .info-accordion summary::-webkit-details-marker { display: none; }
.article-page-shell .info-accordion summary::after {
    content: "+";
    float: right;
    color: #146fbc;
    font-size: 1.12rem;
    font-weight: 500;
}
.article-page-shell .info-accordion[open] summary::after { content: "−"; }
.article-page-shell .accordion-body {
    padding: 0 15px 15px;
    color: #53647f;
    font-size: .84rem;
}
.article-page-shell .accordion-body p { margin: 8px 0 0; }

.article-page-shell .phase-product-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.article-page-shell .phase-product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid #e0e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.article-page-shell .phase-product-image {
    display: grid;
    place-items: center;
    min-height: 190px;
    height: 190px;
    padding: 17px;
    background: #fafcfe;
}
.article-page-shell .phase-product-image img { width: 100%; height: 100%; max-height: 175px; object-fit: contain; }
.article-page-shell .phase-product-body { display: flex; flex: 1; flex-direction: column; padding: 18px 19px; }
.article-page-shell .phase-product-card .product-brand { color: #8491a5; font-size: .66rem; }
.article-page-shell .phase-product-card h3 { margin: 5px 0 12px; font-size: .98rem; line-height: 1.25; }
.article-page-shell .phase-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg,#0a88ee,#1185ef);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
}
.article-page-shell .phase-cta:hover { background: var(--jawido-blue-dark); }

.article-page-shell .before-you-start-section { margin-bottom: 44px; }
.article-page-shell .requirements-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}
.article-page-shell .requirement-card {
    min-height: 110px;
    padding: 16px 12px;
    border: 1px solid #e0e8f0;
    border-radius: 13px;
    text-align: center;
    background: #fff;
}
.article-page-shell .requirement-card > span { margin: 0 auto 11px; }
.article-page-shell .requirement-card p { margin: 0; color: #586984; font-size: .74rem; line-height: 1.35; }
.article-page-shell .compact-check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #5a6b84;
    font-size: .8rem;
}
.article-page-shell .compact-check-list li::before { content: "✓"; color: var(--jawido-green); font-weight: 900; margin-right: 7px; }
.article-page-shell .warning-box {
    margin: 14px 0 0;
    padding: 13px 15px;
    border: 1px solid #f0dcae;
    border-radius: 12px;
    color: #705620;
    background: #fff9e9;
    font-size: .8rem;
}
.article-page-shell .warning-box ul { margin: 6px 0 0 18px; }

.article-page-shell .phase-steps-list {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.article-page-shell .phase-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: 92px;
}
.article-page-shell .phase-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 46px;
    bottom: 0;
    width: 2px;
    background: #c7ebfa;
}
.article-page-shell .phase-step-number {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 2px 0 0 6px;
    border: 5px solid #e8f7fe;
    border-radius: 50%;
    color: #fff;
    background: #36b6ed;
    box-sizing: content-box;
    font-size: .82rem;
    font-weight: 900;
}
.article-page-shell .phase-step-copy { padding: 2px 0 26px; }
.article-page-shell .phase-step-copy h3 { margin: 0 0 5px; font-size: .94rem; }
.article-page-shell .phase-step-copy p { max-width: 800px; margin: 0 0 8px; color: #5b6b84; font-size: .8rem; }
.article-page-shell .expected-result { display: inline-block; padding: 8px 10px; border-radius: 9px; background: #effaf5; color: #26704a !important; font-size: .75rem !important; }

.article-page-shell .result-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}
.article-page-shell .phase-result-card {
    padding: 16px;
    border: 1px solid #e0e9f1;
    border-radius: 13px;
    background: #fff;
}
.article-page-shell .success-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 9px;
    border-radius: 50%;
    color: #fff;
    background: var(--jawido-green);
}
.article-page-shell .phase-result-card h3 { margin: 0 0 5px; font-size: .84rem; }
.article-page-shell .phase-result-card p { margin: 0; color: #586984; font-size: .76rem; }
.article-page-shell .phase-result-card small { display: block; margin-top: 7px; color: #8490a2; font-size: .7rem; }

.article-page-shell .tips-panel {
    padding: 22px 24px;
    border: 1px solid #d7f1e4;
    border-radius: 14px;
    background: linear-gradient(120deg,#effbf5,#e9faf3);
}
.article-page-shell .tips-panel > h2 { color: #12925a; font-size: 1.23rem; }
.article-page-shell .tip-list { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.article-page-shell .tip-list li { display: flex; align-items: flex-start; gap: 9px; color: #46645a; font-size: .8rem; }
.article-page-shell .tip-list svg { width: 18px; height: 18px; flex: 0 0 18px; color: #17b96d; }

.article-page-shell .phase-accordion-section { margin-bottom: 16px; }
.article-page-shell .phase-accordion-section > h2 { margin-bottom: 12px; }
.article-page-shell .phase-accordion-section .info-accordion {
    background: #f9fbfd;
}
.article-page-shell .conclusion-section { margin-top: 8px; }
.article-page-shell .conclusion-accordion summary { font-size: .9rem; }

.article-page-shell .related-section {
    margin-top: 32px;
    padding: 52px 0 64px;
    border-top: 1px solid #e7edf3;
    background: #f8fafc;
}
.article-page-shell .article-site-footer { margin-top: 0; }

@media (max-width: 900px) {
    .article-page-shell .article-header-inner { grid-template-columns: auto 1fr; }
    .article-page-shell .article-main-nav { justify-self: end; gap: 20px; }
    .article-page-shell .article-search { display: none; }
    .article-page-shell .phase-one-hero-grid { grid-template-columns: 1fr; }
    .article-page-shell .phase-one-hero-copy { padding-right: 0; }
    .article-page-shell .phase-one-hero-image,
    .article-page-shell .phase-one-hero-placeholder { min-height: 280px; border-radius: 18px; margin-bottom: 16px; }
    .article-page-shell .phase-one-hero-image img { min-height: 280px; max-height: 330px; }
    .article-page-shell .criteria-card-grid,
    .article-page-shell .situation-card-grid,
    .article-page-shell .variant-card-grid,
    .article-page-shell .result-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .article-page-shell .requirements-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 650px) {
    .article-page-shell .container { width: min(100% - 26px,1120px); }
    .article-page-shell .article-header-inner { min-height: 56px; gap: 14px; }
    .article-page-shell .article-brand { font-size: 1.28rem; }
    .article-page-shell .article-main-nav { gap: 14px; }
    .article-page-shell .article-main-nav a { font-size: .72rem; }
    .article-page-shell .article-main-nav a:nth-child(2) { display: none; }
    .article-page-shell .phase-one-hero { padding-top: 12px; }
    .article-page-shell .article-breadcrumbs { margin-bottom: 14px; font-size: .66rem; }
    .article-page-shell .article-breadcrumbs [aria-current="page"] { display: none; }
    .article-page-shell .phase-one-hero h1 { font-size: 2.1rem; }
    .article-page-shell .phase-one-deck { font-size: .9rem; }
    .article-page-shell .phase-one-summary { font-size: .82rem; }
    .article-page-shell .article-meta-row { gap: 12px; font-size: .66rem; }
    .article-page-shell .phase-one-article-layout { padding-top: 14px; }
    .article-page-shell .article-toc { margin-bottom: 34px; padding: 17px; }
    .article-page-shell .article-toc ol { grid-template-columns: 1fr; }
    .article-page-shell .phase-section { margin-bottom: 38px; }
    .article-page-shell .phase-section > h2 { font-size: 1.55rem; }
    .article-page-shell .choice-card-grid,
    .article-page-shell .phase-product-grid,
    .article-page-shell .criteria-card-grid,
    .article-page-shell .situation-card-grid,
    .article-page-shell .variant-card-grid,
    .article-page-shell .result-card-grid { grid-template-columns: 1fr; }
    .article-page-shell .choice-card-image,
    .article-page-shell .phase-product-image { min-height: 190px; }
    .article-page-shell .requirements-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .article-page-shell .comparison-panel { padding: 18px 13px; }
    .article-page-shell .phase-step { grid-template-columns: 44px 1fr; gap: 10px; }
    .article-page-shell .phase-step:not(:last-child)::after { left: 19px; }
    .article-page-shell .phase-step-number { margin-left: 2px; }
}

/* Grouped FAQ row from the article mockups. */
.article-page-shell .faq-group-body { padding-top: 2px; }
.article-page-shell .faq-answer-item { padding: 12px 0; border-top: 1px solid #e7edf3; }
.article-page-shell .faq-answer-item:first-child { border-top: 0; }
.article-page-shell .faq-answer-item h3 { margin: 0 0 6px; color: #173252; font-size: .86rem; }
.article-page-shell .faq-answer-item p { margin: 0; }

/* ========================================================================== 
   Phase 1 visual polish - approved JaWiDo mockups
   ========================================================================== */
.homepage {
    background: #ffffff;
    color: #0f2948;
}
.homepage .container { width: min(1180px, calc(100% - 34px)); }
.home-site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #edf2f7;
    backdrop-filter: blur(16px);
}
.home-header-inner {
    min-height: 62px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.home-brand {
    color: #102748;
    font-size: 1.48rem;
    font-weight: 950;
    letter-spacing: -.06em;
    text-decoration: none;
}
.home-brand span { color: #1185ef; }
.home-main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 34px;
}
.home-main-nav a {
    color: #183552;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
}
.home-main-nav a:hover,
.home-main-nav a:focus-visible { color: #1185ef; }
.home-header-search {
    width: 174px;
    height: 34px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #99a9bb;
    border: 1px solid #edf1f5;
    border-radius: 999px;
    background: #f6f9fc;
    font-size: .76rem;
}
.home-hero-v2 {
    border: 0;
    background: linear-gradient(105deg,#eaf5ff 0%,#f5f9fd 50%,#eef3f6 100%);
}
.home-hero-v2 .home-hero-grid {
    min-height: 500px;
    grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr);
    gap: 26px;
    align-items: stretch;
}
.home-hero-v2 .home-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 66px 8px 64px 0;
}
.home-hero-v2 .home-hero-copy h1 {
    max-width: 560px;
    color: #0f2948;
    font-size: clamp(3rem,5.25vw,4.85rem);
    line-height: .98;
    letter-spacing: -.058em;
}
.home-hero-v2 .home-hero-copy > p {
    max-width: 560px;
    margin: 22px 0 26px;
    color: #465c76;
    font-size: 1.06rem;
    line-height: 1.6;
}
.home-hero-v2 .home-hero-visual {
    height: auto;
    min-height: 500px;
    margin: 0 -17px 0 0;
    border-radius: 0;
    box-shadow: none;
}
.home-hero-v2 .home-hero-visual img { object-position: center; }
.home-hero-searchbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 470px);
    min-height: 50px;
    padding: 5px 6px 5px 19px;
    color: #8a9aae;
    border: 1px solid #dce7f1;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(38,78,118,.10);
    text-decoration: none;
    font-size: .86rem;
}
.home-hero-searchbox strong {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    color: #fff;
    border-radius: 50%;
    background: #0b83ec;
    font-size: 1.15rem;
}
.home-trust-bar {
    padding: 13px 0;
    border-top: 1px solid #dceaf6;
    border-bottom: 1px solid #dceaf6;
    background: #eaf7ff;
}
.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}
.home-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    color: #264663;
    font-size: .74rem;
}
.home-trust-item > span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    color: #0e8ee5;
    border-radius: 50%;
    background: #caeeff;
    font-weight: 900;
}
.home-trust-item strong { font-weight: 800; }
.journey-section-v2 { padding: 66px 0 60px; background: #fff; }
.home-section-heading { margin-bottom: 26px; }
.home-route-label {
    display: inline-flex;
    padding: 5px 11px;
    color: #0e83d8;
    border-radius: 999px;
    background: #e5f6ff;
    font-size: .7rem;
    font-weight: 850;
}
.home-section-heading h2,
.home-section-heading-row h2,
.home-three-steps-heading h2,
.home-about-copy h2 {
    margin: 8px 0 0;
    color: #102748;
    font-size: clamp(2rem,3vw,2.7rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.home-section-heading p { margin: 8px 0 0; color: #66768c; font-size: .96rem; }
.journey-grid-three {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}
.journey-card-v2 {
    min-height: 0;
    padding: 0;
    border: 1px solid #dfe8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(26,62,98,.07);
}
.journey-card-v2 .journey-card-image {
    height: 178px;
    overflow: hidden;
    background: #edf4f8;
}
.journey-card-v2 .journey-card-image img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}
.journey-card-v2 .journey-card-body {
    position: relative;
    min-height: 220px;
    padding: 24px 24px 58px;
}
.journey-number-v2 {
    position: absolute;
    top: -25px;
    left: 22px;
    width: 48px;
    height: 48px;
    color: #1185ef;
    border: 1px solid #d6eaf8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(33,76,114,.10);
    font-size: 1rem;
}
.journey-card-v2 h3 {
    margin: 7px 0 10px;
    color: #102748;
    font-size: 1.24rem;
}
.journey-card-v2 p {
    margin: 0;
    color: #5e6f87;
    font-size: .87rem;
    line-height: 1.55;
}
.journey-arrow {
    position: absolute;
    left: 24px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 50%;
    background: #0f6fc6;
    font-weight: 900;
}
.home-featured-v2 { padding: 24px 0 62px; background: #fff !important; }
.home-section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 23px;
}
.home-section-heading-row h2 { margin: 0; }
.home-all-link { color: #087bd7; text-decoration: none; font-size: .82rem; font-weight: 850; }
.home-article-card-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}
.home-article-card {
    position: relative;
    min-height: 265px;
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(29,61,96,.06);
}
.home-article-card .article-card-image { height: 155px; }
.home-article-card .article-card-content { position: relative; min-height: 110px; padding: 14px 46px 16px 16px; }
.home-article-card .article-type-badge {
    margin-top: -29px;
    position: relative;
    z-index: 2;
    padding: 5px 9px;
    border: 1px solid rgba(20,100,160,.08);
    background: #fff;
    font-size: .62rem;
}
.home-article-card.card-category-orientation .article-type-badge { color: #1a72b4; background: #e8f6ff; }
.home-article-card.card-product-orientation .article-type-badge { color: #128d78; background: #e2faf4; }
.home-article-card.card-how-to .article-type-badge { color: #187e4f; background: #e5faef; }
.home-article-card h3 { margin: 10px 0 0; font-size: 1rem; line-height: 1.22; }
.article-card-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 50%;
    background: #0e74cc;
    text-decoration: none;
    font-weight: 900;
}
.home-three-steps { padding: 18px 0 28px; background: #fff; }
.home-three-steps-panel {
    padding: 38px 28px 28px;
    border: 1px solid #d5e9fa;
    border-radius: 20px;
    background: linear-gradient(120deg,#e7f5ff,#dceeff);
}
.home-three-steps-heading { text-align: center; }
.home-three-steps-heading h2 { margin: 0; font-size: 1.75rem; }
.home-three-steps-heading p { margin: 6px 0 0; color: #516982; }
.home-step-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 28px;
}
.home-step-card {
    position: relative;
    min-height: 108px;
    padding: 33px 15px 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 13px;
    background: rgba(255,255,255,.82);
}
.home-step-card > span {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 12px;
    background: #1185ef;
    box-shadow: 0 9px 20px rgba(17,133,239,.22);
    font-size: 1.1rem;
    font-weight: 900;
}
.home-step-card strong { display: block; color: #143657; font-size: .84rem; }
.home-step-card small { display: block; margin-top: 4px; color: #708096; font-size: .7rem; }
.home-about-section { padding: 10px 0 66px; background: #fff; }
.home-about-panel {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 20px;
    background: #1b3553;
}
.home-about-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(21,45,72,.98) 0%,rgba(21,45,72,.88) 48%,rgba(21,45,72,.18) 78%,rgba(21,45,72,.05) 100%);
}
.home-about-panel > img {
    position: absolute;
    inset: 0 0 0 auto;
    width: 58%;
    height: 100%;
    object-fit: cover;
}
.home-about-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
    padding: 42px 38px;
}
.home-about-copy h2 { margin: 0; color: #fff; font-size: 2.25rem; }
.home-about-copy p { max-width: 500px; margin: 16px 0 22px; color: #d9e5f0; font-size: .92rem; line-height: 1.6; }
.home-about-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #fff;
    border-radius: 999px;
    background: #0d86ee;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 850;
}
.home-footer .footer-grid { min-height: 150px; }

/* Article pages: stronger hierarchy, spacing and mockup-like components. */
.article-page-shell .container { width: min(1120px, calc(100% - 38px)); }
.article-page-shell .phase-one-hero { padding-top: 24px; }
.article-page-shell .phase-one-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
}
.article-page-shell .phase-one-hero-copy { padding: 16px 0 38px 0; }
.article-page-shell .phase-one-hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem,4.4vw,4rem);
    line-height: 1.02;
}
.article-page-shell .phase-one-deck { margin-top: 20px; font-size: 1.06rem; line-height: 1.62; }
.article-page-shell .phase-one-summary { margin-top: 8px; font-size: .96rem; line-height: 1.62; }
.article-page-shell .article-meta-row { margin-top: 24px; gap: 28px; font-size: .74rem; }
.article-page-shell .phase-one-hero-image,
.article-page-shell .phase-one-hero-placeholder {
    min-height: 382px;
    border-radius: 26px 26px 0 0;
}
.article-page-shell .phase-one-hero-image img { min-height: 382px; max-height: 430px; }
.article-page-shell .phase-one-article-layout { padding-top: 20px; padding-bottom: 84px; }
.article-page-shell .article-toc {
    margin-bottom: 56px;
    padding: 27px 30px;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.article-page-shell .article-toc > strong { margin-bottom: 13px; font-size: 1rem; }
.article-page-shell .article-toc ol { gap: 9px 46px; }
.article-page-shell .article-toc a { font-size: .86rem; line-height: 1.45; }
.article-page-shell .phase-section { margin-bottom: 66px; }
.article-page-shell .phase-section > h2 { margin-bottom: 10px; font-size: clamp(1.85rem,2.8vw,2.5rem); }
.article-page-shell .phase-section-intro { max-width: 100%; margin-bottom: 26px; font-size: .98rem; line-height: 1.65; }.article-page-shell .choice-card-grid { gap: 20px; align-items: stretch; }
.article-page-shell .choice-card {
    min-height: 0;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(32,68,108,.07);
}
.article-page-shell .choice-card-image { min-height: 220px; height: 220px; padding: 22px; }
.article-page-shell .choice-card-image img { max-height: 196px; }
.article-page-shell .choice-card-body { padding: 26px 26px 28px; }
.article-page-shell .choice-card h3 { margin-bottom: 14px; font-size: 1.16rem; }
.article-page-shell .green-check-list { gap: 9px; font-size: .9rem; }
.article-page-shell .comparison-panel {
    padding: 31px 30px 30px;
    border-radius: 20px;
    background: linear-gradient(120deg,#edf7ff,#e5f3ff);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.58);
}
.article-page-shell .comparison-panel .content-table th,
.article-page-shell .comparison-panel .content-table td { padding: 14px 15px; }
.article-page-shell .situation-card-grid,
.article-page-shell .criteria-card-grid,
.article-page-shell .variant-card-grid { gap: 18px; }
.article-page-shell .situation-card,
.article-page-shell .criteria-card,
.article-page-shell .variant-card {
    min-height: 192px;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 7px 22px rgba(35,69,105,.035);
}
.article-page-shell .criteria-icon,
.article-page-shell .requirement-card > span {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}
.article-page-shell .situation-card h3,
.article-page-shell .criteria-card h3,
.article-page-shell .variant-card h3 { margin-bottom: 9px; font-size: 1rem; }
.article-page-shell .situation-card p,
.article-page-shell .criteria-card p,
.article-page-shell .variant-card p { font-size: .83rem; line-height: 1.55; }
.article-page-shell .situation-card strong { margin-top: 3px; font-size: .82rem; }
.article-page-shell .criteria-details { margin-top: 36px; }
.article-page-shell .criteria-details > h3 { margin-bottom: 14px; font-size: 1.55rem; }
.article-page-shell .info-accordion summary {
    min-height: 50px;
    padding: 15px 18px;
    font-size: .88rem;
}
.article-page-shell .accordion-body { padding: 0 18px 18px; font-size: .89rem; line-height: 1.6; }
.article-page-shell .info-accordion:first-of-type { border-radius: 15px 15px 0 0; }
.article-page-shell .info-accordion:last-of-type { border-radius: 0 0 15px 15px; }
.article-page-shell .info-accordion:only-of-type { border-radius: 15px; }
.article-page-shell .phase-product-grid { gap: 20px; align-items: stretch; }
.article-page-shell .phase-product-card {
    min-height: 0;
    border-radius: 19px;
    box-shadow: 0 10px 28px rgba(34,66,100,.055);
}
.article-page-shell .phase-product-image { min-height: 225px; height: 225px; padding: 20px; }
.article-page-shell .phase-product-image img { max-height: 202px; }
.article-page-shell .phase-product-body { padding: 22px 23px 20px; }
.article-page-shell .phase-product-card h3 { margin: 6px 0 14px; font-size: 1.08rem; }
.article-page-shell .green-check-list.compact { gap: 7px; font-size: .82rem; }
.article-page-shell .phase-cta { margin-top: auto; padding: 11px 15px; font-size: .82rem; box-shadow: 0 8px 18px rgba(17,133,239,.16); }.article-page-shell .before-you-start-section { margin-bottom: 58px; }
.article-page-shell .requirements-grid { gap: 15px; }
.article-page-shell .requirement-card {
    min-height: 132px;
    padding: 20px 15px;
    border-radius: 16px;
}
.article-page-shell .requirement-card p { font-size: .8rem; line-height: 1.45; }
.article-page-shell .phase-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    min-height: 116px;
}
.article-page-shell .phase-step:not(:last-child)::after {
    left: 29px;
    top: 52px;
    bottom: -2px;
    width: 3px;
}
.article-page-shell .phase-step-number {
    width: 42px;
    height: 42px;
    margin: 2px 0 0 5px;
    border-width: 6px;
    font-size: .9rem;
}
.article-page-shell .phase-step-copy { padding: 4px 0 32px; }
.article-page-shell .phase-step-copy h3 { margin-bottom: 7px; font-size: 1rem; }
.article-page-shell .phase-step-copy p { max-width: 850px; font-size: .86rem; line-height: 1.62; }
.article-page-shell .phase-step-copy .problem-fix-interpretation { display: block; width: fit-content; max-width: 850px; box-sizing: border-box; padding: 12px 16px; border-left: 3px solid #8ca8bd; border-radius: 0 10px 10px 0; background: #f3f7fa; color: #43536a !important; font-size: .86rem !important; line-height: 1.62; }
.article-page-shell .tips-panel {
    padding: 29px 31px;
    border-radius: 18px;
    background: linear-gradient(120deg,#ebfbf3,#e2f8ed);
}
.article-page-shell .tips-panel > h2 { font-size: 1.42rem; }
.article-page-shell .tip-list { gap: 11px; margin-top: 17px; }
.article-page-shell .tip-list li { font-size: .86rem; line-height: 1.5; }
.article-page-shell .troubleshooting-list .info-accordion summary { min-height: 54px; padding: 16px 18px; }
.article-page-shell .phase-accordion-section { margin-bottom: 19px; }
.article-page-shell .faq-group-accordion > summary,
.article-page-shell .conclusion-accordion > summary { min-height: 54px; font-size: .95rem; }
.article-page-shell .faq-answer-item { padding: 16px 0; }
.article-page-shell .faq-answer-item h3 { font-size: .92rem; }

@media (max-width: 900px) {
    .home-header-inner { grid-template-columns: auto 1fr; }
    .home-main-nav { justify-self: end; gap: 20px; }
    .home-header-search { display: none; }
    .home-hero-v2 .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-v2 .home-hero-copy { padding: 52px 0 18px; }
    .home-hero-v2 .home-hero-visual { min-height: 340px; height: 340px; margin: 0 0 30px; border-radius: 20px; }
    .journey-grid-three,
    .home-article-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-trust-grid { grid-template-columns: 1fr; gap: 4px; }
    .home-trust-item { justify-content: flex-start; }
    .article-page-shell .phase-one-hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .article-page-shell .phase-one-hero-copy { padding-right: 0; }
}

@media (max-width: 650px) {
    .homepage .container { width: min(100% - 26px,1180px); }
    .home-header-inner { min-height: 56px; gap: 14px; }
    .home-brand { font-size: 1.3rem; }
    .home-main-nav { gap: 14px; }
    .home-main-nav a { font-size: .72rem; }
    .home-main-nav a:nth-child(2) { display: none; }
    .home-hero-v2 .home-hero-copy h1 { font-size: 2.75rem; }
    .home-hero-v2 .home-hero-copy > p { font-size: .94rem; }
    .home-hero-searchbox { min-height: 46px; font-size: .78rem; }
    .home-hero-v2 .home-hero-visual { min-height: 245px; height: 245px; }
    .journey-section-v2 { padding: 48px 0; }
    .journey-grid-three,
    .home-article-card-grid,
    .home-step-grid { grid-template-columns: 1fr; }
    .journey-card-v2 .journey-card-image { height: 190px; }
    .home-step-grid { gap: 28px; }
    .home-three-steps-panel { padding: 32px 18px 22px; }
    .home-about-panel { min-height: 420px; }
    .home-about-panel > img { width: 100%; height: 48%; top: auto; }
    .home-about-panel::after { background: linear-gradient(180deg,rgba(21,45,72,.99) 0%,rgba(21,45,72,.96) 56%,rgba(21,45,72,.28) 82%,rgba(21,45,72,.08) 100%); }
    .home-about-copy { padding: 30px 24px; }
    .home-about-copy h2 { font-size: 1.85rem; }
    .article-page-shell .phase-one-hero h1 { font-size: 2.2rem; }
    .article-page-shell .phase-one-hero-image,
    .article-page-shell .phase-one-hero-placeholder { min-height: 255px; }
    .article-page-shell .phase-one-hero-image img { min-height: 255px; max-height: 300px; }
    .article-page-shell .article-toc { padding: 20px; margin-bottom: 42px; }
    .article-page-shell .phase-section { margin-bottom: 48px; }
    .article-page-shell .choice-card,
    .article-page-shell .phase-product-card { min-height: 0; }
    .article-page-shell .choice-card-image,
    .article-page-shell .phase-product-image { min-height: 205px; height: 205px; }
    .article-page-shell .situation-card,
    .article-page-shell .criteria-card,
    .article-page-shell .variant-card { min-height: 0; }
    .article-page-shell .phase-step { grid-template-columns: 52px 1fr; gap: 13px; }
    .article-page-shell .phase-step:not(:last-child)::after { left: 24px; }
    .article-page-shell .phase-step-number { margin-left: 0; }
}

/* Flexible semantic Writer blocks: the Writer chooses meaning; JaWiDo owns presentation. */
.article-page-shell .semantic-prose-section { max-width: 100%; }
.article-page-shell .semantic-prose { max-width: 100%; margin: 0 0 17px; color: #425570; font-size: 1rem; line-height: 1.82; }.article-page-shell .semantic-prose:last-child { margin-bottom: 0; }
.article-page-shell .semantic-check-card h3 { margin: 0 0 7px; color: #102748; font-size: .9rem; }
.article-page-shell .semantic-check-card p { margin: 0; }
.article-page-shell .choice-card-body > p { margin: 0 0 14px; color: #586984; font-size: .82rem; line-height: 1.55; }
.article-page-shell .comparison-bottom-line { margin: 18px 0 0; color: #274d72; font-size: .86rem; line-height: 1.55; }
.article-page-shell .semantic-callout-section { margin-top: -8px; }
.article-page-shell .semantic-callout-section .tips-panel p { margin: 8px 0 0; color: #46645a; line-height: 1.65; }
.article-page-shell .article-opening-prose { max-width: 900px; margin: 0 0 54px; }

/* Flexible Writer: checklist uses the JaWiDo check-list language instead of a forced card grid. */
.article-page-shell .semantic-checklist-panel {
    padding: 22px 24px;
    border: 1px solid #dcecf9;
    border-radius: 18px;
    background: #f9fcff;
}
.article-page-shell .semantic-check-list { gap: 13px; font-size: .92rem; }
.article-page-shell .semantic-check-list li { padding-left: 26px; }
.article-page-shell .semantic-check-list li strong { display: block; color: #102748; font-size: .96rem; }
.article-page-shell .semantic-check-list li span { display: block; margin-top: 3px; color: #586984; line-height: 1.55; }

/* Semantic block roles (writer-owned meaning, renderer-owned presentation) */
.article-page-shell .semantic-cards-requirements .requirement-card h3 {
    margin: 0 0 8px;
    color: #173252;
    font-size: .86rem;
    line-height: 1.3;
}
.article-page-shell .semantic-cards-requirements .requirement-card .criteria-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-page-shell .reference-table-panel .reference-table {
    min-width: 0;
}
.article-page-shell .reference-table-panel .reference-table tbody td:first-child {
    color: #173252;
    font-weight: 750;
}

/* Topic-aware editorial hero: avoids repeating the same route image for every article. */
.article-page-shell .phase-one-topic-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    background: linear-gradient(145deg,#f7fbff,#eef6fd);
}
.article-page-shell .phase-one-topic-hero::before,
.article-page-shell .phase-one-topic-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(73,126,177,.12);
}
.article-page-shell .phase-one-topic-hero::before { width: 280px; height: 280px; right: -84px; top: -92px; }
.article-page-shell .phase-one-topic-hero::after { width: 190px; height: 190px; left: -70px; bottom: -78px; }
.article-page-shell .topic-hero-illustration { position: relative; z-index: 1; width: min(82%,310px); }
.article-page-shell .topic-hero-illustration svg { display: block; width: 100%; height: auto; fill: none; stroke: #4378a9; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.article-page-shell .topic-hero-label { position: relative; z-index: 1; max-width: 90%; color: #315b84; font-size: .82rem; font-weight: 800; letter-spacing: .02em; text-align: center; }

/* ChoicePair visuals stay semantic: the Writer supplies the option; JaWiDo renders the illustration. */
.article-page-shell .semantic-choice-visual { background: linear-gradient(150deg,#f9fcff,#edf6fe); }
.article-page-shell .semantic-choice-visual svg { width: min(76%,220px); height: auto; max-height: 176px; fill: none; stroke: #4c82b5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
