/* ============================================
   FRAME COMPUTE, Brand: Frame Living design system
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Frame Living brand palette */
  --black: #000000;
  --white: #FFFFFF;
  --neutral: #666666;
  --neutral-light: #AAAAAA;
  --neutral-lighter: #E6EAEE;
  --neutral-lightest: #F0F1F1;
  --neutral-dark: #343434;
  --neutral-darker: #1D1D1D;
  --neutral-darkest: #121212;
  --blue: #246fbf;
  --blue-dark: #080331;
  --pink: #DD23BB;
  --pink-light: #FFAEFE;
  --pink-dark: #3C043B;
  --bright-red: #246fbf;
  --success-green: #CEF5CA;
  --success-green-dark: #114E0B;
  --warning-yellow: #FCF8D8;
  --warning-yellow-dark: #5E5515;
  --error-red: #F8E4E4;
  --error-red-dark: #3B0B0B;
  --focus-state: #246fbf;

  /* Semantic */
  --bg-primary: #000000;
  --bg-secondary: #246fbf;
  --bg-tertiary: #666666;
  --bg-alternate: #FFFFFF;
  --text-primary: #000000;
  --text-alternate: #FFFFFF;
  --text-secondary: #1D1D1D;
  --border-primary: #F0F1F1;
  --border-secondary: #246fbf;
  --border-alternate: #1D1D1D;

  /* Practical palette */
  --primary-bg: #000000;
  --secondary-bg: #121212;
  --light-bg: #E6EAEE;
  --accent-hover: #246fbf;
  --text-on-dark: #FFFFFF;
  --text-on-light: #000000;
  --muted-text-opacity: 0.6;

  /* Extra section colors */
  --dark-panel-1: #161616;
  --dark-panel-2: #1D1D1D;
  --dark-panel-3: #1C1C1C;
  --accent-section-bg: #A7A5B7;
  --glass-nav: rgba(0,0,0,0.4);
  --glass-cta: rgba(31,28,23,0.55);

  /* Buttons */
  --btn-default-bg: #343434;
  --btn-default-text: #FFFFFF;
  --btn-default-border: rgba(255,255,255,0.42);
  --btn-brand-bg: #E6EAEE;
  --btn-brand-text: #000000;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: #343434;
  --btn-secondary-text: #F0F1F1;

  /* Border radius */
  --radius-button: 8rem;
  --radius-large: 2.5rem;
  --radius-xl: 4rem;
  --radius-nav-pill: 20rem;

  /* Containers */
  --container-small: 60rem;
  --container-medium: 64rem;
  --container-large: 90rem;

  /* Page padding */
  --page-padding: 2.5rem;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--text-alternate);
  background: var(--primary-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
}

h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.5rem, 3.75vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

h4 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

h5 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: var(--glass-nav);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  padding: 16px var(--page-padding);
}

.navbar-logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-logo .logo-frame {
  color: var(--white);
}

.navbar-logo .logo-accent {
  color: var(--neutral-light);
}

/* Glass pill nav CTA */
.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--light-bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.navbar-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.navbar-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.navbar-cta:hover svg {
  transform: translateX(3px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px var(--page-padding) 164px;
  position: relative;
  overflow: hidden;
  background: var(--primary-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/webp/hero_bg-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--primary-bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neutral-light);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 6rem);
  max-width: 900px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 600px;
  color: var(--neutral-light);
  line-height: 1.5;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--neutral);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--neutral);
  border-bottom: 1.5px solid var(--neutral);
  transform: rotate(45deg);
  border-radius: 0;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Section Base --- */
strong {
  font-weight: 700;
}

.section {
  padding: 40px var(--page-padding);
  max-width: calc(var(--container-large) + var(--page-padding) * 2);
  margin: 0 auto;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.5625rem !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neutral-light);
  margin-bottom: 24px;
}

.section h2 {
  margin-bottom: 32px;
  max-width: 700px;
}

.section p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-light);
  max-width: 640px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  max-width: calc(var(--container-large) + var(--page-padding) * 2);
  margin: 0 auto;
}

/* --- What Is Section --- */
.what-is {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: -200px;
}

.what-is-image {
  width: 100%;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: none;
  display: flex;
  flex-direction: column;
}

.what-is-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.compute-badge {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  margin: 0;
  padding: 12px 24px;
  letter-spacing: 0.02em;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: scale(0.75);
  transform-origin: center center;
}

.badge-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.color-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  bottom: 50px;
  position: relative;
  flex-wrap: wrap;
}

.color-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  background: transparent;
  color: var(--neutral-light);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.color-btn.active {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.swatch-white {
  background: #f0f0f0;
}

.swatch-gray {
  background: #6b6b6b;
}

/* --- Problem Section --- */
.problem-section {
  background: var(--secondary-bg);
  padding: 64px var(--page-padding);
  border-radius: var(--radius-xl);
  margin: 0 var(--page-padding);
}

.problem-section .section-inner {
  max-width: var(--container-large);
  margin: 0 auto;
}

.problem-section .section-inner h2 {
  margin-bottom: 2rem;
}

.problem-section .section-inner p + p {
  margin-top: 1.5rem;
}

.problem-chart-wrap {
  position: relative;
  margin-top: 48px;
  padding: 48px;
  background: rgba(255,255,255,0.02);
  border: none;
  border-radius: 2.5rem;
  width: 100%;
}

.problem-chart-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2.5rem;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.problem-two-col {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.problem-chart-col {
  flex: 1;
  min-width: 0;
}

.problem-metrics-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 280px;
  height: 380px;
}

.metric-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: none;
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.metric-label {
  font-size: 13px;
  line-height: 1.1;
  color: #8a8f98;
  margin: 8px 0 0 !important;
}

.metric-value {
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  margin: 0 0 2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-bolt {
  width: 14px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}

.bolt-black {
  color: #000;
  width: 14px;
  height: 20px;
  flex-shrink: 0;
}

.bolt-blue {
  color: #246fbf;
}

.capacity-bar-fill svg {
  width: 8px;
  height: 12px;
}


.metric-value.danger {
  color: #246fbf;
}

.metric-card-shortfall::before {
  background: linear-gradient(
    160deg,
    rgba(36,111,191,0.7) 0%,
    rgba(36,111,191,0.25) 40%,
    rgba(36,111,191,0.08) 70%,
    rgba(36,111,191,0.25) 100%
  );
}

.metric-card-shortfall .metric-label {
  color: #fff;
  font-weight: 600;
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  font-size: 12px;
  color: #8a8f98;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 380px;
}

.sources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a8f98;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.sources-toggle .arrow {
  transition: transform 0.2s;
}

.sources-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  margin-top: 8px;
}

.sources-content.open {
  max-height: 250px;
}

.sources-content p {
  margin: 0;
  font-size: 12px;
  color: #8a8f98;
  line-height: 1.6;
}

.sources-content a {
  color: #8a8f98;
  text-decoration: underline;
}

.problem-chart-wrap .sources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a8f98;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.problem-chart-wrap .sources-toggle .arrow {
  transition: transform 0.2s;
}

.problem-chart-wrap .sources-toggle .arrow.open {
  transform: rotate(90deg);
}

.problem-chart-wrap .sources-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  margin-top: 8px;
}

.problem-chart-wrap .sources-content.open {
  max-height: 200px;
}

.problem-chart-wrap .sources-content p {
  margin: 0;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* --- What's Inside Section --- */
.whats-inside-grid {
  margin-top: 48px;
  position: relative;
  min-height: 250vh;
}

.whats-inside-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-2, rgba(255,255,255,0.03));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 120px;
  overflow: hidden;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.whats-inside-overlay-top {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.whats-inside-specs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 640px;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.whats-inside-specs-mobile {
  display: none;
}

.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.image-placeholder.active {
  opacity: 1;
  z-index: 2;
}

.tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-btn {
  padding: 14px 20px;
  border-radius: 9999px;
  border: 0.5px solid rgba(255,255,255,0.08);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.tab-btn.active {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.content-panel {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
  width: 100%;
}

.content-panel.updating {
  opacity: 0;
}

.config-title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 4px;
  color: #fff;
}

.config-desc {
  font-size: 17px;
  color: #8a8f98;
  margin: 0 0 1.25rem;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 16px;
  margin-top: 0;
  align-items: center;
}

.config-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.config-cell:last-child {
  border-right: none;
}

.config-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

.config-value {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 640px) {
  .whats-inside-grid {
    min-height: auto;
  }

  .whats-inside-image {
    aspect-ratio: 3/4;
    position: relative;
    top: auto;
  }

  .whats-inside-overlay-top {
    top: 16px;
  }

  .whats-inside-specs {
    display: none;
  }

  .whats-inside-specs-mobile {
    display: block;
    margin-top: 16px;
  }

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

  .config-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 8px;
  }

  .config-cell:last-child,
  .config-grid > .config-cell:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* --- Problem Chart --- */
.problem-chart {
  margin-top: 48px;
  width: 100%;
  border-radius: var(--radius-large);
}

.problem-sources {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--neutral);
  line-height: 1.8;
}

/* --- Solution Section --- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.solution-chart {
  width: 100%;
  margin-top: 32px;
}

.capacity-diagram {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: center;
}

.capacity-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: auto;
}

.capacity-right-col > div.fade-in:first-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capacity-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-large);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.capacity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-large);
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.capacity-arrow {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.capacity-card-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.capacity-card-icon img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  object-position: center;
}

.capacity-card-label {
  max-width: none !important;
  color: var(--neutral-light) !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.15em !important;
  line-height: 1;
  text-transform: uppercase;
}

.capacity-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.capacity-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 60px;
  height: 140px;
  flex-shrink: 0;
  position: relative;
}

.capacity-bar {
  width: 100%;
  border-radius: 3px;
  position: relative;
  background: #fff;
}

.capacity-bar-fill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


.capacity-bar.safety-reserve,
.capacity-legend-swatch.safety-reserve {
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.15) 2px,
    transparent 2px,
    transparent 6px
  );
}

.capacity-bar-max-use,
.capacity-legend-swatch-max-use {
  background: rgba(255,255,255,0.15);
}

.capacity-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.capacity-info p {
  margin: 0;
  font-size: 21px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  opacity: 1;
}

.capacity-info-sub {
  font-size: 11px !important;
  color: var(--neutral-muted) !important;
  font-weight: 300 !important;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5 !important;
}

.capacity-info strong {
  color: var(--white);
  font-weight: 700;
}

.capacity-legend {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
  padding-right: 0;
}

.capacity-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capacity-legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.capacity-legend-item span:last-child {
  font-size: 12px;
  color: var(--neutral-light);
}

/* --- Powered By Section --- */
.powered-by {
  text-align: center;
  padding: 64px var(--page-padding);
  max-width: var(--container-medium);
  margin: 0 auto;
}

.powered-by h2 {
  margin-left: auto;
  margin-right: auto;
}

.powered-by p {
  margin-left: auto;
  margin-right: auto;
}

.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 36px;
  background: var(--btn-default-bg);
  color: var(--btn-default-text);
  border: 1px solid var(--btn-default-border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-button);
  transition: all 0.3s ease;
}

.blog-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* --- Node Specs Section --- */
.node-section {
  background: var(--secondary-bg);
  padding: 64px var(--page-padding);
  border-radius: var(--radius-xl);
  margin: 0 var(--page-padding);
}

.node-section .section-inner {
  max-width: var(--container-large);
  margin: 0 auto;
}

.node-section .section-inner h2 {
  margin-bottom: 2rem;
}

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

.spec-card {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-large);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.spec-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.spec-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-light);
  margin-bottom: 24px;
}

.spec-card ul {
  list-style: none;
  padding: 0;
}

.spec-card li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--neutral-lighter);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: -0.02em;
}

.spec-card li:last-child {
  border-bottom: none;
}

/* --- Cloud Section --- */
.cloud-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cloud-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#cloud-globe {
  width: 100%;
  height: 100%;
  position: relative;
  transform: scale(1.5);
  transform-origin: center center;
}
#cloud-globe canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}

/* --- Income Calculator --- */
/* --- Homes Grid Section --- */
.homes-grid {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  grid-template-rows: auto auto 170px 170px;
  gap: 48px 96px;
  margin-top: 40px;
  justify-content: center;
  position: relative;
  background: none;
}

.token-request-box {
  grid-column: 1 / -1;
  justify-self: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  height: auto;
  align-self: start;
  padding: 10px 18px;
  background: rgba(85, 85, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  position: relative;
  z-index: 3;
  transform: translateY(-10px);
}

.token-target-dot {
  grid-column: 1 / -1;
  justify-self: center;
  width: 8px;
  height: 8px;
  background: #246fbf;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 6px rgba(36, 111, 191, 0.5);
  position: relative;
  z-index: 3;
  transform: translateY(-40px);
}

.token-target-dot {
  grid-column: 1 / -1;
  justify-self: center;
  width: 8px;
  height: 8px;
  background: #246fbf;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 6px rgba(36, 111, 191, 0.5);
  position: relative;
  z-index: 3;
}

.homes-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Classifier-based sizing — scale only the background home image, not the whole item */
.homes-grid-item[data-classifier="oceanside"] > img:first-child {
  transform: scale(0.8);
}

/* Small node indicator in bottom-right corner of each home */
.homes-node {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 0 4px rgba(36, 111, 191, 0.5));
}

.homes-earning {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  z-index: 10;
  padding: 3px 8px;
  background: rgba(85, 85, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: background 0.15s;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.homes-earning::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(85, 85, 85, 0.5);
}

/* Canvas for animated data signals */
.homes-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.homes-grid-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Income Calculator --- */
.income-calculator {
  text-align: center;
  padding: 64px var(--page-padding);
  max-width: calc(var(--container-large) + var(--page-padding) * 2);
  margin: 0 auto;
}

.income-calculator h2 {
  margin-left: auto;
  margin-right: auto;
}

.calc-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-nav-pill);
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.calc-btn {
  background: transparent;
  border: none;
  color: var(--neutral-light);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: var(--radius-nav-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.calc-btn.active {
  background: var(--white);
  color: var(--black);
}

.calc-btn:hover:not(.active) {
  color: var(--white);
}

.calc-rate-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.calc-rate {
  font-size: 14px;
  color: var(--neutral-light);
  opacity: var(--muted-text-opacity);
  letter-spacing: -0.02em;
}

.electric-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.electric-label {
  font-size: 12px;
  color: var(--neutral-light);
  opacity: var(--muted-text-opacity);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.electric-rate-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}

.electric-rate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.electric-rate-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.electric-rate-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
}

.electric-rate-display {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  min-width: 60px;
  letter-spacing: -0.02em;
}

.calc-est-cost {
  font-size: 13px;
  color: var(--neutral-light);
  opacity: 0.7;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.calc-est-cost .bolt-icon {
  display: inline-block;
  fill: currentColor;
  color: inherit;
  flex-shrink: 0;
}

.calc-card.highlight .calc-est-cost {
  color: var(--black);
  opacity: 0.5;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.calc-card {
  position: relative;
  padding: 40px 28px;
  border-radius: var(--radius-large);
  transition: all 0.3s ease;
}

.calc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-large);
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.calc-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.calc-card.highlight {
  background: var(--white);
  position: relative;
}

.calc-card.highlight .calc-card-label,
.calc-card.highlight .calc-card-value,
.calc-card.highlight .calc-card-value .value-period,
.calc-card.highlight .calc-card-util {
  color: var(--black);
}

.calc-card.highlight .calc-card-value .value-period {
  opacity: 0.6;
}

.calc-card.highlight .calc-card-util {
  opacity: 0.6;
}

.calc-card-label {
  font-size: 14px;
  color: var(--neutral-light);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.calc-card-value {
  font-size: 42px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.calc-card-value .value-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--neutral-light);
  margin-left: 4px;
  letter-spacing: -0.02em;
}

.calc-card-util {
  font-size: 14px;
  color: var(--neutral-light);
  opacity: var(--muted-text-opacity);
  letter-spacing: -0.02em;
}

.calc-footnote {
  font-size: 13px;
  color: var(--neutral-light);
  opacity: var(--muted-text-opacity);
  margin-top: 32px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .calc-results {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .calc-card {
    padding: 20px 20px;
  }

  .calc-card-label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .calc-card-value {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .calc-card-value .value-period {
    font-size: 13px;
  }

  .calc-card-util {
    font-size: 12px;
  }

  .calc-rate-row {
    flex-direction: column;
    gap: 12px;
  }

  .electric-slider-wrap {
    width: 100%;
    justify-content: center;
  }

  .electric-rate-slider {
    width: 100px;
  }

  .calc-est-cost {
    font-size: 12px;
  }

  .calc-toggle {
    border-radius: var(--radius-large);
  }

  .calc-footnote {
    margin-top: 20px;
    font-size: 12px;
  }
}

/* --- Host Benefits --- */
.host-benefits {
  text-align: center;
  padding: 64px var(--page-padding);
  max-width: calc(var(--container-large) + var(--page-padding) * 2);
  margin: 0 auto;
}

.host-benefits h2 {
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.benefit-item {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--radius-large);
  transition: background 0.3s ease;
}

.benefit-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-large);
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--white);
  opacity: var(--muted-text-opacity);
}

.benefit-icon img {
  width: 100%;
  height: 100%;
}

.benefit-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.benefit-item p {
  font-size: 14px;
  color: var(--neutral-light);
  line-height: 1.6;
  max-width: none;
  letter-spacing: -0.02em;
}

/* --- Contact / Footer --- */
.footer {
  background: var(--secondary-bg);
  padding: 64px var(--page-padding) 48px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin: 0 var(--page-padding);
}

.footer-inner {
  max-width: var(--container-large);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.contact-form h2 {
  font-size: 48px;
  margin-bottom: 40px;
}

.contact-image {
  display: flex;
  align-items: stretch;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-large);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: var(--radius-button);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  outline: none;
  transition: background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--neutral-darkest);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.submit-btn:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.form-consent {
  margin-top: 16px;
  font-size: 11px;
  color: var(--neutral);
  line-height: 1.6;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.social-links a {
  color: var(--neutral-light);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--white);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* --- Footer Bottom --- */
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--neutral);
  max-width: none;
}

.footer-bottom a {
  font-size: 12px;
  color: var(--neutral-light);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- 3D Model Viewer Section --- */
.model-viewer-section {
  text-align: center;
  padding: 0;
  max-width: none;
  margin: 0 auto;
}

.model-viewer-section h2 {
  margin-left: auto;
  margin-right: auto;
}

.model-viewer-inner {
  max-width: var(--container-large);
  margin: 0 auto;
}

.model-viewer-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  overflow: hidden;
}



.model-viewer-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Light Controls Panel --- */
.light-controls {
  display: none;
}
.lc-trigger {
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.6);
  color: #888;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 4px 4px 0;
  user-select: none;
  transition: color .2s;
}
.lc-trigger:hover { color: #fff; background: rgba(0,0,0,0.8); }
.light-controls.open .lc-trigger { display: none; }
.lc-panel {
  display: none;
  width: 240px;
  height: 100%;
  background: rgba(0,0,0,0.85);
  color: #ccc;
  font: 11px/1.4 Inter, sans-serif;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.light-controls.open .lc-panel { display: flex; }
.lc-header {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lc-toggle { transition: transform .2s; }
.lc-header .lc-toggle { transform: rotate(90deg); }
.light-controls:not(.open) .lc-toggle { transform: rotate(0deg); }
.lc-body {
  flex: 1;
  overflow-y: auto;
  display: block;
  padding: 4px 0;
}
.lc-light {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 6px 10px;
}
.lc-light-name {
  font-size: 10px;
  font-weight: 600;
  color: #8af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.lc-row {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 2px 0;
}
.lc-row label {
  width: 10px;
  font-size: 9px;
  color: #888;
  flex-shrink: 0;
}
.lc-row input[type="range"] {
  flex: 1;
  height: 12px;
  accent-color: #6af;
  min-width: 0;
}
.lc-row input[type="color"] {
  width: 22px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  background: none;
  cursor: pointer;
}
.lc-row .lc-val {
  width: 30px;
  font-size: 9px;
  color: #aaa;
  text-align: right;
  flex-shrink: 0;
}
.lc-copy-btn {
  padding: 6px;
  font: 11px Inter, sans-serif;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ccc;
  cursor: pointer;
  border-radius: 0;
  flex-shrink: 0;
  transition: background .2s;
}
.lc-copy-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .what-is {
    grid-template-columns: 1fr;
    gap: 32px;
    display: grid;
    grid-template-rows: auto auto;
  }

  .what-is > :first-child {
    order: 2;
  }

  .what-is > :last-child {
    order: 1;
  }

  .solution-grid,
  .cloud-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cloud-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
  }

  .cloud-visual {
    width: 100% !important;
    max-width: 350px;
    height: 350px !important;
    margin: 0 auto;
  }

  #cloud-globe {
    transform: none !important;
  }

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

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

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

  .contact-image {
    display: none;
  }

  .capacity-diagram {
    flex-direction: column;
    gap: 32px;
  }

  .capacity-right-col > div.fade-in:first-child {
    flex-direction: column;
    gap: 16px;
  }

  .capacity-card {
    padding: 18px;
    gap: 16px;
  }

  .capacity-card-icon img {
    width: 60px;
    height: 60px;
  }

  .capacity-card-icon {
    gap: 4px;
  }

  .capacity-card-label {
    font-size: 0.6rem !important;
  }

  .capacity-arrow {
    width: 12px;
    height: 12px;
  }

  .capacity-bar-wrap {
    width: 40px;
    height: 100px;
    gap: 3px;
  }

  .capacity-info p {
    font-size: 16px;
  }

  .capacity-info-sub {
    font-size: 9px !important;
  }

  .capacity-card .bolt-black,
  .capacity-card .bolt-blue {
    width: 14px;
    height: 22px;
  }

  .capacity-right-col {
    width: 100%;
  }

  .problem-section,
  .node-section,
  .footer {
    margin: 0 1rem;
    border-radius: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --page-padding: 1.25rem;
  }

  .navbar {
    padding: 16px 1.25rem;
  }

  .hero {
    padding: 100px 1.25rem 60px;
  }

  .section {
    padding: 40px 1.25rem;
  }

  .problem-section,
  .node-section {
    padding: 48px 1.25rem;
  }

  .problem-chart-wrap {
    padding: 24px 16px;
    border-radius: 1.5rem;
  }

  .problem-two-col {
    flex-direction: column;
  }

  .problem-metrics-col {
    width: 100%;
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .metric-card {
    padding: 14px 16px;
  }

  .metric-value {
    font-size: 34px;
    line-height: 1;
  }

  .chart-wrap {
    height: 280px;
  }

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

  .color-selector {
    bottom: 30px;
    flex-direction: column;
    gap: 12px;
  }

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

  .footer {
    padding: 48px 1.25rem 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .problem-section,
  .node-section,
  .footer {
    margin: 0 0.5rem;
    border-radius: 1rem;
  }

  /* --- Homes Grid mobile --- */
  .homes-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto 140px 140px;
    gap: 24px 16px;
    max-width: 100%;
    overflow: visible;
  }

  .homes-grid-item > img:first-child {
    transform: scale(0.75);
  }

  .homes-grid-item img {
    max-width: 100%;
    max-height: 130px;
  }

  .homes-node {
    width: 48px;
    height: 48px;
    bottom: -2px;
    right: -2px;
  }

  .homes-earning {
    font-size: 0.55rem;
    padding: 2px 6px;
    top: -20px;
  }

  .token-request-box {
    font-size: 0.65rem;
    padding: 8px 12px;
  }

}
