/* PEKA landing — static, no build step, no external assets. */

:root {
  --navy: #0E3A4A;
  --navy-ink: #082B37;
  --teal: #1F7A8C;
  --teal-soft: #E8F2F4;
  --gold: #B98A2E;
  --ink: #222E33;
  --muted: #5A6970;
  --line: #DCE7EA;
  --bg: #FFFFFF;
  --alt: #F4F9FA;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 58, 74, .06), 0 12px 32px rgba(14, 58, 74, .07);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: .16em;
  font-size: 14px;
  color: var(--navy);
}

.brand-by {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  padding-left: 2px;
  border-left: 1px solid var(--line);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  transition: color .15s;
}

.nav-links a:hover { color: var(--navy); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.lang:hover { border-color: var(--teal); }
.lang-sep { opacity: .45; }

html[data-lang="en"] .lang-on,
html[data-lang="ms"] .lang-off { color: var(--navy); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 58, 74, .18);
}

.btn-primary:hover { background: var(--navy-ink); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }

/* ---------- hero ---------- */
.hero {
  padding: 68px 0 8px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(31, 122, 140, .10), transparent 62%),
    radial-gradient(600px 320px at 6% 0%, rgba(185, 138, 46, .07), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(1.95rem, 3.3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -.021em;
  color: var(--navy);
  margin: 0 0 20px;
  font-weight: 700;
}

.lede {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 33em;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.micro {
  font-size: 12.5px;
  color: #7C8B92;
  margin: 16px 0 0;
}

/* ---------- hero visual ---------- */
.hero-visual { display: flex; justify-content: center; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pond-card {
  width: 100%;
  max-width: 430px;
  padding: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-.4deg);
}

.pond-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pond-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.pond-doc {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-ok { background: #E6F4EE; color: #1D6B4F; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 0 14px;
}

.metric { display: flex; flex-direction: column; gap: 2px; }

.metric-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.unit { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 3px; }

.water-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.water-tile {
  background: var(--alt);
  border-radius: 9px;
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.w-label { font-size: 10px; letter-spacing: .05em; color: var(--muted); }

.w-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.w-bar {
  height: 3px;
  border-radius: 2px;
  background: #DCE7EA;
  overflow: hidden;
  margin-top: 3px;
}

.w-bar i { display: block; height: 100%; background: var(--teal); border-radius: 2px; }

.alert-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #FDF6E9;
  border: 1px solid #F0E2C4;
  font-size: 11.5px;
  color: #6E5316;
}

.alert-line .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- stats ---------- */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 56px 0 0;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.stats li { display: flex; flex-direction: column; gap: 3px; }

.stats strong {
  font-size: 19px;
  color: var(--navy);
  letter-spacing: -.01em;
}

.stats span { font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 86px 0; }
section[id] { scroll-margin-top: 84px; }

.section-alt {
  background: var(--alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: -.017em;
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 700;
}

.section-lede {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 46em;
  margin: 0 0 42px;
}

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature {
  padding: 24px 22px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #C9DDE2;
}

.feature h3 {
  font-size: 15.5px;
  line-height: 1.34;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.ico {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1;
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
}

.steps li {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}

.steps li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.step-n {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
}

.steps h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 8px 0 6px;
}

.steps p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- why / dark ---------- */
.section-dark { background: var(--navy); }

.eyebrow-light { color: #8FC0CB; }

h2.light { color: #fff; }

.why-grid { margin-top: 40px; }

.why-item h3 {
  font-size: 15.5px;
  color: #fff;
  margin: 0 0 9px;
  line-height: 1.35;
}

.why-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #B9D0D7;
}

.why-item {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

/* ---------- register interest ---------- */
.interest {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 56px;
  align-items: start;
}

.interest .section-lede { margin-bottom: 0; max-width: 34em; }

.interest-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.interest-points li {
  position: relative;
  padding-left: 27px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.interest-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

.interest-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  gap: 13px;
}

.field { display: grid; gap: 5px; }

.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.field textarea { resize: vertical; min-height: 76px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 122, 140, .14);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.interest-form .btn { width: 100%; margin-top: 5px; }

.form-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #7C8B92;
}

.form-note-error { color: #A63D2F; font-weight: 600; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--navy);
}

.footer-brand .muted {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  gap: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--navy); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .pond-card { transform: none; max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .interest { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .hero { padding-top: 44px; }
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 38px; }
  .brand-by { display: none; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .nav-actions .btn { width: auto; padding: 8px 12px; font-size: 12.5px; white-space: nowrap; }
  .lang { padding: 4px 9px; font-size: 11px; }
  .nav-inner { gap: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .interest-form { padding: 20px; }
}
