@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Noto+Sans+JP:wght@400;500;600;700&family=Zen+Old+Mincho:wght@600;700&display=swap");

:root {
  --ink: #202826;
  --muted: #66726f;
  --paper: #ffffff;
  --card: #ffffff;
  --forest: #176b87;
  --forest-2: #0f536d;
  --gold: #efb293;
  --olive: #6d7b5e;
  --clay: #b85f43;
  --line: #dce5e3;
  --soft: #f2f6f5;
  --heading-font: "Zen Old Mincho", "Yu Mincho", serif;
  --hand-font: "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --round-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
body::before { content: ""; display: block; height: 7px; background: repeating-linear-gradient(90deg, var(--forest) 0 12px, #fff 12px 16px, var(--olive) 16px 20px, #fff 20px 24px); }
button, input, select { font: inherit; }
button { color: inherit; }
.site-header { min-height: 72px; padding: 14px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.brand { display: inline-flex; flex: 0 0 auto; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px 11px 5px 11px; color: white; background: var(--forest); box-shadow: inset 0 0 0 3px rgba(255,255,255,.2); font-family: var(--heading-font); }
.header-note, .small-note { font-size: .8rem; color: var(--muted); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a, footer a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.site-nav a:hover, footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; padding: 70px 0 40px; }
.eyebrow, .step { margin: 0 0 10px; color: var(--olive); font-family: var(--hand-font); font-size: .92rem; letter-spacing: .08em; font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: var(--round-font); font-size: clamp(2.35rem, 5.3vw, 4.65rem); font-weight: 400; line-height: 1.35; letter-spacing: .015em; }
h1::after { content: ""; display: block; width: 76px; margin-top: 18px; border-top: 2px solid var(--clay); border-radius: 50%; transform: rotate(-1.5deg); opacity: .72; }
.title-mark { padding: 0 .08em; background: linear-gradient(transparent 66%, #f3dc8a 66%, #f3dc8a 91%, transparent 91%); }
.nowrap { white-space: nowrap; }
.intro-copy { margin-bottom: 6px; color: var(--muted); }
.intro-copy strong { color: var(--ink); font-weight: 600; }
.quick-start { margin-bottom: 22px; padding: 24px 26px; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.5fr) auto; gap: 26px; align-items: center; color: white; background: var(--forest); border-radius: 16px 16px 6px 16px; }
.quick-start h2 { margin: 0; font-family: var(--round-font); font-size: 1.45rem; font-weight: 400; }
.quick-start .step { color: #b8c7c0; }
.quick-start ol { margin: 0; padding: 0; display: flex; gap: 24px; list-style: none; }
.quick-start li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; color: #dce5e1; font-size: .84rem; }
.quick-start li span, .howto-strip li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--gold); font-weight: 700; }
.quick-start-button { padding: 12px 16px; border: 1px solid white; border-radius: 9px; color: var(--forest-2); background: white; font-weight: 700; cursor: pointer; white-space: nowrap; }
.quick-start-button:hover { background: var(--soft); }

/* Two evergreen paths */
.path-section { padding: 8px 0 34px; }
.path-heading { max-width: 760px; margin-bottom: 24px; }
.path-heading h2 { margin-bottom: 10px; font-family: var(--round-font); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; }
.path-heading p { color: var(--muted); }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.path-card { position: relative; min-height: 310px; padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px 22px 7px 22px; color: var(--ink); text-decoration: none; background: white; }
.path-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -78px; bottom: -88px; border: 1px solid currentColor; border-radius: 48% 52% 44% 56%; opacity: .12; transform: rotate(-12deg); }
.path-card:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(15,83,109,.09); }
.path-card-minimal { background: #f7faf8; }
.path-card-nomad { color: white; border-color: var(--forest); background: var(--forest); }
.path-card .path-number { color: var(--clay); font-family: var(--hand-font); letter-spacing: .08em; }
.path-card-nomad .path-number { color: var(--gold); }
.path-card h3 { margin: 48px 0 12px; font-family: var(--round-font); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; }
.path-card p { max-width: 520px; color: var(--muted); }
.path-card-nomad p { color: #dce5e1; }
.path-card strong { margin-top: auto; color: var(--forest-2); font-size: .9rem; }
.path-card-nomad strong { color: var(--gold); }

.tool-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 20px; }
.tool-tab { min-height: 118px; padding: 18px; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 0 12px; border: 1px solid var(--line); border-radius: 12px 12px 4px 12px; background: white; text-align: left; cursor: pointer; }
.tool-tab > span { grid-row: 1 / 3; color: #7b8884; font-family: var(--hand-font); font-size: 1.05rem; transform: rotate(-4deg); }
.tool-tab strong { font-family: var(--round-font); font-size: 1.15rem; font-weight: 500; }
.tool-tab small { color: var(--muted); }
.tool-tab:hover { border-color: #9fbec8; background: #f7fbfc; }
.tool-tab.active { background: var(--forest); color: white; }
.tool-tab.active span, .tool-tab.active small { color: #b8c7c0; }
.tool-tab:focus-visible { outline: 3px solid #4c91a7; outline-offset: 2px; }
.tool-panel { margin-bottom: 76px; }
.tool-panel[hidden] { display: none; }
.tool-intro { min-height: 112px; display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 22px 0; }
.tool-intro h2, .section-heading h2 { margin-bottom: 0; font-family: var(--round-font); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 400; }
.tool-intro > p { max-width: 470px; margin-bottom: 2px; color: var(--muted); }
.howto-strip { margin: 0; padding: 15px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; border: 1px solid var(--line); border-bottom: 0; background: var(--soft); }
.howto-strip li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; color: #485550; font-size: .85rem; font-weight: 600; }
.privacy-note { margin: 0; padding: 12px 18px; border: 1px solid var(--line); border-top: 0; background: var(--card); color: var(--muted); font-size: .8rem; }
.privacy-note strong { color: #405049; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 22px 70px rgba(15,83,109,.08); }
.ledger-panel, .form-panel, .list-panel { padding: clamp(24px, 4vw, 46px); background: var(--card); }
.list-panel { border-left: 1px solid var(--line); }
.result-panel { padding: clamp(28px, 4vw, 46px); background: var(--forest); color: white; }
.panel-heading, .section-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.panel-heading h3 { margin-bottom: 0; font-family: var(--round-font); font-size: 1.45rem; font-weight: 500; }
.panel-actions { display: flex; gap: 15px; }
.text-button { border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-button:hover { color: var(--ink); }
.rows { margin: 26px 0 18px; border-top: 1.5px dashed var(--line); }
.cost-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(110px, 150px) 100px 38px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1.5px dashed var(--line); }
.cost-name, .cost-amount, .form-panel input, .form-panel select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; color: var(--ink); }
.cost-name:focus, .cost-amount:focus, .form-panel input:focus, .form-panel select:focus { outline: 2px solid #4c91a7; outline-offset: 1px; background: white; }
.money-input { position: relative; }
.money-input span { position: absolute; top: 10px; left: 12px; color: var(--muted); }
.money-input input { padding-left: 28px; text-align: right; }
.review-label { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; cursor: pointer; }
.review-label input { width: 19px; height: 19px; accent-color: var(--forest-2); }
.remove-row { border: 0; background: transparent; color: #8a918e; font-size: 1.35rem; cursor: pointer; }
.remove-row:hover { color: #8a342d; }
.add-button, .primary-button { border: 1px solid var(--ink); padding: 11px 17px; border-radius: 9px; cursor: pointer; font-weight: 700; }
.add-button { background: transparent; }
.add-button:hover { background: var(--soft); }
.primary-button { width: 100%; margin-top: 8px; background: var(--forest); color: white; }
.primary-button:hover { background: var(--forest-2); }
.form-panel { display: grid; align-content: start; gap: 18px; }
.form-panel label { display: grid; gap: 7px; color: #3d4b46; font-size: .9rem; font-weight: 600; }
.step.light { color: #b8c7c0; }
.total-block { margin: 34px 0 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.total-block span, .total-block small { display: block; color: #b8c7c0; }
.total-block strong { display: block; margin: 6px 0; color: #ffd4bd; font-family: var(--heading-font); font-size: clamp(2.7rem, 5vw, 4.2rem); line-height: 1.15; }
.summary-list { margin: 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 20px; margin: 12px 0; }
.summary-list dt { color: #b8c7c0; }
.summary-list dd { margin: 0; font-weight: 600; }
.result-message { margin-top: 30px; padding: 17px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.07); color: #dce5e1; font-size: .9rem; }
.result-stay { display: inline-block; margin: 16px 0 2px; padding: 8px 12px; border-radius: 4px 7px 4px 6px; color: #263638; background: #f3dc8a; font-family: var(--hand-font); font-size: 1rem; line-height: 1.55; transform: rotate(-.6deg); }
.result-assumption { margin: 16px 0 0; color: #b8c7c0; font-size: .76rem; }
.result-checks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.result-checks strong { width: 100%; color: #dce5e1; font-size: .82rem; }
.result-checks span { padding: 4px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #dce5e1; font-size: .72rem; }
.renewal-list { margin-top: 24px; }
.renewal-item { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.renewal-item h3 { margin: 4px 0 2px; font-size: 1rem; }
.renewal-item p { margin: 0; color: var(--muted); font-size: .8rem; }
.renewal-item button { border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.date-badge { color: var(--clay); font-family: var(--hand-font); font-size: .9rem; font-weight: 400; }
.empty-state { padding: 24px 0; color: var(--muted); }
.timeline { margin: 22px 0 0; padding: 0; list-style: none; }
.inline-caution { margin: 18px 0 0; padding: 12px 14px; background: var(--soft); color: var(--muted); font-size: .8rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 0 0 25px 22px; border-left: 1px solid #9ca9a4; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.timeline li.past { opacity: .48; }
.timeline time { font-size: .78rem; color: var(--muted); }
.timeline h3 { margin-bottom: 2px; font-size: 1rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .85rem; }
.timeline .empty-state { display: block; padding-left: 0; border: 0; }
.timeline .empty-state::before { display: none; }
.next-actions { padding: 20px 0 70px; }
.section-heading { align-items: end; margin-bottom: 26px; }
.section-heading h2 { white-space: nowrap; }
.section-heading > p { max-width: 440px; margin-bottom: 2px; color: var(--muted); }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.action-grid article { min-height: 235px; padding: 27px; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; background: white; }
.action-grid article.action-feature { color: white; background: var(--forest); border-color: var(--forest); }
.action-grid article.action-feature p { color: #dce5e1; }
.action-grid article.action-feature .card-link { color: var(--gold); }
.action-grid span { color: var(--clay); font-family: var(--hand-font); font-size: .9rem; font-weight: 400; letter-spacing: .06em; }
.action-grid h3 { margin: 42px 0 10px; font-family: var(--round-font); font-size: 1.45rem; font-weight: 500; }
.action-grid p { color: var(--muted); }
.card-link { display: inline-block; margin-top: 8px; color: var(--forest-2); font-size: .85rem; font-weight: 700; text-underline-offset: 4px; }
.disclosure { max-width: 850px; margin: 22px 0 0; color: var(--muted); font-size: .78rem; }
.guide-section { padding: 20px 0 90px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-grid > a { min-height: 280px; padding: 30px; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; transition: transform .18s ease, box-shadow .18s ease; }
.guide-grid > a:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(22,38,32,.09); }
.guide-grid span { color: var(--clay); font-family: var(--hand-font); font-size: .9rem; font-weight: 400; }
.guide-grid h3 { margin: 34px 0 12px; font-family: var(--heading-font); font-size: 1.35rem; line-height: 1.55; }
.guide-grid p { color: var(--muted); }
.guide-grid strong { margin-top: auto; color: var(--forest-2); font-size: .85rem; }

/* Evergreen search and revenue paths */
.guide-hub { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 100px; }
.guide-hub-intro { max-width: 780px; margin-bottom: 46px; }
.guide-hub-intro h1 { font-size: clamp(2.35rem, 5.5vw, 4.25rem); }
.guide-group { padding: 42px 0; border-top: 1px solid var(--line); }
.guide-group-heading { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin-bottom: 24px; }
.guide-group-heading h2 { margin: 0; font-family: var(--round-font); font-size: 1.8rem; font-weight: 500; }
.guide-group-heading p { max-width: 620px; color: var(--muted); }
.guide-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-hub-card { min-height: 235px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px 15px 5px 15px; color: var(--ink); background: white; text-decoration: none; }
.guide-hub-card:hover { border-color: #9fbec8; box-shadow: 0 16px 40px rgba(15,83,109,.08); transform: translateY(-2px); }
.guide-hub-card span { color: var(--clay); font-family: var(--hand-font); font-size: .85rem; }
.guide-hub-card h3 { margin: 30px 0 10px; font-family: var(--heading-font); font-size: 1.38rem; line-height: 1.5; }
.guide-hub-card p { color: var(--muted); }
.guide-hub-card strong { margin-top: auto; color: var(--forest-2); font-size: .85rem; }
.compare-path { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 100px; }
.compare-path-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: end; margin-bottom: 48px; }
.compare-path-intro > p { color: var(--muted); }
.compare-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.compare-path-card { min-height: 300px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px 17px 6px 17px; background: white; }
.compare-path-card.featured { color: white; border-color: var(--forest); background: var(--forest); }
.compare-path-card .step { color: var(--clay); }
.compare-path-card.featured .step, .compare-path-card.featured p { color: #dce5e1; }
.compare-path-card h2 { margin: 34px 0 12px; font-family: var(--round-font); font-size: 1.6rem; font-weight: 500; }
.compare-path-card p { color: var(--muted); }
.compare-path-card a { margin-top: auto; color: var(--forest-2); font-weight: 700; text-underline-offset: 4px; }
.compare-path-card.featured a { color: var(--gold); }
.article-route { margin: 46px 0; padding: 30px; border-radius: 15px 15px 5px 15px; color: white; background: var(--forest); }
.article-route .ad-label { color: #c9d8d4; }
.article-route h2 { margin: 6px 0 10px; color: white; font-size: 1.45rem; }
.article-route p { color: #dce5e1; }
.article-route a { display: inline-block; margin-top: 8px; padding: 11px 17px; border-radius: 8px; color: var(--forest-2); background: var(--gold); font-weight: 700; text-decoration: none; }
.article-siblings { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-siblings h2 { margin: 0 0 15px; font-size: 1.05rem; }
.article-siblings ul { margin: 0; padding-left: 1.2em; }
.article-siblings li { font-size: .9rem; }
.mobile-result-actions { display: grid; gap: 8px; margin-top: 18px; }
.mobile-result-actions a { padding: 10px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; color: white; text-align: center; text-decoration: none; font-size: .85rem; font-weight: 700; }
.mobile-result-actions a:first-child { color: var(--forest-2); border-color: var(--gold); background: var(--gold); }

/* Editorial and policy pages */
.page-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 100px; }
.page-kicker { margin-bottom: 12px; color: var(--clay); font-family: var(--hand-font); font-size: .95rem; font-weight: 400; letter-spacing: .06em; }
.page-shell h1 { max-width: 820px; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.page-lead { max-width: 700px; margin: 28px 0 52px; color: var(--muted); font-size: 1.05rem; }
.article-meta { margin-top: 18px; color: var(--muted); font-size: .8rem; }
.article-body { max-width: 760px; }
.article-body h2 { margin: 56px 0 18px; font-family: var(--round-font); font-size: 1.9rem; font-weight: 500; }
.article-body h3 { margin: 34px 0 12px; font-size: 1.1rem; }
.article-body p, .article-body li { color: #37423e; }
.article-body li + li { margin-top: 10px; }
.article-body a { color: #285a49; text-underline-offset: 4px; }
.breadcrumbs { margin: 0 0 30px; color: var(--muted); font-size: .78rem; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #a2aaa7; }
.breadcrumbs a { color: var(--muted); text-underline-offset: 3px; }
.note-box, .decision-box, .ad-box { margin: 34px 0; padding: 24px 26px; border: 1px solid var(--line); background: var(--card); }
.decision-box { border-left: 4px solid var(--gold); }
.note-box h2, .decision-box h2, .ad-box h2 { margin-top: 0; font-size: 1.35rem; }
.check-list { padding-left: 1.4em; }
.tool-cta { margin: 44px 0; padding: 30px; background: var(--forest); color: white; }
.tool-cta p { color: #dce5e1; }
.tool-cta a { display: inline-block; padding: 11px 18px; border-radius: 3px; background: var(--gold); color: var(--forest); font-weight: 700; text-decoration: none; }
.ad-box { background: var(--soft); }
.ad-label { display: inline-block; margin-bottom: 10px; color: var(--muted); font-family: var(--hand-font); font-size: .88rem; letter-spacing: .05em; }
.ad-box a[aria-disabled="true"] { color: var(--muted); pointer-events: none; }
.source-box { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.source-box h2 { margin: 0 0 12px; font-size: 1.05rem; }
.source-box ul { margin: 0; padding-left: 1.2em; }
.source-box li { font-size: .82rem; }
.policy-list { padding-left: 1.4em; }
.contact-card { max-width: 680px; margin-top: 40px; padding: 30px; background: var(--card); border: 1px solid var(--line); }
.contact-intro { margin-bottom: 22px; border-radius: 14px 14px 5px 14px; }
.contact-intro h2 { margin-bottom: 12px; font-family: var(--round-font); font-size: 1.45rem; font-weight: 500; }
.contact-form-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; background: var(--soft); }
.contact-form-frame { width: 100%; min-height: 1120px; display: block; border: 0; }
.contact-fallback { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.contact-fallback a { color: var(--forest-2); text-underline-offset: 4px; }
.status-badge { display: inline-block; margin-bottom: 14px; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .75rem; font-weight: 700; }

/* Minimalist and nomad paths */
.track-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 100px; }
.track-hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: end; padding: 58px 0 50px; }
.track-hero h1 {
  font-size: clamp(2.55rem, 4.8vw, 4rem);
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}
.track-hero-copy { margin-bottom: 8px; color: var(--muted); font-size: 1.05rem; }
.track-principle { padding: 28px; border: 1px solid var(--line); border-radius: 18px 18px 6px 18px; background: var(--soft); }
.track-principle p:last-child { margin-bottom: 0; }
.route-section { padding: 34px 0 72px; }
.route-map { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route-step { min-height: 250px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.route-step span { color: var(--clay); font-family: var(--hand-font); }
.route-step h3 { margin: 42px 0 10px; font-family: var(--round-font); font-size: 1.25rem; font-weight: 500; }
.route-step p { color: var(--muted); font-size: .88rem; }
.route-step a { color: var(--forest-2); font-size: .85rem; font-weight: 700; text-underline-offset: 4px; }
.track-tool { margin: 20px 0 72px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); border: 1px solid var(--line); border-radius: 20px 20px 7px 20px; box-shadow: 0 22px 60px rgba(15,83,109,.08); }
.track-tool-form { padding: clamp(28px, 4vw, 46px); background: white; }
.track-tool-form h2, .track-result h2 { margin-bottom: 12px; font-family: var(--round-font); font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 500; }
.track-tool-form > p { color: var(--muted); }
.track-tool-form label { display: grid; gap: 7px; margin-top: 18px; color: #3d4b46; font-size: .9rem; font-weight: 600; }
.track-tool-form input, .track-tool-form select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #f8fbfa; }
.track-result { padding: clamp(30px, 4vw, 46px); color: white; background: var(--forest); }
.track-result .step { color: #b8c7c0; }
.track-result h2 { color: #ffd4bd; }
.track-result p, .track-result li { color: #dce5e1; }
.track-result ul { margin: 24px 0 0; padding: 20px 0 0 1.25em; border-top: 1px solid rgba(255,255,255,.2); }
.track-result .result-number { display: block; margin: 24px 0 4px; color: #ffd4bd; font-family: var(--heading-font); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.2; }
.evergreen-note { margin-top: 32px; padding: 24px 26px; border-left: 4px solid var(--gold); background: var(--soft); }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.about-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; }
.about-grid h2 { margin-bottom: 12px; font-family: var(--round-font); font-size: 1.4rem; font-weight: 500; }
.about-grid p { color: var(--muted); }

/* Internet comparison */
.compare-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 90px; }
.ad-disclosure { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid #ead6ca; border-radius: 10px; background: #fff8f4; color: #58443c; font-size: .82rem; }
.ad-disclosure strong { flex: 0 0 auto; padding: 2px 7px; border-radius: 5px; background: var(--gold); color: #573626; font-size: .72rem; }
.compare-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; padding: 62px 0 42px; }
.compare-intro h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.compare-intro > p { max-width: 480px; margin-bottom: 8px; color: var(--muted); font-size: 1.05rem; }
.line-picker { padding: 32px; color: white; background: var(--forest); border-radius: 18px 18px 6px 18px; box-shadow: 0 20px 55px rgba(15,83,109,.14); }
.picker-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 24px; }
.picker-heading h2 { margin: 0; font-family: var(--round-font); font-size: 1.95rem; font-weight: 500; }
.line-picker fieldset { margin: 0; padding: 18px 0; border: 0; border-top: 1px solid rgba(255,255,255,.16); }
.line-picker legend { padding: 0 0 10px; font-weight: 700; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { padding: 9px 13px; border: 1px solid rgba(255,255,255,.32); color: #e9efec; cursor: pointer; }
.choice-row label:has(input:checked) { border-color: white; color: var(--forest-2); background: white; }
.choice-row input { accent-color: var(--forest); }
.light-button { color: #dce5e1; }
.picker-result { margin-top: 20px; padding: 22px; border-radius: 10px 10px 4px 10px; background: white; color: var(--ink); }
.picker-result span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }
.picker-result strong { display: block; margin: 4px 0 7px; font-family: var(--heading-font); font-size: 1.35rem; }
.picker-result p { margin: 0; color: var(--muted); }
.comparison-section { padding: 76px 0 34px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 650px; padding: 30px; border: 1px solid var(--line); border-radius: 16px 16px 5px 16px; background: var(--card); }
.service-card.recommended { border: 2px solid var(--forest); box-shadow: 0 18px 40px rgba(15,83,109,.1); }
.service-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fit-label, .service-order { color: var(--clay); font-family: var(--hand-font); font-size: .9rem; font-weight: 400; }
.service-order { padding: 3px 8px; border-radius: 5px; color: white; background: var(--forest-2); }
.service-card h3 { margin: 34px 0 10px; font-family: var(--heading-font); font-size: 1.65rem; }
.service-summary { min-height: 82px; color: var(--muted); }
.service-card dl { margin: 12px 0 22px; border-top: 1px solid var(--line); }
.service-card dl > div { display: grid; grid-template-columns: 122px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.service-card dt { color: var(--muted); font-size: .8rem; }
.service-card dd { margin: 0; font-size: .88rem; font-weight: 600; }
.service-note { color: var(--muted); font-size: .82rem; }
.affiliate-button-wrap { margin-top: auto; }
.affiliate-button-wrap > a { padding: 13px 16px; display: block; border: 1px solid var(--forest); border-radius: 9px; color: white; background: var(--forest); text-align: center; text-decoration: none; font-weight: 700; }
.affiliate-button-wrap > a:hover { border-color: var(--forest-2); background: var(--forest-2); }
.source-link { margin-top: 12px; color: var(--muted); text-align: center; font-size: .78rem; text-underline-offset: 4px; }
.contract-check { margin-top: 48px; padding: 34px; border-top: 4px solid var(--gold); border-radius: 6px 6px 18px 18px; background: var(--forest-2); color: white; }
.contract-check h2 { margin-bottom: 24px; font-family: var(--round-font); font-size: 1.9rem; font-weight: 500; }
.contract-check ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.contract-check li { min-height: 150px; padding: 18px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.contract-check li strong, .contract-check li span { display: block; }
.contract-check li strong { color: var(--gold); }
.contract-check li span { margin-top: 8px; color: #dce5e1; font-size: .8rem; }
.contract-check > p { margin: 18px 0 0; color: #b8c7c0; font-size: .78rem; }

/* Mobile plan review */
.mobile-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 90px; }
.mobile-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: end; padding: 58px 0 38px; }
.mobile-intro h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.mobile-intro > p { max-width: 500px; margin-bottom: 8px; color: var(--muted); font-size: 1.05rem; }
.mobile-picker { overflow: hidden; border: 1px solid var(--line); border-radius: 18px 18px 6px 18px; box-shadow: 0 22px 60px rgba(15,83,109,.1); }
.mobile-picker-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr); }
.mobile-questions { padding: clamp(26px, 4vw, 44px); background: white; }
.mobile-questions .picker-heading { margin-bottom: 12px; }
.mobile-questions fieldset { margin: 0; padding: 22px 0; border: 0; border-top: 1.5px dashed var(--line); }
.mobile-questions legend { padding: 0 0 11px; font-family: var(--round-font); font-size: 1.05rem; font-weight: 500; }
.mobile-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.mobile-choice-row label { min-height: 48px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px 9px 3px 9px; background: #f8fbfa; cursor: pointer; font-size: .88rem; }
.mobile-choice-row label:has(input:checked) { border-color: var(--forest); color: var(--forest-2); background: #eef7f9; box-shadow: inset 0 0 0 1px var(--forest); }
.mobile-choice-row input { flex: 0 0 auto; accent-color: var(--forest); }
.mobile-result { padding: clamp(28px, 4vw, 44px); color: white; background: var(--forest); }
.mobile-result .step { color: #b8c7c0; }
.mobile-result-label { margin: 28px 0 4px; color: #b8c7c0; font-size: .82rem; }
.mobile-result h2 { margin-bottom: 10px; color: #ffd4bd; font-family: var(--heading-font); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.4; }
.mobile-result-copy { color: #e4eeeb; }
.mobile-result-points { margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.mobile-result-points li { position: relative; margin: 10px 0; padding-left: 22px; color: #dce5e1; font-size: .88rem; }
.mobile-result-points li::before { content: "○"; position: absolute; left: 0; color: var(--gold); }
.mobile-result-note { margin: 24px 0 0; padding: 12px 14px; border-radius: 5px 9px 5px 8px; color: #263638; background: #f3dc8a; font-family: var(--hand-font); line-height: 1.55; transform: rotate(-.35deg); }
.mobile-types { padding: 72px 0 34px; }
.plan-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-type-card { min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: 15px 15px 5px 15px; background: white; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.plan-type-card.is-match { border: 2px solid var(--forest); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,83,109,.11); }
.plan-type-card .match-badge { display: inline-block; min-height: 28px; padding: 3px 9px; border-radius: 6px; color: var(--muted); background: var(--soft); font-family: var(--hand-font); font-size: .86rem; }
.plan-type-card.is-match .match-badge { color: white; background: var(--forest); }
.plan-type-card h3 { margin: 28px 0 10px; font-family: var(--round-font); font-size: 1.35rem; font-weight: 500; }
.plan-type-card > p { color: var(--muted); }
.plan-type-card ul { margin: 20px 0 0; padding: 18px 0 0 1.25em; border-top: 1px solid var(--line); }
.plan-type-card li { margin: 7px 0; color: #47534f; font-size: .84rem; }
.mobile-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.mobile-next article { padding: 30px; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; }
.mobile-next article:first-child { color: white; background: var(--forest-2); border-color: var(--forest-2); }
.mobile-next article:first-child p { color: #dce5e1; }
.mobile-next h2 { margin-bottom: 12px; font-family: var(--round-font); font-size: 1.45rem; font-weight: 500; }
.mobile-next p { color: var(--muted); }
.mobile-next ol { margin-bottom: 0; padding-left: 1.3em; }
.mobile-next li + li { margin-top: 7px; }
.mobile-ad-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 48px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
footer p { margin-bottom: 6px; }
footer p:first-child { color: var(--ink); font-weight: 700; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; align-content: start; }
@media (max-width: 900px) {
  .intro, .workspace { grid-template-columns: 1fr; }
  .intro { gap: 24px; padding: 48px 0 34px; }
  .tool-tabs { grid-template-columns: repeat(2, 1fr); }
  .list-panel { border-left: 0; border-top: 1px solid var(--line); }
  .action-grid, .guide-grid { grid-template-columns: 1fr; }
  .quick-start { grid-template-columns: 1fr; gap: 18px; }
  .action-grid article { min-height: 190px; }
  .compare-intro, .service-grid, .mobile-intro, .mobile-picker-grid { grid-template-columns: 1fr; }
  .compare-intro { gap: 22px; }
  .contract-check ol { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: auto; }
  .service-summary { min-height: 0; }
  .plan-type-grid { grid-template-columns: 1fr; }
  .plan-type-card { min-height: auto; }
  .track-hero, .track-tool { grid-template-columns: 1fr; }
  .route-map { grid-template-columns: repeat(2, 1fr); }
  .guide-group-heading, .compare-path-intro { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .site-header { align-items: center; flex-wrap: wrap; gap: 12px; }
  .site-nav { width: 100%; gap: 12px; flex-wrap: wrap; justify-content: flex-start; padding-left: 50px; }
  .site-nav a { font-size: .78rem; }
  main { width: min(100% - 24px, 1180px); }
  h1 { font-size: 2.3rem; }
  .tool-tabs { grid-template-columns: 1fr; }
  .quick-start ol, .howto-strip { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .quick-start { padding: 22px; }
  .tool-tab { min-height: 82px; }
  .tool-intro, .section-heading { display: block; }
  .section-heading h2 { white-space: normal; }
  .tool-intro > p, .section-heading > p { margin-top: 12px; }
  .cost-row { grid-template-columns: 1fr 112px 34px; gap: 8px; }
  .panel-heading { align-items: flex-start; }
  .panel-actions { flex-direction: column; gap: 3px; align-items: flex-end; }
  .review-label { grid-column: 1 / 3; }
  .remove-row { grid-column: 3; grid-row: 1; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .page-shell { width: min(100% - 24px, 920px); padding-top: 44px; }
  .contact-form-frame { min-height: 1280px; }
  footer { width: min(100% - 24px, 1180px); display: block; }
  footer nav { margin-top: 18px; }
  .compare-shell { width: min(100% - 24px, 1080px); padding-top: 18px; }
  .mobile-shell { width: min(100% - 24px, 1080px); padding-top: 18px; }
  .ad-disclosure { align-items: flex-start; }
  .compare-intro { padding-top: 44px; }
  .line-picker, .service-card, .contract-check { padding: 22px; }
  .choice-row { display: grid; }
  .contract-check ol { grid-template-columns: 1fr; }
  .contract-check li { min-height: auto; }
  .service-card dl > div { grid-template-columns: 104px 1fr; }
  .mobile-intro { padding-top: 44px; }
  .mobile-choice-row, .mobile-next { grid-template-columns: 1fr; }
  .path-grid, .about-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 260px; }
  .track-shell { width: min(100% - 24px, 1080px); padding-top: 18px; }
  .track-hero { padding-top: 42px; gap: 24px; }
  .track-hero h1 { font-size: clamp(2.15rem, 10.5vw, 2.55rem); }
  .route-map { grid-template-columns: 1fr; }
  .route-step { min-height: auto; }
  .guide-hub, .compare-path { width: min(100% - 24px, 1080px); padding-top: 44px; }
  .guide-hub-grid, .compare-path-grid { grid-template-columns: 1fr; }
  .guide-hub-card, .compare-path-card { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
