/* MyEnergyRewards: the public landing page. System fonts only, nothing loaded from elsewhere. */
:root {
  --ink: #0f241c;
  --muted: #4d6359;
  --line: #dbe7e1;
  --bg: #ffffff;
  --tint: #f2f8f5;
  --forest: #0b3d2e;
  --forest-2: #10533e;
  --mint: #5ee4a8;
  --mint-soft: #d8f7e9;
  --teal: #2bb3a3;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 61, 46, .06), 0 12px 32px rgba(11, 61, 46, .10);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.brand b { color: var(--forest-2); }
.brand-mark { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: .8rem; font-weight: 600; border: 0; background: none; color: var(--muted); padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--forest); color: #fff; }

/* Hero */
.hero { background: radial-gradient(1200px 520px at 85% -10%, #1d7a5c 0%, transparent 60%), linear-gradient(160deg, var(--forest) 0%, #072a20 100%); color: #eaf6f0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--mint); background: rgba(94, 228, 168, .12); border: 1px solid rgba(94, 228, 168, .3); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #fff; font-weight: 700; }
.lead { margin-top: 20px; font-size: 1.15rem; color: #c4e2d5; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--forest); }
.btn-primary:hover { background: #7cebb9; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: #b5d8c8; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.5-5' fill='none' stroke='%230b3d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-art { position: relative; min-height: 360px; }
.card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.card-balance { position: absolute; top: 0; left: 6%; right: 6%; padding: 28px; }
.card-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.card-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; margin-top: 4px; color: var(--forest); }
.bar { height: 10px; background: var(--mint-soft); border-radius: 999px; margin-top: 18px; overflow: hidden; }
.bar span { display: block; width: 85%; height: 100%; background: linear-gradient(90deg, var(--teal), var(--mint)); border-radius: inherit; }
.card-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.card-row { position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 18px; width: 78%; }
.card-a { top: 205px; left: 0; }
.card-b { top: 285px; right: 0; }
.dot { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.dot-green { background: var(--mint-soft); box-shadow: inset 0 0 0 10px var(--mint); }
.dot-teal { background: #d6f2ef; box-shadow: inset 0 0 0 10px var(--teal); }
.row-title { font-weight: 600; font-size: .95rem; }
.row-sub { font-size: .82rem; color: var(--muted); }
.row-amt { margin-left: auto; font-weight: 700; color: var(--forest-2); white-space: nowrap; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.kicker-light { color: var(--mint); }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22em; }
.muted { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); counter-increment: step; }
.step::after { content: "0" counter(step); position: absolute; top: 26px; right: 28px; font-weight: 700; color: var(--line); font-size: 1.6rem; }
.step-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: var(--mint-soft); color: var(--forest-2); }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { margin-top: 20px; font-size: 1.25rem; }
.step p { margin-top: 10px; color: var(--muted); }

.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 12px 18px; border-radius: 999px; font-weight: 600; color: var(--forest-2); box-shadow: 0 1px 2px rgba(11, 61, 46, .05); }

.companies { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.companies li { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 14px; }
.co-name { font-weight: 700; font-size: 1.05rem; }
.co-country { font-size: .85rem; color: var(--muted); }

.section-dark { background: var(--forest); color: #d6ece2; }
.section-dark h2 { color: #fff; }
.partners { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.partners p { margin-top: 16px; font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.facts b { color: #fff; }
.facts span { font-size: .95rem; color: #b5d8c8; }

/* Coming soon */
.soon { padding: 0 0 96px; }
.soon figure { margin: 0; padding: 40px 44px; border-radius: var(--radius); background: linear-gradient(135deg, var(--mint-soft), #e5f6f3); border: 1px solid #c3eedb; position: relative; }
.soon figure::before { content: "\201C"; position: absolute; top: -6px; left: 24px; font-size: 6rem; line-height: 1; color: var(--teal); opacity: .35; font-family: Georgia, serif; }
.soon blockquote { margin: 0; }
.soon blockquote p { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--forest); line-height: 1.45; }
.soon figcaption { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-2); }
.soon figcaption::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(43, 179, 163, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 179, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 179, 163, 0); } }
@media (prefers-reduced-motion: reduce) { .soon figcaption::before { animation: none; } .btn { transition: none; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-links { display: flex; gap: 20px; }

/* Smaller screens */
@media (max-width: 960px) {
  .hero-grid, .themes, .partners { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 64px; padding-bottom: 72px; gap: 48px; }
  .hero-art { max-width: 460px; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .companies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .section { padding: 72px 0; }
  .soon figure { padding: 32px 26px; }
  .card-row { width: 92%; }
}
@media (max-width: 420px) {
  .companies { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
}
