/* Shared styles for Terravai content pages (privacy / terms / contact) */
:root {
  --blue: #2382c4;
  --blue-deep: #15689c;
  --green: #41a93b;
  --green-bright: #5db948;
  --ink: #16242c;
  --ink-soft: #5a6e77;
  --line: #e4ebef;
  --bg: #ffffff;
  --bg-soft: #f1f6f9;
  --gold: #e3a23a;
  --grad: linear-gradient(120deg, var(--green) 0%, var(--blue) 100%);
  --shadow: 0 10px 30px rgba(20, 50, 70, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .navwrap {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 38px; width: auto; }
.logo-word { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.logo-word .t { color: var(--blue); }
.logo-word .v { color: var(--green-bright); }
.nav-cta {
  display: inline-flex; align-items: center; font-weight: 700; font-size: 15px;
  padding: 10px 20px; border-radius: 12px; color: #fff; background: var(--grad);
  box-shadow: 0 8px 22px rgba(35, 130, 196, 0.32);
}
.nav-cta:hover { filter: brightness(1.05); text-decoration: none; }

/* Document body */
.doc { padding: 56px 0 40px; }
.doc .eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--blue-deep); background: var(--bg-soft);
  padding: 7px 14px; border-radius: 30px; margin-bottom: 18px;
}
.doc h1 { font-size: 40px; line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin-top: 12px; }
.doc h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.4px;
  margin: 36px 0 12px; padding-top: 8px;
}
.doc h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.doc p { margin: 12px 0; color: var(--ink); }
.doc ul, .doc ol { margin: 12px 0 12px 22px; }
.doc li { margin: 7px 0; }
.doc .lead { font-size: 18px; color: var(--ink-soft); margin: 14px 0 8px; }
.doc .note {
  background: var(--bg-soft); border-left: 3px solid var(--blue);
  border-radius: 8px; padding: 14px 18px; margin: 18px 0; font-size: 15px;
}
.doc .placeholder {
  background: #fff7e6; border: 1px dashed var(--gold); color: #8a6418;
  border-radius: 6px; padding: 1px 7px; font-weight: 600; font-size: 0.95em;
}

/* Contact cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow);
}
.card .ic { font-size: 26px; margin-bottom: 10px; }
.card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 4px 0; }
.card a { font-weight: 700; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); margin-top: 56px; }
footer .footwrap {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
footer .logo-word { font-size: 20px; }
footer .tag { color: var(--ink-soft); font-size: 14px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: none; }
.copy { color: var(--ink-soft); font-size: 13px; width: 100%; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; margin: 28px 0 8px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 130, 196, 0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; font-family: inherit; font-weight: 700; font-size: 16px; color: #fff;
  background: var(--grad); border: none; border-radius: 12px; padding: 14px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(35, 130, 196, 0.32); transition: filter 0.2s, transform 0.06s;
}
.btn-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c25b50; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.aside h3 { font-size: 17px; font-weight: 800; margin: 18px 0 6px; }
.aside p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0; }
.aside a { font-weight: 700; }
