/* GreenPie SEO landing pages — a small, self-contained stylesheet.
 *
 * The interactive tool keeps its own `style.css` and full asset pipeline; these
 * landing pages are static and JS-free, so they carry only the styles they need.
 * Brand colours are shared with the main interface for a consistent look.
 */

:root {
  --gp-green-dark: #07502a;
  --gp-green-primary: #0a6435;
  --gp-green-light: #73b32c;
  --gp-green-teal: #159373;
  --gp-green-soft: #ecf2ef;
  --gp-text: #032413;
  --gp-muted: #626f68;
  --gp-border: #d3e0d9;
  --gp-background: #fdfdfd;
  --page: 960px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  color: var(--gp-text);
  background: var(--gp-background);
  line-height: 1.6;
}
a { color: var(--gp-green-primary); text-underline-offset: .2rem; }
a:hover { color: var(--gp-green-dark); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: .5rem; left: .5rem; transform: translateY(-150%);
  padding: .75rem 1rem; color: #fff; background: var(--gp-text); border-radius: .5rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 1px solid var(--gp-border);
  background: #fff;
}
.nav-shell {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  width: min(calc(100% - 2rem), var(--page)); min-height: 4.25rem; margin: auto;
  padding: .5rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gp-green-primary); font-weight: 800; text-decoration: none; font-size: 1.15rem;
}
.brand-logo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.nav-shell > nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.nav-shell > nav a { color: var(--gp-muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-shell > nav a:hover, .nav-shell > nav a.current { color: var(--gp-green-primary); }
.language-nav { margin-left: auto; gap: .5rem; }
.language-nav a, .language-nav span {
  font-size: .82rem; font-weight: 700; padding: .2rem .4rem; border-radius: .35rem;
}
.language-nav span[aria-current="page"] { background: var(--gp-green-soft); color: var(--gp-green-primary); }

main { width: min(calc(100% - 2rem), var(--page)); margin: auto; }
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.eyebrow {
  margin: 0 0 .75rem; color: var(--gp-green-primary);
  font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .16em;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.hero-intro { max-width: 42rem; margin: 1.25rem 0 1.25rem; color: var(--gp-muted); font-size: 1.1rem; }

.primary-button {
  display: inline-block; min-height: 46px; padding: .7rem 1.4rem; border-radius: .7rem;
  background: var(--gp-green-primary); color: #fff; font-weight: 800; text-decoration: none;
}
.primary-button:hover { background: var(--gp-green-dark); color: #fff; }

.content > section { padding: 1.25rem 0; border-top: 1px solid var(--gp-border); }
.content h2 { margin: 0 0 .6rem; font-size: 1.35rem; letter-spacing: -.015em; }
.content p { margin: 0 0 .8rem; color: var(--gp-text); max-width: 46rem; }
.content ul { margin: 0 0 .8rem; padding-left: 1.25rem; }
.content li { margin: .3rem 0; }

.related { padding: 1.25rem 0 1.75rem; }
.related h2 { font-size: 1.15rem; }
.related ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 0; padding: 0; }
.related li a {
  display: inline-block; padding: .45rem .85rem; border: 1px solid var(--gp-border);
  border-radius: 999px; text-decoration: none; color: var(--gp-green-primary); font-weight: 700; font-size: .9rem;
}
.related li a:hover { border-color: var(--gp-green-primary); }

.language-entry { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; }
.language-entry a {
  display: inline-block; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--gp-border);
  border-radius: .6rem; text-decoration: none; font-weight: 700;
}

.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--gp-border);
  background: var(--gp-green-soft); padding: 1.5rem 0 2rem;
}
.site-footer > * { width: min(calc(100% - 2rem), var(--page)); margin: .25rem auto; }
.site-footer p { color: var(--gp-muted); font-size: .9rem; }
.site-footer nav a { font-size: .9rem; font-weight: 700; }

@media (max-width: 680px) {
  .language-nav { margin-left: 0; width: 100%; }
}
