/* SMAGRI — Support, Marketing, Privacy (shared styles) */

:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #e8f5e9;
  --accent: #66bb6a;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --bg: #f6faf6;
  --white: #ffffff;
  --border: #e0ebe0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(46, 125, 50, 0.08);
  --max: 720px;
  --wide: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}
.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

main.wide {
  max-width: var(--wide);
}

/* Hero (marketing) */
.hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--primary-dark);
}
.hero .lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Cards / sections */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

h1.page-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--primary-dark);
}

.subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Contact strip */
.contact-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}
.contact-strip h2 {
  color: var(--white);
  margin-top: 0;
}
.contact-strip a {
  color: #c8e6c9;
  font-weight: 600;
}
.contact-strip a:hover {
  color: var(--white);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

/* Feature grid (marketing) */
.features {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0;
}
@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.feature h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #c8e6c9;
  padding: 2rem 1.25rem;
  margin-top: 3rem;
}

.site-footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--white);
  font-weight: 600;
}

.legal-note {
  font-size: 0.875rem;
  opacity: 0.9;
  max-width: var(--max);
}

/* Privacy: last updated */
.meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
