/* Adempta marketing site — plain CSS, brand palette #0F172A / #059669 / #F8FAFC */
/* Fonts self-hosted (Inter body, Source Serif 4 display), OFL-licensed. No runtime CDN. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/sourceserif-700-normal.woff2") format("woff2");
}

:root {
  --slate: #0F172A;
  --green: #059669;
  --bg: #F8FAFC;
  --ink: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --maxw: 72rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-wrap: break-word;
}

h1, h2, h3, .wordmark {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--slate);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 2rem; }
h3 { font-size: 1.15rem; font-family: "Inter", system-ui, sans-serif; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Header / nav */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248,250,252,.9);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0; flex-wrap: wrap;
}
.wordmark { font-size: 1.4rem; margin: 0; }
.wordmark a { color: var(--slate); }
.wordmark .dot { color: var(--green); }
.nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav .cta {
  background: var(--green); color: #fff; padding: .5rem .9rem; border-radius: 8px; font-weight: 600;
}
.nav .cta:hover { text-decoration: none; filter: brightness(1.05); }

/* Hero */
.hero { padding: 4rem 0 2.5rem; }
.hero .sub { font-size: 1.25rem; color: var(--muted); max-width: 46ch; }
.trust { color: var(--muted); font-size: .95rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green); margin-bottom: .75rem;
}

/* Sections */
section { padding: 2.25rem 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem;
}
.card h3 { margin-top: 0; }

/* Banner */
.prerelease {
  background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46;
  border-radius: 12px; padding: .85rem 1rem; margin: 1.25rem 0; font-size: .95rem;
}

/* Waitlist form */
.signup { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; max-width: 34rem; }
.signup form { display: flex; flex-direction: column; gap: .75rem; }
.signup label { font-weight: 600; color: var(--slate); }
.signup input[type=email] {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 9px; width: 100%;
}
.signup input[type=email]:focus { outline: 2px solid var(--green); border-color: var(--green); }
.signup button {
  font: inherit; font-weight: 700; color: #fff; background: var(--slate); border: 0;
  padding: .7rem 1rem; border-radius: 9px; cursor: pointer;
}
.signup button:hover { background: #0b1220; }
.signup .note { font-size: .85rem; color: var(--muted); }
.signup .status { font-size: .92rem; min-height: 1.2em; font-weight: 600; }
.signup .status.ok { color: var(--green); }
.signup .status.err { color: #B91C1C; }
.cf-turnstile { margin: .25rem 0; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.price .amount { font-family: "Source Serif 4", serif; font-size: 2.5rem; color: var(--slate); font-weight: 700; }
.price .per { color: var(--muted); font-size: .9rem; }
.price ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.price li { padding: .35rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.price.featured { border-color: var(--green); box-shadow: 0 6px 24px rgba(5,150,105,.10); }
.agpl { background: #F1F5F9; border-left: 4px solid var(--slate); padding: 1rem 1.2rem; border-radius: 8px; font-size: .98rem; }

/* Legal prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.4rem; }
.prose li { margin: .3rem 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
footer.site .cols { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
footer.site nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }
footer.site .fine { width: 100%; margin-top: 1.25rem; font-size: .88rem; }

/* Responsive */
@media (max-width: 640px) {
  .grid3, .prices { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 1.5rem; }
  .nav ul { gap: .9rem; }
}
