/* AccountingBizz — brand, type, colour, components, dark mode */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0f172a;
  --orange: #f57302;
    --teal: #14b8a6;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --soft: #eef2ff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.1);
  --radius: 14px;
  --header: rgba(255, 255, 255, 0.92);
  --heading: "Manrope", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --white: #111827;
  --card: #151c2c;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #243044;
  --soft: #1e293b;
  --header: rgba(11, 18, 32, 0.9);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-transform: none;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
.brand-name {
  font-family: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.skip-link {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

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

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

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* —— Live price marquee —— */
.price-marquee {
  --marquee-bg: #f1f5f9;
  --marquee-border: #e2e8f0;
  --marquee-text: #0f172a;
  --marquee-muted: #64748b;
  --marquee-sep: #94a3b8;
  --marquee-up: #059669;
  --marquee-down: #dc2626;
  overflow: hidden;
  background: var(--marquee-bg);
  color: var(--marquee-text);
  border-bottom: 1px solid var(--marquee-border);
  height: 34px;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .price-marquee {
  --marquee-bg: #0b1220;
  --marquee-border: #1e293b;
  --marquee-text: #f8fafc;
  --marquee-muted: #cbd5e1;
  --marquee-sep: #475569;
  --marquee-up: #34d399;
  --marquee-down: #f87171;
}

.price-marquee-track {
  display: flex;
  width: max-content;
  animation: ab-marquee 45s linear infinite;
}

.price-marquee:hover .price-marquee-track {
  animation-play-state: paused;
}

.price-marquee-group {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.price-marquee-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--heading);
  position: relative;
}

.price-marquee-item + .price-marquee-item::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--marquee-sep);
  font-weight: 400;
  opacity: 0.85;
}

.price-marquee-sym,
.price-marquee-price {
  color: var(--marquee-text);
  font-variant-numeric: tabular-nums;
}

.price-marquee-change {
  font-variant-numeric: tabular-nums;
  color: var(--marquee-muted);
}

.price-marquee-change.is-up,
.price-marquee-item.is-up .price-marquee-change {
  color: var(--marquee-up);
}

.price-marquee-change.is-down,
.price-marquee-item.is-down .price-marquee-change {
  color: var(--marquee-down);
}

@keyframes ab-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-marquee-track {
    animation: none;
  }
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header.is-scrolled {
  background: #fff;
  border-bottom-color: #e2e8f0;
}

[data-theme="dark"] .site-header .nav-link-ab {
  color: #111827;
}

[data-theme="dark"] .site-header .nav-link-ab:hover,
[data-theme="dark"] .site-header .nav-link-ab:focus-visible,
[data-theme="dark"] .site-header .nav-link-ab.is-active {
  color: var(--orange);
}

[data-theme="dark"] .site-header .theme-toggle,
[data-theme="dark"] .site-header .search-open,
[data-theme="dark"] .site-header .menu-toggle {
  background: #fff;
  border-color: #e2e8f0;
  color: #111827;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.brand-name span {
  color: var(--orange);
}

.brand-tag {
  display: block;
  margin-top: 2px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--muted);
}

.nav-link-ab {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: normal !important;
}

.nav-link-ab:hover,
.nav-link-ab:focus-visible,
.nav-link-ab.is-active,
.offcanvas-nav a:hover {
  color: var(--orange);
}

.icon-btn,
.theme-toggle,
.search-open,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover,
.theme-toggle:hover,
.search-open:hover,
.menu-toggle:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-close {
  filter: none;
}

[data-theme="dark"] .btn-close {
  filter: brightness(100%) invert(1);
}

.btn {
  font-family: var(--heading);
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 16px;
  line-height: 1.2;
  border: 0;
}

.btn-subscribe,
.btn-primary-ab {
  background: var(--navy);
  color: #fff;
}

.btn-subscribe:hover,
.btn-primary-ab:hover,
.btn-subscribe:focus-visible,
.btn-primary-ab:focus-visible {
  background: var(--orange);
  color: #fff;
}

.btn-story {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
}

.btn-story:hover,
.btn-story:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.kicker,
.category {
/*   display: inline-flex; */
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--orange);
}

.kicker {
  margin-bottom: 0;
}

.kicker::before,
.category[data-tone="orange"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--orange);
}

.category[data-tone="teal"] {
  color: #0f766e;
}

.category[data-tone="teal"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--teal);
}

.category[data-tone="navy"] {
  color: var(--navy);
}

[data-theme="dark"] .category[data-tone="navy"] {
  color: #e2e8f0;
}

.category[data-tone="navy"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--navy);
}

[data-theme="dark"] .category[data-tone="navy"]::before {
  background: #94a3b8;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--text);
}

.hero-title {
  margin: 14px 0 16px;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  max-width: 18ch;
}

.page-hero:not(.category-hero) .hero-title {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.category-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.category-hero .hero-title {
  max-width: none;
  margin: 8px 0 0;
}

.category-hero .breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  background: none;
}

.category-hero .breadcrumb-item,
.category-hero .breadcrumb-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: normal !important;
}

.category-hero .breadcrumb-item a:hover,
.category-hero .breadcrumb-item a:focus-visible {
  color: var(--orange);
}

.category-hero .breadcrumb-item.active {
  color: var(--text);
}

.category-hero .breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted);
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.sidebar-card .input-group .form-control {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

.sidebar-card .input-group .btn {
  min-height: 46px;
}

.sidebar-cats li + li a {
  border-top: 1px solid var(--line);
}

.sidebar-cats a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.sidebar-cats a:hover,
.sidebar-cats a:focus-visible,
.sidebar-cats a.is-active {
  color: var(--orange);
}

.sidebar-cats a span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.posts-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.posts-pagination .page-link:hover,
.posts-pagination .page-link:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--card);
  z-index: 1;
}

.posts-pagination .page-item.active .page-link {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.posts-pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
  color: var(--muted);
  background: var(--card);
}

[data-theme="dark"] .posts-pagination .page-item.active .page-link {
  color: #fff;
}

.single-post-hero .hero-title {
  margin-bottom: 12px;
}

.single-post-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.single-post-meta svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.single-post-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.single-post-content {
  color: var(--text);
  font-size: 1.02rem;
}

.single-post-content h3 {
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.toc-list a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.toc-list a::before {
  color: var(--muted);
}

.toc-list a:hover,
.toc-list a:focus-visible {
  color: var(--orange);
}

.toc-list a:hover::before,
.toc-list a:focus-visible::before {
  color: var(--orange);
}

.single-post-author-name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.single-post-author-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.single-post-nav-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.single-post-nav-btn:hover,
.single-post-nav-btn:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.sidebar-related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.sidebar-related-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.sidebar-related a:hover .sidebar-related-title,
.sidebar-related a:focus-visible .sidebar-related-title {
  color: var(--orange);
}

[data-theme="dark"] .single-post-author-avatar {
  background: #334155;
}

.hero-excerpt,
.section-copy,
.card-excerpt,
.muted,
.byline,
.privacy-note,
.footer-copy {
  color: var(--muted);
}

.hero-excerpt {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 18px;
}

@media (max-width: 991.98px) {
  .hero-title {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 5.4vw, 1.85rem);
  }

  .hero-excerpt {
    font-size: 0.92rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero .btn-story {
    padding: 10px 14px;
  }
}

@media (max-width: 767.98px) {
  .hero-tile-title {
    font-size: 1.02rem;
    max-width: none;
  }

  .hero-tile-main .hero-tile-title {
    font-size: clamp(1.28rem, 5.4vw, 1.7rem);
    max-width: 18ch;
  }

  .hero-grid-side .hero-tile-meta {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-excerpt {
    -webkit-line-clamp: 2;
  }
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  text-transform: capitalize;
}

.home .section-title,
.front-page .section-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
}

.section-dark .section-title{
  border-bottom: none;
}

.section-copy {
  margin: 8px 0 0;
  max-width: 48ch;
}

.hero-tile {
  border-radius: 0;
  background: #1e293b;
  box-shadow: var(--shadow);
  color: #fff;
}

.hero-tile > a {
  color: #fff;
}

.hero-tile > a:hover,
.hero-tile > a:focus-visible {
  color: #fff;
}

.hero-tile > a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.hero-tile > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.08) 22%,
    rgba(15, 23, 42, 0.42) 58%,
    rgba(15, 23, 42, 0.86) 100%
  );
}

.hero-tile-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

.hero-tile-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.28;
  max-width: 28ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-tile-main .hero-tile-title {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
/*   max-width: 16ch; */
  -webkit-line-clamp: 4;
}

.hero-tile-wide .hero-tile-title {
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  max-width: 22ch;
}

.hero-tile-meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.hero-tile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-tile-meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.92;
}

.hero-tile img {
  transition: transform 0.55s ease;
}

.hero-tile:hover img {
  transform: scale(1.04);
}

.hero-split {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text);
  overflow: hidden;
}

.hero-split > a {
  color: inherit;
}

.hero-split > a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.hero-split-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-split-title {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-split-arrow {
  color: var(--orange);
  font-size: 0.95em;
}

.hero-split-excerpt {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-split-media {
  transition: flex-basis 0.4s ease 0.15s, width 0.4s ease 0.15s;
}

.hero-split-media img {
  transition: transform 0.55s ease;
}

.hero-split:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #c7d2fe;
}

.hero-split:hover .hero-split-media {
  flex: 0 0 70%;
  width: 70%;
}

.hero-split:hover .hero-split-media img {
  object-fit: cover;
  transform: none;
}

.hero-split:hover .hero-split-arrow {
  color: var(--orange);
}

.media,
.card-media {
  border-radius: var(--radius);
  background: #dbe3ee;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
  cursor: default;
}

.trending-pagination.swiper-pagination-horizontal,
.topics-pagination.swiper-pagination-horizontal {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  transform: none;
}

.trending-pagination .swiper-pagination-bullet,
.topics-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 2px;
  background: transparent;
  border: 1.5px solid #fdba74;
  opacity: 1;
}

.trending-pagination .swiper-pagination-bullet-active,
.topics-pagination .swiper-pagination-bullet-active {
  background: var(--orange);
  border-color: var(--orange);
}

.media img,
.card-media img {
  transition: transform 0.55s ease;
}

.article-card:hover .card-media img,
.stack-item:hover img,
.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.surface-card,
.topic-card,
.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.topic-card:hover,
.stack-item:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #c7d2fe;
}

.blog-card-media {
  border-radius: 14px 14px 0 0;
  background: #dbe3ee;
}

.blog-card-row .blog-card-media {
  border-radius: 12px;
}

@media (max-width: 991.98px) {
  .blog-card-row .blog-card-media {
    border-radius: 14px 14px 0 0;
  }
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-meta,
.blog-card-date,
.blog-card-excerpt {
  margin: 0;
  color: var(--muted);
}

.blog-card-meta {
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: normal !important;
  font-weight: 400;
}

.blog-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-transform: none;
}

.blog-card-featured .blog-card-title {
  font-size: 1.45rem;
}

.blog-card-arrow {
  flex-shrink: 0;
  font-size: 0.95em;
  color: var(--muted);
  line-height: 1.2;
}

.blog-card:hover .blog-card-arrow {
  color: var(--orange);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card-tag[data-tone="orange"] {
  background: rgba(245, 115, 2, 0.12);
  color: #c05600;
}

.blog-card-tag[data-tone="teal"] {
  background: rgba(20, 184, 166, 0.14);
  color: #0f766e;
}

.blog-card-tag[data-tone="navy"] {
  background: rgba(15, 23, 42, 0.08);
  color: var(--navy);
}

.blog-card-date {
  font-size: 12px;
}

.blog-card-row .blog-card-title {
  font-size: 1rem;
}

.blog-card-row .blog-card-excerpt {
  -webkit-line-clamp: 2;
}

.topic-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--orange);
  margin-bottom: 10px;
}

.topic-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.section-head .kicker {
  justify-content: center;
}

.section-head .section-copy {
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background: var(--navy);
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-copy {
  color: #94a3b8;
}

.section-dark .kicker {
  color: #fdba74;
}

.section-dark .kicker::before {
  background: var(--orange);
}

.section-dark .topic-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: #fff;
  align-items: center;
}

.section-dark .topic-card h3 {
  color: #fff;
}

.section-dark .topic-icon {
  background: rgba(245, 115, 2, 0.16);
  color: #fdba74;
}

.section-dark .topic-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.section-dark .insights-more {
  color: #fff;
}

.section-dark .insights-more:hover,
.section-dark .insights-more:focus-visible {
  color: #fdba74;
}

.section-dark .insights-lead-title,
.section-dark .insights-compact-title {
  color: #fff;
}

.section-dark .insights-lead-meta,
.section-dark .insights-compact-meta {
  color: #94a3b8;
}

.section-dark .insights-grid {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.section-dark .insights-compact {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  border-right-color: rgba(255, 255, 255, 0.18);
}

.section-dark .insights-lead:hover .insights-lead-title,
.section-dark .insights-compact:hover .insights-compact-title {
  color: #fdba74;
}

.insights-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.insights-more:hover,
.insights-more:focus-visible {
  color: var(--orange);
}

.insights-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.insights-more-icon img {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}
.insights-more-icon img:hover{
  width: 12px;
  height: 12px;
	transition-duration: 0.08s;
}

.insights-more-mobile {
  margin-top: 4px;
}



.insights-lead-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  line-height: 1.28;
}

.insights-lead-meta,
.insights-compact-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.insights-compact-title {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.insights-lead-media img,
.insights-compact-media img {
  transition: transform 0.55s ease;
}

.insights-lead:hover .insights-lead-media img,
.insights-compact:hover .insights-compact-media img {
  transform: scale(1.04);
}

.insights-lead:hover .insights-lead-title,
.insights-compact:hover .insights-compact-title {
  color: var(--orange);
}

[data-theme="dark"] .insights-more {
  color: #fff;
}

[data-theme="dark"] .insights-more:hover,
[data-theme="dark"] .insights-more:focus-visible {
  color: var(--orange);
}

.article-card {
  overflow: hidden;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title,
.stack-title {
  margin: 0;
  font-size: 0.12rem;
  font-weight: 800;
}

.featured-card .card-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.card-excerpt,
.stack-item p {
  margin: 0;
  font-size: 0.95rem;
}

.stack-list {
  border-top: 1px solid var(--line);
}

.stack-item {
  border-bottom: 1px solid var(--line);
}

.stack-item:last-child {
  border-bottom: 0;
}

.stack-thumb {
  border-radius: 12px;
  overflow: hidden;
  background: #dbe3ee;
  aspect-ratio: 4 / 3;
}

.dot::before {
  content: "·";
  margin-right: 2px;
}

.magazine-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.newsletter-panel {
  background:
    radial-gradient(circle at 90% 10%, rgba(20, 184, 166, 0.22), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(245, 115, 2, 0.2), transparent 32%),
    var(--navy);
  color: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
}

.kicker-light,
.kicker-light::before {
  color: #99f6e4;
}

.kicker-light::before {
  background: #99f6e4;
}

.newsletter-panel h2,
.newsletter-panel p {
  color: #fff;
}

.footer-brand .brand-text {
  display: block;
}

.newsletter-panel p {
  opacity: 0.82;
  max-width: 42ch;
}

.form-control {
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 14px;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.privacy-note {
  font-size: 12px;
  color: #cbd5e1;
}

.form-success {
  display: none;
  margin: 0;
  color: #99f6e4;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  background: var(--navy);
  color: #e2e8f0;
}

.site-footer a {
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-title {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .brand-name,
.footer-brand .brand-tag {
  color: #fff;
}

.footer-brand .brand-name span {
  color: #5eead4;
}

.footer-copy {
  color: #94a3b8;
  font-size: 14px;
  max-width: 36ch;
  margin-top: 32px;
}

.footer-logo {
  background: white;
  display: flex;
  min-width: 200px;
  max-height: 100px;
  align-items: center;
  position: absolute;
  bottom: -12px;
  box-shadow: var(--shadow-hover);
}

.footer-logo img,
.footer-logo svg {
  display: block;
  height: auto;
  width: 200px;
  /* filter: brightness(0) invert(1); */
}

.footer-email {
  margin: 0 0 22px;
}

.footer-email a {
  color: #e2e8f0;
  font-size: 15px;
}

.footer-email a:hover {
  color: #fff;
}

.social-list a {
  width: 38px;
  height: 38px;
  border: 1px solid #334155;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0f172a;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social-list a svg {
  display: block;
}

.social-list a:hover {
  border-color: #64748b;
  transform: translateY(-2px);
  color: #fff;
}

.social-list a.social-x:hover {
  background: #000;
  border-color: #000;
}

.social-list a.social-instagram:hover {
  border-color: #d6249f;
}

.social-list a.social-pinterest:hover {
  border-color: #E60023;
}

.social-list a.social-facebook:hover {
  border-color: #1877F2;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  color: #94a3b8;
  font-size: 13px;
}

.offcanvas {
  background: var(--card);
  color: var(--text);
}

.offcanvas-title,
.modal-title {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.offcanvas-nav a {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.modal-content {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .btn-subscribe,
[data-theme="dark"] .btn-primary-ab,
[data-theme="dark"] .btn-story {
  background: var(--orange);
}

[data-theme="dark"] .btn-story:hover {
  background: var(--orange);
  color: var(--white);
}

[data-theme="dark"] .category[data-tone="teal"] {
  color: #5eead4;
}

:focus-visible {
  outline: 3px solid rgba(245, 115, 2, 0.45);
  outline-offset: 2px;
}

.contact-form-card,
.contact-aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-card label,
.contact-aside-card h3 {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-aside-card + .contact-aside-card {
  margin-top: 16px;
}

.contact-aside-card p,
.contact-aside-card a {
  color: var(--muted);
  font-size: 15px;
}

.contact-aside-card a:hover {
  color: var(--orange);
}

.contact-form-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form-card .form-success {
  color: #0f766e;
}

[data-theme="dark"] .contact-form-card .form-success {
  color: #99f6e4;
}

@media (min-width: 992px) {
  .hero-flow {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-flow-orb,
  .hero-flow-chip,
  .hero-flow-dot {
    position: absolute;
    will-change: transform;
  }

  .hero-flow-orb {
    border-radius: 50%;
    filter: blur(28px);
  }

  .hero-flow-orb-1 {
    width: 280px;
    height: 280px;
    top: -60px;
    left: 8%;
    background: rgba(245, 115, 2, 0.14);
    animation: hero-flow-a 18s ease-in-out infinite;
  }

  .hero-flow-orb-2 {
    width: 340px;
    height: 340px;
    right: -40px;
    bottom: -90px;
    background: rgb(20 80 184 / 12%);
    animation: hero-flow-b 22s ease-in-out infinite;
  }

  .hero-flow-orb-3 {
    width: 180px;
    height: 180px;
    top: 18%;
    right: 38%;
    background: rgba(15, 23, 42, 0.06);
    animation: hero-flow-c 16s ease-in-out infinite;
  }

  .hero-flow-chip {
    width: 72px;
    height: 10px;
    border-radius: 999px;
    opacity: 0.35;
  }

  .hero-flow-chip-1 {
    top: 22%;
    left: 42%;
    background: var(--orange);
    animation: hero-flow-a 14s ease-in-out infinite;
  }

  .hero-flow-chip-2 {
    top: 68%;
    left: 18%;
    width: 48px;
    background: var(--teal);
    animation: hero-flow-c 19s ease-in-out infinite;
  }

  .hero-flow-chip-3 {
    top: 36%;
    right: 12%;
    width: 56px;
    background: var(--navy);
    animation: hero-flow-b 17s ease-in-out infinite;
  }

  .hero-flow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.45;
  }

  .hero-flow-dot-1 {
    top: 16%;
    right: 28%;
    animation: hero-flow-c 12s ease-in-out infinite;
  }

  .hero-flow-dot-2 {
    bottom: 18%;
    left: 36%;
    background: var(--teal);
    animation: hero-flow-a 15s ease-in-out infinite;
  }

  .hero-flow-dot-3 {
    top: 48%;
    left: 6%;
    width: 6px;
    height: 6px;
    animation: hero-flow-b 13s ease-in-out infinite;
  }
}

@keyframes hero-flow-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(36px, -28px, 0);
  }
}

@keyframes hero-flow-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-40px, 24px, 0);
  }
}

@keyframes hero-flow-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(22px, 32px, 0);
  }
}

/* —— EMI Calculator —— */
.emi-section {
  padding-bottom: 4rem;
}

.emi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.25rem;
}

.emi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.emi-controls {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.emi-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.emi-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.emi-field label {
  margin: 0;
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.emi-value {
  width: min(150px, 42%);
  border: 1px solid transparent;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) 12%, var(--white));
  color: #0f766e;
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
  padding: 0.55rem 0.75rem;
  outline: none;
}

.emi-value:focus {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent);
}

.emi-range {
  --emi-fill: 50%;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--teal) 0%,
    var(--teal) var(--emi-fill),
    var(--line) var(--emi-fill),
    var(--line) 100%
  );
  outline: none;
  cursor: pointer;
}

.emi-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
}

.emi-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
}

.emi-summary {
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.emi-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.emi-summary dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.emi-summary dd {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
}

.emi-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  min-height: 100%;
}

.emi-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  width: 100%;
}

.emi-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.emi-swatch {
  display: inline-block;
  width: 28px;
  height: 10px;
  border-radius: 4px;
}

.emi-swatch-principal {
  background: var(--soft);
}

.emi-swatch-interest {
  background: var(--orange);
}

.emi-chart-wrap {
  display: grid;
  place-items: center;
  flex: 1;
}

.emi-chart {
  display: block;
  max-width: 100%;
  transform: rotate(-90deg);
}

.emi-ring {
  fill: none;
  stroke-width: 18;
  stroke-linecap: butt;
}

.emi-ring-track {
  stroke: var(--soft);
}

.emi-ring-principal {
  stroke: color-mix(in srgb, var(--soft) 70%, #c7d2fe);
  transition: stroke-dasharray 0.35s ease, stroke-dashoffset 0.35s ease;
}

.emi-ring-interest {
  stroke: var(--orange);
  transition: stroke-dasharray 0.35s ease, stroke-dashoffset 0.35s ease;
}

.emi-amort {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.emi-amort-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.25rem;
}

.emi-amort-toggle:hover {
  color: var(--text);
}

.emi-amort-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.emi-card.is-amort-open .emi-amort-icon {
  transform: rotate(45deg);
  border-color: var(--orange);
  color: var(--orange);
}

.emi-amort-panel {
  margin-top: 1rem;
}

.emi-amort-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.emi-amort-tabs button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.emi-amort-tabs button.is-active {
  background: color-mix(in srgb, var(--orange) 12%, var(--white));
  border-color: color-mix(in srgb, var(--orange) 40%, var(--line));
  color: var(--orange);
}

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

.emi-amort-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.88rem;
}

.emi-amort-table th,
.emi-amort-table td {
  padding: 0.7rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.emi-amort-table th:first-child,
.emi-amort-table td:first-child {
  text-align: left;
}

.emi-amort-table th {
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
}

.emi-amort-table tbody tr:last-child td {
  border-bottom: 0;
}

[data-theme="dark"] .emi-value {
  background: color-mix(in srgb, var(--teal) 18%, var(--card));
  color: #5eead4;
}

[data-theme="dark"] .emi-ring-principal {
  stroke: #334155;
}

[data-theme="dark"] .emi-swatch-principal {
  background: #334155;
}

@media (max-width: 900px) {
  .emi-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .emi-visual {
    order: -1;
  }

  .emi-chart {
    width: 180px;
    height: 180px;
  }
}

/* —— UAGB / Spectra FAQ (minimal) —— */
.uagb-faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  margin-bottom: 10px;
  overflow: hidden;
}

.uagb-faq-questions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
}

.uagb-faq-icon-wrap svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

.uagb-faq-item .uagb-icon-active,
.uagb-faq-item-active .uagb-icon {
  display: none;
}

.uagb-faq-item-active .uagb-icon-active {
  display: inline-flex;
}

.uagb-faq-item .uagb-faq-content {
  display: none !important;
  padding: 0 16px 14px;
}

.uagb-faq-item-active .uagb-faq-content {
  display: block !important;
}

.uagb-question {
  color: var(--text);
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}