/* Green Energy MAB Ltd — proto_v0.4 */
:root {
  color-scheme: light;
  --ink: #1a2a32;
  --muted: #56646a;
  --paper: #f7f8f6;
  --line: #dce2df;
  --accent: #7c967c;
  --accent-light: #b9d7a4;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(calc(100% - 96px), 1380px); margin-inline: auto; }
.site-header { height: 98px; flex-shrink: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; font-size: 1.12rem; font-weight: 700; letter-spacing: .035em; }
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a { position: relative; font-size: .82rem; text-decoration: none; color: var(--muted); }
.top-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform .18s ease;
}
.top-nav a:hover::after, .top-nav a[aria-current='page']::after { transform: scaleX(1); }
main { flex: 1 0 auto; background: var(--paper); }
.home-main { min-height: calc(100svh - 174px); display: grid; grid-template-columns: minmax(540px, 1fr) minmax(0, 1fr); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 80px clamp(40px, 5vw, 100px) 90px clamp(48px, 5vw, 100px); }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; color: #657b70; margin: 0 0 34px; }
.hero-copy h1 { font-size: clamp(2.55rem, 4.4vw, 5rem); line-height: 1.09; letter-spacing: -.048em; font-weight: 500; max-width: 750px; margin: 0 0 38px; }
.hero-copy .lead { font-size: clamp(1.08rem, 1.42vw, 1.36rem); line-height: 1.55; max-width: 660px; margin: 0 0 26px; }
.hero-copy .note { font-size: clamp(.97rem, 1.08vw, 1.08rem); line-height: 1.7; color: var(--muted); max-width: 630px; margin: 0; }
.small-rule { width: 46px; height: 3px; background: var(--accent); margin: 0 0 33px; }
.hero-image { min-height: 520px; background: #b8c6ca url('assets/battery-storage.webp') center center / cover no-repeat; }
.site-footer { min-height: 76px; flex-shrink: 0; background: var(--ink); color: var(--paper); border-top: 3px solid var(--accent); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.copyright { font-size: .78rem; color: #c9d5d4; }
.copyright a { color: inherit; text-decoration: none; }
.copyright a:hover { color: var(--accent-light); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .82rem; text-decoration: none; color: #d6e0dc; }
.footer-links a:hover, .footer-links a[aria-current='page'] { color: var(--accent-light); }
.legal-main { min-height: calc(100svh - 174px); padding: 90px 0 110px; }
.legal-content { max-width: 780px; }
.legal-content h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.045em; margin: 0 0 42px; }
.legal-content h2 { font-size: 1.18rem; margin: 42px 0 12px; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.8; color: #35454d; }
.legal-content p { margin: 0 0 15px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: #507b54; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-content a:hover { color: #2d5633; }
.legal-content .intro { font-size: 1.14rem; color: var(--muted); }
@media (min-width: 1920px) {
  .home-main { grid-template-columns: minmax(900px, 1fr) minmax(0, 1fr); }
  .hero-copy { padding-left: clamp(72px, 5vw, 120px); padding-right: clamp(72px, 5vw, 120px); }
}
@media (max-width: 1000px) {
  .home-main { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 75px 48px 72px; }
  .hero-image { min-height: 360px; max-height: 460px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  .brand { font-size: .98rem; }
  .top-nav { gap: 14px; }
  .top-nav a { font-size: .75rem; }
  .top-nav a:first-child { display: none; }
  .hero-copy { padding: 65px 20px 66px; }
  .eyebrow { font-size: .66rem; margin-bottom: 26px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 9vw, 3.65rem); margin-bottom: 28px; }
  .hero-copy .lead { font-size: 1.08rem; }
  .hero-copy .note { font-size: 1rem; }
  .hero-image { min-height: 270px; height: 37svh; max-height: 410px; background-position: 60% center; }
  .footer-inner { min-height: 95px; align-items: flex-start; justify-content: center; flex-direction: column; padding: 18px 0; gap: 10px; }
  .footer-links { gap: 20px; }
  .legal-main { padding: 64px 0 80px; }
  .legal-content h1 { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .top-nav a::after { transition: none; } }
