/* ==========================================================================
   EcoFlux Ltd — site styles
   Static, dependency-free. Light surface, deep teal ink, teal accent.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  --ink:        #0B1F1D;
  --ink-soft:   #16302C;
  --teal:       #0D9488;
  --teal-dark:  #0A6F67;
  --teal-bright:#2DD4BF;
  --bg:         #FFFFFF;
  --surface:    #F5FAF9;
  --surface-2:  #ECF5F3;
  --border:     #DFEBE9;
  --body:       #435653;
  --muted:      #6E827F;
  --radius:     14px;
  --maxw:       1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.18rem; }

p + p { margin-top: 1rem; }

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

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.16rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.03em;
}
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-dark));
}
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--body); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--teal-dark); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-light:hover { background: rgba(255,255,255,0.18); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(70% 120% at 82% 8%, rgba(45,212,191,0.20) 0%, rgba(45,212,191,0) 60%),
    radial-gradient(60% 100% at 8% 92%, rgba(13,148,136,0.20) 0%, rgba(13,148,136,0) 60%),
    var(--ink);
  color: #E8F4F2;
  padding: 84px 0 76px;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.24rem); color: #B9D4D0; max-width: 62ch; margin-top: 20px; }
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-bright);
  border: 1px solid rgba(45,212,191,0.35); background: rgba(45,212,191,0.10);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.page-head .eyebrow { color: var(--teal-dark); border-color: rgba(13,148,136,0.30); background: rgba(13,148,136,0.07); }
.page-head p { max-width: 66ch; margin-top: 14px; font-size: 1.06rem; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 68ch; margin-bottom: 40px; }
.sec-head p { margin-top: 12px; font-size: 1.04rem; }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.97rem; }
.card .ico {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
  background: var(--surface-2); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700;
}
.card-plain { background: var(--surface); border-color: transparent; }

/* numbered steps */
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--teal-bright);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.step h3 { margin-bottom: 5px; }
.step p { font-size: 0.97rem; }

/* definition list for legal/company facts */
.facts { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts .row {
  display: flex; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.facts .row:last-child { border-bottom: 0; }
.facts .row:nth-child(odd) { background: var(--surface); }
.facts dt { font-weight: 600; color: var(--ink); min-width: 210px; }
.facts dd { margin: 0; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 26px; margin-bottom: 8px; }
.prose ul { margin: 12px 0 12px 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 44px 40px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #B9D4D0; max-width: 56ch; margin: 12px auto 0; }
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: #9FBDB8; padding: 52px 0 30px; margin-top: 0;
  font-size: 0.93rem;
}
.site-footer a { color: #C8DEDA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-grid h4 {
  color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 700;
}
.foot-links { list-style: none; padding: 0; }
.foot-links li { margin-bottom: 9px; }
.legal-bar {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  color: #7F9C98; font-size: 0.86rem;
}
.legal-bar p + p { margin-top: 7px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 54px; }
  section { padding: 52px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; }
  .cta { padding: 34px 22px; }
  .facts dt { min-width: 100%; }
}
