:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #626a75;
  --line: #dde2e8;
  --panel: #ffffff;
  --soft: #f5f7f9;
  --page: #e8eaed;
  --blue: #164f9f;
  --blue-deep: #103a78;
  --green: #15754f;
  --mint: #008b83;
  --amber: #b96b13;
  --red: #c73934;
  --shadow: 0 26px 45px rgba(31, 33, 36, 0.16);
  font-family:
    Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  width: min(1180px, calc(100% - 72px));
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(232, 234, 237, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-live,
.section-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.section-live {
  flex-wrap: wrap;
  white-space: normal;
}

.header-live span,
.section-live span,
.market-note span {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(21, 117, 79, 0.12);
}

.header-live span,
.section-live span {
  animation: livePulse 1.8s ease-out infinite;
}

.section-live small {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.app-shell {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.quick-jump {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  border-radius: 2px;
  padding: 16px 22px;
  background: rgba(248, 248, 248, 0.94);
  box-shadow: 0 14px 26px rgba(31, 33, 36, 0.1);
  backdrop-filter: blur(14px);
}

.quick-jump span,
.preset-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-jump a,
.preset-strip button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.quick-jump a:hover,
.preset-strip button:hover,
.preset-strip button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: stretch;
  min-height: clamp(430px, 56vh, 560px);
  padding: 32px 0 26px;
  transition: margin-bottom 180ms ease;
}

body.has-autocomplete .hero {
  margin-bottom: 230px;
}

.hero__content {
  position: relative;
  z-index: 20;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  border-radius: 2px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(255, 255, 255, 0.08) 70% 71%, transparent 71% 75%, rgba(255, 255, 255, 0.08) 75% 76%, transparent 76%),
    var(--blue);
  box-shadow: var(--shadow);
  color: #fff;
  animation: riseIn 680ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__content .eyebrow,
.hero__content h1 {
  color: #fff;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: #deebff;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.hero-search {
  position: relative;
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.hero-search label {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hero-search input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-weight: 850;
}

.autocomplete-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: min(100%, 470px);
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 22px 36px rgba(17, 24, 39, 0.18);
}

.autocomplete-panel[hidden] {
  display: none;
}

.autocomplete-panel button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  overflow: hidden;
}

.autocomplete-panel button:hover,
.autocomplete-panel button.is-active {
  background: rgba(22, 79, 159, 0.08);
}

.autocomplete-panel strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.94rem;
}

.autocomplete-panel span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin-top: 18px;
}

.keyword-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button--primary {
  background: #fff;
  color: var(--blue);
}

.button--subtle {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button--compact {
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
}

.market-card,
.panel,
.summary-card,
.guide-copy,
.keyword-panel,
.faq-section,
.ad-panel,
.preset-strip {
  border: 0;
  border-radius: 2px;
  background: #f8f8f8;
  box-shadow: var(--shadow);
}

.market-card {
  width: 100%;
  min-height: 390px;
  padding: clamp(24px, 4vw, 36px);
  animation: riseIn 760ms ease 90ms both;
}

.market-card__top,
.market-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.market-card__top span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.market-card__top strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1.2;
}

.live-badge {
  width: fit-content;
  height: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(185, 107, 19, 0.14);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.live-badge[data-mode="live"] {
  background: rgba(21, 117, 79, 0.12);
  color: var(--green);
}

.live-badge[data-mode="demo"] {
  background: rgba(98, 112, 133, 0.12);
  color: var(--muted);
}

.dividend-visual {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 230px;
  margin: 24px 0;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 20px;
  background: #fff;
}

.yield-ring {
  --score: 0%;
  --ring-color: var(--blue);
  display: grid;
  width: 174px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 58%, transparent 59%),
    conic-gradient(var(--ring-color) var(--score), #e7edf4 0);
  box-shadow:
    inset 0 0 0 1px rgba(17, 24, 39, 0.08),
    0 18px 36px rgba(17, 24, 39, 0.11);
  animation: gaugePop 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.yield-ring div {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.yield-ring span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.yield-ring strong {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.1;
}

.yield-ring small {
  color: var(--ring-color);
  font-weight: 900;
}

.hero-facts {
  display: grid;
  gap: 10px;
}

.hero-facts article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
  background: #f8fafc;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.estimate-fact {
  border-color: rgba(21, 117, 79, 0.24);
  background: rgba(21, 117, 79, 0.06);
}

.estimate-fact strong {
  color: var(--green);
  font-size: 1.25rem;
}

.estimate-fact small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
}

.market-note {
  justify-content: start;
  align-items: start;
}

.market-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.preset-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 2px 0 28px;
  padding: 18px 22px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 34px 0 30px;
}

.summary-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  animation: riseIn 620ms ease both;
}

.summary-card span,
.summary-card small {
  color: var(--muted);
  font-weight: 750;
}

.summary-card strong {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.ad-panel {
  min-height: 110px;
  margin: 0 0 30px;
  padding: 18px;
  animation: riseIn 640ms ease both;
}

.ad-panel > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-grid {
  --compare-panel-height: clamp(620px, calc(100vh - 170px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 30px;
  align-items: stretch;
}

.panel {
  padding: 32px;
}

.panel__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.panel__header > div:first-child {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.panel-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.board-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 360px);
  min-width: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--soft);
}

.segment {
  min-height: 38px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.segment.is-active {
  background: var(--ink);
  color: #fff;
}

.dividend-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 14px;
}

#result-panel {
  display: flex;
  min-height: 0;
  height: var(--compare-panel-height);
  flex-direction: column;
}

#result-panel .panel__header {
  flex: 0 0 auto;
}

#result-panel .history-toolbar-slot {
  flex: 0 0 auto;
}

#result-panel .dividend-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: rgba(22, 79, 159, 0.42) rgba(22, 79, 159, 0.08);
  scrollbar-width: thin;
}

#result-panel .dividend-list::-webkit-scrollbar {
  width: 8px;
}

#result-panel .dividend-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(22, 79, 159, 0.08);
}

#result-panel .dividend-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(22, 79, 159, 0.42);
}

.history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  background: #fff;
}

.history-toolbar span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.5;
}

.history-toolbar button {
  flex: 0 0 auto;
}

.dividend-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 0;
  min-height: 158px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 8px solid var(--card-color, var(--blue));
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(31, 33, 36, 0.08);
  animation: riseIn 520ms ease both;
}

.dividend-card.is-hidden {
  display: none;
}

.dividend-card__lead {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 156px;
  padding: 20px;
  background: #f6f8fb;
}

.dividend-card__lead span,
.metric span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.dividend-card__lead strong {
  color: var(--ink);
  font-size: 1.26rem;
}

.dividend-card__lead small {
  color: var(--card-color);
  font-weight: 900;
}

.dividend-card__body {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  background: #fff;
}

.metric strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.dividend-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dividend-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(22, 79, 159, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.side-panel {
  height: var(--compare-panel-height);
  overflow-y: auto;
  background: var(--blue);
  color: #fff;
}

.side-panel .eyebrow,
.side-panel h2,
.side-panel strong {
  color: #fff;
}

.side-panel p,
.side-panel .notice p {
  color: #deebff;
}

.journey-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.journey-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.journey-list strong {
  display: block;
  margin-bottom: 5px;
}

.journey-list p {
  margin-bottom: 0;
  line-height: 1.65;
}

.notice {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.disclosure-panel {
  margin-top: 30px;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.disclosure-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 2px;
  padding: 16px;
  background: #fff;
  animation: riseIn 560ms ease both;
}

.disclosure-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.disclosure-card strong {
  color: var(--ink);
  line-height: 1.45;
}

.disclosure-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
}

.disclosure-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.disclosure-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.guide-copy,
.keyword-panel {
  padding: 24px;
  animation: riseIn 640ms ease both;
}

.guide-copy p,
.keyword-map p {
  color: var(--muted);
  line-height: 1.75;
}

.guide-copy p:last-child,
.keyword-map p:last-child {
  margin-bottom: 0;
}

.keyword-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.keyword-map article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px;
  background: #fff;
}

.keyword-map span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.keyword-map strong {
  line-height: 1.5;
}

.faq-section {
  margin-top: 30px;
  padding: 30px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(22, 79, 159, 0.3);
  transform: translateY(-2px);
}

.faq-list summary {
  min-height: 54px;
  padding: 16px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

.site-footer {
  padding: 32px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 117, 79, 0.28);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(21, 117, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 117, 79, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gaugePop {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .hero,
  .content-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    --compare-panel-height: auto;
  }

  #result-panel,
  .side-panel {
    height: auto;
    overflow: visible;
  }

  #result-panel .dividend-list {
    overflow: visible;
    padding-right: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    align-items: stretch;
  }

  .disclosure-grid,
  .keyword-map {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    max-width: 210px;
  }

  .nav-links {
    display: none;
  }

  .header-live {
    font-size: 0.76rem;
  }

  .app-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .quick-jump {
    top: 68px;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 14px;
    scrollbar-width: none;
  }

  .quick-jump::-webkit-scrollbar {
    display: none;
  }

  .quick-jump span,
  .quick-jump a {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 20px;
  }

  body.has-autocomplete .hero {
    margin-bottom: 300px;
  }

  .hero__content {
    padding: 28px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .autocomplete-panel {
    width: 100%;
    max-height: 300px;
  }

  .preset-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 14px;
    scrollbar-width: none;
  }

  .preset-strip::-webkit-scrollbar {
    display: none;
  }

  .preset-strip span,
  .preset-strip button {
    flex: 0 0 auto;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .summary-card,
  .guide-copy,
  .keyword-panel,
  .faq-section {
    padding: 16px;
  }

  .panel__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .board-controls {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-self: stretch;
    width: 100%;
  }

  #refreshButton,
  .segmented {
    width: 100%;
  }

  #refreshButton {
    min-height: 44px;
    order: 2;
  }

  .segmented {
    min-width: 0;
    order: 1;
  }

  .dividend-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px;
  }

  .hero-facts {
    width: 100%;
  }

  .dividend-card {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
