/* Four Oaks Software — site styles
   Clean, minimal, high-readability. Designed for body text first
   (privacy policy is the page that has to be readable). */

:root {
  --bg: #fafaf8;
  --bg-elev: #ffffff;
  --text: #1a1d1a;
  --text-muted: #5a615a;
  --accent: #2d6a4f;          /* deep oak/forest green */
  --accent-hover: #1f4d39;
  --border: #e5e5e2;
  --code-bg: #f1f3ef;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* ─── Header ─────────────────────────────────────────── */

header {
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

nav {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  font-size: 14px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--accent);
}

/* ─── Headings ───────────────────────────────────────── */

h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-weight: 600;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-top: 28px;
  margin-bottom: 8px;
  font-weight: 600;
}

.lede {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.effective-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 32px;
}

/* ─── Body content ───────────────────────────────────── */

p {
  margin-bottom: 16px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

li strong {
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

code {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--code-bg);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Privacy policy data table — what we collect, what we share */
.data-table {
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.data-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.data-row:last-child {
  border-bottom: none;
}

.data-row dt {
  font-weight: 600;
  color: var(--text);
}

.data-row dd {
  color: var(--text-muted);
}

@media (max-width: 540px) {
  .data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Callout / note box */
.callout {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* ─── Homepage specific ──────────────────────────────── */

.hero {
  padding: 32px 0 8px;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero .lede {
  font-size: 20px;
  max-width: 520px;
}

.products {
  margin-top: 48px;
}

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.product-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}

/* ─── Footer ─────────────────────────────────────────── */

footer {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 16px;
}

footer a:hover {
  color: var(--accent);
}
