/* ═══ REALTIME ENERGY ═══════════════════════════════════════════════ */
:root {
  --acc:  #f59e0b;
  --acc2: rgba(245,158,11,0.10);
  --acc3: rgba(245,158,11,0.04);
  --bg:   #080600;
  --text: #d4ccb8;
  --dim:  rgba(212,204,184,0.48);
  --grn:  #00c896;
  --mono: 'JetBrains Mono', monospace;
  --serif:'Cormorant Garamond', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--serif); font-size: 1.05rem; line-height: 1.75; }
a { color: var(--acc); text-decoration: none; }
strong { color: #f5edd8; font-weight: 600; }
code { font-family: var(--mono); font-size: 0.82em; color: var(--acc); }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7rem 2rem 5rem; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,158,11,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(245,158,11,0.04) 1px,transparent 1px); background-size: 44px 44px; pointer-events: none; }
.hero-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; color: rgba(245,158,11,0.55); margin-bottom: 2.5rem; }
.hero-title { font-family: var(--serif); font-size: clamp(3.5rem,9vw,7rem); font-weight: 300; letter-spacing: -0.02em; color: #f5edd8; line-height: 1; margin-bottom: 1.2rem; }
.hero-sub { font-family: var(--serif); font-size: 1.35rem; font-style: italic; font-weight: 300; color: var(--dim); margin-bottom: 2rem; }

/* FREQUENCY DISPLAY */
.freq-display { font-family: var(--mono); text-align: center; margin: 1.5rem auto 2rem; }
.freq-num { font-size: clamp(3rem,8vw,5rem); color: var(--acc); line-height: 1; letter-spacing: 0.06em; animation: freq-pulse 2.4s ease-in-out infinite alternate; }
.freq-label { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--dim); margin-top: 0.4rem; }
@keyframes freq-pulse { from { opacity: 0.75; } to { opacity: 1; } }

.s { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.s-2 { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.s-divider { border: none; border-top: 1px solid rgba(245,158,11,0.09); }
.sec-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: rgba(245,158,11,0.52); text-transform: uppercase; margin-bottom: 1.2rem; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem,3.5vw,2.7rem); font-weight: 300; color: #f5edd8; margin-bottom: 1.6rem; line-height: 1.2; }
p { margin-bottom: 1.1rem; }
.pull { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--acc); line-height: 1.55; margin: 2rem 0; padding-left: 1.2rem; border-left: 2px solid rgba(245,158,11,0.38); }

/* ANALOGY TABLE */
.analogy-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.analogy-table th { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.15em; color: var(--dim); text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid rgba(245,158,11,0.18); }
.analogy-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.92rem; }
.analogy-table td:first-child { font-family: var(--mono); font-size: 0.7rem; color: rgba(245,158,11,0.75); }
.analogy-table td:nth-child(2) { color: rgba(205,199,192,0.6); }
.analogy-table td:last-child { color: rgba(245,158,11,0.9); }

/* PRICE TICKER */
.price-ticker { font-family: var(--mono); font-size: 0.72rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(245,158,11,0.18); border-left: 3px solid var(--acc); padding: 1rem 1.2rem; line-height: 2; margin-top: 1.5rem; }
.pt-head { font-size: 0.6rem; letter-spacing: 0.18em; color: rgba(245,158,11,0.5); margin-bottom: 0.6rem; }
.pt-pos { color: var(--grn); }
.pt-neg { color: rgba(255,80,80,0.8); }
.pt-dim { color: var(--dim); }
.pt-acc { color: var(--acc); }

/* DEMAND CARDS */
.demand-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.12); margin-top: 2rem; }
.demand-card { background: var(--bg); padding: 1.4rem 1.2rem; }
.dc-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.dc-title { font-family: var(--mono); font-size: 0.68rem; color: var(--acc); margin-bottom: 0.4rem; letter-spacing: 0.08em; }
.dc-desc { font-size: 0.88rem; line-height: 1.6; }

.s-close { background: rgba(245,158,11,0.03); border-top: 1px solid rgba(245,158,11,0.1); }
.close-inner { max-width: 820px; margin: 0 auto; padding: 7rem 2rem; text-align: center; }
.close-inner h2 { font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 300; color: #f5edd8; font-style: italic; line-height: 1.3; }
.site-footer { text-align: center; padding: 1.8rem; font-family: var(--mono); font-size: 0.68rem; color: var(--dim); border-top: 1px solid rgba(255,255,255,0.04); }

@media (max-width: 760px) {
  .s-2 { grid-template-columns: 1fr; padding: 3rem 1.2rem; }
  .s   { padding: 3rem 1.2rem; }
  .demand-grid { grid-template-columns: 1fr; }
}
