/* Wattory — public website styles */
:root {
  --color-bg: #ffffff;
  --color-surface: #f5f8f7;
  --color-text: #1a2b2b;
  --color-muted: #5a6e6e;
  --color-primary: #0e9f6e;
  --color-primary-dark: #0b7d57;
  --color-accent: #1f3a5f;
  --color-border: #e2e9e7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 40, 36, 0.08);
  --max-width: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--color-text); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; color: var(--color-text); }
.brand:hover { text-decoration: none; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--color-muted); font-weight: 500; }
.nav-links a:hover { color: var(--color-text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.lang-switch { font-size: .85rem; font-weight: 600; color: var(--color-muted); border: 1px solid var(--color-border); padding: .3rem .6rem; border-radius: 8px; }
.lang-switch:hover { text-decoration: none; border-color: var(--color-primary); color: var(--color-primary-dark); }

/* Buttons */
.btn {
  display: inline-block; padding: .75rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(160deg, #f5f8f7 0%, #ffffff 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--color-primary-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.hero p.lead { font-size: 1.2rem; color: var(--color-muted); max-width: 38ch; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.1rem; }
.bg-surface { background: var(--color-surface); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--color-primary); color: #fff;
  font-weight: 700; margin-bottom: 1rem;
}

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.feature .icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.feature p { color: var(--color-muted); margin: 0; }

/* Inline SVG icons */
.ico {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(14,159,110,0.10); color: var(--color-primary);
  margin-bottom: 1rem;
}
.ico svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Hero lead points */
.lead-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.lead-points li { padding-left: 1.8rem; position: relative; color: var(--color-text); font-weight: 500; }
.lead-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 700;
}

/* Brands strip */
.brands-strip { padding: 2rem 0; border-bottom: 1px solid var(--color-border); }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
.brands-row .brand-item { color: var(--color-muted); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; }
.brands-label { text-align: center; color: var(--color-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.brands-sep { color: var(--color-border); }

/* Highlight callout */
.callout {
  background: linear-gradient(160deg, rgba(14,159,110,0.10), rgba(31,58,95,0.06));
  border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-weight: 500;
}

/* Small data-availability note */
.note-box {
  background: var(--color-surface); border: 1px dashed #c3d2ce; border-radius: 12px;
  padding: 1rem 1.25rem; font-size: .9rem; color: var(--color-muted); margin-top: 1.5rem;
}

/* Two-column problem/solution */
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { padding-left: 1.8rem; position: relative; margin-bottom: .8rem; color: var(--color-muted); }
.problem-list li::before {
  content: "!"; position: absolute; left: 0; top: 0;
  width: 1.2rem; height: 1.2rem; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,58,95,0.12); color: var(--color-accent); border-radius: 50%; font-size: .75rem; font-weight: 700;
}

/* Benefits split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: .9rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--color-primary); font-weight: 700;
}

/* CTA band */
.cta-band { background: var(--color-accent); color: #fff; text-align: center; border-radius: var(--radius); padding: 3rem 1.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer { background: #0f1f1c; color: #b7c6c2; padding: 3rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 .9rem; }
.site-footer a { color: #b7c6c2; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #8aa09b; }

/* Legal pages */
.legal { padding: 3rem 0; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: .5rem; }
.legal .updated { color: var(--color-muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal th, .legal td { border: 1px solid var(--color-border); padding: .65rem .8rem; text-align: left; vertical-align: top; }
.legal th { background: var(--color-surface); }
.legal ol, .legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: .4rem; }

/* Placeholder media */
.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #e8efed, #e8efed 12px, #eef4f2 12px, #eef4f2 24px);
  color: var(--color-muted); font-weight: 600; border-radius: var(--radius);
  min-height: 320px; text-align: center; border: 1px dashed #c3d2ce;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 100;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(16,40,36,0.18); padding: 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h3 { margin-top: 0; }
.cookie-banner p { color: var(--color-muted); font-size: .92rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.cookie-actions .btn { padding: .6rem 1.1rem; font-size: .92rem; }
.cookie-options { margin: 1rem 0; display: grid; gap: .6rem; }
.cookie-option { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; }
.cookie-option label { font-weight: 600; }
.cookie-option small { display: block; color: var(--color-muted); font-weight: 400; }
.cookie-option input[disabled] { accent-color: var(--color-muted); }

/* Responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2rem; }
  .steps, .features, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
