/* 한국 농산물 관세·FTA 지도 — .tfta-page scoped */
.tfta-page{
    --navy:#172a4a;
    --navy-deep:#0e1d35;
    --blue:#315487;
    --blue-strong:#244574;
    --blue-tint:#e8eef8;
    --copper:#a44f25;
    --copper-deep:#7e3518;
    --copper-tint:#f7e8de;
    --gold:#d39a3d;
    --paper:#f6f4ee;
    --surface:#fff;
    --surface-soft:#eeece5;
    --ink:#172033;
    --muted:#586274;
    --line:#d7d9de;
    --headline:Manrope,"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
    --body:Inter,"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--body);
    line-height:1.62;
    -webkit-font-smoothing:antialiased;
}
.tfta-page *{box-sizing:border-box}
.tfta-page .icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.tfta-page .wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.tfta-page .icon{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tfta-page a{color:inherit;text-decoration:none}
.tfta-page :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.tfta-page section{padding:76px 0;scroll-margin-top:70px}
.tfta-page .kicker,.tfta-page .eyebrow{
    margin:0;color:var(--copper);font:800 12px/1.2 var(--headline);
    letter-spacing:.14em;text-transform:uppercase;
}
.tfta-page .section-heading{max-width:760px;margin-bottom:34px}
.tfta-page .section-heading h2{
    margin:12px 0 12px;color:var(--ink);font:800 clamp(29px,4vw,42px)/1.16 var(--headline);
    letter-spacing:-.035em;
}
.tfta-page .section-heading>p:last-child{margin:0;color:var(--muted);font-size:16.5px;max-width:68ch}
.tfta-page .split-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:60px;max-width:none;align-items:end}
.tfta-page .split-heading>p{padding-bottom:5px}

.tfta-page .hero{
    position:relative;overflow:hidden;padding:72px 0 0;color:#fff;
    background:
        radial-gradient(800px 520px at 88% 8%,rgba(70,101,154,.58),transparent 65%),
        radial-gradient(500px 360px at 8% 100%,rgba(164,79,37,.28),transparent 70%),
        linear-gradient(135deg,var(--navy-deep),var(--navy));
}
.tfta-page .hero::before{
    content:"";position:absolute;inset:0;pointer-events:none;opacity:.36;
    background-image:
        linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
        linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px);
    background-size:64px 64px;
    mask-image:linear-gradient(90deg,transparent 10%,#000 70%);
}
.tfta-page .hero::after{
    content:"";position:absolute;width:460px;height:460px;right:-170px;top:-210px;border:1px solid rgba(255,255,255,.14);
    border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.025),0 0 0 104px rgba(255,255,255,.02);
}
.tfta-page .hero .wrap{position:relative;z-index:1}
.tfta-page .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:70px;align-items:center}
.tfta-page .eyebrow{color:#edbf72}
.tfta-page .hero h1{
    margin:18px 0 20px;color:#fff;font:800 clamp(46px,7vw,74px)/.99 var(--headline);
    letter-spacing:-.052em;
}
.tfta-page .hero-lede{margin:0;color:#d9e1ef;font-size:18px;max-width:60ch}
.tfta-page .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.tfta-page .button{
    min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    font:800 14px/1 var(--headline);cursor:pointer;transition:background .2s,border-color .2s,transform .2s;
}
.tfta-page .button:hover{transform:translateY(-2px)}
.tfta-page .button-primary{background:var(--gold);color:var(--navy-deep)}
.tfta-page .button-primary:hover{background:#e1ad57}
.tfta-page .button-ghost{border-color:rgba(255,255,255,.38);color:#fff;background:rgba(255,255,255,.04)}
.tfta-page .button-ghost:hover{background:rgba(255,255,255,.11)}
.tfta-page .status-card{
    padding:10px 22px 4px;border:1px solid rgba(255,255,255,.2);border-radius:18px;
    background:rgba(255,255,255,.075);box-shadow:0 24px 64px rgba(4,13,28,.22);
    backdrop-filter:blur(8px);
}
.tfta-page .status-head{display:flex;align-items:center;gap:9px;padding:13px 0 15px;border-bottom:1px solid rgba(255,255,255,.13);font-size:13px}
.tfta-page .status-dot{width:8px;height:8px;border-radius:50%;background:#efbd67;box-shadow:0 0 0 5px rgba(239,189,103,.12)}
.tfta-page .status-card dl{margin:0}
.tfta-page .status-card dl div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.tfta-page .status-card dl div:last-child{border-bottom:0}
.tfta-page .status-card dt{color:#abb9cf;font-size:12.5px}
.tfta-page .status-card dd{margin:0;color:#fff;font:700 12.5px var(--headline);text-align:right}
.tfta-page .metric-grid{
    display:grid;grid-template-columns:repeat(4,1fr);margin-top:52px;background:var(--surface);
    border:1px solid rgba(255,255,255,.13);border-bottom:0;border-radius:18px 18px 0 0;
    overflow:hidden;box-shadow:0 -10px 42px rgba(5,17,36,.13);
}
.tfta-page .metric{padding:24px 24px 25px;border-right:1px solid var(--line);color:var(--ink)}
.tfta-page .metric:last-child{border-right:0}
.tfta-page .metric-value{font:800 42px/1 var(--headline);letter-spacing:-.04em;color:var(--navy)}
.tfta-page .metric-unit{margin-left:6px;color:var(--copper);font:800 13px var(--headline)}
.tfta-page .metric strong{display:block;margin-top:13px;font:750 14px var(--headline)}
.tfta-page .metric small{display:block;margin-top:3px;color:var(--muted);font-size:12px}

.tfta-page .rail{position:sticky;top:0;z-index:8;background:rgba(246,244,238,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(9px)}
.tfta-page .rail .wrap{height:56px;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none}
.tfta-page .rail .wrap::-webkit-scrollbar{display:none}
.tfta-page .rail a{padding:9px 14px;border-radius:999px;color:var(--muted);font:700 13px var(--headline);white-space:nowrap}
.tfta-page .rail a:hover{background:var(--blue-tint);color:var(--navy)}

.tfta-page .intro-section{background:var(--paper)}
.tfta-page .layer-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;align-items:stretch}
.tfta-page .layer-card{position:relative;padding:24px 22px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.tfta-page .layer-number{position:absolute;right:17px;top:14px;color:#aab0ba;font:800 11px var(--headline)}
.tfta-page .layer-icon{width:28px;height:28px;margin-bottom:20px;fill:none;stroke:var(--blue);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tfta-page .layer-card h3{margin:0 0 8px;font:800 17px var(--headline);letter-spacing:-.02em}
.tfta-page .layer-card p{margin:0;color:var(--muted);font-size:13px}
.tfta-page .layer-card-accent{background:var(--navy);border-color:var(--navy);color:#fff}
.tfta-page .layer-card-accent .layer-icon{stroke:#efbd67}
.tfta-page .layer-card-accent .layer-number{color:#8fa0bb}
.tfta-page .layer-card-accent p{color:#c6d1e2}
.tfta-page .flow-arrow{display:flex;align-items:center;justify-content:center;color:var(--copper);font:800 19px var(--headline)}
.tfta-page .method-note{display:flex;align-items:flex-start;gap:13px;margin-top:25px;padding:18px 20px;background:var(--blue-tint);border-left:3px solid var(--blue);border-radius:0 12px 12px 0}
.tfta-page .method-note .icon{margin-top:3px;color:var(--blue)}
.tfta-page .method-note p{margin:0;color:#43516a;font-size:13px}
.tfta-page .method-note strong{color:var(--navy)}

.tfta-page .workspace-section{background:#e9e7e0;border-block:1px solid var(--line)}
.tfta-page .workspace{overflow:hidden;background:var(--surface);border:1px solid #cfd3db;border-radius:18px;box-shadow:0 20px 50px rgba(22,36,60,.08)}
.tfta-page .filter-bar{display:grid;grid-template-columns:1fr 1.15fr 1.25fr 1.2fr;background:var(--navy);color:#fff}
.tfta-page .filter-item{min-height:72px;padding:15px 18px;border-right:1px solid rgba(255,255,255,.13);display:flex;flex-direction:column;justify-content:center}
.tfta-page .filter-item:last-child{border-right:0}
.tfta-page .filter-item span{color:#9fafc7;font-size:11px}
.tfta-page .filter-item strong{margin-top:4px;font:750 13px var(--headline)}
.tfta-page .filter-search{flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;color:#aebcd0}
.tfta-page .filter-search span{color:#aebcd0;font-size:12px}
.tfta-page .table-scroll{overflow-x:auto}
.tfta-page .comparison-table{width:100%;min-width:820px;border-collapse:collapse}
.tfta-page .comparison-table th,.tfta-page .comparison-table td{padding:16px 18px;border-bottom:1px solid #e5e6e9;text-align:left;font-size:13px;vertical-align:middle}
.tfta-page .comparison-table thead th{background:#f2f4f7;color:#5f6877;font:800 11px var(--headline);letter-spacing:.04em;text-transform:uppercase}
.tfta-page .comparison-table tbody th{color:var(--navy);font:800 14px var(--headline)}
.tfta-page .comparison-table tbody tr:last-child th,.tfta-page .comparison-table tbody tr:last-child td{border-bottom:0}
.tfta-page .comparison-table tbody tr:hover{background:#fbfaf7}
.tfta-page .stage{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font:800 10.5px var(--headline);white-space:nowrap}
.tfta-page .stage-first{background:var(--copper-tint);color:var(--copper-deep)}
.tfta-page .stage-live{background:#dcefe7;color:#176443}
.tfta-page .stage-prepare{background:#eceef2;color:#606978}
.tfta-page .table-note{margin:0;padding:13px 18px;border-top:1px solid #e5e6e9;background:#faf9f6;color:#687181;font-size:11.5px}

.tfta-page .scope-section{background:var(--paper)}
.tfta-page .commodity-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.tfta-page .commodity-card{
    grid-column:span 2;min-height:285px;padding:24px;background:var(--surface);border:1px solid var(--line);
    border-top:3px solid var(--blue);border-radius:16px;display:flex;flex-direction:column;
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.tfta-page .commodity-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(27,42,69,.08);border-color:#9faabd}
.tfta-page .commodity-featured{border-top-color:var(--copper);background:linear-gradient(145deg,#fff,#fbf5ef)}
.tfta-page .commodity-top{display:flex;align-items:center;justify-content:space-between}
.tfta-page .commodity-code{color:#9ca5b3;font:800 12px var(--headline)}
.tfta-page .commodity-card h3{margin:24px 0 9px;color:var(--navy);font:800 26px var(--headline);letter-spacing:-.03em}
.tfta-page .commodity-card p{margin:0;color:var(--muted);font-size:13px}
.tfta-page .commodity-card ul{list-style:none;margin:auto 0 0;padding:18px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.tfta-page .commodity-card li{padding:5px 9px;background:var(--blue-tint);border-radius:6px;color:var(--blue-strong);font-size:10.5px;font-weight:700}
.tfta-page .commodity-featured li{background:var(--copper-tint);color:var(--copper-deep)}
.tfta-page .commodity-link{
    margin-top:18px;padding-top:15px;border-top:1px solid var(--line);
    color:var(--copper-deep);font:800 12px var(--headline);
}
.tfta-page .commodity-link:hover{color:var(--blue-strong)}

.tfta-page .fta-section{background:#ebeef3;border-block:1px solid #d4d9e1}
.tfta-page .portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tfta-page .portal-card{position:relative;overflow:hidden;min-height:320px;padding:34px;border-radius:18px}
.tfta-page .portal-card::after{content:"";position:absolute;width:220px;height:220px;right:-80px;bottom:-100px;border:1px solid currentColor;border-radius:50%;opacity:.13;box-shadow:0 0 0 38px currentColor}
.tfta-page .portal-dark{background:var(--navy);color:#fff}
.tfta-page .portal-light{background:var(--surface);border:1px solid #cfd5df;color:var(--ink)}
.tfta-page .portal-icon{width:48px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1)}
.tfta-page .portal-light .portal-icon{background:var(--copper-tint)}
.tfta-page .portal-icon svg{width:26px;height:26px;fill:none;stroke:#efbd67;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tfta-page .portal-light .portal-icon svg{stroke:var(--copper)}
.tfta-page .portal-label{margin:22px 0 7px;color:#e6b86a;font:800 11px var(--headline);letter-spacing:.12em}
.tfta-page .portal-light .portal-label{color:var(--copper)}
.tfta-page .portal-card h3{margin:0 0 10px;font:800 24px/1.25 var(--headline);letter-spacing:-.03em}
.tfta-page .portal-card>p:not(.portal-label){margin:0;max-width:50ch;color:#c6d1e2;font-size:13.5px}
.tfta-page .portal-light>p:not(.portal-label){color:var(--muted)}
.tfta-page .portal-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.tfta-page .portal-tags span{padding:5px 9px;border:1px solid rgba(255,255,255,.23);border-radius:999px;font-size:10.5px;font-weight:700}
.tfta-page .portal-light .portal-tags span{border-color:#d3d8e0;background:#f4f5f7;color:#4e5a6c}
.tfta-page .source-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding:15px 18px;background:#fff;border:1px solid #cfd5df;border-radius:13px}
.tfta-page .source-strip div{display:flex;align-items:center;gap:8px;margin-right:auto;color:var(--navy);font-size:12px}
.tfta-page .source-strip a{min-height:38px;padding:9px 12px;border-radius:8px;background:#f2f4f7;color:#3e4b60;font-size:11.5px;font-weight:700}
.tfta-page .source-strip a:hover{background:var(--blue-tint);color:var(--navy)}

.tfta-page .policy-section{background:var(--paper)}
.tfta-page .policy-heading{max-width:820px}
.tfta-page .policy-path{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.tfta-page .policy-path li{position:relative;min-height:205px;padding:24px;border-right:1px solid var(--line)}
.tfta-page .policy-path li:last-child{border-right:0}
.tfta-page .policy-path li::after{content:"→";position:absolute;right:-11px;top:28px;z-index:2;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--copper);color:#fff;font:800 11px var(--headline)}
.tfta-page .policy-path li:last-child::after{display:none}
.tfta-page .policy-path li>span{color:var(--copper);font:800 12px var(--headline)}
.tfta-page .policy-path strong{display:block;margin-top:28px;color:var(--navy);font:800 16px var(--headline)}
.tfta-page .policy-path p{margin:8px 0 0;color:var(--muted);font-size:12.5px}
.tfta-page .policy-callout{
    margin-top:22px;padding:34px 36px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:30px;
    background:linear-gradient(135deg,var(--copper-deep),var(--copper));color:#fff;
}
.tfta-page .callout-label{margin:0;color:#f4c6ad;font:800 11px var(--headline);letter-spacing:.12em;text-transform:uppercase}
.tfta-page .policy-callout h3{margin:8px 0 6px;font:800 22px/1.3 var(--headline);letter-spacing:-.025em}
.tfta-page .policy-callout div>p:last-child{margin:0;color:#f4d8c9;font-size:13px}
.tfta-page .button-light{background:#fff;color:var(--copper-deep);white-space:nowrap}
.tfta-page .button-light:hover{background:#fff2e9}

.tfta-page .references{padding:54px 0;background:#e6e4dc;border-top:1px solid #d1d0ca}
.tfta-page .references h2{margin:0 0 22px;color:var(--navy);font:800 14px var(--headline);letter-spacing:.08em;text-transform:uppercase}
.tfta-page .reference-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 36px;border-top:1px solid #c9c8c2}
.tfta-page .reference-grid p{margin:0;padding:15px 0;border-bottom:1px solid #c9c8c2;display:grid;grid-template-columns:150px 1fr;gap:16px;font-size:12px}
.tfta-page .reference-grid strong{color:var(--ink)}
.tfta-page .reference-grid span{color:var(--muted)}
.tfta-page .legal-note{margin:22px 0 0;max-width:90ch;color:#6b716f;font-size:11.5px}

@media(max-width:980px){
    .tfta-page .hero-grid{grid-template-columns:1fr 290px;gap:40px}
    .tfta-page .metric-grid{grid-template-columns:1fr 1fr}
    .tfta-page .metric:nth-child(2){border-right:0}
    .tfta-page .metric:nth-child(-n+2){border-bottom:1px solid var(--line)}
    .tfta-page .layer-flow{grid-template-columns:1fr 18px 1fr}
    .tfta-page .layer-flow .flow-arrow:nth-of-type(2){display:none}
    .tfta-page .layer-card:nth-of-type(n+3){margin-top:18px}
    .tfta-page .commodity-grid{grid-template-columns:repeat(2,1fr)}
    .tfta-page .commodity-card{grid-column:auto}
    .tfta-page .commodity-card:nth-child(odd):last-child{grid-column:1/-1}
    .tfta-page .policy-path{grid-template-columns:1fr 1fr}
    .tfta-page .policy-path li:nth-child(2){border-right:0}
    .tfta-page .policy-path li:nth-child(-n+2){border-bottom:1px solid var(--line)}
    .tfta-page .policy-path li:nth-child(2)::after{display:none}
}
@media(max-width:720px){
    .tfta-page .wrap{width:min(100% - 32px,1180px)}
    .tfta-page section{padding:58px 0}
    .tfta-page .split-heading{grid-template-columns:1fr;gap:12px}
    .tfta-page .hero{padding-top:52px}
    .tfta-page .hero-grid{grid-template-columns:1fr}
    .tfta-page .hero h1{font-size:48px}
    .tfta-page .hero-lede{font-size:16px}
    .tfta-page .status-card{max-width:none}
    .tfta-page .metric-grid{margin-top:36px}
    .tfta-page .metric{padding:18px}
    .tfta-page .metric-value{font-size:34px}
    .tfta-page .filter-bar{grid-template-columns:1fr 1fr}
    .tfta-page .filter-item:nth-child(2){border-right:0}
    .tfta-page .filter-item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.13)}
    .tfta-page .layer-flow{grid-template-columns:1fr}
    .tfta-page .flow-arrow{height:24px;transform:rotate(90deg)}
    .tfta-page .layer-flow .flow-arrow:nth-of-type(2){display:flex}
    .tfta-page .layer-card:nth-of-type(n+3){margin-top:0}
    .tfta-page .commodity-grid,.tfta-page .portal-grid,.tfta-page .policy-path,.tfta-page .reference-grid{grid-template-columns:1fr}
    .tfta-page .commodity-card:last-child{grid-column:auto}
    .tfta-page .policy-path li{min-height:160px;border-right:0;border-bottom:1px solid var(--line)}
    .tfta-page .policy-path li:nth-child(2){border-bottom:1px solid var(--line)}
    .tfta-page .policy-path li:last-child{border-bottom:0}
    .tfta-page .policy-path li::after,.tfta-page .policy-path li:nth-child(2)::after{display:none}
    .tfta-page .policy-path strong{margin-top:18px}
    .tfta-page .policy-callout{align-items:flex-start;flex-direction:column;padding:28px 24px}
    .tfta-page .reference-grid p{grid-template-columns:1fr;gap:5px}
}
@media(max-width:480px){
    .tfta-page .metric-grid{grid-template-columns:1fr}
    .tfta-page .metric{border-right:0;border-bottom:1px solid var(--line)}
    .tfta-page .metric:nth-child(-n+2){border-bottom:1px solid var(--line)}
    .tfta-page .metric:last-child{border-bottom:0}
    .tfta-page .filter-bar{grid-template-columns:1fr}
    .tfta-page .filter-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.13)}
    .tfta-page .filter-item:last-child{border-bottom:0}
    .tfta-page .hero-actions .button{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .tfta-page *{scroll-behavior:auto;transition:none}
}
