/* Safe AI Commerce — GIA (Governed Intelligence Architecture)
   © 2026 M. A. Shaiye. All rights reserved. */

:root {
  --green: #1D9E75;
  --green-dark: #085041;
  --green-mid: #0F6E56;
  --green-pale: #E1F5EE;
  --blue: #185FA5;
  --blue-dark: #042C53;
  --ink: #0b0b0b;
  --body: #52514e;
  --line: #e1e0d9;
  --card: #fcfcfb;
  --sand: #f1efe8;
  --red: #A32D2D;
  --radius: 12px;
  --maxw: 1040px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.logo {
  font-weight: 700; font-size: 1rem; color: var(--ink);
  letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .55rem;
}
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 6px;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  display: inline-block; flex-shrink: 0;
}
.logo .sub {
  display: block; font-size: .68rem; font-weight: 600; color: var(--body);
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--body);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-dark); text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-cta {
  background: var(--green); color: #fff !important; padding: .5rem 1rem;
  border-radius: 8px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark); text-decoration: none !important; }

/* ---------- Header / hero ---------- */
.header {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: #fff; padding: 4rem 1.5rem; text-align: center;
}
.header.compact { padding: 3rem 1.5rem; }
.header .eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  font-weight: 700; opacity: .9; margin-bottom: .9rem;
}
.header h1 {
  font-size: 2.4rem; font-weight: 600; margin-bottom: .75rem;
  letter-spacing: -.02em; line-height: 1.2; max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.header p { font-size: 1.12rem; opacity: .95; max-width: 60ch; margin: 0 auto; }
.header .actions { margin-top: 1.8rem; display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.header .actions a {
  padding: .8rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: .98rem;
}
.header .actions .a-solid { background: #fff; color: var(--blue-dark) !important; }
.header .actions .a-solid:hover { background: var(--green-pale); text-decoration: none; }
.header .actions .a-ghost { border: 2px solid rgba(255,255,255,.65); color: #fff !important; }
.header .actions .a-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.5rem; }
.container.narrow { max-width: 760px; }
.section { margin-bottom: 3rem; }
.section:last-child { margin-bottom: 0; }
.section h2 {
  font-size: 1.75rem; font-weight: 600; margin-bottom: 1rem;
  color: var(--green-dark); letter-spacing: -.01em;
}
.section h3 { font-size: 1.22rem; color: var(--blue); margin-bottom: .8rem; font-weight: 600; }
.section p { color: var(--body); margin-bottom: 1rem; }
.section p:last-child { margin-bottom: 0; }
.lede { font-size: 1.1rem; color: var(--ink); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; color: var(--blue); }
.card p { font-size: .95rem; color: var(--body); margin: 0; }
.card.accent { border-left: 4px solid var(--green); }
.card .kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green); display: block; margin-bottom: .4rem;
}

.tier {
  background: var(--card); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.tier:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(29,158,117,.12); }
.tier h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; color: var(--blue); }
.tier p { color: var(--body); margin: .9rem 0; font-size: .95rem; }
.tier .level { font-weight: 600; color: var(--blue); font-size: .9rem; }

.badge {
  display: inline-block; background: var(--green-pale); color: var(--green-dark);
  padding: .45rem 1rem; border-radius: 20px; font-size: .82rem; font-weight: 600;
  margin: .85rem 0;
}

.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.stat .number { font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.stat p { font-size: .9rem; color: var(--body); margin-top: .5rem; }

.callout {
  background: var(--green-pale); border-left: 4px solid var(--green);
  padding: 1.6rem; border-radius: 8px; margin: 2rem 0;
}
.callout h2, .callout h3 { color: var(--green-dark); margin-bottom: .5rem; }
.callout p { color: var(--green-mid); margin-bottom: .6rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green-dark); }

.checklist { list-style: none; }
.checklist li {
  padding: .5rem 0 .5rem 1.9rem; position: relative; color: var(--green-dark);
}
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: .5rem;
  font-weight: 700; color: var(--green);
}

.faq-block { background: var(--card); border: 1px solid var(--line); padding: 1.6rem; border-radius: var(--radius); }
.faq-block p + p { margin-top: 1rem; }
.faq-block strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form-section {
  background: var(--green); color: #fff;
  padding: 2.5rem; border-radius: var(--radius); margin: 3rem 0;
}
.form-section h2 { color: #fff; font-size: 1.7rem; margin-bottom: .6rem; }
.form-section > p { opacity: .95; margin-bottom: 1.6rem; }
.form-group { margin-bottom: 1.35rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: .45rem; font-size: .94rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px; font-size: 1rem; background: rgba(255,255,255,.96);
  color: var(--ink); font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.28);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn {
  background: var(--blue); color: #fff; border: none;
  padding: 14px 28px; font-size: 1rem; font-weight: 600;
  border-radius: 8px; cursor: pointer; width: 100%;
  transition: background .2s; font-family: inherit;
}
.btn:hover { background: var(--blue-dark); }
.form-note { font-size: .85rem; margin-top: 1rem; opacity: .9; }
.form-note a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--sand); color: var(--body);
  padding: 2.5rem 1.5rem; font-size: .9rem;
  border-top: 1px solid var(--line); margin-top: 3rem;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer-col h4 {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink); margin-bottom: .65rem; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .35rem; }
.footer-legal {
  max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line); font-size: .85rem;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--body); }
.small { font-size: .88rem; }
.mt-2 { margin-top: 2rem; }

@media (max-width: 768px) {
  .header { padding: 3rem 1.25rem; }
  .header h1 { font-size: 1.75rem; }
  .header p { font-size: 1rem; }
  .container { padding: 2.25rem 1.25rem; }
  .section h2 { font-size: 1.45rem; }
  .form-section { padding: 1.75rem 1.35rem; }
  .nav-inner { padding: .75rem 1.25rem; }
  .nav-links { gap: 1rem; width: 100%; }
  .nav-links a { font-size: .88rem; }
}
