/*
Theme Name: Sample Markets
Theme URI: https://example.com/
Author: Sample Markets
Description: 日本語の金融・FXサイト向けミニマルテーマ。ページ本文は「カスタムHTML」ブロックに付属のHTMLを貼り付けて使用します。ブランド名・連絡先は「外観 → カスタマイズ → ブランド情報」で変更できます。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sample-markets
*/

/* ------------------------------------------------------------
   Tokens
------------------------------------------------------------ */
:root {
  --sm-white: #ffffff;
  --sm-ink: #1c1f22;
  --sm-body: #3d4246;
  --sm-muted: #767b80;
  --sm-steel: #3f6e82;
  --sm-steel-dark: #2a4d5c;
  --sm-panel: #f0f0f0;
  --sm-rule: #1c1f22;
  --sm-hair: #d9dcde;
  --sm-black: #000000;
  --sm-gain: #2f8a57;
  --sm-loss: #c0392b;

  --sm-font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --sm-font-latin: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --sm-container: 1180px;
  --sm-gutter: clamp(20px, 5vw, 64px);
  --sm-section: clamp(64px, 9vw, 120px);
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sm-white);
  color: var(--sm-body);
  font-family: var(--sm-font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 0;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sm-steel-dark); text-underline-offset: 3px; }
a:hover { color: var(--sm-ink); }
:focus-visible { outline: 2px solid var(--sm-steel); outline-offset: 3px; }

h1, h2, h3, h4 {
  color: var(--sm-ink);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0 0 0.8em;
}
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p { margin: 0 0 1.4em; max-width: 42em; }
h1, h2, h3, .sm-hero__lead { word-break: auto-phrase; text-wrap: balance; }
ul, ol { padding-left: 1.3em; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000;
  top: 8px; left: 8px; padding: 8px 16px; background: var(--sm-white);
}

.sm-container {
  width: 100%;
  max-width: calc(var(--sm-container) + var(--sm-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--sm-gutter);
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */
.sm-header { background: var(--sm-white); position: relative; z-index: 50; }
.sm-header__brand {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--sm-rule);
}
.sm-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sm-ink); }
.sm-logo:hover { color: var(--sm-ink); }
.sm-logo__mark { width: 34px; height: 34px; flex: none; }
.sm-logo__text {
  font-family: var(--sm-font-latin);
  font-size: 25px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
}
.sm-logo img { max-height: 48px; width: auto; }

.sm-header__nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
}
.sm-menu, .sm-menu ul { list-style: none; margin: 0; padding: 0; }
.sm-menu { display: flex; gap: 30px; }
.sm-menu > li { position: relative; }
.sm-menu a {
  display: block; padding: 16px 0;
  color: var(--sm-body); text-decoration: none;
  font-size: 14px; letter-spacing: 0.08em; font-weight: 400;
}
.sm-menu a:hover, .sm-menu .current-menu-item > a, .sm-menu .current_page_item > a,
.sm-menu .current-menu-ancestor > a { color: var(--sm-ink); }
.sm-menu .current-menu-item > a, .sm-menu .current_page_item > a { box-shadow: inset 0 -1px 0 var(--sm-ink); }
.sm-menu .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sm-menu .sub-menu {
  position: absolute; top: 100%; left: -20px; min-width: 220px;
  background: var(--sm-white); border: 1px solid var(--sm-hair);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sm-menu li:hover > .sub-menu, .sm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sm-menu .sub-menu a { padding: 9px 20px; font-size: 14px; }
.sm-menu .sub-menu a:hover { background: var(--sm-panel); }

.sm-header__actions { display: flex; align-items: center; gap: 22px; }
.sm-header__login {
  font-size: 13px; letter-spacing: 0.1em; color: var(--sm-ink); text-decoration: none;
  border: 1px solid var(--sm-ink); padding: 7px 18px;
}
.sm-header__login:hover { background: var(--sm-ink); color: var(--sm-white); }

.sm-nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--sm-ink);
}
.sm-nav-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .2s ease, opacity .2s; }
.sm-nav-open .sm-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sm-nav-open .sm-nav-toggle span:nth-child(2) { opacity: 0; }
.sm-nav-open .sm-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .sm-nav-toggle { display: block; }
  .sm-header__nav { flex-wrap: wrap; }
  .sm-header__nav nav { order: 3; width: 100%; display: none; }
  .sm-nav-open .sm-header__nav nav { display: block; }
  .sm-menu { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .sm-menu a { padding: 12px 0; border-bottom: 1px solid var(--sm-hair); }
  .sm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .sm-menu .sub-menu a { padding: 10px 0; }
  .sm-menu .menu-item-has-children > a::after { display: none; }
  .sm-header__actions { margin-left: auto; margin-right: 16px; }
}

/* ------------------------------------------------------------
   Page content wrapper
------------------------------------------------------------ */
.sm-main { display: block; }
.sm-main > .entry-content > *:first-child { margin-top: 0; }
.sm-main .entry-content > .wp-block-html,
.sm-main .entry-content > section { margin: 0; }

/* ------------------------------------------------------------
   Hero: contained photograph + black band
------------------------------------------------------------ */
.sm-hero { padding-top: 12px; }
.sm-hero__media {
  position: relative;
  min-height: clamp(300px, 46vw, 580px);
  background-color: var(--sm-steel-dark);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--sm-white);
  padding: 48px 24px;
}
.sm-hero__media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 33, .10), rgba(10, 25, 33, .38));
}
.sm-hero__inner { position: relative; max-width: 760px; }
.sm-hero__kicker {
  font-family: var(--sm-font-latin); font-weight: 300; font-size: 15px;
  letter-spacing: 0.12em; margin: 0 auto 18px; opacity: .9;
}
.sm-hero h1 {
  color: var(--sm-white); font-weight: 300; margin-bottom: 18px;
  font-size: clamp(26px, 4.2vw, 46px); letter-spacing: 0.1em;
}
.sm-hero__lead { margin: 0 auto; font-size: 15px; font-weight: 300; max-width: 36em; }
.sm-hero--compact .sm-hero__media { min-height: clamp(220px, 28vw, 340px); }
.sm-hero--compact h1 { margin-bottom: 8px; }
.sm-hero--compact .sm-hero__media::before { background: linear-gradient(180deg, rgba(10, 25, 33, .35), rgba(10, 25, 33, .55)); }

/* The band beneath the hero lists the five market categories */
.sm-band {
  background: var(--sm-black); color: #cfd4d7;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.sm-band a, .sm-band span {
  display: block; padding: 26px 16px; text-align: center; text-decoration: none; color: inherit;
  font-size: 14px; letter-spacing: 0.1em; border-left: 1px solid #2a2d30;
}
.sm-band > :first-child { border-left: 0; }
.sm-band a:hover { color: var(--sm-white); background: #121416; }
.sm-band small { display: block; font-family: var(--sm-font-latin); font-size: 11px; letter-spacing: 0.14em; color: #8a9095; margin-top: 2px; }
.sm-band--text { display: block; padding: 30px 24px; text-align: center; font-size: 15px; letter-spacing: 0.1em; }
@media (max-width: 760px) {
  .sm-band { grid-template-columns: repeat(2, 1fr); }
  .sm-band a, .sm-band span { border-left: 0; border-top: 1px solid #2a2d30; padding: 18px 10px; }
  .sm-band > :nth-child(2n) { border-left: 1px solid #2a2d30; }
  .sm-band > :last-child:nth-child(odd) { grid-column: span 2; }
}

/* ------------------------------------------------------------
   Sections
------------------------------------------------------------ */
.sm-section { padding: var(--sm-section) 0; }
.sm-section--tight { padding: calc(var(--sm-section) * .6) 0; }
.sm-section--panel { background: var(--sm-panel); }
.sm-section:not(.sm-section--panel) + .sm-section:not(.sm-section--panel) { padding-top: 0; }

.sm-heading { margin-bottom: 48px; max-width: 44em; }
.sm-heading--center { text-align: center; margin-left: auto; margin-right: auto; }
.sm-heading--center p { margin-left: auto; margin-right: auto; }
.sm-heading h2 { margin-bottom: 18px; }
.sm-heading h2::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--sm-ink); margin-top: 20px;
}
.sm-heading--center h2::after { margin-left: auto; margin-right: auto; }
.sm-heading p { color: var(--sm-muted); margin-bottom: 0; }

/* Feature row: icon + short text, separated by vertical hairlines */
.sm-features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sm-hair); border-bottom: 1px solid var(--sm-hair);
}
.sm-features--3 { grid-template-columns: repeat(3, 1fr); }
.sm-feature { padding: 36px 28px; border-left: 1px solid var(--sm-hair); }
.sm-feature:first-child { border-left: 0; padding-left: 0; }
.sm-feature svg { width: 36px; height: 36px; stroke: var(--sm-steel); fill: none; stroke-width: 1.2; margin-bottom: 22px; }
.sm-feature h3 { font-size: 16px; margin-bottom: 10px; }
.sm-feature p { font-size: 14px; color: var(--sm-muted); margin: 0; line-height: 1.85; }
@media (max-width: 960px) {
  .sm-features, .sm-features--3 { grid-template-columns: repeat(2, 1fr); }
  .sm-feature { padding: 28px 22px; }
  .sm-feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .sm-feature:nth-child(n+3) { border-top: 1px solid var(--sm-hair); }
}
@media (max-width: 560px) {
  .sm-features, .sm-features--3 { grid-template-columns: 1fr; }
  .sm-feature { border-left: 0; padding-left: 0; }
  .sm-feature + .sm-feature { border-top: 1px solid var(--sm-hair); }
}

/* Split: grey text panel beside an image, as in the reference layout */
.sm-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--sm-panel); }
.sm-split__text { padding: clamp(40px, 6vw, 88px); align-self: center; }
.sm-split__text--center { text-align: center; }
.sm-split__text--center p { margin-left: auto; margin-right: auto; }
.sm-split__media { min-height: 420px; background-color: var(--sm-steel-dark); background-size: cover; background-position: center; }
.sm-split--reverse .sm-split__media { order: -1; }
@media (max-width: 860px) {
  .sm-split { grid-template-columns: 1fr; }
  .sm-split__media { min-height: 260px; order: -1; }
}

/* Market list (links to each product page) */
.sm-market-list { list-style: none; margin: 28px 0 32px; padding: 0; border-top: 1px solid #cfd2d4; }
.sm-market-list li { border-bottom: 1px solid #cfd2d4; }
.sm-market-list a {
  display: grid; grid-template-columns: 9em 1fr auto; gap: 18px; align-items: baseline;
  padding: 16px 0; text-decoration: none; color: var(--sm-body);
}
.sm-market-list strong { color: var(--sm-ink); font-weight: 500; }
.sm-market-list span { font-size: 14px; color: var(--sm-muted); }
.sm-market-list a::after { content: ""; width: 7px; height: 7px; border-top: 1px solid var(--sm-ink); border-right: 1px solid var(--sm-ink); transform: rotate(45deg); }
.sm-market-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .sm-market-list a { grid-template-columns: 1fr auto; } .sm-market-list span { grid-column: 1; grid-row: 2; } .sm-market-list a::after { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }

/* Two-column prose */
.sm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.sm-cols--wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .sm-cols, .sm-cols--wide-left { grid-template-columns: 1fr; } }

/* Checklist */
.sm-checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.sm-checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--sm-hair); }
.sm-checks li::before {
  content: ""; position: absolute; left: 4px; top: 20px; width: 11px; height: 6px;
  border-left: 1.5px solid var(--sm-steel); border-bottom: 1.5px solid var(--sm-steel); transform: rotate(-45deg);
}

/* Steps (a real sequence, so numbered) */
.sm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; border-top: 1px solid var(--sm-ink); }
.sm-steps li { counter-increment: step; padding: 28px 32px 8px 0; }
.sm-steps li + li { padding-left: 32px; border-left: 1px solid var(--sm-hair); }
.sm-steps li::before {
  content: "STEP " counter(step); display: block; font-family: var(--sm-font-latin);
  font-size: 12px; letter-spacing: 0.16em; color: var(--sm-steel); margin-bottom: 14px;
}
.sm-steps h3 { font-size: 17px; margin-bottom: 8px; }
.sm-steps p { font-size: 14px; color: var(--sm-muted); margin: 0; }
@media (max-width: 760px) {
  .sm-steps { grid-template-columns: 1fr; }
  .sm-steps li, .sm-steps li + li { padding: 22px 0; border-left: 0; }
  .sm-steps li + li { border-top: 1px solid var(--sm-hair); }
}

/* Tables */
.sm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; }
.sm-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.sm-table th, .sm-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sm-hair); }
.sm-table thead th { color: var(--sm-ink); font-weight: 500; border-bottom: 1px solid var(--sm-ink); background: transparent; }
.sm-table tbody th { width: 26%; color: var(--sm-ink); font-weight: 500; background: #f7f7f7; }
.sm-table td.num, .sm-table th.num { font-family: var(--sm-font-latin); font-variant-numeric: tabular-nums; }
.sm-table--compare td, .sm-table--compare thead th:not(:first-child) { text-align: center; }
.sm-table--compare .is-featured { background: #eef3f5; }
.sm-note { font-size: 13px; color: var(--sm-muted); line-height: 1.8; }

/* Instrument chips */
.sm-symbols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--sm-hair); border-left: 1px solid var(--sm-hair); margin-bottom: 16px; }
.sm-symbols div { padding: 18px 20px; border-right: 1px solid var(--sm-hair); border-bottom: 1px solid var(--sm-hair); }
.sm-symbols b { display: block; font-family: var(--sm-font-latin); font-weight: 500; color: var(--sm-ink); letter-spacing: 0.04em; }
.sm-symbols span { font-size: 13px; color: var(--sm-muted); }

/* Notice (risk) */
.sm-notice { border: 1px solid var(--sm-ink); padding: 28px 32px; font-size: 14px; line-height: 1.9; }
.sm-notice h3 { font-size: 15px; margin-bottom: 10px; }
.sm-notice p { max-width: none; margin-bottom: .8em; }
.sm-notice p:last-child { margin-bottom: 0; }

/* FAQ */
.sm-faq { border-top: 1px solid var(--sm-ink); }
.sm-faq details { border-bottom: 1px solid var(--sm-hair); }
.sm-faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; color: var(--sm-ink); font-weight: 500;
}
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px;
  border-right: 1px solid var(--sm-ink); border-bottom: 1px solid var(--sm-ink); transform: rotate(45deg); transition: transform .2s ease;
}
.sm-faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.sm-faq details > div { padding: 0 0 22px; color: var(--sm-body); }
.sm-faq details > div p { margin-bottom: .6em; }

/* Definition list (company info) */
.sm-dl { display: grid; grid-template-columns: 12em 1fr; margin: 0; border-top: 1px solid var(--sm-ink); }
.sm-dl dt, .sm-dl dd { padding: 18px 0; border-bottom: 1px solid var(--sm-hair); margin: 0; }
.sm-dl dt { color: var(--sm-ink); font-weight: 500; }
@media (max-width: 600px) { .sm-dl { grid-template-columns: 1fr; } .sm-dl dt { border-bottom: 0; padding-bottom: 0; } .sm-dl dd { padding-top: 4px; } }

/* Values */
.sm-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.sm-values > div { padding: 0 28px; border-left: 1px solid var(--sm-hair); }
.sm-values > div:first-child { padding-left: 0; border-left: 0; }
.sm-values h3 { font-size: 20px; font-weight: 400; margin-bottom: 4px; }
.sm-values small { display: block; font-family: var(--sm-font-latin); color: var(--sm-steel); letter-spacing: 0.1em; margin-bottom: 14px; }
.sm-values p { font-size: 14px; color: var(--sm-muted); }
@media (max-width: 860px) { .sm-values { grid-template-columns: 1fr 1fr; row-gap: 36px; } .sm-values > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .sm-values { grid-template-columns: 1fr; } .sm-values > div { padding-left: 0; border-left: 0; } }

/* Contact blocks */
.sm-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sm-ink); }
.sm-contact-grid > div { padding: 28px 28px 28px 0; }
.sm-contact-grid > div + div { padding-left: 28px; border-left: 1px solid var(--sm-hair); }
.sm-contact-grid h3 { font-size: 15px; margin-bottom: 6px; }
.sm-contact-grid p { margin: 0; }
.sm-contact-grid .big { font-family: var(--sm-font-latin); font-size: 22px; color: var(--sm-ink); letter-spacing: 0.04em; }
@media (max-width: 760px) { .sm-contact-grid { grid-template-columns: 1fr; } .sm-contact-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--sm-hair); } }

/* Placeholder form area */
.sm-form-slot { border: 1px dashed #b9bec2; padding: 40px; text-align: center; color: var(--sm-muted); font-size: 14px; }

/* Buttons */
.sm-btn {
  display: inline-block; padding: 14px 38px; font-size: 14px; letter-spacing: 0.12em;
  text-decoration: none; border: 1px solid var(--sm-ink); color: var(--sm-ink); background: transparent;
  transition: background .2s ease, color .2s ease;
}
.sm-btn:hover { background: var(--sm-ink); color: var(--sm-white); }
.sm-btn--solid { background: var(--sm-ink); color: var(--sm-white); }
.sm-btn--solid:hover { background: var(--sm-steel-dark); border-color: var(--sm-steel-dark); }
.sm-btn--light { border-color: var(--sm-white); color: var(--sm-white); }
.sm-btn--light:hover { background: var(--sm-white); color: var(--sm-ink); }
.sm-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* CTA band */
.sm-cta { background: var(--sm-black); color: #c9cfd2; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.sm-cta h2 { color: var(--sm-white); font-weight: 300; }
.sm-cta p { margin-left: auto; margin-right: auto; }
.sm-cta .sm-btns { justify-content: center; margin-top: 28px; }

/* Text helpers */
.sm-lead { font-size: 17px; color: var(--sm-ink); line-height: 2; }
.sm-muted { color: var(--sm-muted); }
.sm-small { font-size: 13px; }
.sm-mt-0 { margin-top: 0; }
.sm-mb-0 { margin-bottom: 0; }
.sm-space { height: clamp(40px, 6vw, 72px); }

/* Legal document pages */
.sm-doc { max-width: 820px; }
.sm-doc h2 { font-size: 20px; margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--sm-hair); }
.sm-doc h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.sm-doc p, .sm-doc li { font-size: 15px; }

/* Background images (bundled SVGs; swap for your own photos) */
.sm-bg-city   { background-image: url("assets/img/city.svg"); }
.sm-bg-ticker { background-image: url("assets/img/ticker.svg"); }
.sm-bg-chart  { background-image: url("assets/img/chart.svg"); }
.sm-bg-glass  { background-image: url("assets/img/glass.svg"); }

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.sm-footer { margin-top: 0; }
.sm-footer__panel { background: var(--sm-panel); padding: clamp(48px, 7vw, 88px) 0; }
.sm-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.sm-footer__company { font-size: 14px; line-height: 2; }
.sm-footer__company strong { display: block; color: var(--sm-ink); font-weight: 500; margin-bottom: 6px; font-size: 15px; }
.sm-footer h2 { font-size: 14px; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 14px; }
.sm-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sm-footer li { margin-bottom: 8px; }
.sm-footer a { color: var(--sm-body); text-decoration: none; }
.sm-footer a:hover { color: var(--sm-ink); text-decoration: underline; }
.sm-footer__disclaimer {
  font-size: 12px; line-height: 1.9; color: var(--sm-muted);
  border-top: 1px solid #d3d6d8; margin-top: 44px; padding-top: 24px;
}
.sm-footer__disclaimer p { max-width: none; margin-bottom: .5em; }
.sm-footer__copy { text-align: center; font-size: 13px; color: var(--sm-muted); padding: 40px 0 48px; font-family: var(--sm-font-latin); letter-spacing: 0.06em; }
@media (max-width: 860px) { .sm-footer__grid { grid-template-columns: 1fr 1fr; } .sm-footer__company { grid-column: 1 / -1; } }

/* ------------------------------------------------------------
   Blog/archive fallback
------------------------------------------------------------ */
.sm-archive { padding: var(--sm-section) 0; }
.sm-post { padding: 28px 0; border-bottom: 1px solid var(--sm-hair); }
.sm-post time { font-family: var(--sm-font-latin); font-size: 13px; color: var(--sm-muted); }
.sm-post h2 { font-size: 20px; margin: 4px 0 8px; }
.sm-post h2 a { color: var(--sm-ink); text-decoration: none; }
.sm-entry { padding: var(--sm-section) 0; }
.sm-entry .entry-content { max-width: 820px; }
.sm-page-title { padding: 56px 0 8px; }
.pagination, .nav-links { display: flex; gap: 12px; margin-top: 32px; }
.alignwide { max-width: var(--sm-container); }
.alignfull { width: 100%; }
