:root {
  --blend-bg: #0a0a0a;
  --blend-fg: #fafafa;
  --blend-muted: #a1a1aa;
  --blend-card: #111113;
  --blend-card-2: #1a1a1f;
  --blend-line: #27272a;
  --blend-accent: #fdba74;
  --blend-accent-2: #d69043;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.dwell-ai-route {
  color: var(--blend-fg);
  background:
    radial-gradient(1000px 420px at 20% -10%, #1c1c21 0%, transparent 62%),
    radial-gradient(900px 350px at 85% 0%, #2f2115 0%, transparent 58%),
    var(--blend-bg);
}

#root {
  min-height: 10px;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.9), rgba(9, 9, 11, 0.84));
  border-bottom: 1px solid rgba(253, 186, 116, 0.22);
}

.shell-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 18px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blend-fg);
}

.brand-logo {
  width: 96px;
  height: auto;
  display: block;
}

.dwell-home-brand-logo {
  width: 96px;
  max-width: min(96px, 36vw);
  height: auto;
  display: block;
}

.brand-sub {
  display: block;
  color: var(--blend-muted);
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 0.81rem;
}

.top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-tabs a {
  text-decoration: none;
  color: #f8fafc;
  border: 1px solid rgba(253, 186, 116, 0.24);
  background: linear-gradient(180deg, #1a1a1f, #111113);
  padding: 8px 13px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: 180ms ease;
}

.top-tabs a:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 186, 116, 0.52);
}

.top-tabs a.is-active {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blend-accent), var(--blend-accent-2));
  box-shadow: 0 10px 18px rgba(214, 144, 67, 0.28);
}

.dwell-blog-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dwell-blog-menu .dwell-blog-trigger {
  cursor: pointer;
}

.dwell-blog-dropdown {
  display: grid;
  gap: 6px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(253, 186, 116, 0.28);
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.92), rgba(8, 8, 10, 0.92));
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.4);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.985);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dwell-blog-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.dwell-blog-menu.open .dwell-blog-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dwell-blog-dropdown a {
  display: block;
  text-decoration: none;
  color: #f8fafc;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 0.88rem;
  border: 1px solid rgba(253, 186, 116, 0.18);
  border-radius: 10px;
  padding: 9px 10px;
  background: linear-gradient(180deg, #1b1b22, #111116);
}

.dwell-blog-dropdown a:hover {
  border-color: rgba(253, 186, 116, 0.48);
  color: #fde68a;
}

#root .dwell-sell-link-fix {
  color: #f4f4f5 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

#root .dwell-sell-link-fix:hover {
  color: #fde68a !important;
}

.page-wrap {
  max-width: 1180px;
  margin: 24px auto 60px;
  padding: 0 18px;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.card {
  background: linear-gradient(180deg, rgba(26, 26, 31, 0.94), rgba(17, 17, 19, 0.94));
  border: 1px solid var(--blend-line);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(253, 186, 116, 0.04),
    0 24px 40px rgba(0, 0, 0, 0.35);
}

.card.main {
  padding: 26px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 0.72rem;
  color: var(--blend-accent);
  margin: 0 0 8px;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
  color: #f8fafc;
}

h1 {
  font-size: clamp(1.95rem, 2.1vw + 0.9rem, 2.75rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.35rem, 1.2vw + 0.7rem, 1.82rem);
  margin-top: 28px;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.13rem;
  margin-top: 14px;
  margin-bottom: 6px;
}

p,
li {
  color: #e5e7eb;
  font-family: "Montserrat", "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0 0 14px;
}

p strong {
  color: #fde68a;
  font-weight: 600;
}

.content-section {
  scroll-margin-top: 132px;
  padding-top: 4px;
}

.content-section + .content-section {
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(253, 186, 116, 0.12);
}

.map-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.map-copy {
  color: var(--blend-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

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

.map-item {
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #16161a, #101012);
  border: 1px solid #26262b;
  border-radius: 12px;
  padding: 10px 11px;
  color: #f3f4f6;
}

.map-item b {
  display: block;
  font-size: 0.9rem;
  color: #f8fafc;
  margin-bottom: 3px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.map-item span {
  display: block;
  color: #a1a1aa;
  font-size: 0.82rem;
  line-height: 1.45;
  font-family: "Montserrat", sans-serif;
}

.map-item.current {
  border-color: rgba(253, 186, 116, 0.45);
  background: linear-gradient(140deg, rgba(253, 186, 116, 0.12), rgba(214, 144, 67, 0.2));
}

.micro-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.micro-links a {
  text-decoration: none;
  background: linear-gradient(180deg, #1f1f25, #17171b);
  border: 1px solid #34343a;
  color: #f8fafc;
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.88rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
}

.micro-links a:hover {
  border-color: rgba(253, 186, 116, 0.45);
  color: #fde68a;
}

@media (max-width: 960px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .card.map {
    position: static;
    top: auto;
  }
}
