/* Kingdom AI Solutions, LLC — site styles
   Palette and type matched to kingdomaisolutions.lovable.app
   cream #f2efe6 · ink #2b2a26 · yellow #f7ce46 · Poppins Light */

:root {
  --bg:     #f2efe6;
  --ink:    #2b2a26;
  --muted:  #6b6a66;
  --yellow: #f7ce46;
  --gold:   #c9a227;
  --soft:   #e8e4da;
  --line:   #d9d6cc;
  --max:    76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 1; }
.wrap--narrow { max-width: 48rem; }

/* ---------- type ---------- */
h1, h2 { font-weight: 300; text-transform: uppercase; letter-spacing: -.025em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: .9; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.05; }
h3 { font-size: 1rem; font-weight: 500; margin: 0 0 .4rem; color: var(--ink); }
p { margin: 0 0 1.1rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 40rem; line-height: 1.6; }
.eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--yellow); color: var(--ink); text-decoration: none;
  border-radius: 999px; padding: 1.05rem 2.1rem; font-weight: 600; font-size: 1.05rem;
  line-height: 1.2; transition: filter .15s ease; white-space: nowrap; }
.btn:hover { filter: brightness(.94); }
.btn--sm { padding: .62rem 1.3rem; font-size: .78rem; font-weight: 500; }
.link-arrow { display: inline-block; color: var(--ink); font-size: .95rem; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-color: var(--line); }
.link-arrow:hover { text-decoration-color: var(--ink); }
.cta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cta-note { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; max-width: 17rem; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; flex-wrap: wrap; }
.brand { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; }
.bar-right { display: flex; align-items: center; gap: 1rem; }
.bar-label { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); }
nav.site a { color: var(--muted); text-decoration: none; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; margin-right: 1.4rem; }
nav.site a:hover { color: var(--ink); }

/* ---------- decorative arcs ---------- */
.decor { position: absolute; pointer-events: none; z-index: 0; }
.decor i { position: absolute; border-radius: 50%; background: var(--yellow); display: block; }
.decor--tr { top: -20rem; right: -14rem; width: 40rem; height: 40rem; }
.decor--bl { bottom: -22rem; left: -18rem; width: 34rem; height: 34rem; }
.decor i:nth-child(1) { inset: 0;   opacity: .16; }
.decor i:nth-child(2) { inset: 18%; opacity: .30; }
.decor i:nth-child(3) { inset: 36%; opacity: 1;   }
.decor--bl i:nth-child(1) { opacity: .10; }
.decor--bl i:nth-child(2) { opacity: .16; }
.decor--bl i:nth-child(3) { opacity: .26; }

/* ---------- sections ---------- */
.hero { position: relative; overflow: hidden; padding: 7rem 0 6.5rem; }
.hero h1 { margin-bottom: 2rem; }
section { position: relative; overflow: hidden; padding: 6.5rem 0; }
.block { max-width: 46rem; }
.block--right { margin-left: auto; text-align: right; }
.block--center { margin: 0 auto; text-align: center; }
.block--center .cta-row { justify-content: center; }
.block--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- feature rows ---------- */
.features { list-style: none; margin: 3.5rem 0 0; padding: 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
.features li { border-bottom: 1px solid var(--line); padding: 1.15rem 0; color: var(--ink); font-size: .98rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.25rem;
  margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2.25rem; }
.contact-grid dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem; }
.contact-grid dd { margin: 0; font-size: .98rem; line-height: 1.6; }
.contact-grid a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--line); }
.contact-grid a:hover { text-decoration-color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { padding: 4rem 0 2rem; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .8rem; }
.legal .meta { color: var(--muted); font-size: .85rem; letter-spacing: .04em; margin: 0 0 2.5rem;
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.05rem; font-weight: 600; text-transform: none; letter-spacing: .01em;
  margin: 2.8rem 0 .9rem; }
.legal p, .legal li { color: var(--ink); font-size: .97rem; }
.legal ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .55rem; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.callout { background: var(--soft); border-left: 3px solid var(--yellow); padding: 1.2rem 1.4rem;
  margin: 1.6rem 0; border-radius: 0 8px 8px 0; }
.callout p { margin: 0; }
.callout--quote { border-left-color: var(--gold); font-style: italic; }
.addr { font-style: normal; line-height: 1.9; color: var(--ink); font-size: .97rem; }
.addr strong { font-weight: 600; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .85rem;
  color: var(--muted); background: var(--bg); position: relative; z-index: 1; }
footer.site .cols { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
footer.site strong { display: block; color: var(--ink); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site nav a { display: block; margin-bottom: .35rem; }
footer.site .fine { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .78rem; line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .block--right { text-align: left; margin-left: 0; }
  .decor--tr { top: -14rem; right: -12rem; width: 26rem; height: 26rem; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 1.35rem; }
  .hero { padding: 4rem 0 4rem; }
  section { padding: 4.5rem 0; }
  .features { grid-template-columns: 1fr; column-gap: 0; }
  .bar-label { display: none; }
  .cta-row { gap: 1rem; }
  .cta-note { max-width: none; }
  footer.site .cols { gap: 1.8rem; }
}
