.guide-site {
  --guide-navy: #24384a;
  --guide-sky: #eaf7ff;
  --guide-pink: #fff1f5;
  --guide-green: #eaf7ef;
  --guide-amber: #fff7df;
  background: #fff;
}

.header-link-soft { color: #70404c; border: 1px solid #ebc6cf; background: #fff8fa; }
.guide-country { margin: 0 0 14px; color: var(--pink-deep); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; }

.guide-hero {
  min-height: 540px;
  padding: clamp(44px, 7vw, 82px) max(18px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  background: linear-gradient(145deg, #fff9fb 0%, #edf9ff 54%, #fff4f6 100%);
  border-block: 1px solid var(--line);
}
.guide-hero h1, .korea-landing-hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.guide-hero-copy > p:not(.guide-country) { max-width: 42rem; margin: 24px 0 0; color: #5e4f55; font-size: 1.05rem; }
.guide-hero .primary-cta { margin-top: 28px; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions .primary-cta { margin-top: 0; }
.guide-hero figure { margin: 0; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); transform: rotate(0.5deg); }
.guide-hero figure img { border-radius: 7px; }

.trust-rule {
  width: min(calc(100% - 36px), 920px);
  margin: -24px auto 0;
  position: relative;
  z-index: 3;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #b9dfca;
  border-radius: 18px;
  background: #f4fff8;
  box-shadow: 0 10px 30px rgba(58, 104, 76, 0.1);
}
.trust-rule strong { color: #276641; }
.trust-rule span { color: #52645a; }

.trip-progress {
  width: min(calc(100% - 36px), var(--content));
  margin: 42px auto 0;
  padding: 18px;
  position: sticky;
  z-index: 20;
  top: 10px;
  border: 1px solid #e4e9ec;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 28px rgba(44, 52, 58, 0.08);
  backdrop-filter: blur(10px);
}
.trip-progress p { margin: 0 0 10px; color: var(--muted); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; }
.progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.progress-heading .text-button { flex: 0 0 auto; }
.trip-progress ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 7px; list-style: none; }
.trip-progress a { min-height: 54px; padding: 7px 5px; display: grid; grid-template-columns: auto 1fr; place-items: center; gap: 4px; border-radius: 12px; color: #4c5962; background: #f5f9fb; font-size: 0.78rem; font-weight: 800; text-align: center; text-decoration: none; }
.trip-progress a small { grid-column: 1 / -1; color: var(--muted); font-size: 0.67rem; }
.trip-progress li.is-complete a { color: #276843; background: #eaf8f0; }
.trip-progress li.is-current a { color: #7c3043; background: #fff0f4; box-shadow: inset 0 0 0 1px #efb8c4; }
.trip-progress a:hover { color: #7d394a; background: #fff0f4; }

.progress-overview, .next-action, .install-suggestion {
  width: min(calc(100% - 36px), var(--content));
  margin-inline: auto;
}
.progress-overview { margin-top: 42px; padding: 24px; border: 1px solid #dce6ea; border-radius: 22px; background: linear-gradient(135deg, #fff, #f2faff); }
.progress-overview h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.progress-overview p { margin: 7px 0 0; }
.progress-meter { width: 100%; height: 11px; margin-top: 18px; overflow: hidden; border: 0; border-radius: 999px; background: #e7edf0; }
.progress-meter::-webkit-progress-bar { border-radius: 999px; background: #e7edf0; }
.progress-meter::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, var(--pink-deep), #6bc1e5); }
.progress-meter::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, var(--pink-deep), #6bc1e5); }
.device-storage-note { color: var(--muted); font-size: 0.84rem; }
.install-suggestion { margin-top: 32px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #efc6cf; border-radius: 19px; background: #fff8fa; }
.install-suggestion[hidden] { display: none; }
.install-suggestion > div { display: grid; gap: 4px; }
.install-suggestion > div:last-child { display: flex; align-items: center; gap: 8px; }
.install-suggestion span { color: var(--muted); }
.next-action { margin-top: 18px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 2px solid #efb8c4; border-radius: 22px; background: #fff8fa; scroll-margin-top: 120px; }
.next-action h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.next-action p:last-child { margin: 7px 0 0; color: #5e4f55; }
.next-action .primary-cta { flex: 0 0 auto; }
.mobile-progress { display: none; }
.text-button { min-height: 42px; padding: 6px 10px; border: 0; color: #70404c; background: transparent; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.personal-check, .timeline-intro, .timeline-phase, .support-grid, .source-registry, .korea-landing, .pattern-section {
  width: min(calc(100% - 36px), var(--content));
  margin-inline: auto;
}
.personal-check { padding: clamp(72px, 10vw, 118px) 0 80px; }
.personal-check form { padding: clamp(22px, 4vw, 38px); border: 1px solid #e1e9ed; border-radius: 28px; background: linear-gradient(145deg, #fff, #f7fbfd); }
.personal-check fieldset { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid #e5ecef; }
.personal-check fieldset:first-child { padding-top: 0; }
.personal-check legend { width: 100%; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; }
.personal-check legend span { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--pink-deep); font-size: 0.78rem; }
.answer-options { display: flex; flex-wrap: wrap; gap: 9px; }
.answer-options label { min-height: 46px; position: relative; cursor: pointer; }
.answer-options input { position: absolute; opacity: 0; pointer-events: none; }
.answer-options span { min-height: 46px; padding: 9px 16px; display: inline-flex; align-items: center; border: 1px solid #dfe5e8; border-radius: 999px; background: #fff; font-weight: 700; }
.answer-options input:checked + span { border-color: var(--pink-deep); color: #7c3043; background: var(--pink-soft); box-shadow: 0 0 0 2px rgba(233, 79, 112, 0.11); }
.answer-options input:focus-visible + span { outline: 3px solid rgba(121, 200, 238, 0.9); outline-offset: 3px; }
.questionnaire-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.questionnaire-actions button { border: 0; cursor: pointer; font: inherit; }
.secondary-button { min-height: 52px; padding: 11px 18px; border: 1px solid #dfcbd1 !important; border-radius: 999px; color: #75424f; background: #fff; font-weight: 800; }
.form-message { min-height: 1.75em; margin: 13px 0 0; color: var(--muted); }

.personal-results { margin-top: 26px; padding: clamp(24px, 5vw, 44px); border: 2px solid #efb9c6; border-radius: 28px; background: #fff9fb; scroll-margin-top: 110px; }
.personal-results[hidden] { display: none; }
.personal-results h3 { margin: 0 0 24px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result-grid article { padding: 18px; border: 1px solid #e9dce0; border-radius: 18px; background: #fff; }
.result-grid h4 { margin: 0 0 10px; color: #853f51; }
.result-grid ul { margin: 0; padding-left: 1.25rem; }
.result-grid li + li { margin-top: 6px; }
.result-note { margin: 20px 0 0; color: var(--muted); font-size: 0.9rem; }

.timeline-intro { padding: 35px 0 55px; }
.timeline-intro h2, .phase-heading h2, .support-grid h2, .source-registry h2, .pattern-section h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.timeline-intro > p:last-child { max-width: 44rem; color: var(--muted); }
.timeline-phase { padding: 48px 0; scroll-margin-top: 120px; }
.timeline-phase + .timeline-phase { border-top: 1px solid var(--line); }
.phase-heading { margin-bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 16px; }
.phase-heading .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.phase-heading h2 { writing-mode: horizontal-tb; word-break: keep-all; }
.phase-heading > span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #61727c; background: #eff6f9; font-size: 0.75rem; font-weight: 900; }

.travel-step { scroll-margin-top: 120px; border: 1px solid #e2e8eb; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(55, 63, 68, 0.05); }
.travel-step + .travel-step { margin-top: 12px; }
.travel-step[open] { border-color: #efc1cb; box-shadow: 0 16px 38px rgba(91, 60, 70, 0.09); }
.travel-step summary { min-height: 94px; padding: 18px 22px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.travel-step summary::-webkit-details-marker { display: none; }
.step-number { min-width: 70px; color: var(--pink-deep); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; }
.step-summary strong, .step-summary small { display: block; }
.step-summary strong { font-size: 1.18rem; }
.step-summary small { margin-top: 3px; color: var(--muted); font-size: 0.88rem; }
.step-completion { padding: 5px 9px; border-radius: 999px; color: #5c6970; background: #f1f4f5; font-size: 0.72rem; font-weight: 900; white-space: nowrap; }
.summary-marker { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f5f8fa; font-size: 1.2rem; transition: transform 160ms ease; }
.travel-step[open] .summary-marker { transform: rotate(45deg); }
.travel-step.is-complete { border-color: #b8ddc6; }
.travel-step.is-complete .step-completion { color: #276843; background: #eaf8f0; }
.travel-step.is-complete:not([open]) summary { min-height: 70px; }
.travel-step.is-complete:not([open]) .step-summary small { display: none; }
.step-body { padding: 0 22px 24px 108px; }
.status-row { margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.status-badge { padding: 5px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 0.74rem; font-weight: 900; }
.status-required { color: #922f40; background: #fff0f2; border-color: #efc0c9; }
.status-free { color: #276843; background: #eaf8f0; border-color: #b9dfc8; }
.status-self { color: #265f86; background: #eaf6ff; border-color: #b9d9ec; }
.status-no-buy { color: #555e64; background: #f1f3f4; border-color: #d9dfe2; }
.status-optional { color: #72581f; background: #fff7df; border-color: #ead89b; }
.status-fresh { color: #854c18; background: #fff0df; border-color: #edc59c; }
.verified-date { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.do-now { padding: 22px; border-left: 5px solid var(--pink-deep); border-radius: 0 18px 18px 0; background: #fff7f9; }
.section-mini, .slot-label { margin: 0; color: var(--pink-deep); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.do-now h3 { margin: 3px 0 12px; font-size: 1.35rem; }
.task-checklist { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.task-checklist label { min-height: 44px; padding: 9px 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-radius: 12px; background: rgba(255,255,255,0.78); cursor: pointer; }
.task-checklist input { width: 21px; height: 21px; accent-color: var(--pink-deep); }
.task-checklist input:checked + .task-label { color: #68747a; text-decoration: line-through; }
.task-checklist small { color: var(--muted); font-size: 0.72rem; }
.why { margin: 18px 0; color: #5b5054; }
.why strong { margin-right: 8px; color: var(--ink); }
.free-solution { padding: 18px; display: flex; gap: 14px; border: 1px solid #b8ddc6; border-radius: 17px; background: var(--guide-green); }
.free-solution > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #4c9168; font-weight: 900; }
.free-solution p { margin: 3px 0 0; color: #466052; }
.affiliate-slot { margin-top: 14px; padding: 18px; border-radius: 17px; }
.affiliate-slot h4 { margin: 4px 0; font-size: 1.13rem; }
.affiliate-slot p:not(.slot-label) { margin: 0; color: #655a5e; }
.affiliate-slot-inactive { border: 1px dashed #d7c8cc; background: #faf9f9; }
.affiliate-slot-inactive > strong { margin-top: 10px; display: block; color: #6a5a5f; font-size: 0.86rem; }
.affiliate-slot-active { border: 1px solid #efbdc7; background: #fff6f8; }
.affiliate-purchase { min-height: 48px; margin-top: 14px; padding: 9px 16px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; color: #fff; background: var(--pink-deep); font-weight: 900; text-decoration: none; }
.step-sources { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5eaec; }
.step-sources ul { margin: 8px 0 0; padding: 0; list-style: none; }
.step-sources li + li { margin-top: 8px; }
.step-sources a { color: #2b617b; font-weight: 800; }
.step-sources small { margin-left: 8px; color: var(--muted); }
.next-step { margin: 20px 0 0; color: var(--muted); font-size: 0.82rem; }
.step-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-footer .next-step { margin: 0; }
.question-help { margin-top: 10px; color: #52656f; }
.question-help summary { cursor: pointer; font-weight: 800; }
.question-help p { margin: 7px 0 0; font-size: 0.9rem; }

.offline-status { padding: 12px max(18px, calc((100vw - var(--content)) / 2)); display: flex; align-items: center; gap: 14px; color: #5f4316; background: #fff2c8; border-bottom: 1px solid #e4c778; }
.offline-status[hidden] { display: none; }
.offline-status span { font-size: 0.87rem; }
.mobile-utilities { display: none; }
.utility-dialog { width: min(calc(100% - 32px), 560px); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 26px 80px rgba(30, 36, 40, 0.25); }
.utility-dialog::backdrop { background: rgba(31, 38, 43, 0.5); backdrop-filter: blur(4px); }
.dialog-card { padding: 28px; position: relative; }
.dialog-card h2 { margin: 0 0 16px; font-size: 1.8rem; }
.dialog-close { width: 42px; height: 42px; position: absolute; top: 16px; right: 16px; border: 0; border-radius: 50%; background: #f1f4f5; cursor: pointer; font-size: 1.3rem; }
.dialog-phase-list { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.dialog-phase-list a { min-height: 48px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; color: var(--ink); border-radius: 12px; background: #f5f8fa; text-decoration: none; }
.dialog-phase-list small { color: var(--muted); }
.progress-transfer-warning { padding: 12px; color: #704817; border-radius: 12px; background: #fff3cf; }
.toast { max-width: min(90vw, 460px); padding: 12px 16px; position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; border-radius: 999px; background: #263843; box-shadow: var(--shadow); text-align: center; }
.toast[hidden] { display: none; }

.support-grid, .source-registry { padding: clamp(70px, 10vw, 115px) 0; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-grid .section-heading { grid-column: 1 / -1; }
.support-grid article { padding: 26px; border: 1px solid #dce8ed; border-radius: 22px; background: linear-gradient(145deg, #fff, #f3faff); }
.support-grid article > span { color: #2d718d; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; }
.support-grid h3 { margin: 8px 0 13px; font-size: 1.35rem; }
.support-grid ul { padding-left: 1.2rem; }
.support-grid strong { color: #2c6945; }
.source-registry { border-top: 1px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact-card { padding: 22px; border: 1px solid #e0e7ea; border-radius: 19px; background: #fff; }
.fact-card > span { color: var(--pink-deep); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; }
.fact-card p { color: #554b4f; }
.fact-card a { color: #28637f; font-weight: 800; }
.fact-card small { margin-top: 10px; display: block; color: var(--muted); }
.reverify-note { margin-top: 18px; padding: 14px; border-radius: 14px; color: #5e6265; background: #f3f6f7; font-size: 0.84rem; }

.korea-landing { padding: 70px 0 30px; }
.korea-landing-hero { max-width: 850px; padding: 55px 0; }
.korea-landing-hero > p:last-child { max-width: 46rem; color: var(--muted); font-size: 1.05rem; }
.pattern-section { padding: 30px 0 90px; }
.pattern-card { margin-top: 24px; padding: clamp(24px, 5vw, 44px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 1px solid #efc1ca; border-radius: 26px; background: linear-gradient(140deg, #fff8fa, #eef9ff); box-shadow: var(--shadow); }
.pattern-card > span { font-size: 2.4rem; }
.pattern-card p { margin: 0; color: var(--muted); }
.pattern-card h3 { margin: 4px 0; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.future-pattern-note { margin-top: 20px; color: var(--muted); }

@media (max-width: 900px) {
  .guide-hero { grid-template-columns: 1fr; }
  .guide-hero figure { max-width: 720px; }
  .trip-progress ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pattern-card { grid-template-columns: auto 1fr; }
  .pattern-card .primary-cta { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .first-trip-page { padding-bottom: 76px; }
  .guide-hero { min-height: 0; padding: 44px 18px 58px; }
  .guide-hero h1, .korea-landing-hero h1 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  .guide-hero figure { padding: 6px; }
  .trust-rule { flex-direction: column; align-items: flex-start; }
  .install-suggestion { align-items: flex-start; flex-direction: column; }
  .install-suggestion > div:last-child { width: 100%; flex-wrap: wrap; }
  .progress-overview { margin-top: 28px; padding: 20px; }
  .trip-progress { display: none; }
  .trip-progress ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trip-progress a { min-height: 52px; font-size: 0.74rem; }
  .mobile-progress { width: calc(100% - 24px); margin: 12px auto 0; padding: 11px 13px; position: sticky; z-index: 25; top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e1e8eb; border-radius: 16px; background: rgba(255,255,255,0.96); box-shadow: 0 10px 26px rgba(42, 50, 56, 0.1); backdrop-filter: blur(10px); }
  .mobile-progress > div { min-width: 0; display: grid; gap: 2px; }
  .mobile-progress span, .mobile-progress small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-progress span { font-size: 0.82rem; font-weight: 800; }
  .mobile-progress small { color: var(--muted); font-size: 0.72rem; }
  .next-action { padding: 20px; align-items: stretch; flex-direction: column; }
  .next-action .primary-cta { width: 100%; }
  .answer-options { display: grid; grid-template-columns: 1fr 1fr; }
  .answer-options label, .answer-options span { width: 100%; }
  .questionnaire-actions { display: grid; }
  .result-grid, .support-grid, .fact-grid { grid-template-columns: 1fr; }
  .phase-heading { grid-template-columns: 1fr; align-items: flex-start; }
  .phase-heading .kicker { margin-bottom: 0; }
  .phase-heading > span { justify-self: start; }
  .travel-step summary { min-height: 88px; padding: 16px; grid-template-columns: 1fr auto; gap: 9px; }
  .step-number { min-width: 0; grid-column: 1 / -1; }
  .step-completion { justify-self: start; }
  .summary-marker { grid-column: 2; grid-row: 2; }
  .step-summary small { margin-top: 5px; }
  .step-body { padding: 0 16px 20px; }
  .verified-date { width: 100%; margin-left: 0; }
  .do-now { padding: 18px; }
  .step-sources small { margin: 3px 0 0; display: block; }
  .pattern-card { grid-template-columns: 1fr; }
  .pattern-card > span { font-size: 2rem; }
  .pattern-card .primary-cta { grid-column: auto; width: 100%; }
  .step-footer { align-items: flex-start; flex-direction: column; }
  .mobile-utilities { min-height: 58px; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid #dfe6e9; background: rgba(255,255,255,0.97); box-shadow: 0 -8px 24px rgba(42, 50, 56, 0.09); backdrop-filter: blur(12px); }
  .mobile-utilities button { min-height: 44px; border: 1px solid #e6c3cc; border-radius: 999px; color: #713846; background: #fff7f9; font: inherit; font-size: 0.8rem; font-weight: 900; }
  .offline-status { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (max-width: 390px) {
  .personal-check, .timeline-intro, .timeline-phase, .support-grid, .source-registry, .korea-landing, .pattern-section { width: calc(100% - 24px); }
  .answer-options { grid-template-columns: 1fr; }
  .trip-progress { width: calc(100% - 24px); }
  .trip-progress ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .summary-marker { transition: none; }
}
