/* Activio Apps – landing page styles. No build step, no external assets. */

:root {
  --bg: #f7f5f0;
  --bg-alt: #edeae1;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #56605a;
  --accent: #1f5f4a;
  --accent-hover: #174a39;
  --accent-soft: #dcebe3;
  --border: #ddd8cc;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141917;
    --bg-alt: #1b211e;
    --surface: #212825;
    --text: #e9ece9;
    --muted: #a3ada7;
    --accent: #6fc3a0;
    --accent-hover: #8ad3b4;
    --accent-soft: #24382f;
    --border: #2f3833;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--text); }
nav .nav-cta { color: var(--accent); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block; padding: .75em 1.4em; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-large { font-size: 1.1rem; padding: .9em 1.8em; }

/* Hero */
.hero { padding: clamp(64px, 12vw, 128px) 0 clamp(56px, 9vw, 96px); }
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block; margin-bottom: 1.2em; padding: .3em .9em; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 600;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }

/* Sections */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 620px; font-size: 1.1rem; }

.cards {
  list-style: none; padding: 0; margin: 2.5em 0 0;
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: var(--accent-soft);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1.2fr; align-items: start; }
.points { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { counter-increment: p; position: relative; padding-left: 52px; }
.points li::before {
  content: counter(p); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--bg); font-weight: 700; font-size: .95rem;
}
.points h3 { margin-bottom: .25em; }
.points p { color: var(--muted); margin: 0; }

.contact-inner { text-align: center; }
.contact .section-lead { margin: 0 auto 2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  nav a:not(.nav-cta) { display: none; }
  .btn-large { font-size: 1rem; word-break: break-all; }
}
