/* ============================================================
   Charity AI Partners - site stylesheet
   Brand: Lora (headings) + Source Sans 3 (body)
   Purple #5D1777 / Deep purple #2D0A4E / Forest #203919 / Green #7FBA5A
   ============================================================ */

:root {
  --purple: #5D1777;
  --deep-purple: #2D0A4E;
  --forest: #203919;
  --green: #7FBA5A;
  --white: #FFFFFF;
  --ink: #241433;
  --ink-soft: #574a63;
  --paper: #FFFFFF;
  --paper-tint: #F7F4FB;
  --line: #E7E0F0;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(45, 10, 78, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(45, 10, 78, 0.28);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a.tlink { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
a.tlink:hover { color: var(--deep-purple); }
a.tlink--light { color: var(--green); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 122px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.measure { max-width: 720px; }
.measure.center { margin-left: auto; margin-right: auto; }

.dark { background: var(--deep-purple); color: var(--white); }
.dark--radial {
  background:
    radial-gradient(900px 620px at 70% 8%, #6c2089 0%, var(--purple) 38%, var(--deep-purple) 100%);
  color: var(--white);
}
.tint { background: var(--paper-tint); }
.dark h1, .dark h2, .dark h3, .dark h4,
.dark--radial h1, .dark--radial h2, .dark--radial h3, .dark--radial h4 { color: var(--white); }

/* ---------- typography utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  margin-bottom: 18px;
}
.dark .eyebrow, .dark--radial .eyebrow { color: #d6b8e8; }
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); display: inline-block;
}
h1.display { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2.title { font-size: clamp(1.95rem, 3.6vw, 2.95rem); }
h3.sub { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.32rem); font-weight: 300; line-height: 1.62; }
.tagline-it { font-style: italic; }
.muted { color: var(--ink-soft); }
.dark .muted, .dark--radial .muted { color: #cbb9d9; }
.accent { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 100px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--purple); color: var(--white); box-shadow: 0 12px 26px -12px rgba(93,23,119,.7); }
.btn--solid:hover { background: var(--deep-purple); }
.btn--light { background: var(--white); color: var(--purple); }
.btn--light:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.dark .btn--ghost:hover, .dark--radial .btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- header / nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.scrolled {
  background: rgba(31, 8, 54, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -16px rgba(0,0,0,.6);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-text { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.1rem; line-height: 1.15; display: flex; flex-direction: column; }
.brand-text span { font-family: var(--sans); font-weight: 400; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: #c9aede; line-height: 1; margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #ece5f3; font-weight: 400; font-size: 1rem;
  padding: 9px 14px; border-radius: 9px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,.12); }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 11px 20px; font-size: .95rem; }
.nav-links > .btn { display: none; }
.nav-links a.btn--light { color: var(--purple); }
.nav-links a.btn--light:hover { background: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 9px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2.5px; background: #fff; border-radius: 3px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 64px); padding-bottom: clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.hero-glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(80px); opacity: .55;
}
.hero-glow.g1 { width: 520px; height: 520px; background: #8a36ad; top: -160px; right: -120px; }
.hero-glow.g2 { width: 420px; height: 420px; background: #3a1463; bottom: -200px; left: -140px; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-meta div { font-size: .95rem; }
.hero-meta strong { font-family: var(--serif); font-size: 1.65rem; display: block; color: #fff; }
.hero-meta span { color: #c9aede; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px; padding: 34px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  width: 100%; max-width: 420px;
}
.hero-card img.markring { width: 132px; margin: 0 auto 22px; }
.hero-card .quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; text-align: center; }
.hero-card .quote .accent { font-style: italic; }
.hero-card .stamp {
  margin-top: 20px; text-align: center; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: #c9aede;
}

/* ---------- generic grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; color: var(--purple); }
.card p { color: var(--ink-soft); }
.card-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--purple), var(--deep-purple));
}
.card-ico svg { width: 28px; height: 28px; }

.card.glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #ece5f3;
}
.card.glass:hover { box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.card.glass h3 { color: #fff; }
.card.glass p { color: #cdbcdb; }

/* ---------- HLAS framework grid ---------- */
.hlas {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,.04);
}
.hlas-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.hlas-band {
  grid-column: 1 / -1; padding: 12px 24px; text-align: center;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}
.hlas-band.human { background: rgba(127,186,90,.16); color: #aee08a; }
.hlas-band.ai { background: rgba(255,255,255,.07); color: #d6b8e8; }
.hlas-cell {
  padding: 30px 22px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.1);
}
.hlas-cell:nth-child(3n+1) { border-right: 0; }
.hlas-cell svg, .hlas-cell img { width: 54px; height: 54px; margin: 0 auto 14px; }
.hlas-cell h4 { font-size: 1.22rem; color: #fff; margin-bottom: 6px; }
.hlas-cell p { font-size: .92rem; color: #cdbcdb; }
.hlas-connector {
  text-align: center; font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; padding: 16px; color: #fff;
  background: rgba(127,186,90,.12); border-top: 1px solid rgba(255,255,255,.1);
}

/* green strapline callout - reserved use */
.strapline-box {
  background: var(--forest); color: #fff;
  border-radius: var(--radius-sm); padding: 22px 30px;
  text-align: center; font-family: var(--serif); font-weight: 700;
  font-size: 1.35rem; letter-spacing: .01em;
}

/* ---------- IP stack ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack-layer {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--purple);
  border-radius: var(--radius-sm); padding: 20px 24px;
  transition: transform .25s var(--ease);
}
.stack-layer:hover { transform: translateX(6px); }
.stack-layer .layer-tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.stack-layer .layer-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; color: var(--purple); }
.stack-layer p { color: var(--ink-soft); font-size: .98rem; }
.stack-layer:nth-child(1) { border-left-color: #7a2a99; }
.stack-layer:nth-child(2) { border-left-color: #6b2090; }
.stack-layer:nth-child(3) { border-left-color: #5D1777; }
.stack-layer:nth-child(4) { border-left-color: #4a1566; }
.stack-layer:nth-child(5) { border-left-color: #3a1056; }
.stack-layer:nth-child(6) { border-left-color: #2D0A4E; }

/* ---------- step / numbered ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; }
.step-num {
  counter-increment: step; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--deep-purple));
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- pricing ---------- */
.price-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--purple); box-shadow: var(--shadow-soft); }
.price-flag {
  align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--purple); background: #efe6f6;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.price-card h3 { font-size: 1.4rem; color: var(--purple); margin-bottom: 4px; }
.price-card .price { font-family: var(--serif); font-weight: 700; font-size: 2.3rem; color: var(--ink); margin: 12px 0 2px; }
.price-card .price small { font-size: .95rem; font-family: var(--sans); font-weight: 400; color: var(--ink-soft); }
.price-card .duration { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.price-card .price-tailored { font-family: var(--serif); font-weight: 700; font-size: 1.16rem; color: var(--purple); line-height: 1.35; margin: 14px 0 2px; }
.price-card .gain { font-size: .96rem; color: var(--ink); background: #f4eef9; border-radius: 12px; padding: 13px 15px; margin: 0 0 24px; line-height: 1.5; }
.price-card .gain strong { color: var(--purple); }
.price-card ul.feat { margin: 6px 0 22px; display: grid; gap: 10px; }
.price-card ul.feat li { position: relative; padding-left: 28px; font-size: .98rem; color: var(--ink-soft); }
.price-card ul.feat li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203919' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.price-card .btn { margin-top: auto; }

/* ---------- feature list with ticks ---------- */
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203919' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- analogy cards ---------- */
.analogy {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.analogy:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.analogy .a-ico { font-size: 1.9rem; margin-bottom: 12px; }
.analogy h3 { font-size: 1.18rem; color: var(--purple); margin-bottom: 8px; }
.analogy p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .stat { text-align: center; }
.statband .stat b { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); display: block; color: #fff; }
.statband .stat span { color: #c9aede; font-size: .96rem; }

/* ---------- proof / quote ---------- */
.proof {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: clamp(30px, 4vw, 50px);
}
.proof .big {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.32; color: #fff;
}
.proof .big .accent { color: var(--green); }

/* ---------- article cards ---------- */
.article-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(420px 280px at 60% 20%, #6c2089, var(--deep-purple));
}
.article-thumb svg { width: 90px; height: 90px; opacity: .92; }
.article-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.article-tag { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.article-body h3 { font-size: 1.3rem; color: var(--purple); margin-bottom: 10px; }
.article-body p { color: var(--ink-soft); font-size: .98rem; }
.article-body .read { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--purple); display: inline-flex; gap: 7px; }
.article-card:hover .read .btn-arrow { transform: translateX(4px); }

/* ---------- article (long form) ---------- */
.article-hero { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 56px; }
.article-hero .kicker { color: var(--green); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.article-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin: 16px 0 18px; }
.article-hero .byline { color: #c9aede; font-size: .98rem; }
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 1.35em; font-size: 1.12rem; line-height: 1.78; color: #2f2440; }
.bio p { margin-bottom: 1.05em; }
.bio p:last-of-type { margin-bottom: 0; }

.testimonial { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 1.22rem; line-height: 1.6; color: #f1ebf7; text-align: center; max-width: 780px; margin: 0 auto; }
.testimonial p { margin: 0 0 28px; }
.testimonial cite { display: block; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: .01em; }
.testimonial cite .role { display: block; font-weight: 400; color: #c9aede; margin-top: 4px; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; margin-top: 28px; }
.logos img { height: 56px; width: auto; max-width: 180px; opacity: .92; filter: grayscale(20%); transition: opacity .25s var(--ease), filter .25s var(--ease); }
.logos img:hover { opacity: 1; filter: grayscale(0%); }
@media (max-width: 640px) {
  .logos { gap: 24px 32px; }
  .logos img { height: 44px; max-width: 140px; }
}
.prose h2 { font-size: 1.7rem; color: var(--purple); margin: 1.6em 0 .6em; }
.prose .pull {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.4;
  color: var(--purple); border-left: 4px solid var(--green);
  padding: 6px 0 6px 26px; margin: 1.6em 0;
}
.prose .endnote { font-style: italic; color: var(--ink-soft); font-size: 1rem; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 36px; }
.prose ol { counter-reset: q; margin: 0 0 1.4em; display: grid; gap: 12px; }
.prose ol li {
  counter-increment: q; position: relative; padding: 14px 18px 14px 56px;
  background: var(--paper-tint); border-radius: var(--radius-sm);
  font-size: 1.06rem; line-height: 1.6; color: #2f2440;
}
.prose ol li::before {
  content: counter(q); position: absolute; left: 14px; top: 13px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--serif); font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
}
.prose ul { margin: 0 0 1.4em; padding-left: 0; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 24px; font-size: 1.06rem; line-height: 1.62; color: #2f2440; }
.prose ul li::before {
  content: ""; position: absolute; left: 3px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.legal-meta { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.6em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list a, .contact-list div {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.contact-list .ci { width: 22px; height: 22px; flex: none; }
.contact-list b { display: block; color: #fff; }
.contact-list span { color: #c9aede; font-size: .92rem; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-card label { display: block; font-weight: 600; color: var(--ink); margin: 16px 0 6px; font-size: .95rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); background: #fff; transition: border-color .2s var(--ease);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--purple);
}
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ---------- page header (interior pages) ---------- */
.page-head { padding-top: calc(var(--nav-h) + 66px); padding-bottom: clamp(48px, 6vw, 84px); }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-bottom: 18px; }
.page-head .lead { max-width: 660px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }

/* ---------- footer ---------- */
.footer { background: #1a0633; color: #cdbcdb; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand-text { font-size: 1.1rem; }
.footer p { font-size: .95rem; margin-top: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: .96rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: #fff; }
.footer-strap {
  margin-top: 22px; background: var(--forest); color: #fff;
  border-radius: 10px; padding: 14px 18px; font-family: var(--serif);
  font-weight: 700; text-align: center; font-size: 1.05rem;
}
.footer-legal {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; align-items: center;
}
.footer-legal p { font-size: .85rem; color: #9c89ad; max-width: 660px; margin: 0; }
.footer-policy { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-policy a { font-size: .88rem; color: #cdbcdb; transition: color .2s var(--ease); }
.footer-policy a:hover { color: #fff; }
.footer-base {
  margin-top: 16px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .86rem; color: #9c89ad;
}
.footer-base a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .statband { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(26, 6, 51, 0.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 18px 20px 26px;
    transform: translateY(-130%); transition: transform .38s var(--ease);
    box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-links > .btn { display: inline-flex; margin-top: 10px; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stack-layer { grid-template-columns: 1fr; gap: 6px; }
  .step { grid-template-columns: 46px 1fr; gap: 16px; }
  .step-num { width: 46px; height: 46px; font-size: 1.15rem; }
  .hlas-row { grid-template-columns: 1fr; }
  .hlas-cell { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
