:root {
  --bg: #f4f0e8;
  --bg-soft: #ebe5da;
  --surface: #fbf9f4;
  --surface-strong: #ffffff;
  --ink: #17261f;
  --ink-soft: #58635d;
  --line: rgba(23, 38, 31, 0.14);
  --accent: #df5b36;
  --accent-dark: #b94325;
  --green: #173c2d;
  --green-light: #d5dfcd;
  --cream: #f6e8cf;
  --shadow: 0 20px 60px rgba(32, 44, 37, 0.09);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  transition: color 0.3s ease, background-color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--bg);
  background: var(--green);
  border-radius: 50% 50% 44% 56% / 58% 46% 54% 42%;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.brand-mark::first-letter {
  transform: rotate(3deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.market-widget {
  position: relative;
  z-index: 2;
  padding: 24px 0;
  color: #173c2d;
  background: var(--green-light);
}

.market-widget-shell {
  padding: 18px 20px 12px;
  background: rgba(255,255,255,.43);
  border: 1px solid rgba(23,60,45,.12);
  border-radius: 18px;
}

.market-widget-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px 13px;
}

.market-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-live i {
  width: 7px;
  height: 7px;
  background: #2c9b61;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44, 155, 97, 0.12);
  animation: market-pulse 2s ease-out infinite;
}

.market-widget-heading h2 {
  margin-top: 3px;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.market-update {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 10px;
}

#market-refresh {
  display: grid;
  width: 29px;
  height: 29px;
  padding: 6px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(23,60,45,.18);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

#market-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(25deg);
}

#market-refresh.loading {
  animation: market-spin .8s linear infinite;
}

#market-refresh svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.market-columns {
  display: grid;
  grid-template-columns: 1fr 1fr .88fr;
  overflow: hidden;
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(23,60,45,.12);
  border-radius: 13px;
}

.market-column {
  min-width: 0;
  padding: 13px 16px 10px;
  border-right: 1px solid rgba(23,60,45,.12);
}

.market-column:last-child {
  border-right: 0;
}

.market-column h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #173c2d;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-column h3 span {
  color: var(--accent-dark);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 400;
}

.market-column-list {
  display: flex;
  flex-direction: column;
}

.market-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 45px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(23,60,45,.1);
  transition: background-color .2s ease;
}

.market-quote:last-child {
  border-bottom: 0;
}

.market-quote:hover {
  background: rgba(255,255,255,.3);
}

.quote-name,
.quote-price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.quote-name {
  text-align: left;
}

.quote-name strong {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
}

.quote-name small {
  margin-top: 1px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-price {
  align-items: flex-end;
  text-align: right;
}

.quote-price strong {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: -.03em;
}

.quote-price small {
  display: flex;
  align-items: center;
  min-height: 12px;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
}

.quote-price small.positive {
  color: #278453;
}

.quote-price small.negative {
  color: #c24933;
}

.market-column-global .market-quote {
  min-height: 69px;
}

.market-column-global .quote-name strong {
  font-size: 12px;
}

.market-column-global .quote-price strong {
  font-size: 15px;
}

.market-column-global > p {
  margin: 13px 0 2px;
  padding: 13px 2px 0;
  color: rgba(23,60,45,.58);
  border-top: 1px solid rgba(23,60,45,.1);
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.market-footnote {
  margin: 8px 3px 0;
  color: rgba(23,60,45,.52);
  font-size: 8px;
  line-height: 1.4;
}

@keyframes market-pulse {
  0% { box-shadow: 0 0 0 0 rgba(44, 155, 97, .28); }
  70% { box-shadow: 0 0 0 7px rgba(44, 155, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 155, 97, 0); }
}

@keyframes market-spin {
  to { transform: rotate(360deg); }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -80px;
  width: 580px;
  height: 580px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 100px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 25px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 700px;
  margin-top: 24px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 700;
}

.hero h1 em {
  color: var(--accent);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-copy > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.text-link,
.read-more,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.text-link span,
.read-more span,
.card-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span,
.read-more:hover span,
.card-link:hover span {
  transform: translateX(4px);
}

.hero-card {
  position: relative;
  min-height: 430px;
  padding: 76px 52px 48px;
  overflow: hidden;
  color: #f7f0e5;
  background: var(--green);
  border-radius: 150px 150px 30px 30px;
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 165px;
  height: 165px;
  background: var(--accent);
  border-radius: 48% 52% 40% 60%;
  opacity: 0.9;
}

.card-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit-one {
  top: -85px;
  left: -55px;
  width: 260px;
  height: 260px;
}

.orbit-two {
  top: -20px;
  left: 10px;
  width: 130px;
  height: 130px;
}

.quote-mark {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.8;
}

.hero-card blockquote {
  position: relative;
  z-index: 1;
  margin: 24px 0 46px;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.38;
}

.quote-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green);
  background: var(--cream);
  border-radius: 50%;
  font-weight: 800;
}

.quote-footer > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.quote-footer strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.quote-footer small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.ticker {
  padding: 19px 0;
  overflow: hidden;
  color: var(--green);
  background: var(--green-light);
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
}

.ticker span {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.section {
  padding: 112px 0;
}

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

.section-heading h2,
.about-copy h2,
.newsletter-inner h2 {
  margin-top: 11px;
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 700;
}

.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 440px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.featured-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--green);
}

.featured-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.08), transparent 38%);
}

.visual-label {
  position: absolute;
  top: 32px;
  left: 34px;
  z-index: 2;
  padding: 8px 14px;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chart-lines {
  position: absolute;
  right: 35px;
  bottom: 38px;
  left: 35px;
}

.chart-lines svg {
  width: 100%;
}

.grid-line {
  fill: none;
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
}

.area {
  fill: rgba(223, 91, 54, .15);
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 4;
}

.chart-dot {
  position: absolute;
  top: 7%;
  right: -3px;
  width: 12px;
  height: 12px;
  background: var(--cream);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(223, 91, 54, .2);
}

.visual-number,
.thumb-index {
  position: absolute;
  color: rgba(255,255,255,.1);
  font-family: "Manrope", sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
}

.visual-number {
  top: 60px;
  right: 28px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 52px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.post-meta span:first-child {
  color: var(--accent-dark);
}

.post-meta > * + *::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 15px 2px 0;
  background: currentColor;
  border-radius: 50%;
  opacity: .45;
}

.featured-content h3 {
  margin: 24px 0 22px;
  font-size: clamp(30px, 3.3vw, 44px);
}

.featured-content h3 a,
.post-card h3 a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.3s ease;
}

.featured-content h3 a:hover,
.post-card h3 a:hover {
  background-size: 100% 2px;
}

.featured-content p {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

.read-more {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.latest-section {
  padding-top: 20px;
}

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

.post-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.post-thumbnail {
  position: relative;
  display: grid;
  height: 235px;
  overflow: hidden;
  place-items: center;
}

.thumbnail-fiis {
  color: #e5efe1;
  background: #426551;
}

.thumbnail-bitcoin {
  color: #2e2c20;
  background: #d9bd70;
}

.thumbnail-exterior {
  color: #e6e1d6;
  background: #546375;
}

.post-thumbnail::before,
.post-thumbnail::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .14;
}

.post-thumbnail::before {
  top: -50px;
  left: -35px;
}

.post-thumbnail::after {
  right: -45px;
  bottom: -65px;
}

.thumb-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.thumb-icon svg {
  width: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bitcoin-symbol {
  font-family: Georgia, serif;
  font-size: 44px;
}

.thumb-index {
  right: 14px;
  bottom: -13px;
  font-size: 82px;
}

.post-card-content {
  padding: 29px 28px 30px;
}

.post-card h3 {
  margin: 18px 0 16px;
  font-size: 23px;
  line-height: 1.25;
}

.post-card p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.card-link {
  color: var(--accent-dark);
}

.categories-section {
  color: #f4eee3;
  background: var(--green);
}

.categories-section .section-kicker {
  color: #dfa889;
}

.category-heading > p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.13);
  border-left: 1px solid rgba(255,255,255,.13);
}

.category-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  min-height: 130px;
  padding: 25px 32px;
  border-right: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  transition: background .25s ease;
}

.category-card:hover {
  background: rgba(255,255,255,.06);
}

.category-number {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.category-card div {
  display: flex;
  flex-direction: column;
}

.category-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  letter-spacing: -.03em;
}

.category-card small {
  margin-top: 5px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
}

.category-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: color .2s, background .2s, transform .2s;
}

.category-card:hover .category-arrow {
  color: var(--green);
  background: var(--cream);
  transform: rotate(45deg);
}

.about-section {
  padding: 120px 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.25fr .65fr;
  align-items: center;
  gap: 80px;
}

.about-monogram {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  max-width: 300px;
  place-items: center;
  color: var(--cream);
  background: var(--accent);
  border-radius: 48% 52% 44% 56% / 58% 45% 55% 42%;
}

.about-monogram::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid var(--line);
  border-radius: 52% 48% 58% 42% / 43% 58% 42% 57%;
}

.about-monogram > span {
  font-family: Georgia, serif;
  font-size: clamp(80px, 11vw, 150px);
  line-height: 1;
}

.about-monogram small {
  position: absolute;
  right: 16px;
  bottom: 22px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-copy p {
  margin: 22px 0 0;
  color: var(--ink-soft);
}

.about-copy .text-link {
  margin-top: 28px;
}

.about-note {
  align-self: end;
  padding-bottom: 20px;
}

.note-line {
  display: block;
  width: 38px;
  height: 2px;
  background: var(--accent);
}

.about-note p {
  margin: 18px 0 0;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
}

.newsletter-section {
  padding: 84px 0;
  color: var(--green);
  background: var(--green-light);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 110px;
}

.newsletter-inner h2 {
  max-width: 560px;
  font-size: clamp(34px, 4vw, 50px);
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  padding: 17px 19px;
  color: var(--green);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23,60,45,.35);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: rgba(23,60,45,.55);
}

.newsletter-form button {
  padding: 0 18px;
  color: var(--green);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23,60,45,.35);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.newsletter-form button span {
  margin-left: 9px;
}

.newsletter-form small {
  grid-column: 1 / -1;
  margin-top: 13px;
  color: rgba(23,60,45,.55);
  font-size: 10px;
}

.site-footer {
  padding: 76px 0 25px;
  color: #eae5db;
  background: #10271e;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr;
  gap: 80px;
  padding-bottom: 55px;
}

.footer-brand {
  align-self: start;
}

.footer-brand .brand-mark {
  color: var(--green);
  background: var(--cream);
}

.footer-brand .brand-copy small {
  color: rgba(255,255,255,.45);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links strong,
.theme-panel > span {
  margin-bottom: 5px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--cream);
}

.theme-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.theme-switcher {
  display: flex;
  padding: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: rgba(255,255,255,.6);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.theme-option.active {
  color: var(--green);
  background: var(--cream);
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  color: rgba(255,255,255,.52);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.disclaimer > span {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  place-items: center;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.disclaimer p {
  max-width: 900px;
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.disclaimer strong {
  color: rgba(255,255,255,.75);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: rgba(255,255,255,.35);
  font-size: 10px;
  letter-spacing: .03em;
}

.footer-bottom p {
  margin: 0;
}

body[data-theme="dark"] {
  --bg: #101a16;
  --bg-soft: #18241f;
  --surface: #17231e;
  --surface-strong: #1c2b24;
  --ink: #eee8dc;
  --ink-soft: #a9b2ac;
  --line: rgba(238, 232, 220, 0.13);
  --green: #dfe9d8;
  --green-light: #273a30;
  --cream: #f3e5ca;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] .brand-mark,
body[data-theme="dark"] .button-primary {
  color: #13271e;
}

body[data-theme="dark"] .ticker,
body[data-theme="dark"] .newsletter-section {
  color: #e8eadf;
}

body[data-theme="dark"] .newsletter-form input,
body[data-theme="dark"] .newsletter-form button {
  color: #e8eadf;
  border-color: rgba(255,255,255,.24);
}

body[data-theme="dark"] .newsletter-form input::placeholder,
body[data-theme="dark"] .newsletter-form small {
  color: rgba(255,255,255,.5);
}

body[data-theme="dark"] .about-monogram {
  color: #fff1df;
}

body[data-theme="dark"] .categories-section {
  color: #15271f;
  background: #d9e3d3;
}

body[data-theme="dark"] .categories-section .section-kicker {
  color: var(--accent-dark);
}

body[data-theme="dark"] .category-heading > p,
body[data-theme="dark"] .category-card small {
  color: rgba(21,39,31,.6);
}

body[data-theme="dark"] .category-grid,
body[data-theme="dark"] .category-card {
  border-color: rgba(21,39,31,.15);
}

body[data-theme="dark"] .category-card:hover {
  background: rgba(21,39,31,.06);
}

body[data-theme="dark"] .category-arrow {
  border-color: rgba(21,39,31,.2);
}

body[data-theme="dark"] .market-widget {
  color: #e8eadf;
}

body[data-theme="dark"] .market-widget-shell,
body[data-theme="dark"] .market-columns {
  background: rgba(10,22,16,.28);
  border-color: rgba(255,255,255,.12);
}

body[data-theme="dark"] .market-column,
body[data-theme="dark"] .market-quote,
body[data-theme="dark"] .market-column-global > p {
  border-color: rgba(255,255,255,.1);
}

body[data-theme="dark"] .market-column h3,
body[data-theme="dark"] #market-refresh {
  color: #e8eadf;
}

body[data-theme="dark"] .quote-name small,
body[data-theme="dark"] .market-column-global > p,
body[data-theme="dark"] .market-footnote,
body[data-theme="dark"] .market-update {
  color: rgba(232,234,223,.58);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr .68fr;
    gap: 45px;
  }

  .hero-card {
    min-height: 380px;
    padding: 70px 35px 35px;
  }

  .hero-card blockquote {
    font-size: 21px;
  }

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

  .featured-visual {
    min-height: 380px;
  }

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

  .post-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .post-card:last-child .post-thumbnail {
    height: 100%;
    min-height: 275px;
  }

  .about-grid {
    grid-template-columns: .7fr 1.3fr;
    gap: 60px;
  }

  .about-note {
    display: none;
  }

  .newsletter-inner {
    gap: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 1.2fr;
  }

  .theme-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 16px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 9px 0;
  }

  .market-widget {
    padding: 16px 0;
  }

  .market-widget-shell {
    padding: 15px 14px 10px;
    border-radius: 15px;
  }

  .market-widget-heading {
    align-items: flex-start;
    padding: 0 1px 12px;
  }

  .market-widget-heading h2 {
    font-size: 18px;
  }

  .market-update {
    max-width: 118px;
    justify-content: flex-end;
    text-align: right;
  }

  .market-columns {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    border-radius: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .market-columns::-webkit-scrollbar {
    display: none;
  }

  .market-column,
  .market-column:nth-child(2) {
    flex: 0 0 285px;
    padding: 12px 14px 8px;
    border-right: 1px solid rgba(23,60,45,.12);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .market-column-global {
    flex-basis: 265px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .market-column-global .market-column-list {
    display: flex;
    gap: 0;
  }

  .market-column-global .market-quote:first-child {
    border-bottom: 1px solid rgba(23,60,45,.1);
  }

  .market-column-global > p {
    display: none;
  }

  .market-quote {
    min-height: 40px;
    padding: 6px 1px;
  }

  .market-column-global .market-quote {
    min-height: 47px;
  }

  .market-footnote {
    margin: 7px 2px 0;
  }

  .hero {
    padding: 58px 0 70px;
  }

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

  .hero h1 {
    font-size: clamp(44px, 13.5vw, 64px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-card {
    min-height: 390px;
    margin-top: 15px;
    border-radius: 120px 120px 25px 25px;
  }

  .ticker-inner {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
  }

  .desktop-link {
    display: none;
  }

  .featured-visual {
    min-height: 300px;
  }

  .visual-number {
    font-size: 86px;
  }

  .featured-content {
    padding: 36px 26px;
  }

  .featured-content h3 {
    font-size: 32px;
  }

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

  .post-card:last-child {
    grid-column: auto;
    display: block;
  }

  .post-card:last-child .post-thumbnail {
    height: 235px;
    min-height: 0;
  }

  .category-heading > p {
    margin-top: 5px;
  }

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

  .category-card {
    min-height: 112px;
    padding: 20px;
  }

  .about-section {
    padding: 90px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-monogram {
    max-width: 260px;
    margin-inline: auto;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .theme-panel {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-card {
    padding-inline: 28px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    justify-self: start;
    min-height: 48px;
    padding-left: 0;
    border-bottom: 0;
  }

  .footer-links {
    gap: 25px;
  }
}

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