:root {
  --ink: #111318;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #fff;
  --ground: #f6f7f9;
  --navy: #24346f;
  --blue: #3468ff;
  --shadow: 0 16px 38px rgb(22 31 54 / 9%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1769ff; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--navy); color: #fff; }
.skip-link:focus { top: 1rem; }

.header {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 28px;
  align-items: center;
  padding: 0 58px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.wordmark { display: block; width: 170px; }
.wordmark img { display: block; width: 100%; height: auto; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy); }
.head-util { display: flex; align-items: center; gap: 8px; }
.pill-dark { padding: 8px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 9px; }

#app { min-height: 70vh; outline: 0; }
.home-page { background: var(--paper); }
.feature-slider { max-width: 1280px; position: relative; margin: 0 auto; padding: 46px 40px 0; }
.feature-viewport { width: 100%; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.feature-track { width: 100%; display: flex; transition: transform .45s ease; }
.feature-slide { min-width: 100%; flex: 0 0 100%; overflow: hidden; background: #fff; }
.feature-slide > a { min-height: 390px; display: grid; grid-template-columns: 1.18fr .82fr; }
.feature-art { min-height: 390px; position: relative; overflow: hidden; display: flex; align-items: end; padding: 42px; background: linear-gradient(135deg, var(--cover-a), var(--cover-b)); color: #fff; }
.feature-art::before { content: ""; width: 330px; height: 330px; position: absolute; top: -82px; right: 8%; border: 68px solid rgb(255 255 255 / 13%); border-radius: 50%; }
.feature-art::after { content: ""; width: 34%; height: 55%; position: absolute; right: 9%; bottom: -12%; border: 3px solid rgb(255 255 255 / 42%); border-radius: 18px 18px 0 0; transform: rotate(-7deg); }
.feature-art span { z-index: 1; max-width: 6ch; font-family: Arial, sans-serif; font-size: clamp(32px, 4vw, 56px); font-weight: 950; line-height: .86; letter-spacing: -.08em; }
.feature-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.feature-kicker { color: var(--navy); font: 900 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.feature-copy h1 { margin: 14px 0 16px; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.28; letter-spacing: -.055em; }
.feature-copy p { margin: 0; color: #525966; font-size: 14px; line-height: 1.7; }
.feature-copy small { margin-top: 24px; color: #858b96; font: 700 10px/1.4 Arial, sans-serif; }
.feature-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.feature-controls button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); }
.feature-position { min-width: 42px; color: var(--muted); text-align: center; font: 800 10px/1 Arial, sans-serif; }
.feature-empty { min-height: 240px; display: grid; place-items: center; border-radius: 22px; background: var(--ground); color: var(--muted); text-align: center; }
.feed-shell { max-width: 1280px; margin: 0 auto; padding: 44px 40px 92px; }
.ai-ask { max-width: 960px; margin: 0 auto 58px; padding: 28px; border: 1px solid #d7e4ed; border-radius: 22px; background: linear-gradient(135deg, #eff6fa, #e8f4f4); }
.ai-ask-heading { display: flex; align-items: center; gap: 14px; }
.ai-ask-heading > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--navy); color: #fff; font: 900 12px/1 Arial, sans-serif; }
.ai-ask-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.ai-ask-heading p { margin: 5px 0 0; color: #627184; font-size: 11px; }
.ai-ask-form { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ai-ask-form input { min-width: 0; padding: 18px 20px; border: 0; border-radius: 14px 0 0 14px; outline: 0; background: #18345f; color: #fff; }
.ai-ask-form input::placeholder { color: #bac9da; }
.ai-ask-form input:focus { box-shadow: inset 0 0 0 2px #91c6dd; }
.ai-ask-form button { min-width: 132px; border: 0; border-radius: 0 14px 14px 0; background: var(--blue); color: #fff; font-weight: 900; }
.ai-prompts { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-prompts button { padding: 8px 11px; border: 1px solid #c8dbe6; border-radius: 999px; background: rgb(255 255 255 / 72%); color: #29415f; font-size: 10px; font-weight: 800; }
.ai-answer:empty { display: none; }
.ai-reply { margin-top: 20px; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgb(32 66 94 / 8%); }
.ai-reply > span { color: var(--navy); font: 900 9px/1 Arial, sans-serif; letter-spacing: .12em; }
.ai-reply > p { margin: 10px 0 0; color: #25364a; font-size: 14px; font-weight: 750; line-height: 1.7; }
.ai-reply.out-of-scope, .ai-reply.no-evidence { border-left: 4px solid #6f91ad; }
.ai-evidence { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dfe9ef; }
.ai-evidence h3 { margin: 0 0 10px; font-size: 11px; }
.ai-evidence > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.ai-evidence a { min-width: 0; padding: 13px; border: 1px solid #dbe6ed; border-radius: 12px; background: #f8fbfc; }
.ai-evidence span, .ai-evidence small { display: block; color: #68788a; font-size: 9px; }
.ai-evidence strong { margin: 7px 0; display: block; font-size: 12px; line-height: 1.45; }
.feed-heading { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: end; border-bottom: 2px solid var(--ink); }
.feed-heading h1 { margin: 0 0 16px; font-size: 29px; letter-spacing: -.05em; }
.feed-heading p { margin: 0 0 17px; color: var(--muted); font-size: 11px; font-weight: 800; }
.portrait-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.portrait-card { aspect-ratio: 3 / 4; min-width: 0; position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg, var(--cover-a), var(--cover-b)); box-shadow: 0 12px 28px rgb(18 28 55 / 13%); transition: transform .2s ease, box-shadow .2s ease; }
.portrait-card::before { content: ""; width: 78%; aspect-ratio: 1; position: absolute; top: 15%; right: -25%; border: 34px solid rgb(255 255 255 / 13%); border-radius: 50%; }
.portrait-card::after { content: ""; width: 46%; height: 26%; position: absolute; right: 9%; bottom: 22%; border: 2px solid rgb(255 255 255 / 28%); border-radius: 12px; transform: rotate(-8deg); }
.portrait-card > a { height: 100%; position: relative; z-index: 1; display: flex; flex-direction: column; padding: 22px; color: #fff; }
.feature-slide > a:focus-visible, .portrait-card > a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.portrait-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgb(18 28 55 / 20%); }
.portrait-meta { display: flex; justify-content: space-between; font: 700 9px/1 Arial, sans-serif; opacity: .8; }
.portrait-category { margin-top: 24px; font: 900 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.portrait-label { max-width: 7ch; margin-top: 18px; font-family: Arial, sans-serif; font-size: clamp(28px, 3vw, 42px); font-weight: 950; line-height: .84; letter-spacing: -.07em; }
.portrait-copy { margin-top: auto; }
.portrait-copy h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.35; letter-spacing: -.045em; }
.portrait-copy p { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.55; opacity: .78; }
.feed-empty { grid-column: 1 / -1; padding: 72px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--ground); text-align: center; }
.feed-empty strong { font-size: 20px; }
.feed-empty p { margin: 10px 0 20px; color: var(--muted); font-size: 12px; }
.feed-empty button { padding: 11px 16px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 850; }
.feed-progress { margin-top: 30px; color: #66778b; text-align: center; font: 850 11px/1 Arial, sans-serif; }
.feed-controls { min-height: 48px; margin-top: 14px; display: flex; justify-content: center; align-items: center; }
#load-more { min-width: 180px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; }
.feed-complete { margin: 0; color: #778596; font-size: 11px; }
.feature-slide.one, .portrait-card.one { --cover-a: #17275f; --cover-b: #2f8fae; }
.feature-slide.two, .portrait-card.two { --cover-a: #18345f; --cover-b: #3b7da3; }
.feature-slide.three, .portrait-card.three { --cover-a: #165a68; --cover-b: #4f9e9c; }
.feature-slide.four, .portrait-card.four { --cover-a: #243b70; --cover-b: #607fa8; }
.feature-slide.five, .portrait-card.five { --cover-a: #173651; --cover-b: #467ba6; }
.feature-slide.six, .portrait-card.six { --cover-a: #1e4663; --cover-b: #5b92a7; }
.feature-slide.seven, .portrait-card.seven { --cover-a: #15364e; --cover-b: #468b8a; }
.feature-slide.eight, .portrait-card.eight { --cover-a: #273b68; --cover-b: #6c87aa; }
.eyebrow { color: var(--navy); font-size: 10px; font-weight: 950; letter-spacing: .08em; }

.section { padding: 62px 0; }
.section.soft { background: var(--ground); }
.section-inner { max-width: 1180px; margin: auto; padding: 0 40px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.section-head p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.section-head > a, .section-head > span { color: #6c7280; font-size: 11px; font-weight: 800; }
.card { min-width: 0; background: #fff; }
.thumb { height: 190px; position: relative; overflow: hidden; border-radius: 18px; }
.thumb.one { background: linear-gradient(135deg, #253a7a, #4cc0c9); }
.thumb.two { background: linear-gradient(135deg, #18345f, #3b7da3); }
.thumb.three { background: linear-gradient(135deg, #165a68, #74bbb6); }
.thumb.four { background: linear-gradient(135deg, #243b70, #7594ba); }
.thumb.five { background: linear-gradient(135deg, #25435e, #83b9df); }
.thumb.six { background: linear-gradient(135deg, #1e4663, #66a6b3); }
.thumb::before { content: ""; position: absolute; top: 18px; right: 18px; width: 120px; height: 120px; border: 28px solid rgb(255 255 255 / 16%); border-radius: 50%; }
.thumb::after { content: attr(data-word); position: absolute; bottom: 16px; left: 18px; color: #fff; font-size: 25px; font-weight: 950; letter-spacing: -.055em; }
.card-body { padding: 14px 2px; }
.card-body h4 { margin: 7px 0 9px; font-size: 16px; line-height: 1.45; letter-spacing: -.025em; }
.card-body p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pop { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 9px 22px rgb(21 30 49 / 9%); }
.pop .thumb { height: 170px; border-radius: 0; }
.pop-copy { padding: 19px; }
.pop-copy h4 { margin: 9px 0; font-size: 15px; line-height: 1.48; }
.pop-copy p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.newsletter-page { min-height: 650px; padding: 76px 40px; background: var(--ground); }
.newsletter-shell { max-width: 760px; margin: 0 auto; padding: 58px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.newsletter-kicker { color: var(--blue); font: 900 10px/1 Arial, sans-serif; letter-spacing: .14em; }
.newsletter-shell h1 { margin: 18px 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.2; letter-spacing: -.06em; }
.newsletter-shell > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.newsletter-form { margin-top: 34px; }
.newsletter-form label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 850; }
.newsletter-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.newsletter-form input { min-width: 0; padding: 16px; border: 1px solid #cfd4dd; border-radius: 12px 0 0 12px; outline: 0; }
.newsletter-form input:focus { box-shadow: inset 0 0 0 2px #8eb6ff; }
.newsletter-form button { padding: 0 22px; border: 0; border-radius: 0 12px 12px 0; background: var(--navy); color: #fff; font-weight: 900; }
.newsletter-preview-note { margin: 12px 0 0; font-size: 10px !important; }
#newsletter-status { min-height: 24px; margin: 14px 0 0; color: var(--navy); font-weight: 800; }

.category-hero { height: 210px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(115deg, #1e285e, #28629b 45%, #47c4c2); color: #fff; }
.category-hero::before, .category-hero::after { content: ""; position: absolute; border: 52px solid rgb(255 255 255 / 11%); border-radius: 50%; }
.category-hero::before { top: -150px; left: 6%; width: 330px; height: 330px; }
.category-hero::after { right: -100px; bottom: -350px; width: 500px; height: 500px; }
.category-hero h1 { z-index: 1; font-size: 34px; }
.filter-pills { padding: 40px 0 28px; display: flex; justify-content: center; gap: 8px; }
.filter-pills a { padding: 9px 18px; border-radius: 999px; background: #eff0f2; font-size: 10px; font-weight: 850; }
.filter-pills a.active { background: var(--navy); color: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.category-grid .card { overflow: hidden; border-radius: 18px; box-shadow: 0 10px 22px rgb(31 37 52 / 8%); }
.category-grid .card-body { padding: 18px 20px 22px; }
.category-grid .thumb { height: 195px; border-radius: 0; }
.category-grid .card-body h4 { min-height: 46px; }
.category-pagination { padding: 46px; display: flex; justify-content: center; gap: 6px; }
.category-pagination a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }
.category-pagination a.active { background: #111; color: #fff; }

.detail-page { padding: 55px 0; background: var(--ground); }
.detail-layout { max-width: 1360px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1000px) 320px; gap: 24px; align-items: start; }
.detail-layout .article-shell { width: 100%; margin: 0; }
.detail-assistant { min-height: 620px; max-height: calc(100vh - 40px); position: sticky; top: 20px; overflow: hidden; display: flex; flex-direction: column; padding: 16px; border: 1px solid #dfe5ea; border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgb(20 39 67 / 14%); }
.detail-ai-heading { display: flex; align-items: center; gap: 10px; }
.detail-ai-heading > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #3b8b96); color: #fff; font: 900 10px/1 Arial, sans-serif; }
.detail-ai-heading strong, .detail-ai-heading small { display: block; }
.detail-ai-heading strong { font-size: 13px; }
.detail-ai-heading small { margin-top: 3px; color: #738094; font-size: 9px; line-height: 1.4; }
.detail-ai-context { margin-top: 15px; padding: 13px; border-radius: 13px; background: #eef4f7; }
.detail-ai-context span { display: block; color: var(--navy); font: 900 8px/1 Arial, sans-serif; letter-spacing: .1em; }
.detail-ai-context strong { margin-top: 7px; display: block; font-size: 11px; line-height: 1.45; }
.detail-ai-messages { min-height: 240px; margin-top: 12px; padding: 14px; flex: 1; overflow: auto; border: 1px solid #e0e5e9; border-radius: 14px; background: #f5f6f7; }
.detail-ai-messages > p { margin: 0; color: #475568; font-size: 11px; line-height: 1.65; }
.detail-assistant .ai-reply { margin: 0; padding: 0; background: transparent; box-shadow: none; }
.detail-assistant .ai-reply > p { font-size: 12px; }
.detail-assistant .ai-evidence { margin-top: 14px; padding-top: 13px; }
.detail-assistant .ai-evidence > div { grid-template-columns: 1fr; }
.detail-assistant .ai-evidence a { background: #fff; }
.detail-ai-prompt { margin-top: 10px; padding: 9px 11px; align-self: flex-start; border: 1px solid #ccd9e3; border-radius: 999px; background: #fff; color: #29415f; font-size: 9px; font-weight: 850; }
.detail-ai-form { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 7px; }
.detail-ai-form input { min-width: 0; padding: 12px; border: 0; border-radius: 12px; outline: 0; background: #18345f; color: #fff; font-size: 10px; }
.detail-ai-form input::placeholder { color: #b7c5d5; }
.detail-ai-form input:focus { box-shadow: inset 0 0 0 2px #91c6dd; }
.detail-ai-form button { border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 950; }
.detail-ai-launcher { display: none; }
.article-shell { max-width: 1000px; margin: auto; padding: 55px 72px; border-radius: 24px; background: #fff; box-shadow: 0 10px 28px rgb(22 30 44 / 5%); }
.article-shell > h1 { margin: 14px 0 24px; font-size: 35px; line-height: 1.3; letter-spacing: -.055em; }
.article-meta { padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #7a808a; font-size: 10px; }
.share-icons { display: flex; gap: 5px; }
.share-icons i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f0f1f3; font-style: normal; }
.answer-box { margin: 35px 0 24px; padding: 25px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.answer-box b { color: var(--navy); font-size: 11px; }
.answer-box p { margin: 10px 0 0; font-size: 17px; font-weight: 800; line-height: 1.65; }
.article-visual { height: 390px; position: relative; overflow: hidden; margin: 28px 0; border-radius: 20px; background: linear-gradient(135deg, #111c4a, #2556a0 55%, #7de0db); }
.article-visual::after { content: attr(data-label); position: absolute; bottom: 40px; left: 44px; color: #fff; font-size: 34px; font-weight: 950; line-height: 1.18; letter-spacing: -.05em; }
.article-not-found { min-height: 360px; text-align: center; }
.article-not-found h1 { margin-top: 70px; }
.article-not-found p { margin-bottom: 28px; color: var(--muted); }
.article-body { max-width: 720px; margin: auto; }
.article-body h2 { margin: 50px 0 16px; font-size: 24px; letter-spacing: -.04em; }
.article-body p { color: #3f4652; font-size: 14px; line-height: 1.9; }
.evidence-box { margin: 25px 0; padding: 22px 24px; border-radius: 16px; background: #f3f5f8; }
.evidence-box h3 { margin: 0 0 12px; font-size: 15px; }
.evidence-box li { margin: 5px; font-size: 12px; line-height: 1.75; }
.compare { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 11px; }
.compare th, .compare td { padding: 13px; border: 1px solid #dfe2e7; text-align: left; }
.compare th { background: var(--navy); color: #fff; }
.source-box { margin-top: 42px; padding-top: 18px; border-top: 2px solid #17191d; }
.source-box h2 { margin-top: 0; }
.source-row { padding: 12px 0; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; border-bottom: 1px solid var(--line); font-size: 10px; }
.source-row small { color: var(--muted); }
.trust-row { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust-item { padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 9px; }
.related { max-width: 1000px; margin: 48px auto; }
.related .popular-grid { grid-template-columns: repeat(3, 1fr); }

.chat-scene { min-height: 760px; position: relative; overflow: hidden; background: linear-gradient(135deg, #f4f6f9, #e6ebf2); }
.fake-site { position: absolute; inset: 0; opacity: .5; }
.fake-card { width: min(85%, 980px); height: 330px; margin: 50px auto; border-radius: 22px; background: linear-gradient(120deg, #1d3473, #6abed2); }
.chat-launcher { position: absolute; right: 32px; bottom: 28px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 22px; box-shadow: 0 12px 24px rgb(32 48 106 / 30%); }
.chat-drawer { width: 430px; position: absolute; top: 38px; right: 28px; bottom: 28px; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgb(28 38 66 / 22%); }
.chat-header { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; }
.chat-header b { font-size: 15px; }
.chat-header small { display: block; margin-top: 4px; opacity: .72; }
.chat-header a { font-size: 18px; }
.chat-notice { padding: 12px 18px; background: #edf7ff; color: #445066; font-size: 9px; line-height: 1.5; }
.messages { padding: 20px; display: flex; flex: 1; flex-direction: column; gap: 14px; }
.bubble { max-width: 84%; padding: 13px 15px; border-radius: 15px; font-size: 11px; line-height: 1.6; }
.bubble.user { align-self: end; border-bottom-right-radius: 4px; background: var(--navy); color: #fff; }
.bubble.ai { border-bottom-left-radius: 4px; background: #f0f2f5; }
.citation-card { margin-top: 10px; padding: 10px; display: block; border: 1px solid #dfe3e8; border-radius: 10px; background: #fff; }
.citation-card b { color: var(--navy); font-size: 9px; }
.citation-card span { display: block; margin-top: 5px; font-size: 9px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { padding: 7px 9px; border: 1px solid #cfd5dd; border-radius: 999px; background: #fff; font-size: 8px; }
.chat-input { padding: 13px; display: grid; grid-template-columns: 1fr auto; gap: 7px; border-top: 1px solid var(--line); }
.chat-input input { min-width: 0; padding: 12px; border: 1px solid #dfe2e7; border-radius: 12px; font-size: 10px; }
.chat-input button { padding: 0 15px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 900; }

.footer { padding: 40px 58px; background: #171719; color: #fff; }
.footer-inner { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.footer-wordmark { margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer small { color: #9ca0aa; line-height: 1.7; }
.social { display: flex; gap: 8px; }
.social i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; font-size: 9px; font-style: normal; font-weight: 900; }

@media (max-width: 1100px) {
  .detail-layout { max-width: 1000px; display: block; padding: 0 18px; }
  .detail-assistant { display: none; }
  .detail-ai-launcher { width: max-content; margin: 18px 18px 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgb(20 39 67 / 25%); font-size: 11px; }
  .detail-ai-launcher > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #3b8b96; font: 900 9px/1 Arial, sans-serif; }
}

@media (max-width: 900px) {
  .header { height: auto; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; }
  .nav-link, .head-util .pill-dark { display: none; }
  .head-util { margin-left: auto; }
  .section-inner { padding: 28px 18px; }
  .feature-slide > a { grid-template-columns: 1fr; }
  .feature-art { min-height: 280px; }
  .feature-copy { padding: 32px; }
  .ai-evidence > div { grid-template-columns: 1fr; }
  .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular-grid, .category-grid, .article-meta, .trust-row { grid-template-columns: 1fr; }
  .category-hero { height: 150px; }
  .detail-layout { padding: 0; }
  .article-shell { padding: 32px 18px; border-radius: 0; }
  .article-shell > h1 { font-size: 27px; }
  .article-visual { height: 280px; }
  .article-visual::after { bottom: 25px; left: 24px; font-size: 25px; }
  .related { padding: 0 18px; }
  .related .popular-grid { grid-template-columns: 1fr; }
  .chat-drawer { inset: 18px; width: auto; }
  .footer { padding: 30px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header { min-height: 66px; padding: 12px 18px; }
  .feature-slider { padding: 14px 14px 0; }
  .feature-viewport { border-radius: 18px; }
  .feature-slide > a { min-height: 0; aspect-ratio: 3 / 4; position: relative; display: block; }
  .feature-art { min-height: 0; position: absolute; inset: 0; align-items: flex-start; padding: 24px; }
  .feature-art::before { width: 230px; height: 230px; border-width: 46px; }
  .feature-art span { max-width: 7ch; font-size: 40px; }
  .feature-copy { position: absolute; inset: 0; z-index: 2; justify-content: flex-end; padding: 26px 24px 76px; background: linear-gradient(180deg, transparent 30%, rgb(9 25 52 / 90%) 100%); color: #fff; }
  .feature-copy h1 { margin: 12px 0; font-size: 27px; line-height: 1.22; }
  .feature-copy .feature-kicker, .feature-copy p, .feature-copy small { color: #fff; }
  .feature-copy p { font-size: 12px; opacity: .82; }
  .feature-copy small { margin-top: 14px; opacity: .7; }
  .feature-controls { position: absolute; right: 28px; bottom: 14px; z-index: 4; margin: 0; padding: 4px; gap: 7px; border-radius: 999px; background: rgb(9 25 52 / 76%); }
  .feature-controls button { width: 28px; height: 28px; border-color: rgb(255 255 255 / 24%); background: transparent; color: #fff; }
  .feature-position { color: #fff; }
  .feed-shell { padding: 28px 18px 64px; }
  .ai-ask { margin-bottom: 42px; padding: 20px 16px; border-radius: 18px; }
  .ai-ask-heading { align-items: flex-start; }
  .ai-ask-heading h2 { font-size: 18px; }
  .ai-ask-form { grid-template-columns: minmax(0, 1fr) auto; }
  .ai-ask-form input { padding: 15px; border-radius: 12px 0 0 12px; font-size: 12px; }
  .ai-ask-form button { min-width: 82px; border-radius: 0 12px 12px 0; font-size: 11px; }
  .ai-prompts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .ai-prompts::-webkit-scrollbar { display: none; }
  .ai-prompts button { flex: 0 0 auto; }
  .ai-reply { padding: 18px; }
  .feed-heading { align-items: center; }
  .feed-heading h1 { font-size: 25px; }
  .portrait-grid { grid-template-columns: 1fr; }
  .newsletter-page { padding: 30px 18px; }
  .newsletter-shell { padding: 32px 22px; }
  .newsletter-form > div { grid-template-columns: 1fr; gap: 8px; }
  .newsletter-form input, .newsletter-form button { min-height: 48px; border-radius: 12px; }
  .wordmark { width: 132px; }
  .section-inner { padding-inline: 16px; }
  .section { padding: 46px 0; }
  .section-head { align-items: flex-start; gap: 12px; }
  .section-head h2 { font-size: 24px; }
  .thumb { height: 180px; }
  .source-row { grid-template-columns: 24px 1fr; }
  .source-row small { grid-column: 2; }
  .chat-drawer { inset: 10px; }
  .chat-header { padding: 16px; }
  .messages { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-track, .portrait-card { transition: none; }
}
