/* 주식첫걸음 v0.1.0 — local assets, no external fonts or UI dependencies.
   Responsive breakpoints: mobile <768px, tablet 768–1099px, desktop >=1100px. */
:root {
  --green:#008f82; --green-deep:#087566; --green-soft:#e8f8f3;
  --ink:#1c2b43; --muted:#72869b; --line:#e6eef4; --surface:#fff;
  --up:#e64465; --down:#3979f3; --canvas:#f0f7fa;
  --radius:18px; --shadow:0 8px 30px rgb(38 89 111 / 5%);
  --font: 'Pretendard', 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:radial-gradient(ellipse at 50% 0,#f5fbfc,var(--canvas) 70%);color:var(--ink);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased;min-width:320px}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
a{color:inherit;text-decoration:none}
button{border:0;background:none}
button:disabled{cursor:wait;opacity:.55}
img,svg{display:block;max-width:100%}
img{height:auto}
h1,h2,h3,p{margin:0}
a:focus-visible,button:focus-visible,input:focus-visible,dialog:focus-visible{outline:3px solid #478bee;outline-offset:4px}
[hidden]{display:none!important}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-80px;left:20px;background:var(--ink);color:#fff;padding:10px 18px;z-index:100}
.skip-link:focus{top:10px}
.site-shell{max-width:1392px;margin:24px auto 30px;background:var(--surface);border:1px solid #e4edf2;border-radius:26px;box-shadow:var(--shadow)}
.site-header{height:86px;padding:0 40px;display:flex;gap:30px;align-items:center;justify-content:space-between;border-bottom:1px solid #edf4f6}
.brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;color:#17483e;font-size:22px;font-weight:800;letter-spacing:-1px}
.brand-icon{color:var(--green);display:flex;align-items:center;justify-content:center}
.brand-icon .icon{width:32px;height:32px;stroke-width:1.9}
.desktop-nav{display:flex;align-items:center;gap:8px}
.desktop-nav>a,.desktop-nav>button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 15px;min-height:44px;white-space:nowrap;font-size:13px;font-weight:650;color:#345862;border-radius:15px}
.desktop-nav .active,.desktop-nav>a:hover,.desktop-nav>button:hover{background:#e8f8f6;color:var(--green-deep)}
.header-actions{display:flex;align-items:center;gap:10px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 18px;border-radius:12px;font-weight:700;font-size:13px;white-space:nowrap;transition:background .18s,transform .18s}
.button .icon{width:17px;height:17px}
.button-primary{background:linear-gradient(120deg,#00a391,#008d80);color:#fff;box-shadow:0 4px 9px rgb(0 145 125 / 12%)}
.button-primary:hover{background:var(--green-deep);transform:translateY(-1px)}
.button-light{border:1px solid #d8eceb;background:#f4fbfb;color:#1b6d65}
.button-light:hover{background:#e7f7f4}
.icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;flex-shrink:0}
.icon-button:hover{background:#eef8f7}
.menu-button,.mobile-menu,.bottom-nav{display:none}
.watch-count{min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:var(--green);color:#fff;line-height:18px;font-size:10px}
.hero{position:relative;isolation:isolate;min-height:318px;background:radial-gradient(ellipse at 10% 80%,#cef3f4 0,transparent 42%),radial-gradient(ellipse at 95% 90%,#d1f3df 0,transparent 40%),linear-gradient(105deg,#ecfaff 0,#f6fffd 52%,#f3fcf0 100%)}
.hero-copy{position:relative;z-index:4;text-align:center;max-width:650px;margin:auto;padding:25px 0 27px}
.hero-eyebrow{color:#318378;font-size:11px;font-weight:700;letter-spacing:.7px;margin-bottom:5px}
.hero h1{font-size:37px;line-height:1.4;font-weight:850;letter-spacing:-1.6px}
.hero h1 em{font-style:normal;color:#078675}
.hero-description{font-size:16px;line-height:1.7;color:#446b80;letter-spacing:-.3px;margin-top:5px}
.hero-character{position:absolute;z-index:2;object-fit:contain;pointer-events:none;user-select:none}
.hero-boy{width:280px;left:1.5%;bottom:0}
.hero-girl{width:276px;right:2%;bottom:0}
.hero-halo{position:absolute;border-radius:50%;pointer-events:none;z-index:-1}
.halo-left{width:280px;height:280px;background:#c8efe8;bottom:-1px;left:-35px;clip-path:inset(0 0 0 35px)}
.halo-right{width:300px;height:170px;background:#d1f3d8;bottom:0;right:0;border-radius:80% 0 0 0}
.speech{position:absolute;color:#245b66;z-index:3;line-height:1.5;font-size:12px;font-weight:700;letter-spacing:.5px;pointer-events:none}
.speech-left{left:17%;top:32px;transform:rotate(-9deg)}
.speech-left span{color:#39cdb1;font-size:20px;margin-left:25px}
.speech-right{right:4%;top:15px;transform:rotate(-9deg);background:rgb(255 255 255 / 88%);border-radius:30px 30px 30px 5px;padding:14px 20px;text-align:center;box-shadow:0 2px 0 #d5f1e5}
.hero-steps{position:absolute;display:flex;align-items:flex-end;gap:8px;opacity:.27;pointer-events:none}
.hero-steps i{display:block;background:linear-gradient(#4bd0ae,#a6e9d3);width:16px;border-radius:4px}
.hero-steps i:nth-child(1){height:30px}.hero-steps i:nth-child(2){height:55px}.hero-steps i:nth-child(3){height:85px}
.steps-left{left:20px;top:20px;transform:rotate(12deg)}.steps-right{right:32px;bottom:55px}
.search-wrapper{position:relative;margin:20px auto 0;max-width:598px;scroll-margin-top:130px}
.search-form{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #c4e9e4;padding:6px 7px 6px 20px;border-radius:20px;box-shadow:0 5px 18px rgb(24 131 120 / 8%)}
.search-form>.icon{color:#0d8e82;width:23px;height:23px}
.search-form:focus-within{outline:2px solid #73c9bb;outline-offset:2px}
.search-form input{min-width:0;flex:1;height:44px;background:none;border:0;outline:none;color:var(--ink);font-size:14px}
.search-form input:focus-visible{outline:none}
.search-form input::placeholder{color:#93a5b8;font-size:13px}
.search-form>button{display:flex;gap:7px;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:14px;background:linear-gradient(135deg,#0cb4a2,#008e83);color:#fff}
.search-form>button .icon{width:19px;height:19px}
.search-label{font-size:13px;font-weight:600}
.search-results{position:absolute;top:calc(100% + 9px);left:0;right:0;background:#fff;border:1px solid #cee7e4;border-radius:18px;box-shadow:0 12px 32px rgb(32 64 77 / 15%);max-height:330px;overflow:auto;text-align:left;padding:7px;z-index:20}
.search-result{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;min-height:54px}
.search-result:hover,.search-result:focus-visible{background:#edf9f4}
.result-identity{display:flex;flex-direction:column;flex:1}
.result-identity strong{font-size:14px}.result-identity span{font-size:11px;color:var(--muted)}
.result-price{font-variant-numeric:tabular-nums;font-size:13px;font-weight:700}
.search-result .company-logo{width:35px;height:35px;font-size:16px}
.search-empty{padding:20px 14px;color:#597488;font-size:13px;line-height:1.8}
.quick-searches{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.quick-searches a{padding:5px 16px;border:1px solid #d1ece5;border-radius:30px;background:rgb(255 255 255 / 83%);font-size:11px;font-weight:650;color:#247064;box-shadow:0 2px 5px rgb(54 133 129 / 4%);min-height:32px;display:flex;align-items:center;justify-content:center}
.quick-searches a:hover{background:#fff;border-color:#85cdbd}
.page-content{padding:0 40px 14px}
.demo-strip{display:flex;gap:13px;align-items:center;margin:15px 0 24px;min-height:37px;border-bottom:1px solid #f0f4f6;padding-bottom:11px;color:#748497;font-size:11px}
.demo-strip p{flex:1}.demo-strip strong{font-weight:500;color:#5a7388}
.demo-strip>button{width:32px;height:30px;display:flex;align-items:center;justify-content:center;color:#7e93a5}
.demo-strip .icon{width:17px;height:17px}
.demo-pill{display:flex;align-items:center;gap:6px;padding:3px 8px;background:#edf9f4;border:1px solid #daf0e5;color:#2d8671;border-radius:7px;font-size:10px;font-weight:650;white-space:nowrap}
.demo-pill>span{width:5px;height:5px;border-radius:50%;background:#37b991}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.section-heading h2{display:flex;align-items:center;gap:10px;font-size:20px;line-height:1.5;font-weight:800;letter-spacing:-.5px}
.section-heading h2>.icon{color:#0bb399;width:23px;height:23px;stroke-width:2}
.section-subtitle{font-size:11px;color:#7b90a3;white-space:nowrap}
.text-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:11px;font-weight:550;color:#66899c}
.text-link:hover{color:var(--green)}.text-link .icon{width:15px;height:15px}
.market-grid{display:grid;grid-template-columns:1fr 1fr .83fr;gap:16px}
.market-card,.topic-card{border:1px solid var(--line);background:linear-gradient(150deg,#fcfeff,#fff);border-radius:17px;padding:19px 19px 12px;min-width:0;box-shadow:0 2px 10px rgb(86 132 151 / 2%)}
.market-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.market-card h3{font-size:14px;font-weight:750;white-space:nowrap}.market-card h3>span{font-weight:500;color:#7c91a7;font-size:10px;margin-left:6px}
.period-controls{display:flex;gap:2px;flex-wrap:nowrap;align-items:center;isolation:isolate}
.period-controls button{border-radius:10px;min-height:30px;min-width:32px;padding:5px 8px;font-size:9px;color:#7f8fa5;white-space:nowrap}
.period-controls button:hover{background:#edf5f8}.period-controls button[aria-pressed=true]{background:#e6f6f6;color:#168e83;font-weight:750}
.index-value{font-size:28px;font-weight:750;letter-spacing:-.8px;line-height:1.35;font-variant-numeric:tabular-nums;margin-top:4px}
.price-change{font-size:12px;font-weight:600;line-height:1.7;font-variant-numeric:tabular-nums}
.up{color:var(--up)}.down{color:var(--down)}
.comparison-label{color:#8998a8;font-size:9px;font-weight:400;margin-left:8px}
.sparkline{width:100%;height:89px;margin-top:10px;overflow:visible}
.chart-line{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.chart-grid-line{fill:none;stroke:#edf2f6;stroke-width:1;vector-effect:non-scaling-stroke}
.chart-footer{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#90a0b1;margin-top:6px}
.topic-card{padding:18px 17px 14px}
.topic-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.topic-heading h3{font-size:13px;letter-spacing:-.3px;white-space:nowrap}.topic-spark{color:#ff845c;font-size:20px;vertical-align:middle;margin-right:5px}
.small-label{background:#f0f5f9;color:#7890a7;font-size:9px;border-radius:5px;padding:3px 7px;font-weight:500;white-space:nowrap}
.topic-card ol{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.topic-card li{display:flex;align-items:center;gap:9px;min-height:26px}
.topic-number{display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border-radius:50%;background:#edf7fb;color:#497c9a;font-size:10px;font-weight:700}
.topic-card li>button{text-align:left;font-size:11px;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;padding:0}
.topic-card li>button:hover{color:var(--green)}
.mobile-market-controls{display:none}
.companies-section{margin-top:28px}
.companies-section .section-heading{margin-bottom:3px}
.section-note{font-size:10px;color:#8596a7;margin-bottom:13px;padding-left:33px}
.company-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.company-card{position:relative;border:1px solid var(--line);border-radius:17px;background:linear-gradient(150deg,#fcfeff,#fff);transition:transform .2s,box-shadow .2s,border-color .2s;min-width:0}
.company-card:hover{transform:translateY(-3px);border-color:#b8e1d6;box-shadow:0 8px 18px rgb(37 94 113 / 7%)}
.company-main{display:block;padding:21px 17px 9px;border-radius:17px}
.company-identity{display:flex;gap:10px;align-items:center;min-width:0}
.company-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:13px;font-size:25px;font-weight:850;letter-spacing:-1px;line-height:1;font-family:Arial,sans-serif}
.brand-samsung{background:#e8eeff;color:#2646a7;font-style:italic;font-size:24px}
.brand-sk{background:#fff0e9;color:#e55b35;font-size:20px}.brand-naver{background:linear-gradient(135deg,#39d746,#00b328);color:#fff;font-size:32px;border-radius:12px}.brand-kakao{background:#ffdf46;color:#3c301c;font-size:11px;letter-spacing:-.8px}.brand-hyundai{background:#e9f2ff;color:#255394;font-size:26px;font-style:italic}
.company-identity h3{font-size:13px;letter-spacing:-.4px;font-weight:750;line-height:1.5;white-space:nowrap}
.company-identity>div>span{color:#8494ab;font-size:9px;white-space:nowrap}
.company-price{display:flex;gap:3px;align-items:baseline;margin-top:16px;line-height:1.4}
.company-price strong{font-size:22px;font-weight:700;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.unit{font-size:10px;color:#9aa7b8}.company-card .price-change{font-size:10px;white-space:nowrap}
.mini-chart{height:45px;margin-top:8px}.company-demo{font-size:8px;color:#99a7b3;display:block;text-align:right;margin-top:5px}
.watch-button{position:absolute;top:5px;right:5px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:#a5b7c6;z-index:1;border-radius:8px}
.watch-button .icon{width:15px;height:15px;stroke-width:1.7}.watch-button:hover{background:#f1f7f9}.watch-button[aria-pressed=true]{color:#d6a12b}.watch-button[aria-pressed=true] .icon,.detail-watch[aria-pressed=true] .icon{fill:#ffe8a9;stroke:#bc912a}
.feature-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:18px;margin-top:24px}
.samsung-feature{position:relative;isolation:isolate;overflow:hidden;min-height:211px;border-radius:19px;padding:23px 26px;background:linear-gradient(117deg,#d7f3ff,#edfbfb 60%,#cff6e4)}
.feature-copy{position:relative;z-index:2;max-width:62%}.eyebrow{color:#418779;font-size:10px;font-weight:650;letter-spacing:.5px}
.feature-copy h2{font-size:21px;line-height:1.45;letter-spacing:-.5px;margin:5px 0 6px;font-weight:800}.feature-copy h2 br{display:none}
.feature-copy>p:not(.eyebrow){font-size:12px;line-height:1.7;color:#4c7a8b}.feature-copy .button{font-size:11px;min-height:36px;border-radius:30px;margin-top:15px;padding:8px 16px;gap:8px}
.feature-mini-chart{position:absolute;z-index:1;right:28px;top:23px;bottom:20px;width:155px;background:rgb(255 255 255 / 92%);padding:12px 13px;border-radius:15px;box-shadow:0 7px 20px rgb(70 123 139 / 10%);transform:rotate(6deg)}
.feature-mini-chart>span:first-child{font-size:10px;display:flex;align-items:center;justify-content:space-between}.feature-mini-chart small{font-size:8px;color:#8ca3b4}.feature-mini-chart>strong{display:block;font-size:24px;font-weight:750;margin-top:5px}.feature-mini-chart .up{font-size:9px;display:block}.feature-mini-chart .sparkline{height:60px;margin-top:6px}
.feature-boy{position:absolute;width:128px;bottom:-2px;right:118px;z-index:2;pointer-events:none}
.ai-feature{position:relative;isolation:isolate;background:linear-gradient(130deg,#f1f7ff,#effbff);border:1px solid #ecf4fc;border-radius:19px;padding:24px 24px 17px}
.ai-feature-top{display:flex;gap:12px;align-items:center}.ai-feature-top>img{flex:none;width:58px;height:auto}.ai-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ai-heading h2{font-size:17px;letter-spacing:-.45px;font-weight:800}.ai-feature-top p{font-size:11px;color:#7191a7;line-height:1.8;margin-top:6px}
.ai-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px;padding-left:70px}.ai-points>span{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e6f0f9;border-radius:12px;min-height:73px;background:rgb(255 255 255 / 70%);font-size:10px;font-weight:600;gap:4px}
.ai-points i{font-style:normal;display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:10px}.ai-points i .icon{width:21px;height:21px}
.ai-full-link{position:absolute;inset:0;border-radius:19px;z-index:2}.ai-feature:hover{box-shadow:0 5px 20px rgb(58 91 144 / 7%)}
.sky{background:#eaf4ff;color:#578ff4}.mint{background:#e8faf2;color:#0db18c}.peach{background:#fff2e7;color:#f1954f}.pink{background:#fff0f5;color:#db6d9f}
.learning-section{margin-top:27px}
.lesson-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lesson-card{display:flex;align-items:center;gap:12px;min-height:102px;border:1px solid #edf0f3;border-radius:17px;padding:18px 13px;text-align:left;transition:transform .18s,border-color .18s;background:linear-gradient(145deg,#fff,var(--lesson-tint,#f9fcfc));color:var(--ink)}
.lesson-card.peach{--lesson-tint:#fff6ee}.lesson-card.sky{--lesson-tint:#f0f8ff}.lesson-card.mint{--lesson-tint:#edfaf4}.lesson-card.pink{--lesson-tint:#fff3f7}
.lesson-card:hover{transform:translateY(-2px);border-color:#c5e1d9}.lesson-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:47px;height:50px;border-radius:14px;background:#fff;box-shadow:0 3px 8px rgb(80 125 134 / 5%)}
.lesson-icon .icon{width:31px;height:31px;stroke-width:1.6}.peach .lesson-icon{background:linear-gradient(130deg,#ffead5,#fff6ee);color:#f08c42}.sky .lesson-icon{background:linear-gradient(130deg,#d8edff,#f3f9ff);color:#518cdd}.mint .lesson-icon{background:linear-gradient(130deg,#d1f4e4,#f0fff7);color:#0aac7c}.pink .lesson-icon{background:linear-gradient(130deg,#ffdbe9,#fff5f8);color:#e96f9d}
.lesson-description{display:flex;flex-direction:column;gap:4px;min-width:0}.lesson-description strong{font-size:12px;letter-spacing:-.4px;white-space:nowrap}.lesson-description>span{font-size:9px;color:#8398ae;letter-spacing:-.2px}.lesson-chevron{margin-left:auto;width:13px;color:#b5c2cf}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin:25px 40px 0;padding:25px 0 28px}.footer-brand{font-size:14px;gap:7px;letter-spacing:-.5px}.footer-brand .icon{color:#22a58c;width:21px;height:21px}.site-footer p{font-size:10px;color:#90a0b0;margin-top:2px}.footer-note{text-align:right}.footer-note button{font-size:9px;display:inline-flex;align-items:center;gap:4px;color:#7797a3;padding:5px 0}.footer-note button .icon{width:12px;height:12px}
/* Detail page. The data provider remains separate from these layouts. */
.detail-page{padding-top:27px}.back-link{font-size:12px;color:#6f8d9b;display:inline-block;min-height:36px}.back-link:hover{color:var(--green)}
.detail-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0}.detail-header .company-logo{width:65px;height:65px;font-size:36px;border-radius:19px}.detail-header .brand-kakao{font-size:16px}.detail-header .company-identity{gap:16px}.detail-header h1{font-size:29px;font-weight:800;letter-spacing:-.6px;line-height:1.3}.muted{font-size:11px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px}
.detail-chart-card,.company-about{border:1px solid var(--line);border-radius:20px;padding:25px;min-width:0}.detail-chart-header h2{font-size:15px}.detail-value{font-size:34px;font-weight:750;letter-spacing:-.5px;margin-top:6px}.detail-value>span{font-size:16px;margin-left:5px;color:#9aabbb;font-weight:400}.detail-chart-card .period-controls{margin-top:18px;gap:6px}.detail-chart-card .period-controls button{min-width:57px;min-height:36px;font-size:11px}.detail-chart{height:205px;margin-top:23px}.detail-chart-card .chart-footer{font-size:10px}.chart-learning-note{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);padding-top:16px;margin-top:18px;font-size:11px;color:#7592a0}.chart-learning-note .icon{width:18px;height:18px}.company-about{background:linear-gradient(150deg,#f3fcf9,#f8fcfe)}.company-about h2{font-size:21px;margin:10px 0}.company-about p{font-size:13px;line-height:1.9;color:#607d8e}.industry-badge{display:inline-block;margin-top:16px;padding:7px 13px;border-radius:9px;background:#e2f5ed;font-size:11px;color:#438470}.company-about hr{height:1px;border:0;background:#e1eee9;margin:24px 0}.company-about h3{font-size:15px;margin-bottom:9px}.company-about .text-link{margin-top:13px;color:var(--green)}
.analysis-section{margin-top:31px}.analysis-intro{font-size:13px;line-height:1.9;color:#7b8e9d;max-width:1050px}.analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.analysis-grid article{padding:25px;border:1px solid var(--line);border-radius:18px}.analysis-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;font-size:12px;font-weight:700}.analysis-grid h3{font-size:17px;letter-spacing:-.4px;margin:15px 0 10px}.analysis-grid p{font-size:13px;line-height:1.9;color:#6c8394}.checklist{padding:22px 27px;background:#f0faf6;border:1px solid #e0f1e9;border-radius:18px}.checklist h3{font-size:15px;display:flex;gap:8px;align-items:center;color:#308873}.checklist ul{font-size:13px;color:#618473;margin-bottom:0;line-height:2}.source-notice{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#8596a6;margin:20px 0;line-height:1.8}.source-notice .icon{width:17px;height:17px;margin-top:2px}
/* Accessible native dialog, dropdowns and progress feedback. */
.content-dialog{width:min(620px,calc(100% - 32px));max-height:85vh;max-height:85dvh;padding:0;border:1px solid #dcebe7;border-radius:23px;color:var(--ink);background:#fff;box-shadow:0 25px 90px rgb(20 49 60 / 18%)}
.content-dialog::backdrop{background:rgb(23 48 58 / 35%);backdrop-filter:blur(3px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 25px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2;border-radius:23px 23px 0 0}.dialog-header h2{font-size:21px;letter-spacing:-.4px;line-height:1.4;margin-top:5px}.dialog-body{padding:22px 26px 28px}.dialog-body>p,.dialog-body section>p{font-size:14px;line-height:1.95;color:#627d8c;margin-bottom:15px}.dialog-body h3{font-size:16px;margin:22px 0 12px}.dialog-body .dialog-notice{background:#eff8f5;padding:13px 16px;border-radius:12px;font-size:12px;line-height:1.85;color:#548073}.quiz-options{display:grid;gap:9px}.quiz-option{padding:14px 16px;min-height:48px;border-radius:12px;border:1px solid #e1ebf0;text-align:left;font-size:13px;background:#fcfeff}.quiz-option:hover{border-color:#9ed7c8}.quiz-option.correct{background:#e8f8ee;border-color:#7ccaaa;color:#24754f}.quiz-option.incorrect{background:#fff0f0;border-color:#efb6b6;color:#a54242}.quiz-feedback{font-size:13px;margin-top:14px;line-height:1.85;padding:12px 15px;background:#f5f8fc;border-radius:12px;color:#557c89}.watchlist-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0}.watchlist-row>a{display:flex;gap:12px;align-items:center;flex:1;border-radius:6px}.watchlist-row .watchlist-info{display:flex;flex-direction:column;gap:2px}.watchlist-info strong{font-size:14px}.watchlist-info small{font-size:11px;color:var(--muted)}.remove-watch{min-width:44px;min-height:44px;border-radius:12px;color:#869cab;font-size:11px}.remove-watch:hover{background:#fff3f0;color:#ba5748}.dialog-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:18px}.dialog-muted{font-size:11px!important;color:#8c9fac!important}
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 32px);background:#1b534b;color:#fff;box-shadow:0 5px 25px rgb(28 72 80 / 18%);font-size:12px;padding:12px 20px;border-radius:14px;text-align:center}
.noscript-banner{background:#fff4d6;color:#75612b;position:fixed;bottom:0;left:0;right:0;padding:12px;text-align:center;z-index:120;font-size:12px}
.error-page{text-align:center;padding:100px 25px 120px}.error-page h1{font-size:26px;line-height:1.6}.error-page p{margin:12px 0 24px;color:var(--muted)}
/* Tablet: preserve readable text, scroll only the company rail, not the page. */
@media(max-width:1439px){.site-shell{margin:16px 20px 24px}.site-header{gap:15px;padding:0 34px}.desktop-nav>a,.desktop-nav>button{padding:9px 12px}.hero-boy{width:253px;left:0}.hero-girl{width:253px;right:0}.speech-left{left:16%}.hero-copy{max-width:602px}.hero h1{font-size:35px}.search-wrapper{max-width:548px}.page-content{padding-left:34px;padding-right:34px}.company-main{padding:21px 13px 9px}.company-identity{gap:8px}.company-identity h3{font-size:12px}.company-logo{width:37px;height:37px}.company-price strong{font-size:21px}.period-controls button{padding:5px 6px;min-width:29px}.comparison-label{display:none}.lesson-card{gap:10px;padding:14px 11px}.lesson-icon{width:40px;height:46px}.lesson-description strong{font-size:11px}.lesson-chevron{display:none}.ai-points{padding-left:0}.site-footer{margin-left:34px;margin-right:34px}}
@media(min-width:1100px) and (max-width:1249px){.header-guide{display:none}.desktop-nav{gap:0}.hero-boy{width:224px}.hero-girl{width:225px}.speech-left{left:12%;top:13px}.hero-copy{max-width:552px}.hero h1{font-size:33px}.hero-description{font-size:14px}.market-grid{grid-template-columns:1fr 1fr .8fr;gap:12px}.market-card{padding:16px 14px 12px}.market-card-header{flex-wrap:wrap;gap:0}.market-card h3{margin-right:auto}.topic-card{padding:16px 13px}.topic-heading h3{font-size:11px}.company-identity{align-items:flex-start}.company-identity h3{margin-top:3px}.company-identity>div>span{font-size:8px}.company-card .price-change{font-size:9px}.ai-feature{padding:22px 18px 17px}.feature-copy{max-width:65%}.feature-copy h2{font-size:18px}}
@media(min-width:768px) and (max-width:1099px){
.site-shell{margin:16px;border-radius:22px}.site-header{height:76px;padding:0 25px}.brand{font-size:21px}.desktop-nav{display:none}.header-guide{display:none}.header-start{padding:8px 13px;font-size:12px;min-height:40px}.menu-button{display:flex}.mobile-menu:not([hidden]){display:flex;gap:5px;flex-wrap:wrap;padding:12px 22px;border-bottom:1px solid #e7f2ef}.mobile-menu a,.mobile-menu button{padding:10px 13px;border-radius:10px;min-height:44px;font-size:13px}.mobile-menu a:hover,.mobile-menu button:hover{background:#edf8f4}.hero{min-height:326px}.hero-copy{max-width:620px;padding-top:25px;padding-bottom:21px}.hero-eyebrow{font-size:10px}.hero h1{font-size:31px}.hero-description{font-size:14px}.hero-boy{width:201px;left:-9px}.hero-girl{width:196px;right:-2px}.speech-left{left:26px;top:36px;font-size:10px}.speech-right{right:15px;top:15px;font-size:10px;padding:11px 13px}.hero-halo.halo-left{width:185px;height:170px}.hero .search-wrapper{max-width:580px;margin-top:28px}.search-form input::placeholder{font-size:12px}.quick-searches{gap:8px}.quick-searches a{padding:4px 14px;font-size:10px}.page-content{padding-left:25px;padding-right:25px}.demo-strip{font-size:10px;margin-bottom:22px}.section-heading h2{font-size:18px}.market-grid{grid-template-columns:1fr 1fr;gap:14px}.market-card{padding:17px 16px 12px}.topic-card{display:none}.company-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:0 2px 10px;margin:0 -2px;gap:12px;scrollbar-width:thin;scrollbar-color:#b9ded6 transparent}.company-card{flex:0 0 calc((100% - 36px)/4);scroll-snap-align:start}.company-main{padding:24px 13px 9px}.company-identity{flex-direction:column;align-items:flex-start;gap:9px}.company-identity h3{font-size:13px}.company-logo{width:41px;height:41px}.company-identity>div>span{font-size:8px}.company-price{margin-top:13px}.company-price strong{font-size:21px}.company-card .price-change{font-size:10px}.feature-grid{grid-template-columns:1.04fr 1fr;gap:14px;margin-top:18px}.samsung-feature{padding:21px 20px;min-height:237px}.feature-copy{max-width:78%}.feature-copy .eyebrow{font-size:9px}.feature-copy h2{font-size:20px}.feature-copy h2 br{display:block}.feature-copy>p:not(.eyebrow){font-size:10px}.feature-copy .button{font-size:10px;min-height:35px;padding:8px 12px}.feature-mini-chart{width:115px;right:10px;top:66px;bottom:21px;opacity:.66}.feature-mini-chart>strong{font-size:20px}.feature-mini-chart .sparkline{height:61px}.feature-boy{width:100px;right:37px;z-index:1}.ai-feature{padding:23px 15px 17px}.ai-feature-top{gap:8px;align-items:flex-start}.ai-feature-top>img{width:44px}.ai-heading h2{font-size:14px}.ai-feature-top p{font-size:10px}.ai-feature-top p br{display:none}.ai-points{padding-left:0;margin-top:18px;gap:6px}.ai-points>span{font-size:9px;min-height:70px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-card{padding:16px;gap:13px;min-height:93px}.lesson-description strong{font-size:13px}.lesson-description>span{font-size:10px}.lesson-chevron{display:block}.site-footer{margin-left:25px;margin-right:25px}.detail-grid{grid-template-columns:1.5fr 1fr;gap:16px}.detail-chart-card,.company-about{padding:20px}.analysis-grid{gap:12px}.analysis-grid article{padding:18px}.analysis-grid h3{font-size:15px}.analysis-grid p{font-size:12px}
}
/* Mobile: real reflow, large tap targets, compact stock rows and safe-area nav. */
@media(max-width:767px){
body{background:#fff;font-size:13px}.site-shell{margin:0;border:0;border-radius:0;box-shadow:none}.site-header{height:68px;padding:0 20px;gap:10px}.brand{font-size:20px;letter-spacing:-.8px;gap:7px}.brand-icon .icon{width:28px;height:28px}.desktop-nav,.header-guide,.header-start{display:none}.header-actions{gap:1px}.menu-button{display:flex}.header-search .icon,.menu-button .icon{width:21px;height:21px}.mobile-menu:not([hidden]){display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e8f1ef;padding:8px 15px;gap:3px}.mobile-menu a,.mobile-menu button{padding:12px;min-height:44px;border-radius:10px;text-align:left;font-size:13px}.mobile-menu a:hover,.mobile-menu button:hover{background:#eef8f5}.hero{min-height:383px;margin:0 10px;border-radius:18px;background:radial-gradient(ellipse at 20% 50%,#def6f6,transparent 66%),linear-gradient(135deg,#effcff,#edfbed);overflow:visible}.hero-copy{max-width:none;padding:22px 14px 18px}.hero-eyebrow{display:none}.hero h1{font-size:27px;letter-spacing:-1.3px;line-height:1.4}.hero-description{font-size:13px;line-height:1.65;margin-top:6px;color:#507990}.hero-boy{width:181px;bottom:89px;left:calc(50% - 104px);z-index:1}.hero-girl{display:none}.speech-left{display:none}.speech-right{top:150px;right:20px;border-radius:24px 24px 24px 4px;font-size:10px;padding:12px 13px;z-index:1;background:#fff}.halo-left{bottom:73px;left:16px;width:115px;height:95px;clip-path:none;border-radius:60%}.halo-right{width:160px;height:106px;right:0;bottom:58px;clip-path:inset(0);border-radius:60% 0 0 0}.steps-left{top:171px;left:13px;gap:4px;opacity:.2}.hero-steps i{width:9px}.hero-steps i:nth-child(1){height:16px}.hero-steps i:nth-child(2){height:31px}.hero-steps i:nth-child(3){height:43px}.steps-right{right:15px;bottom:108px;gap:4px}.hero .search-wrapper{max-width:none;margin-top:157px}.search-form{border-radius:16px;padding:5px 5px 5px 12px;gap:8px}.search-form>input{height:38px;font-size:13px}.search-form input::placeholder{font-size:10px}.search-form>.icon{width:18px;height:18px}.search-form>button{min-height:42px;min-width:44px;padding:0 11px;border-radius:12px}.search-form>button .icon{width:19px;height:19px}.search-label{display:none}.quick-searches{gap:6px;flex-wrap:nowrap;justify-content:center;margin-top:10px}.quick-searches a{flex:1;padding:5px 5px;font-size:9px;min-height:32px;white-space:nowrap}.quick-searches a:nth-child(2){display:none}.search-results{max-height:294px;border-radius:14px}.search-result{padding:9px 6px;gap:8px}.result-price{font-size:12px}.page-content{padding:0 20px 6px}.demo-strip{font-size:9px;gap:8px;margin:13px 0 20px;align-items:flex-start;padding-bottom:11px;min-height:0}.demo-pill{font-size:8px;padding:3px 6px;gap:4px;margin-top:1px}.demo-strip p{line-height:1.7;padding-top:1px}.demo-strip>button{display:none}.section-heading{gap:8px;margin-bottom:12px}.section-heading h2{gap:8px;font-size:16px;letter-spacing:-.6px}.section-heading h2>.icon{width:21px;height:21px}.section-subtitle{font-size:9px}.market-section .section-subtitle{display:none}.mobile-market-controls{display:flex;border:1px solid #e9f1f4;background:#f7fafc;padding:3px;border-radius:12px;margin-bottom:10px;gap:3px}.mobile-market-controls>button{flex:1;min-height:34px;border-radius:9px;font-size:11px;color:#8397ac}.mobile-market-controls>button[aria-pressed=true]{background:var(--green);color:#fff;font-weight:650;box-shadow:0 2px 6px rgb(24 124 112 / 12%)}.market-grid{display:block}.market-card{padding:17px 17px 11px;border-radius:16px;min-height:218px}.market-card[hidden]{display:none!important}.market-card-header h3{font-size:13px}.market-card h3>span{font-size:9px}.period-controls{gap:0}.period-controls button{padding:5px 7px;min-width:32px;min-height:32px;font-size:9px}.index-value{font-size:28px;line-height:1.3}.price-change{font-size:12px}.market-card .sparkline{height:85px;margin-top:8px}.chart-footer{font-size:9px}.topic-card{display:none}.companies-section{margin-top:23px}.section-note{padding-left:29px;font-size:9px;margin-bottom:11px}.text-link{font-size:10px;min-height:28px;white-space:nowrap}.company-grid{display:flex;flex-direction:column;gap:9px}.company-card{border-radius:14px}.company-main{display:grid;grid-template-columns:minmax(0,1fr) 88px 49px;grid-template-rows:auto auto;gap:0 9px;padding:15px 11px 15px 13px;min-height:83px;align-items:center}.company-identity{grid-column:1;grid-row:1 / 3;gap:10px}.company-logo{width:37px;height:37px;border-radius:11px;letter-spacing:-.8px}.brand-naver{font-size:28px}.brand-sk{font-size:18px}.brand-kakao{font-size:10px}.company-identity h3{font-size:12px;line-height:1.6}.company-identity>div>span{font-size:8px}.company-price{grid-column:2;grid-row:1;margin:0;align-self:end;gap:2px}.company-price strong{font-size:16px;line-height:1.4;letter-spacing:-.6px}.company-price .unit{display:none}.company-card .price-change{grid-column:2;grid-row:2;align-self:start;font-size:8px;line-height:1.7;letter-spacing:-.3px}.mini-chart{grid-column:3;grid-row:1 / 3;height:33px;margin:0;width:100%}.company-demo{display:none}.watch-button{display:none}.company-card:hover{transform:none}.company-main:focus-visible{outline-offset:1px}.feature-grid{display:flex;flex-direction:column;gap:13px;margin-top:20px}.samsung-feature{min-height:204px;padding:21px;border-radius:16px}.feature-copy{max-width:69%}.feature-copy .eyebrow{font-size:9px}.feature-copy h2{font-size:20px;line-height:1.4}.feature-copy h2 br{display:block}.feature-copy>p:not(.eyebrow){font-size:10px}.feature-copy .button{font-size:10px;min-height:35px;padding:8px 12px;margin-top:11px}.feature-mini-chart{width:112px;right:14px;top:32px;bottom:28px;padding:11px;opacity:.8}.feature-mini-chart>strong{font-size:19px}.feature-mini-chart>span:first-child{font-size:9px}.feature-mini-chart .up{font-size:8px}.feature-mini-chart .sparkline{height:56px}.feature-boy{width:104px;right:69px;z-index:1}.ai-feature{padding:19px 16px 15px;min-height:174px;border-radius:16px}.ai-feature-top{gap:11px}.ai-feature-top>img{width:46px}.ai-heading h2{font-size:14px;line-height:1.45}.ai-heading{gap:6px}.ai-heading .small-label{font-size:8px;padding:2px 5px}.ai-feature-top p{font-size:10px;margin-top:4px;line-height:1.7}.ai-feature-top p br{display:none}.ai-points{padding:0;margin-top:13px;gap:7px}.ai-points>span{min-height:53px;flex-direction:row;font-size:10px;gap:5px;border-radius:10px}.ai-points i{width:25px;height:26px;border-radius:7px}.ai-points i .icon{width:18px;height:18px}.learning-section{margin-top:23px}.learning-section .section-heading h2{font-size:16px}.learning-section .section-subtitle{display:none}.lesson-grid{grid-template-columns:1fr 1fr;gap:10px}.lesson-card{flex-direction:column;align-items:center;text-align:center;min-height:136px;padding:15px 8px;gap:9px;border-radius:14px}.lesson-icon{width:44px;height:45px;border-radius:12px}.lesson-icon .icon{width:29px;height:29px}.lesson-description strong{font-size:11px;letter-spacing:-.6px}.lesson-description>span{font-size:9px;line-height:1.6;word-break:keep-all}.lesson-description{gap:5px}.lesson-chevron{display:none}.site-footer{margin:25px 20px 0;padding:21px 0 92px;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.footer-brand{font-size:14px}.footer-note{text-align:left}.site-footer p{font-size:9px}.bottom-nav{position:fixed;z-index:35;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-around;background:rgb(255 255 255 / 97%);border-top:1px solid #e5efed;min-height:66px;padding:5px 12px calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 16px rgb(37 93 99 / 4%)}.bottom-nav>a,.bottom-nav>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:51px;min-width:64px;border-radius:12px;font-size:9px;color:#8b9fb5}.bottom-nav .icon{width:21px;height:21px;stroke-width:1.7}.bottom-nav .active{color:var(--green);font-weight:700}.bottom-nav .active .icon{fill:#e5f7f0;stroke-width:2}.bottom-nav>a:hover,.bottom-nav>button:hover{background:#f1faf6}.toast{bottom:calc(80px + env(safe-area-inset-bottom,0px));font-size:11px;width:max-content}.content-dialog{width:calc(100% - 24px);max-height:86dvh;border-radius:20px}.dialog-header{padding:19px 18px 15px}.dialog-header h2{font-size:19px}.dialog-body{padding:18px 20px 23px}.dialog-body>p{font-size:13px}.quiz-option{font-size:12px}.error-page{padding:75px 25px 90px}.error-page h1{font-size:22px}.detail-page{padding-top:19px}.detail-header{margin:19px 0;align-items:center}.detail-header .company-logo{width:51px;height:51px;font-size:28px;border-radius:15px}.detail-header .brand-kakao{font-size:12px}.detail-header .company-identity{gap:11px}.detail-header h1{font-size:24px}.detail-header .eyebrow{font-size:8px}.detail-watch{font-size:10px;padding:8px 10px;gap:5px}.detail-watch .icon{width:16px;height:16px}.detail-grid{grid-template-columns:1fr;gap:16px}.detail-chart-card,.company-about{padding:20px;border-radius:17px}.detail-chart-header h2{font-size:14px}.detail-value{font-size:31px}.detail-value>span{font-size:13px}.detail-chart-card .period-controls{margin-top:14px;gap:5px}.detail-chart-card .period-controls button{flex:1;min-height:38px;min-width:0}.detail-chart{height:170px;margin-top:20px}.detail-chart-card .chart-footer{font-size:8px}.chart-learning-note{font-size:10px;align-items:flex-start;line-height:1.8}.chart-learning-note .icon{margin-top:2px}.company-about h2{font-size:19px}.company-about p{font-size:12px}.company-about hr{margin:20px 0}.analysis-section .section-heading h2{font-size:16px}.analysis-intro{font-size:12px}.analysis-grid{grid-template-columns:1fr;gap:12px;margin:18px 0}.analysis-grid article{padding:21px}.analysis-grid h3{font-size:16px;margin:12px 0 8px}.analysis-grid p{font-size:12px}.checklist{padding:19px}.checklist h3{font-size:14px}.checklist ul{padding-left:18px;font-size:12px;line-height:1.9}.source-notice{font-size:10px}.back-link{font-size:11px}
}
@media(max-width:359px){.site-header{padding:0 15px}.page-content{padding-left:15px;padding-right:15px}.hero{margin:0 8px}.hero-copy{padding-left:12px;padding-right:12px}.hero h1{font-size:24px}.hero-description{font-size:12px}.speech-right{right:10px;font-size:9px}.hero-boy{left:calc(50% - 98px);width:175px}.section-heading h2{font-size:15px}.company-main{grid-template-columns:minmax(0,1fr) 76px 37px;column-gap:6px;padding-left:11px}.company-logo{width:32px;height:33px;font-size:22px}.brand-kakao{font-size:9px}.brand-sk{font-size:16px}.company-identity{gap:8px}.company-identity h3{font-size:11px}.company-identity>div>span{font-size:7px}.company-price strong{font-size:15px}.company-card .price-change{font-size:7px}.detail-watch span{font-size:8px}.ai-heading h2{font-size:13px}.quick-searches a{font-size:8px;padding:4px}.feature-copy h2{font-size:19px}.feature-copy>p:not(.eyebrow){font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{body{background:white}.site-shell{border:0;box-shadow:none;margin:0}.header-actions,.bottom-nav,.desktop-nav,.watch-button,.toast,.quick-searches,.search-wrapper{display:none!important}.hero{min-height:180px}.page-content{padding:20px}.site-footer{padding-bottom:15px}.demo-strip{color:black}.company-grid{display:grid;grid-template-columns:repeat(5,1fr)}.hero-character{display:none}.company-main{padding:12px}.market-grid{grid-template-columns:1fr 1fr}.topic-card{display:none}a{color:inherit}.analysis-grid article{break-inside:avoid}}
/* Review fixes: keep tablet portraits outside the search text and enlarge mobile numbers. */
@media(min-width:768px) and (max-width:1099px){
  .hero-boy{top:48px;bottom:auto;left:0;width:194px;mask-image:linear-gradient(#000 88%,transparent)}
  .hero-girl{top:81px;bottom:auto;right:0;width:174px;mask-image:linear-gradient(#000 88%,transparent)}
  .speech-left{top:18px;left:26px}
}
@media(max-width:767px){
  .company-main{grid-template-columns:minmax(0,1fr) 97px 45px}
  .company-identity h3{font-size:13px}
  .company-identity>div>span{font-size:9px}
  .company-card .price-change{font-size:9px}
}
@media(max-width:359px){
  .company-main{grid-template-columns:minmax(0,1fr) 83px 33px}
  .company-identity h3{font-size:11px}
  .company-identity>div>span{font-size:8px}
  .company-card .price-change{font-size:8px}
}
