/* Tagrova's legal and contact pages: cream page, white card, dark green
   headings, grey-green text; Poppins from our own server. */
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/fonts/poppins-500.ttf) format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.ttf) format("truetype"); }

:root {
  --page: #F7F4EC;
  --card: #FFFFFF;
  --heading: #12301F;
  --text: #4F5E55;
  --green: #1F7A47;
  --green-dark: #17603A;
  --accent: #EE543A;
  --line: #E4E0D4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  padding: 1.5rem 1rem 2.5rem;
}

.page {
  max-width: 720px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem 0.25rem;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(18, 48, 31, 0.06);
}

@media (min-width: 600px) {
  .card { padding: 2.5rem 2.5rem; }
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
}

h1 { font-size: 2rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }

.meta { font-size: 0.95rem; margin-bottom: 1.5rem; }

.rule {
  height: 2px;
  background: var(--green);
  border: 0;
  margin: 1rem 0 1.5rem;
}

p, li { margin-bottom: 0.9rem; }
ul { padding-left: 1.3rem; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }

.note {
  background: var(--page);
  border-left: 3px solid var(--green);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: var(--green-dark); color: #fff; }
.button:disabled { opacity: 0.6; cursor: default; }

/* Form */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--heading); margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  font: inherit;
  color: var(--heading);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--green); flex: none; }
.check label { font-weight: 500; color: var(--text); }
.error { color: var(--accent); font-weight: 700; }
.success { border-left-color: var(--green); }
/* The honeypot: people never see it, robots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer.site {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.95rem;
}

footer.site a { margin: 0 0.4rem; }

/* Not for sale yet: looks like a label, not a button. */
.button[aria-disabled="true"] { background: #E4E0D4; color: var(--text); cursor: default; }
