/* Generated by content_site_builder.py */
:root {
  color-scheme: light;
  --bg: #f4f6f2;
  --paper: #ffffff;
  --ink: #142033;
  --muted: #647084;
  --line: #d9dfd6;
  --accent: #0d6b57;
  --accent-2: #1f4f8f;
  --gold: #b9852c;
  --soft: #e6f1ec;
  --warm: #fff5dc;
  --navy: #101b2f;
  --shadow: 0 24px 70px rgba(20, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 27, 47, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f9faf7 0, var(--bg) 42rem);
  background-size: 44px 44px, auto;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 223, 214, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #174235);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.home-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 34px auto 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 500px);
  gap: 54px;
  align-items: center;
  padding: 36px 0 24px;
}

.hero-copy h1,
.article-hero h1 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.article-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4c586b;
  font-size: 19px;
  line-height: 1.9;
}

.eyebrow,
.section-label,
.card-kicker,
.ad-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #b7d4c7;
  border-radius: 999px;
  background: var(--soft);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(16, 27, 47, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics {
  max-width: 760px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metrics div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(217, 223, 214, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.market-visual {
  position: relative;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 22% 18%, rgba(185, 133, 44, 0.24), transparent 17rem),
    linear-gradient(145deg, #101b2f, #163d35 58%, #102016);
  box-shadow: var(--shadow);
}

.market-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.market-panel-head strong {
  color: #fff;
  font-size: 14px;
}

.ticker-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ticker-row strong {
  color: #d7f5e7;
  font-size: 14px;
}

.chart-grid {
  position: absolute;
  inset: 118px 30px 74px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: end;
}

.chart-grid span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #d7b266, #1fa37f);
  opacity: 0.92;
}

.chart-line {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 48%;
  height: 3px;
  border-radius: 999px;
  background: #f0c46a;
  transform: rotate(-10deg);
  box-shadow: 0 12px 28px rgba(240, 196, 106, 0.28);
}

.market-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.market-note strong {
  color: #fff;
}

.strategy-band,
.article-list-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.strategy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 107, 87, 0.08), transparent 55%),
    #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 51, 0.07);
}

.strategy-band h2,
.section-heading h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.strategy-grid div,
.article-card,
.side-note,
.ad-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.strategy-grid div {
  min-height: 114px;
  padding: 20px;
}

.strategy-grid strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
}

.strategy-grid span {
  display: block;
  margin-top: 12px;
  font-weight: 850;
}

.article-list-section {
  padding: 72px 0 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.archive-heading {
  margin-top: 44px;
  padding-top: 8px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.article-card {
  min-height: 292px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(20, 32, 51, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #a8cbbb;
  box-shadow: var(--shadow);
}

.article-card h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
}

.article-card p {
  margin: 0;
  color: #596579;
  line-height: 1.85;
}

.read-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 850;
  padding-top: 22px;
}

.article-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 32px;
  align-items: start;
}

.article-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-hero {
  padding: 42px 48px 36px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(231, 245, 242, 0.84), rgba(255, 244, 216, 0.58)),
    #fff;
}

.article-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.18;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-body {
  padding: 42px 48px 52px;
}

.article-body h2 {
  margin: 46px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #101828;
  font-size: 27px;
  line-height: 1.38;
  letter-spacing: 0;
}

.article-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: #243047;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.article-body li {
  margin: 8px 0;
  padding-left: 4px;
}

.article-body strong {
  color: #0f4f49;
  font-weight: 850;
}

.article-body hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-history {
  margin: 30px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
}

.article-history h2 {
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--navy);
  font-size: 20px;
}

.article-history ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.article-history li {
  margin: 0;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.article-history li:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-history a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.article-history a:hover {
  text-decoration: underline;
}

.article-history span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 16px;
}

.ad-card {
  min-height: 286px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
}

.ad-label {
  display: block;
  margin-bottom: 12px;
  color: #7a8496;
}

.adsbygoogle {
  min-height: 250px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, #f4f7fb 0, #f4f7fb 10px, #edf2f7 10px, #edf2f7 20px);
}

.side-note {
  padding: 18px;
}

.side-note strong {
  display: block;
  margin-top: 8px;
  color: #101828;
}

.side-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.disclaimer {
  margin-top: 38px;
  border-left: 4px solid #d49425;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--warm);
  color: #5f4217;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .home-hero,
  .strategy-band,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

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

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav,
  .home-hero,
  .strategy-band,
  .article-list-section,
  .article-layout,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .nav-links {
    display: none;
  }

  .home-hero {
    min-height: 0;
    margin-top: 26px;
    gap: 26px;
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-metrics div {
    min-height: 0;
  }

  .market-visual {
    min-height: 330px;
  }

  .strategy-band,
  .article-hero,
  .article-body {
    padding: 24px;
  }

  .strategy-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 220px;
  }

  .article-body {
    font-size: 15px;
  }

  .ticker-row {
    grid-template-columns: repeat(2, auto 1fr);
  }

  .market-panel-head,
  .market-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
