:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #eef4ee;
  --ink: #17211d;
  --muted: #65716a;
  --line: #dfe6df;
  --teal: #176f65;
  --teal-dark: #0f514a;
  --brass: #b1842c;
  --coral: #c65f4c;
  --shadow: 0 16px 44px rgba(23, 33, 29, 0.11);
  --radius: 8px;
  --content: 1120px;
  --article-top-card-height: 280px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--bg);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 247, 244, 0.98) 380px),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 230, 223, 0.86);
  background: rgba(245, 247, 244, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell,
.article-shell {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.site-ticker-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-ticker-strip__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  width: min(var(--content), calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
}

.site-ticker-strip__label,
.site-ticker-strip__more {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  min-height: 34px;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.site-ticker-strip__label span {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #0b63ce;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.12);
}

.site-ticker-strip__more {
  justify-content: center;
  padding: 0 10px;
  border-left: 1px solid var(--line);
}

.site-ticker-strip__scroller {
  display: grid;
  grid-auto-columns: minmax(158px, 180px);
  grid-auto-flow: column;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-ticker-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  grid-template-rows: 17px 19px 18px;
  gap: 0 8px;
  align-content: center;
  min-width: 0;
  min-height: 66px;
  padding: 9px 12px;
  border-left: 1px solid var(--line);
  color: #1f2a25;
}

.site-ticker-item:hover {
  color: #1f2a25;
  background: #f8faf8;
}

.site-ticker-item__symbol {
  color: #0b4ec0;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-ticker-item strong {
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-ticker-item small {
  grid-column: 1 / -1;
  grid-row: 3;
  min-width: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-ticker-item[data-ticker-state="inside"] small {
  color: #0b63ce;
}

.site-ticker-item[data-ticker-state="above"] small {
  color: #d93025;
}

.site-ticker-item[data-ticker-state="below"] small {
  color: #5f6368;
}

.site-ticker-item canvas {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 62px;
  height: 34px;
}

.home-briefing {
  --home-ad-height: 150px;
  padding: 32px 0 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 244, 0.98)),
    var(--bg);
}

.home-briefing__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.08fr) minmax(250px, 0.68fr);
  gap: 18px;
  align-items: stretch;
}

.home-briefing__intro {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 26px;
  border: 1px solid rgba(23, 111, 101, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 252, 248, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
}

.home-briefing__intro h1 {
  max-width: 100%;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.12;
}

.home-briefing__copy {
  max-width: 560px;
  margin: 14px 0 0;
  color: #445049;
  font-size: 0.98rem;
  line-height: 1.72;
}

.home-routine-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-routine-list li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(23, 111, 101, 0.14);
}

.home-routine-list span {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 900;
}

.home-routine-list strong {
  color: #26332c;
  font-size: 0.96rem;
  line-height: 1.42;
}

.market-focus-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.market-focus-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(23, 111, 101, 0.14);
}

.market-focus-list span {
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 950;
}

.market-focus-list strong {
  color: #1f2a25;
  font-size: 1.04rem;
  line-height: 1.25;
}

.market-focus-list small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 0;
  padding-top: 22px;
}

.home-stats div {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid rgba(23, 111, 101, 0.24);
}

.home-stats dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.home-stats dd {
  margin: 6px 0 0;
  color: var(--teal-dark);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.35;
}

.home-briefing__center {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(var(--home-ad-height), auto);
  min-width: 0;
  height: 100%;
  gap: 14px;
}

.market-board-card,
.research-feed-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 101, 0.22);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.market-board-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.market-board-card::before,
.research-feed-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-dark), #315fbd, var(--brass), var(--coral));
  content: "";
}

.market-board-card__header,
.market-board-card__footer,
.company-note-terminal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.market-board-card__header {
  padding: 22px 22px 12px;
}

.market-board-card__header h2,
.research-feed-card h2,
.company-note-terminal__header h2 {
  margin: 0;
  line-height: 1.3;
}

.market-board-card__header > span,
.company-note-terminal__header > span {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #315fbd;
  border: 1px solid rgba(49, 95, 189, 0.24);
  border-radius: var(--radius);
  background: rgba(49, 95, 189, 0.07);
  font-size: 0.75rem;
  font-weight: 900;
}

.market-board-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.market-board-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.market-board-table th,
.market-board-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.market-board-table th {
  color: var(--muted);
  background: #f8faf8;
  font-size: 0.76rem;
  font-weight: 950;
}

.market-board-table td strong,
.market-board-table td small {
  display: block;
}

.market-board-table td strong {
  color: #1f2a25;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.market-board-table td small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.42;
}

.market-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  color: var(--teal-dark);
  border: 1px solid rgba(23, 111, 101, 0.22);
  border-radius: var(--radius);
  background: rgba(23, 111, 101, 0.07);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.market-board-card__footer {
  align-items: center;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
}

.market-board-card__footer small {
  color: var(--muted);
  line-height: 1.45;
}

.research-feed-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.research-feed-card__title {
  color: #1f2a25;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.42;
}

.research-feed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.spotlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 101, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 252, 248, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
}

.spotlight-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-dark), var(--brass), var(--coral));
  content: "";
}

.spotlight-card .eyebrow {
  margin-bottom: 0;
}

.spotlight-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.24;
  text-wrap: balance;
}

.spotlight-card p:not(.eyebrow) {
  margin: 0;
  color: #4e5a54;
  line-height: 1.75;
}

.spotlight-card__link,
.text-link {
  justify-self: start;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.spotlight-card__link {
  align-self: end;
  margin-top: 4px;
}

.home-ad-inline .ad-slot {
  min-height: var(--home-ad-height);
  height: auto;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 244, 238, 0.88)),
    #fff;
}

.home-action-rail {
  display: grid;
  grid-template-rows: auto repeat(4, minmax(0, 1fr));
  min-width: 0;
  height: 100%;
  gap: 12px;
}

.rail-heading {
  padding: 4px 0 2px;
}

.rail-heading h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.tool-link-card--rail {
  min-height: 0;
  align-content: start;
  border-color: rgba(177, 132, 44, 0.3);
}

.topic-link-card {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.topic-link-card span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
}

.topic-link-card strong {
  line-height: 1.42;
}

.topic-link-card--search span {
  color: var(--teal-dark);
}

.market-brief-strip {
  border-bottom: 1px solid var(--line);
  background: #101a17;
}

.market-brief-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 78px;
}

.market-brief-tile {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 14px 16px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.market-brief-tile:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.market-brief-tile:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.market-brief-tile span {
  color: #9ad6cc;
  font-size: 0.76rem;
  font-weight: 950;
}

.market-brief-tile strong {
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.market-brief-tile small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 81, 74, 0.94) 0%, rgba(23, 111, 101, 0.76) 44%, rgba(245, 247, 244, 0.12) 78%),
    linear-gradient(180deg, rgba(15, 81, 74, 0.1), rgba(15, 81, 74, 0.36));
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--content), calc(100% - 32px));
  min-height: 460px;
  margin: 0 auto;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero h1,
.page-hero h1,
.article-header h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.25rem;
  line-height: 1.02;
  text-wrap: balance;
}

.home-hero h1,
.home-hero .eyebrow,
.home-hero .hero-copy {
  color: #fff;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.button--primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(15, 81, 74, 0.22);
}

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

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 33, 29, 0.16);
}

.button--ghost:hover {
  color: var(--ink);
  border-color: var(--teal);
}

.routine-strip {
  padding: 0 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.routine-strip--compact {
  padding: 0;
}

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

.routine-item {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.routine-item:first-child {
  border-left: 1px solid var(--line);
}

.routine-item span {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
}

.routine-item strong {
  font-size: 1.3rem;
}

.routine-item small {
  color: var(--muted);
  line-height: 1.55;
}

.routine-item:hover {
  background: var(--surface-soft);
}

.routine-strip--compact .routine-item {
  min-height: 112px;
  padding: 20px 22px;
}

.home-disclaimer-section {
  padding: 24px 0 0;
}

.tool-disclaimer-section {
  padding: 26px 0 0;
}

.disclaimer-panel {
  padding: 18px 20px;
  border: 1px solid rgba(15, 81, 74, 0.18);
  border-radius: var(--radius);
  background: #fbfcf8;
  box-shadow: 0 8px 26px rgba(23, 33, 29, 0.04);
}

.disclaimer-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.02rem;
}

.disclaimer-panel p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #58635d;
  line-height: 1.75;
}

.article-main > .disclaimer-panel {
  margin-bottom: 16px;
}

.article-infographic {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.article-infographic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
}

.article-infographic figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px 0;
}

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

.feature-copy {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 34px 0;
}

.feature-copy h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.25;
}

.feature-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-split,
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  padding: 56px 0;
}

.latest-section {
  padding: 36px 0;
}

.home-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

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

.post-card--compact {
  display: grid;
  align-content: start;
  min-height: 228px;
}

.home-side-stack {
  display: grid;
  gap: 16px;
}

.home-topic-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.topic-list {
  display: grid;
  gap: 10px;
}

.topic-list a {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.topic-list a:first-child {
  border-top: 0;
  padding-top: 0;
}

.topic-list span {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.topic-list strong {
  line-height: 1.45;
}

.home-topic-panel--note {
  background:
    linear-gradient(135deg, rgba(177, 132, 44, 0.1), rgba(198, 95, 76, 0.08)),
    #fff;
}

.home-topic-panel--note p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #4e5a54;
  line-height: 1.75;
}

.company-preview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 36px 0 14px;
}

.company-preview-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.company-preview-copy h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.18;
}

.company-preview-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: #4e5a54;
  line-height: 1.78;
}

.company-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.company-mini-card {
  display: grid;
  gap: 9px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(23, 111, 101, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 111, 101, 0.08), rgba(177, 132, 44, 0.08)),
    var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.company-mini-card span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
}

.company-mini-card strong {
  font-size: 1.06rem;
  line-height: 1.35;
}

.company-mini-card small {
  color: var(--muted);
  line-height: 1.6;
}

.company-preview-section--market {
  align-items: start;
  padding-top: 42px;
}

.company-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.company-market-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(23, 111, 101, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.company-market-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.company-market-card__top span {
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 950;
}

.company-market-card__top small {
  color: #315fbd;
  font-size: 0.75rem;
  font-weight: 900;
}

.company-market-card > strong {
  color: #1f2a25;
  font-size: 1.3rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.company-market-card p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

.company-market-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.company-market-card dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
}

.company-market-card dt,
.company-market-card dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.company-market-card dt {
  color: var(--muted);
  font-weight: 900;
}

.company-market-card dd {
  color: #26332c;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.home-ad-section {
  padding-bottom: 34px;
}

.section-heading,
.panel-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.post-list,
.archive-list {
  display: grid;
  gap: 14px;
}

.archive-list {
  padding: 34px 0 64px;
}

.archive-feature-section {
  padding: 44px 0 8px;
}

.archive-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-feature-panel {
  border-top: 3px solid var(--teal);
  padding-top: 18px;
}

.archive-feature-list {
  display: grid;
  gap: 10px;
}

.archive-feature-link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.archive-feature-link:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 111, 101, 0.35);
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.08);
}

.archive-feature-link span,
.archive-feature-link small {
  color: var(--muted);
  font-size: 0.84rem;
}

.archive-feature-link strong {
  font-size: 1rem;
  line-height: 1.4;
}

.archive-list-heading {
  margin-bottom: 4px;
}

.archive-list-heading h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.3;
}

.post-card,
.tool-link-card,
.calculator-panel,
.result-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.post-card {
  padding: 22px;
}

.post-card__meta,
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.post-card__meta span,
.article-kicker span,
.tool-link-card__kicker {
  color: var(--teal-dark);
  font-weight: 800;
}

.post-card h2,
.post-card h3 {
  margin: 10px 0 8px;
  font-size: 1.18rem;
  line-height: 1.42;
}

.post-card p,
.empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.post-card__tags {
  margin-top: 14px;
}

.side-column {
  display: grid;
  gap: 16px;
}

.tool-link-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.tool-link-card strong {
  font-size: 1.15rem;
}

.tool-link-card small {
  color: var(--muted);
  line-height: 1.6;
}

.tool-link-card--featured {
  min-height: 100%;
  border-color: rgba(23, 111, 101, 0.22);
  background:
    linear-gradient(135deg, rgba(23, 111, 101, 0.08), rgba(177, 132, 44, 0.08)),
    var(--surface);
}

.tool-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 48px 0 64px;
}

.roadmap-shell {
  padding: 42px 0 72px;
}

.company-notes-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 238, 0.92)),
    #fff;
}

.company-notes-shell {
  display: grid;
  gap: 24px;
  padding: 42px 0 72px;
}

.company-notes-intro {
  max-width: none;
}

.company-note-terminal {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(23, 111, 101, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 248, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
}

.company-note-terminal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.company-quote-tile {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.company-quote-tile:hover {
  color: inherit;
  border-color: rgba(23, 111, 101, 0.32);
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.07);
}

.company-quote-tile span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.company-quote-tile strong {
  color: #1f2a25;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.company-quote-tile small,
.company-quote-tile em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.company-quote-tile em {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.company-note-method-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-note-summary,
.company-note-card,
.company-note-panel,
.company-update-panel,
.company-price-lab,
.company-price-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.company-note-summary {
  padding: 24px;
}

.company-note-count {
  color: #0b4ec0;
  font-size: 0.92rem;
  font-weight: 900;
}

.company-note-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-note-table th,
.company-note-table td {
  min-width: 130px;
  vertical-align: top;
}

.company-note-table td:first-child,
.company-note-table th:first-child {
  min-width: 180px;
}

.company-note-table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.company-note-empty {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px dashed #bdc9bf;
  border-radius: var(--radius);
  background: #fbfcfb;
}

.company-note-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.company-note-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
}

.company-note-card--summary {
  border-color: rgba(11, 99, 206, 0.22);
  background:
    linear-gradient(135deg, rgba(11, 99, 206, 0.08), rgba(217, 48, 37, 0.06)),
    #fff;
}

.company-note-card h2,
.company-note-panel h2,
.company-update-panel h2 {
  margin: 0;
  line-height: 1.32;
}

.company-note-card h2 {
  font-size: 1.28rem;
}

.company-note-card p:not(.eyebrow),
.company-update-panel p:not(.eyebrow) {
  margin: 0;
  color: #4e5a54;
  line-height: 1.75;
}

.company-note-article {
  padding-top: 0;
}

.company-note-header {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.company-note-header__main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.company-note-header h1 {
  max-width: 720px;
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.14;
}

.company-note-top-ad {
  padding: 4px 0 0;
}

.home-market-ad {
  padding: 8px 0 0;
}

.company-note-top-ad .ad-slot,
.home-market-ad .ad-slot {
  width: min(760px, 100%);
  min-height: 128px;
  margin: 0 auto;
  border: 1px solid #d8dee8;
  background:
    linear-gradient(135deg, #242a34, #1f2530),
    #242a34;
  color: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
}

.company-note-top-ad .ad-slot span,
.home-market-ad .ad-slot span {
  color: #56c7ff;
}

.company-note-top-ad .ad-slot strong,
.home-market-ad .ad-slot strong {
  color: #fff;
}

.company-note-top-ad .ad-slot small,
.home-market-ad .ad-slot small {
  color: rgba(255, 255, 255, 0.74);
}

.company-price-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-bottom: 22px;
}

.company-price-panel > div {
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.company-price-panel > div:last-child {
  border-right: 0;
}

.company-price-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.company-price-panel strong {
  display: block;
  margin-top: 10px;
  color: #0b4ec0;
  font-size: 1.28rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.company-price-panel small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.company-price-lab {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 248, 0.98)),
    #fff;
}

.company-price-lab__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.company-price-lab__header h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.3;
}

.company-price-lab__header p:not(.eyebrow) {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.company-price-lab__source {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  color: #0b4ec0;
  border: 1px solid rgba(11, 99, 206, 0.24);
  border-radius: var(--radius);
  background: rgba(11, 99, 206, 0.07);
  font-size: 0.8rem;
  font-weight: 900;
}

.company-price-lab__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.company-price-lab__playground,
.company-price-lab__output {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.company-price-lab__ticker {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: end;
  min-height: 112px;
  padding: 18px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #202631, #273142 58%, #343b49),
    #202631;
}

.company-price-lab__ticker span {
  color: #56c7ff;
  font-size: 0.86rem;
  font-weight: 950;
}

.company-price-lab__ticker strong {
  font-size: 2rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.company-price-lab__ticker small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.company-price-lab__rail-wrap {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.company-price-lab__rail {
  --price-marker: 50%;
  --watch-start: 35%;
  --watch-end: 60%;
  --review-position: 20%;
  position: relative;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(217, 48, 37, 0.18), rgba(11, 99, 206, 0.18), rgba(95, 99, 104, 0.12)),
    #eef2f7;
}

.company-price-lab__watch-zone {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--watch-start);
  width: calc(var(--watch-end) - var(--watch-start));
  border-radius: 999px;
  background: rgba(11, 99, 206, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.company-price-lab__review-line {
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: var(--review-position);
  display: none;
  width: 2px;
  background: #d93025;
}

.company-price-lab__rail.has-review-price .company-price-lab__review-line {
  display: block;
}

.company-price-lab__marker {
  position: absolute;
  top: 50%;
  left: var(--price-marker);
  width: 16px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #0b63ce;
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.28);
  transform: translate(-50%, -50%);
}

.company-price-lab__rail-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.company-price-lab__rail-labels span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.company-price-lab__slider {
  display: grid;
  gap: 8px;
}

.company-price-lab__slider span,
.company-price-lab__controls label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.company-price-lab__slider input {
  width: 100%;
  accent-color: #0b63ce;
}

.company-price-lab__controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(128px, 0.8fr);
  gap: 8px;
}

.company-price-lab__controls button,
.company-price-lab__controls input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344039;
  font-weight: 850;
}

.company-price-lab__controls button {
  cursor: pointer;
}

.company-price-lab__controls button:hover,
.company-price-lab__controls button[aria-pressed="true"] {
  color: #fff;
  border-color: #0b63ce;
  background: #0b63ce;
}

.company-price-lab__controls button:disabled {
  color: #9aa49d;
  background: #f1f4f1;
  cursor: not-allowed;
}

.company-price-lab__controls label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.company-price-lab__controls input {
  width: 100%;
  padding: 0 10px;
}

.company-price-lab__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-price-lab__metrics > div {
  min-width: 0;
  min-height: 112px;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.company-price-lab__metrics > div:nth-child(2n) {
  border-right: 0;
}

.company-price-lab__metrics > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.company-price-lab__metrics span,
.company-price-lab__checklist span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.company-price-lab__metrics strong,
.company-price-lab__checklist strong {
  display: block;
  margin-top: 7px;
  color: #0b4ec0;
  font-size: 1.08rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.company-price-lab__metrics small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.company-price-lab__checklist {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(11, 99, 206, 0.18);
  border-radius: var(--radius);
  background: #f7faff;
}

.company-price-lab__checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-price-lab__checklist label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #344039;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.company-price-lab__checklist input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #0b63ce;
}

.company-price-lab__checklist label span {
  color: #344039;
  font-size: 0.88rem;
  font-weight: 800;
}

.company-price-lab__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.company-note-inline-ad .ad-slot {
  min-height: 112px;
  margin: 0 0 24px;
  border-color: #d8dee8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.96)),
    #fff;
}

.company-note-content {
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  gap: 24px;
  justify-content: center;
  padding: 8px 0 0;
}

.company-note-content .article-main,
.company-note-content .company-note-aside {
  grid-area: auto;
}

.company-note-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  margin-bottom: 24px;
}

.company-note-panel {
  padding: 24px;
}

.company-note-panel h2 {
  margin: 4px 0 16px;
  font-size: 1.34rem;
  line-height: 1.3;
}

.company-note-metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-note-metric {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.company-note-metric:nth-child(2n) {
  border-right: 0;
}

.company-note-metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.company-note-metric span,
.company-price-zone span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.company-note-metric strong,
.company-price-zone strong {
  display: block;
  margin-top: 6px;
  color: #0b4ec0;
  font-size: 1.04rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.company-note-metric small,
.company-price-zone small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.company-price-zone-list {
  display: grid;
}

.company-price-zone {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.company-price-zone:first-child {
  padding-top: 0;
  border-top: 0;
}

.company-price-zone strong,
.company-price-zone small {
  grid-column: 2;
}

.company-note-aside {
  position: sticky;
  top: 100px;
  align-self: start;
}

.company-article-notes {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(49, 95, 189, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.company-article-notes .section-heading {
  margin-bottom: 0;
}

.company-article-notes .section-heading > span {
  color: #315fbd;
  font-size: 0.86rem;
  font-weight: 900;
}

.company-article-note-list {
  display: grid;
  gap: 12px;
}

.company-article-note {
  display: grid;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.company-article-note:first-child {
  padding-top: 0;
  border-top: 0;
}

.company-article-note__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.company-article-note__meta span {
  color: #315fbd;
}

.company-article-note h3 {
  margin: 0;
  color: #1f2a25;
  font-size: 1.1rem;
  line-height: 1.42;
}

.company-article-note p {
  margin: 0;
  color: #4e5a54;
  line-height: 1.7;
}

.company-article-note dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.company-article-note dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  background: #f8faf8;
}

.company-article-note dt,
.company-article-note dd {
  margin: 0;
  line-height: 1.55;
}

.company-article-note dt {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.company-article-note dd {
  color: #344039;
  font-size: 0.9rem;
}

.side-link-list span {
  color: #344039;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.roadmap-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.roadmap-summary > div,
.roadmap-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.roadmap-summary > div {
  padding: 20px;
}

.roadmap-summary strong {
  display: block;
  margin: 6px 0;
  color: var(--teal-dark);
  font-size: 1.45rem;
}

.roadmap-summary span {
  color: var(--muted);
  line-height: 1.6;
}

.roadmap-intro {
  margin-bottom: 18px;
}

.roadmap-group-list {
  display: grid;
  gap: 18px;
}

.roadmap-group {
  overflow: hidden;
}

.roadmap-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.roadmap-group__header h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.roadmap-group__header span {
  color: var(--teal-dark);
  font-weight: 900;
}

.roadmap-link-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-link-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.roadmap-link-list li:last-child {
  border-bottom: 0;
}

.roadmap-link-list__no {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.roadmap-link-list a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.roadmap-link-list a:hover {
  text-decoration: underline;
}

.roadmap-link-list small {
  color: var(--muted);
  font-weight: 800;
}

.roadmap-link-list .is-pending {
  background: rgba(239, 242, 236, 0.45);
}

.roadmap-link-list .is-pending span:not(.roadmap-link-list__no) {
  color: #5d6860;
}

.tool-link-card--directory {
  min-height: 180px;
  align-content: start;
  border-color: rgba(23, 111, 101, 0.18);
}

.ad-slot {
  display: grid;
  min-height: 108px;
  margin: 24px 0;
  place-items: center;
  border: 1px dashed #bdc9bf;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  text-align: center;
}

.ad-slot span {
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-slot strong {
  margin-top: 3px;
  color: var(--ink);
}

.ad-slot small {
  max-width: 360px;
  margin-top: 3px;
  padding: 0 14px;
  line-height: 1.5;
}

.page-hero {
  padding: 56px 0 38px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.compact-hero h1,
.tool-hero h1 {
  font-size: 3rem;
}

.tool-hero {
  padding: 34px 0 24px;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.article-shell {
  padding: 64px 0;
}

.article-shell.company-note-article {
  padding: 0 0 56px;
}

.article-grid {
  grid-template-areas:
    "ad note"
    "title side"
    "main side";
  row-gap: 24px;
  padding: 64px 0;
}

.article-title-ad {
  grid-area: ad;
  min-width: 0;
  align-self: stretch;
}

.article-title-ad .ad-slot {
  height: 100%;
  min-height: var(--article-top-card-height);
  margin: 0;
}

.article-header {
  display: grid;
  grid-area: title;
  align-content: start;
  min-width: 0;
}

.article-header h1 {
  margin-top: 12px;
  font-size: 3.25rem;
}

.article-header p {
  color: var(--muted);
  line-height: 1.75;
}

.article-note-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.article-note-card {
  display: grid;
  grid-area: note;
  gap: 14px;
  min-height: var(--article-top-card-height);
  padding: 20px;
  align-content: start;
  align-self: stretch;
}

.article-note-card strong {
  line-height: 1.55;
}

.article-note-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.article-note-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-note-card dd {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.article-main {
  grid-area: main;
  min-width: 0;
}

.article-update-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.article-update-panel h2 {
  margin: 6px 0 14px;
  font-size: 1.25rem;
}

.article-update-panel ul,
.article-update-panel ol {
  margin: 0;
  padding-left: 20px;
}

.article-update-panel li {
  color: #344039;
  line-height: 1.8;
}

.update-log-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.update-log-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.update-log-list time {
  color: var(--teal-dark);
  font-weight: 900;
}

.prose {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose p,
.prose li {
  color: #344039;
  font-size: 1.03rem;
  line-height: 1.9;
}

.prose h2 {
  margin: 42px 0 14px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal-dark);
  background: var(--surface-soft);
  color: #344039;
}

.prose p:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-aside {
  grid-area: side;
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
  align-self: start;
}

.side-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.side-ad-card .ad-slot {
  min-height: 124px;
  margin: 0;
}

.article-title-ad .ad-slot--live,
.side-ad-card .ad-slot--live {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(238, 244, 238, 0.84)),
    #fff;
}

.side-link-list {
  display: grid;
  gap: 12px;
}

.side-link-list a {
  color: #344039;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.tag-chip:hover,
.tag-chip[aria-pressed="true"] {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.tag-cloud-section,
.search-shell {
  padding: 48px 0 64px;
}

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

.tag-cloud-item {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 33, 29, 0.05);
}

.tag-cloud-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.search-shell {
  display: grid;
  gap: 18px;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.search-box input:focus {
  outline: 3px solid rgba(23, 111, 101, 0.18);
  border-color: var(--teal);
}

.calculator-panel,
.result-panel {
  min-width: 0;
  padding: 24px;
}

.tool-workspace {
  display: grid;
  gap: 20px;
  padding: 42px 0 64px;
}

.result-panel {
  overflow: hidden;
  padding: 28px;
}

.result-panel .panel-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.result-panel .panel-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.calculator-panel--compact {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.calculator-panel--compact .panel-heading {
  margin-bottom: 0;
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.preset-row button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.preset-row button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

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

.field-grid--compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.field-grid label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-grid input,
.checklist-field-grid input,
.checklist-field-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcfb;
}

.field-grid input:focus,
.checklist-field-grid input:focus,
.checklist-field-grid select:focus {
  outline: 3px solid rgba(23, 111, 101, 0.18);
  border-color: var(--teal);
}

.toggle-field {
  min-height: 44px;
}

.toggle-field input {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-self: start;
  accent-color: var(--teal-dark);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-width: 0;
  min-height: 116px;
  padding: 18px 18px 16px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 1.46rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.metric--hero strong {
  font-size: 2rem;
}

.result-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}

.chart-wrap {
  width: 100%;
  min-height: 360px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.chart-wrap canvas {
  width: 100%;
  height: 360px;
}

.table-wrap {
  max-height: 390px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
}

.tool-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.checklist-result-panel .panel-heading p:last-child {
  white-space: normal;
}

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

.checklist-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.checklist-output-card,
.tool-legal-note {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.checklist-output-card--caution,
.tool-legal-note {
  border-color: rgba(177, 132, 44, 0.28);
  background: #fffaf0;
}

.checklist-output-card h3,
.tool-legal-note strong {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.checklist-output-card ol,
.checklist-output-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.tool-legal-note {
  margin-top: 18px;
}

.tool-legal-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.checklist-field-grid label {
  display: grid;
  gap: 7px;
}

.checklist-field-grid span,
.checklist-items legend {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.checklist-items {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.checklist-items legend {
  padding: 0 6px;
}

.checklist-items label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  line-height: 1.5;
}

.checklist-items input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal-dark);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-shell p {
  margin: 0;
}

@media (max-width: 900px) {
  .content-split,
  .article-grid,
  .result-body,
  .feature-section,
  .home-briefing__grid,
  .home-feed-grid,
  .company-preview-section {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-areas:
      "title"
      "note"
      "main"
      "side";
    row-gap: 24px;
    padding: 42px 0;
  }

  .article-note-card {
    min-height: auto;
  }

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

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

  .feature-action--grid,
  .tool-directory,
  .roadmap-summary {
    grid-template-columns: 1fr;
  }

  .routine-item:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .field-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .article-aside {
    position: static;
  }

  .company-note-aside {
    position: static;
  }

  .article-title-ad {
    display: none;
  }

  .home-briefing__intro {
    padding: 24px;
  }

  .home-briefing__center,
  .home-action-rail {
    height: auto;
    grid-template-rows: none;
  }

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

  .market-brief-strip__inner,
  .company-note-terminal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail-heading {
    grid-column: 1 / -1;
  }

  .post-list--home {
    grid-template-columns: 1fr;
  }

  .archive-feature-grid {
    grid-template-columns: 1fr;
  }

  .company-note-method-grid,
  .company-price-panel,
  .company-note-dashboard,
  .company-price-lab__grid,
  .company-note-header {
    grid-template-columns: 1fr;
  }

  .company-note-content {
    grid-template-columns: 1fr;
  }

  .company-price-panel > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-price-panel > div:last-child {
    border-bottom: 0;
  }

  .company-note-header {
    align-items: stretch;
  }

  .company-preview-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-preview-section--market {
    align-items: stretch;
  }

  .home-hero__overlay {
    background: linear-gradient(180deg, rgba(15, 81, 74, 0.95), rgba(15, 81, 74, 0.82) 58%, rgba(15, 81, 74, 0.5));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    padding: 9px 4px;
  }

  .site-ticker-strip__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    width: 100%;
    min-height: 64px;
  }

  .site-ticker-strip__label {
    display: none;
  }

  .site-ticker-strip__scroller {
    grid-auto-columns: minmax(156px, 176px);
    padding-left: 8px;
  }

  .site-ticker-strip__more {
    padding: 0 12px;
    background: #fff;
  }

  .site-ticker-item {
    min-height: 64px;
    padding: 8px 10px;
  }

  .brand-text small {
    white-space: normal;
  }

  .home-hero h1 {
    font-size: 2.75rem;
  }

  .home-briefing {
    padding: 32px 0 24px;
  }

  .home-briefing__intro h1 {
    font-size: 2rem;
  }

  .home-stats,
  .home-action-rail {
    grid-template-columns: 1fr;
  }

  .market-focus-list li {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .market-board-card__header,
  .market-board-card__footer,
  .company-note-terminal__header {
    flex-direction: column;
    align-items: start;
  }

  .market-board-card__header,
  .market-board-card__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .market-brief-tile {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-briefing__intro {
    padding: 20px;
  }

  .home-routine-list {
    gap: 6px;
    margin-top: 18px;
  }

  .home-stats {
    padding-top: 18px;
  }

  .spotlight-card {
    min-height: 0;
    padding: 22px;
  }

  .spotlight-card h2 {
    font-size: 1.58rem;
  }

  .section-heading--row {
    align-items: start;
    flex-direction: column;
  }

  .company-preview-section {
    padding-top: 28px;
  }

  .company-preview-copy h2 {
    font-size: 1.75rem;
  }

  .company-preview-cards {
    grid-template-columns: 1fr;
  }

  .company-market-grid,
  .company-note-terminal-grid {
    grid-template-columns: 1fr;
  }

  .company-market-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .company-article-note dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .company-mini-card {
    min-height: 0;
  }

  .company-notes-shell {
    padding: 28px 0 48px;
  }

  .company-note-summary,
  .company-note-card,
  .company-note-panel,
  .company-price-lab,
  .company-update-panel {
    padding: 18px;
  }

  .company-price-lab__header {
    flex-direction: column;
  }

  .company-price-lab__controls,
  .company-price-lab__checklist ul {
    grid-template-columns: 1fr;
  }

  .company-price-lab__ticker {
    grid-template-columns: 1fr;
  }

  .company-price-lab__ticker strong {
    font-size: 1.55rem;
  }

  .company-note-header h1 {
    font-size: 2rem;
  }

  .company-note-article {
    padding-top: 8px;
  }

  .company-note-header {
    gap: 12px;
  }

  .company-note-top-ad .ad-slot,
  .home-market-ad .ad-slot {
    min-height: 108px;
  }

  .page-hero h1,
  .article-header h1,
  .compact-hero h1,
  .tool-hero h1 {
    font-size: 2rem;
  }

  .page-hero p:not(.eyebrow) {
    display: none;
  }

  .home-hero,
  .home-hero__content {
    min-height: 420px;
  }

  .home-hero__image {
    object-position: 62% center;
  }

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

  .routine-item,
  .routine-item:first-child,
  .routine-item:nth-child(odd) {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .feature-copy {
    min-height: 0;
    padding: 12px 0;
  }

  .feature-copy h2 {
    font-size: 1.75rem;
  }

  .field-grid,
  .metric-grid,
  .field-grid--compact,
  .checklist-field-grid,
  .checklist-output-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .metric--hero strong {
    font-size: 1.55rem;
  }

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

  .prose,
  .calculator-panel,
  .result-panel,
  .post-card,
  .article-note-card,
  .article-update-panel {
    padding: 18px;
  }

  .update-log-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .tag-cloud {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
  }

  .roadmap-group__header,
  .roadmap-link-list li {
    grid-template-columns: 1fr;
  }

  .roadmap-link-list li {
    gap: 4px;
    align-items: start;
  }
}
