:root {
      /* Impeccable: tinted neutrals, editorial civic atlas */
      --bg: #efe8db;
      --paper: #fbf6ec;
      --ink: #18231c;
      --muted: #5a635c;
      --line: rgba(24, 35, 28, 0.12);
      --accent: #1b5c48;
      --accent-2: #a66b2b;
      --decline: #1b5c48;
      --interest: #8a5a22;
      --danger: #7a3b32;
      --shadow: 0 18px 48px rgba(24, 35, 28, 0.08);
      --max: 1120px;
      --font-display: "Literata", "Noto Serif KR", "Source Serif 4", Georgia, serif;
      --font-sans: "Pretendard", "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
      --font-mono: "IBM Plex Mono", ui-monospace, monospace;
      --radius: 16px;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-sans);
      background:
        radial-gradient(1200px 600px at 10% -10%, rgba(166, 107, 43, 0.08), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(27, 92, 72, 0.07), transparent 50%),
        var(--bg);
      color: var(--ink);
      line-height: 1.65;
      font-feature-settings: "ss01" on, "kern" on;
      text-rendering: optimizeLegibility;
    }
    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max), calc(100vw - 40px)); margin: 0 auto; }

    h2, h3, .section-title, .brand-name, .site-nav-brand, .trade-card h3 {
      font-family: var(--font-display);
      font-optical-sizing: auto;
    }

    .hero {
      min-height: 92svh;
      display: grid;
      align-items: end;
      background-color: #0f241e;
      background:
        linear-gradient(165deg, rgba(12, 28, 22, 0.55) 0%, rgba(12, 28, 22, 0.82) 52%, rgba(18, 32, 26, 0.92) 100%),
        radial-gradient(circle at 82% 18%, rgba(166, 107, 43, 0.28), transparent 28%),
        linear-gradient(145deg, #2f5a4a 0%, #1a3d32 42%, #0f241e 100%);
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(8,18,14,.15), rgba(8,18,14,.55));
      pointer-events: none;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: auto -12% -28% 30%;
      height: 55%;
      background: radial-gradient(circle, rgba(246, 225, 184, 0.16), transparent 62%);
      filter: blur(28px);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      padding: 96px 0 48px;
      display: grid;
      grid-template-columns: minmax(0, 660px) 1fr;
      gap: 40px;
      align-items: end;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      color: rgba(255,255,255,.96);
      animation: rise .76s ease both;
    }
    .brand-mark {
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: linear-gradient(135deg, #f6e1b8, #d98b30);
      box-shadow: 0 0 0 6px rgba(255,255,255,.08);
    }
    .brand-name {
      font-size: 16px;
      font-weight: 800;
      letter-spacing: -.02em;
    }
    .eyebrow {
      display: inline-block;
      padding: 8px 14px;
      border: 1px solid rgba(255,255,255,.24);
      color: rgba(255,255,255,.96);
      background: rgba(255,255,255,.06);
      border-radius: 999px;
      font-size: 13px;
      letter-spacing: .04em;
      backdrop-filter: blur(10px);
      margin-bottom: 18px;
      animation: rise .82s ease .04s both;
    }
    h1 {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(42px, 7.2vw, 76px);
      line-height: 1.02;
      letter-spacing: -0.03em;
      font-weight: 560;
      color: #f7f2e8;
      max-width: 11ch;
      animation: rise .9s var(--ease) .06s both;
    }
    .headline-line {
      display: block;
    }
    .hero-copy {
      margin-top: 22px;
      max-width: 560px;
      color: rgba(255,255,255,.95);
      font-size: clamp(17px, 2.2vw, 21px);
      line-height: 1.68;
      animation: rise 1s ease .12s both;
    }
    .hero-meta {
      margin-top: 16px;
      color: rgba(255,255,255,.82);
      font-size: 14px;
      animation: rise 1.05s ease .18s both;
    }
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
      animation: rise 1.1s ease .24s both;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 650;
      transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn.primary { background: #f7f2e8; color: var(--ink); font-weight: 700; }
    .btn.secondary { background: rgba(247,242,232,.08); color: #f7f2e8; border-color: rgba(247,242,232,.28); backdrop-filter: blur(10px); }
    main .btn.primary { background: var(--accent); color: #f7f2e8; border-color: transparent; }
    main .btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
    main .btn.primary:hover { background: #164a3a; }
    main .btn.secondary:hover { border-color: rgba(24,35,28,.28); background: rgba(27,92,72,.05); }

    .hero-aside {
      justify-self: end;
      align-self: center;
      width: min(380px, 100%);
      color: #f9f7f2;
      border-top: 1px solid rgba(255,255,255,.28);
      padding-top: 18px;
      animation: rise 1.2s ease .3s both;
    }
    .hero-aside p { margin: 0 0 8px; font-size: 15px; color: rgba(255,255,255,.86); }
    .hero-aside strong { display: block; font-size: 15px; font-weight: 700; }
    .metric-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 26px;
      animation: rise 1.16s ease .28s both;
    }
    .metric-strip > div {
      padding: 14px 14px 12px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 14px;
      background: rgba(255,255,255,.07);
      backdrop-filter: blur(8px);
    }
    .metric-strip strong {
      display: block;
      font-size: clamp(26px, 4vw, 36px);
      line-height: 1;
      color: #fff;
      letter-spacing: -.03em;
      margin-bottom: 6px;
    }
    .metric-strip span {
      display: block;
      color: rgba(255,255,255,.88);
      font-size: 12px;
    }

    main { background: linear-gradient(180deg, rgba(251,248,242,.6), var(--paper)); }
    section { padding: 88px 0; border-top: 1px solid var(--line); }
    section:first-of-type { border-top: 0; }
    .section-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-bottom: 28px; }
    .section-kicker {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 500;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(30px, 4.2vw, 46px);
      line-height: 1.08;
      letter-spacing: -.025em;
      font-weight: 560;
      margin: 0 0 12px;
      max-width: 16ch;
    }
    .section-desc { color: var(--muted); max-width: 62ch; margin: 0; font-size: 17px; line-height: 1.7; }

    .special-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 22px;
      margin-top: 32px;
    }
    .special-item {
      padding-top: 18px;
      border-top: 2px solid var(--ink);
    }
    .special-item h3 { margin: 0 0 6px; font-size: 20px; }
    .special-item .card-summary {
      margin: 0 0 12px;
      padding: 8px 12px;
      border-radius: 12px;
      background: rgba(181,122,42,.08);
      color: var(--ink);
      font-size: 15px;
      line-height: 1.5;
    }
    .special-item .card-detail {
      margin-top: 14px;
      border-top: 1px solid var(--line);
      padding-top: 12px;
    }
    .special-item .card-detail summary {
      list-style: none;
      cursor: pointer;
      font-weight: 700;
      color: var(--accent);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
    }
    .special-item .card-detail summary::-webkit-details-marker { display: none; }
    .special-item .card-detail summary::after { content: "＋"; font-weight: 700; }
    .special-item .card-detail[open] summary::after { content: "－"; }
    .special-item .card-detail .detail-inner {
      margin-top: 14px;
      display: grid;
      gap: 16px;
    }
    .special-item p { margin: 0 0 10px; color: var(--muted); }
    .special-item p strong { color: var(--ink); }
    .special-item a { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 650; }
    .related-news {
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }
    .related-news strong {
      display: block;
      margin-bottom: 8px;
      font-size: 13px;
      letter-spacing: -.01em;
    }
    .related-news ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }
    .related-news li a {
      display: block;
      margin-top: 0;
      font-size: 14px;
      line-height: 1.45;
    }
    .related-news small {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-top: 2px;
    }
    .law-toggle {
      margin-top: 14px;
      border-top: 1px solid var(--line);
      padding-top: 12px;
    }
    .law-toggle summary {
      list-style: none;
      cursor: pointer;
      font-weight: 700;
      color: var(--accent);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .law-toggle summary::-webkit-details-marker { display: none; }
    .law-toggle summary::after { content: "＋"; font-weight: 700; }
    .law-toggle[open] summary::after { content: "－"; }
    .law-panel {
      margin-top: 10px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,.72);
      border: 1px solid var(--line);
      font-size: 14px;
    }
    .law-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
    .law-panel li strong { display: block; margin-bottom: 3px; }
    .law-panel li span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .special-explain {
      margin-top: 14px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(32,79,63,.05);
      border: 1px solid rgba(32,79,63,.10);
      display: grid;
      gap: 8px;
      font-size: 14px;
    }
    .special-explain div strong {
      display: inline-block;
      min-width: 72px;
      color: var(--ink);
    }
    


    .secondhome-feature {
      display: grid;
      grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
      gap: 30px;
      align-items: start;
      margin-top: 30px;
    }
    .secondhome-copy {
      padding-top: 4px;
    }
    .secondhome-copy h3 {
      margin: 0 0 16px;
      font-size: clamp(28px, 4vw, 44px);
      line-height: 1.02;
      letter-spacing: -.04em;
      max-width: 11ch;
    }
    .secondhome-copy p {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.72;
      max-width: 62ch;
    }
    .secondhome-copy p strong {
      color: var(--ink);
    }
    .secondhome-statement {
      margin: 0 0 18px;
      padding: 18px 18px 16px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(32,79,63,.06), rgba(32,79,63,.03));
      border: 1px solid rgba(32,79,63,.10);
    }
    .secondhome-statement h3 {
      margin-bottom: 0;
    }
    .secondhome-points {
      list-style: none;
      padding: 0;
      margin: 18px 0 0;
      display: grid;
      gap: 0;
      border-top: 1px solid var(--line);
    }
    .secondhome-points li {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 14px;
      align-items: start;
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
      font-size: 14px;
      line-height: 1.62;
    }
    .secondhome-points strong {
      display: inline-block;
      color: var(--decline);
      font-size: 12px;
      letter-spacing: .02em;
      white-space: nowrap;
      text-transform: uppercase;
    }
    .secondhome-diagram {
      padding: 0;
      border-radius: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
    }


    .law-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 30px;
    }
    .law-card {
      padding: 18px 18px 16px;
      border-top: 2px solid var(--ink);
      background: rgba(255,255,255,.52);
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,.03);
    }
    .law-card h3 {
      margin: 0 0 8px;
      font-size: 20px;
      letter-spacing: -.02em;
    }
    .law-card .law-axis {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }
    .law-card p {
      margin: 0;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.65;
    }
    .compare-summary {
      margin-top: 34px;
      border-top: 1px solid var(--line);
      padding-top: 18px;
    }
    .compare-summary summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-weight: 700;
      color: var(--ink);
      font-size: 15px;
    }
    .compare-summary summary::-webkit-details-marker { display: none; }
    .compare-summary summary::after {
      content: '＋';
      flex: none;
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.9);
    }
    .compare-summary[open] summary::after { content: '－'; }
    .compare-summary .summary-copy {
      color: var(--muted);
      font-size: 13px;
      font-weight: 500;
    }

    .law-list { display: grid; gap: 18px; margin-top: 30px; }
    .law-row {
      display: grid;
      grid-template-columns: 240px 1fr 280px;
      gap: 20px;
      padding: 18px 0;
      border-top: 1px solid var(--line);
    }
    .law-name { font-weight: 700; }
    .law-summary { color: var(--muted); }
    .law-why { color: var(--ink); font-size: 15px; }

    .trade-intro {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: end;
      margin-bottom: 22px;
    }
    .map-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
      gap: 28px;
      align-items: stretch;
    }
    .map-stage {
      position: relative;
      min-height: 620px;
      padding: 26px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(246,242,234,.96));
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .map-stage::before { display: none; }
    .map-korea {
      position: relative;
      width: min(100%, 760px);
      aspect-ratio: 520 / 394;
      margin: 18px auto 0;
      overflow: hidden;
      border-radius: 18px;
    }
    .map-korea img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      opacity: .95;
      filter: saturate(.85);
      display: block;
      user-select: none;
      pointer-events: none;
    }
    .map-node {
      position: absolute;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 22px;
      height: 22px;
      transform: translate(-50%, -50%);
      cursor: pointer;
      background: transparent;
      border: 0;
      padding: 0;
      font: inherit;
    }
    .map-dot {
      width: 12px;
      height: 12px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,.9);
      box-shadow: 0 8px 18px rgba(0,0,0,.12);
    }
    .map-node.decline .map-dot { background: var(--decline); }
    .map-node.interest .map-dot { background: var(--interest); }
    .map-chip {
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(29,27,24,.08);
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }
    .map-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      position: relative;
      z-index: 1;
    }
    .legend-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 13px;
    }
    .legend-swatch {
      width: 12px;
      height: 12px;
      border-radius: 999px;
    }

    .map-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
      position: relative;
      z-index: 2;
    }
    .map-select {
      min-height: 42px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.9);
      color: var(--ink);
      font: inherit;
    }
    .map-select.wide { min-width: 220px; }
    .map-note {
      margin-top: 12px;
      color: var(--muted);
      font-size: 12px;
      position: relative;
      z-index: 2;
    }
    .map-tooltip {
      position: fixed;
      z-index: 20;
      pointer-events: none;
      padding: 8px 10px;
      border-radius: 10px;
      background: rgba(29,27,24,.92);
      color: #fff;
      font-size: 12px;
      line-height: 1.35;
      transform: translate(10px, 10px);
      box-shadow: 0 12px 30px rgba(0,0,0,.18);
      opacity: 0;
      transition: opacity .12s ease;
    }
    .map-tooltip.show { opacity: 1; }
    .map-overlay {
      position: absolute;
      inset: 0;
    }
    .map-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
      gap: 12px;
      position: relative;
      z-index: 2;
    }
    .map-region-list {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      position: relative;
      z-index: 2;
    }
    .region-pill {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.92);
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      cursor: pointer;
    }
    .region-pill.active {
      background: rgba(32,79,63,.1);
      border-color: rgba(32,79,63,.28);
      color: var(--decline);
      font-weight: 700;
    }
    .region-pill.interest.active {
      background: rgba(181,122,42,.12);
      border-color: rgba(181,122,42,.28);
      color: var(--interest);
    }
    .map-zoom-note { color: var(--muted); font-size: 12px; }
    .map-reset {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.88);
      color: var(--ink);
      font: inherit;
      cursor: pointer;
    }
    .map-node.dim { opacity: .42; }
    .map-node.active .map-dot { box-shadow: 0 0 0 5px rgba(255,255,255,.85), 0 0 0 10px rgba(31,95,74,.16); }
    .map-node.interest.active .map-dot { box-shadow: 0 0 0 5px rgba(255,255,255,.85), 0 0 0 10px rgba(181,122,42,.18); }
    .insight-line {
      margin: 14px 0 0;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(32,79,63,.06);
      color: var(--ink);
      font-size: 14px;
    }
    .caution-line {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 12px;
    }

    .onboarding {
      margin-bottom: 18px;
      padding: 14px 18px;
      border-radius: 14px;
      background: rgba(32,79,63,.06);
      border: 1px solid rgba(32,79,63,.10);
      color: var(--ink);
      font-size: 15px;
      line-height: 1.5;
    }
    .onboarding strong { color: var(--accent); }
    .compare-table-wrap {
      margin-top: 28px;
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
      background: rgba(255,255,255,.72);
    }
    .compare-table-header {
      padding: 14px 18px;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .compare-table-header h4 { margin: 0; font-size: 16px; }
    .compare-table-header select {
      min-height: 36px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.9);
      color: var(--ink);
      font: inherit;
      font-size: 13px;
    }
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .compare-table th {
      text-align: left;
      padding: 10px 14px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-weight: 600;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
    }
    .compare-table th:hover { color: var(--ink); }
    .compare-table th .sort-arrow { margin-left: 4px; font-size: 11px; }
    .compare-table td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--line);
    }
    .compare-table tr:last-child td { border-bottom: 0; }
    .compare-table tr:hover { background: rgba(32,79,63,.03); }
    .compare-table .type-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
    }
    .compare-table .type-badge.decline { background: rgba(32,79,63,.12); color: var(--decline); }
    .compare-table .type-badge.interest { background: rgba(102,80,31,.12); color: var(--interest); }
    .data-source {
      margin-top: 18px;
      padding: 12px 16px;
      border-radius: 14px;
      background: rgba(29,27,24,.03);
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 12px;
      line-height: 1.6;
    }
    .policy-link-box {
      margin-top: 12px;
      padding: 10px 14px;
      border-radius: 12px;
      background: rgba(32,79,63,.05);
      font-size: 13px;
    }
    .policy-link-box a { color: var(--accent); font-weight: 650; }


    .tax-example {
      margin-top: 0;
      padding: 20px 0 0;
      border-radius: 0;
      background: transparent;
      border: 0;
      border-top: 1px solid var(--line);
    }
    .tax-lead {
      margin: 0 0 12px;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.6;
    }
    .tax-lead strong { color: var(--accent); }
    .tax-example h5 {
      margin: 0 0 14px;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: -.03em;
      color: var(--ink);
    }
    .tax-timeline {
      position: relative;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin: 0 0 20px;
      padding: 4px 0 16px;
    }
    .tax-timeline::before {
      content: "";
      position: absolute;
      top: 20px;
      left: 18px;
      right: 18px;
      height: 1.5px;
      background: rgba(29,27,24,.72);
    }
    .tax-timeline::after {
      content: "→";
      position: absolute;
      top: 11px;
      right: 4px;
      font-size: 14px;
      color: rgba(29,27,24,.78);
    }
    .tl-step {
      flex: 1;
      position: relative;
      padding-top: 30px;
      text-align: center;
    }
    .tl-step::before {
      content: "";
      position: absolute;
      top: 15px;
      left: 50%;
      transform: translateX(-50%);
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: rgba(29,27,24,.72);
      box-shadow: 0 0 0 4px rgba(255,255,255,.96);
    }
    .tl-label {
      font-size: 11px;
      color: var(--muted);
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      letter-spacing: -.01em;
    }
    .tl-box {
      display: inline-block;
      min-width: 138px;
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 13px;
      line-height: 1.45;
      text-align: center;
      background-clip: padding-box;
    }
    .tl-box.existing { background: rgba(220,230,255,.5); border: 1px solid rgba(140,170,220,.4); }
    .tl-box.decline-region { background: rgba(200,240,220,.5); border: 1px solid rgba(100,180,140,.4); }
    .tl-box.result { background: rgba(240,220,255,.5); border: 1px solid rgba(180,140,220,.4); }
    .tax-savings {
      display: grid;
      gap: 0;
      margin-top: 14px;
      padding-top: 10px;
      border-top: 1px solid var(--line);
    }
    .tax-row {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 12px;
      align-items: start;
      padding: 14px 12px;
      margin: 0 0 8px;
      border: 0;
      border-radius: 10px;
      background: rgba(24, 35, 28, 0.04);
      font-size: 13px;
    }
    .tax-savings {
      padding: 8px 0 4px;
      display: grid;
      gap: 8px;
    }
    .tax-row:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }
    .tax-row .tax-name {
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -.01em;
    }
    .tax-row .tax-calc {
      color: var(--muted);
      line-height: 1.6;
    }
    .tax-row .tax-calc strong {
      color: var(--accent);
      font-weight: 700;
    }
    .tax-note {
      margin-top: 14px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.62;
    }


    .philosophy {
      max-width: 760px;
      margin: 0 0 40px;
      padding: 28px 0 8px;
      text-align: left;
    }
    .philosophy blockquote {
      font-family: var(--font-display);
      font-weight: 480;
      margin: 0;
      padding: 0 0 0 22px;
      border-left: 3px solid var(--accent-2);
      font-size: clamp(20px, 2.6vw, 28px);
      line-height: 1.45;
      color: var(--ink);
      letter-spacing: -.02em;
      text-align: left;
      max-width: 36ch;
    }
    .philosophy .ph-source {
      margin-top: 16px;
      color: var(--muted);
      font-size: 13px;
    }

    .trade-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }
    .trade-card {
      background: rgba(255,255,255,.72);
      border: 1px solid var(--line);
      padding: 22px;
      box-shadow: var(--shadow);
      transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
    }
    .trade-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 28px 70px rgba(0,0,0,.11);
      border-color: rgba(31,95,74,.3);
      background: rgba(255,255,255,.88);
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .04em;
      margin-bottom: 14px;
    }
    .badge.decline { background: rgba(32,79,63,.12); color: var(--decline); }
    .badge.interest { background: rgba(102,80,31,.12); color: var(--interest); }
    .trade-card h3 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.03em; }
    .trade-sub { color: var(--muted); margin-bottom: 18px; }
    .trade-stat { display: flex; gap: 18px; margin-bottom: 18px; }
    .trade-stat div { min-width: 0; }
    .trade-stat strong { display: block; font-size: 24px; letter-spacing: -.03em; }
    .trade-stat span { display: block; font-size: 12px; color: var(--muted); }
    .chart-block {
      margin: 18px 0 18px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }
    .chart-block h4 {
      margin: 0 0 10px;
      font-size: 14px;
      letter-spacing: -.01em;
    }
    .mini-chart {
      position: relative;
      display: grid;
      grid-template-columns: repeat(24, minmax(0, 1fr));
      gap: 4px;
      align-items: end;
      height: 88px;
    }
    .mini-avg-line {
      position: absolute;
      left: 0;
      right: 0;
      border-top: 1.5px dashed rgba(29,27,24,.55);
      z-index: 1;
      pointer-events: none;
    }
    .mini-avg-line.interest { border-top-color: rgba(181,122,42,.82); }
    .mini-avg-label {
      position: absolute;
      right: 0;
      transform: translateY(-50%);
      padding: 2px 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(29,27,24,.08);
      color: var(--ink);
      font-size: 11px;
      line-height: 1;
      z-index: 3;
      pointer-events: none;
      white-space: nowrap;
    }
    .mini-bar {
      background: linear-gradient(180deg, rgba(31,95,74,.35), rgba(31,95,74,.9));
      border-radius: 4px 4px 0 0;
      min-height: 3px;
      position: relative;
      z-index: 2;
    }
    .mini-bar.interest {
      background: linear-gradient(180deg, rgba(181,122,42,.35), rgba(181,122,42,.95));
    }
    .chart-caption {
      margin-top: 8px;
      color: var(--muted);
      font-size: 12px;
    }
    .deal-list { list-style: none; padding: 0; margin: 0; }
    .deal-list li {
      padding: 12px 0;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: start;
    }
    .deal-list small { color: var(--muted); display: block; }
    .deal-price { font-weight: 700; }

    .cta-panel {
      padding: 34px;
      background: linear-gradient(135deg, #ede6d7, #e2ede7);
      border: 1px solid var(--line);
      display: flex;
      gap: 22px;
      justify-content: space-between;
      align-items: center;
    }
    .cta-panel h3 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.03em; }
    .cta-panel p { margin: 0; color: var(--muted); max-width: 720px; }

    footer {
      padding: 26px 0 44px;
      color: var(--muted);
      font-size: 14px;
    }

    @media (max-width: 560px) {
      .special-grid { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero::before {
        background: linear-gradient(180deg, rgba(8,18,14,.2), rgba(8,18,14,.65));
      }
      h1 {
        font-size: 32px;
        line-height: 1.04;
        max-width: 9.4ch;
        letter-spacing: -.04em;
      }
      .headline-line + .headline-line {
        margin-top: .08em;
      }
      .hero-copy {
        font-size: 15px;
        line-height: 1.62;
        color: rgba(255,255,255,.9);
      }
      .hero-meta { color: rgba(255,255,255,.84); }
      .metric-strip { grid-template-columns: 1fr; gap: 10px; }
      .metric-strip > div { padding: 12px 14px; }
      .trade-stat { flex-direction: column; gap: 10px; }
      .mini-chart { height: 64px; }
      .compare-table-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 1100px) {
      .hero-inner, .section-head, .law-row, .trade-grid, .special-grid, .map-layout { grid-template-columns: 1fr; }
      .hero-aside { justify-self: start; }
      .law-row { gap: 8px; }
      .map-stage { min-height: 480px; }
      .map-korea { width: min(100%, 680px); }
      .map-node { width: 26px; height: 26px; }

      .special-grid { grid-template-columns: 1fr 1fr; }
      .secondhome-feature { grid-template-columns: 1fr; gap: 22px; }
      .law-grid { grid-template-columns: 1fr; }
      .secondhome-statement { padding: 16px 16px 14px; border-radius: 16px; }
      .secondhome-copy h3 { max-width: none; }
      .secondhome-points { gap: 0; }
      .secondhome-points li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 0;
      }
      .secondhome-points strong {
        width: fit-content;
      }
      .secondhome-diagram { padding: 0; border-radius: 0; }
      .tax-example {
        padding: 16px 0 0;
        border-radius: 0;
      }
      .tax-example h5 {
        font-size: 16px;
        margin-bottom: 12px;
      }
      .tax-timeline {
        margin-bottom: 14px;
        padding-bottom: 10px;
      }
      .tl-box {
        min-width: 0;
        padding: 10px 10px;
        font-size: 12px;
        line-height: 1.32;
      }
      .tl-label {
        font-size: 12px;
      }
      .tax-row {
        grid-template-columns: 70px 1fr;
        gap: 8px;
        font-size: 12px;
        padding: 8px 0;
      }
      .tax-note {
        font-size: 12px;
        line-height: 1.56;
      }
      .map-layout { grid-template-columns: 1fr; }
      .trade-card { margin-top: 20px; }
      .hero-inner { grid-template-columns: 1fr; padding: 60px 0 36px; }
      .hero-aside {
        justify-self: start;
        width: min(520px, 100%);
        border-top-color: rgba(255,255,255,.22);
      }
      .law-row { grid-template-columns: 1fr; gap: 8px; }
      .section-head { grid-template-columns: 1fr; gap: 8px; }
      .compare-table { font-size: 12px; }
      .compare-table th, .compare-table td { padding: 8px 10px; }
      .onboarding { font-size: 14px; }

    }
    @media (max-width: 720px) {
      .container { width: min(var(--max), calc(100vw - 28px)); }
      .hero-inner { padding-top: 76px; }
      .cta-row, .trade-intro, .cta-panel { flex-direction: column; align-items: stretch; }
      .trade-card h3 { font-size: 26px; }
      .section-title { font-size: 32px; }
      .brand-name { font-size: 15px; }
      .eyebrow { font-size: 12px; }
      h1 { font-size: 38px; max-width: 9.2ch; }
      .hero-copy { font-size: 16px; }
    }


/* R1: freshness & sample quality */
.freshness-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.4;
}
.freshness-bar strong { font-weight: 700; }
.freshness-bar a { text-decoration: underline; text-underline-offset: 2px; }
.freshness-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.sample-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
}
.sample-badge.none { color: #7a2e2e; background: #f8eaea; border-color: #e8c7c7; }
.sample-badge.very_low { color: #7a4a12; background: #fff1de; border-color: #f0d2a4; }
.sample-badge.limited { color: #5a4a18; background: #f7f1d8; border-color: #e2d7a8; }
.sample-badge.normal { color: #1f5f4a; background: #e7f3ee; border-color: #c5ddd3; }
.data-status-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.panel-meta-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin: 8px 0 4px; }
.muted { color: var(--muted); }
.caution { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff7ea; border: 1px solid #f0dfb8; color: #5c4a22; font-size: 14px; }
