/* JimatAI — "Architectural Enablement" design system
   canvas #F5F3ED · charcoal #121413 · lime #D4F851 · Syne + Plus Jakarta Sans
   cards 28–32px · controls 999px pills · flat planar depth, no heavy shadows */

:root {
  --canvas: #F5F3ED;
  --canvas-bright: #FBF9F3;
  --surface-card: #FFFFFF;
  --surface-low: #F0EEE8;
  --surface-high: #EAE8E2;
  --ink: #1B1C18;
  --dark: #121413;
  --dark-2: #1C1E1D;
  --lime: #D4F851;
  --lime-soft: #E8FB8F;
  --lime-press: #C5EB3E;
  --border-cream: #E2E0D8;
  --muted: #6E706E;
  --on-dark-muted: #A9ADA8;
  --hairline-dark: rgba(255, 255, 255, .08);
  --shadow-float: 0px 20px 40px rgba(18, 20, 19, .04);
  --radius-card: 28px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --pill: 999px;
  --wrap: 1240px;
  --font-display: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas-bright);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; }
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1em; }
.body-lg { font-size: 1.125rem; line-height: 1.75; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1025px) { .wrap { padding: 0 3rem; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--lime); color: var(--dark); padding: 12px 20px; z-index: 100;
  border-radius: var(--pill); font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- floating pill navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(251, 249, 243, .85);
  backdrop-filter: blur(10px);
}
.site-header.scrolled .nav-pill { box-shadow: var(--shadow-float); }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface-card);
  border: 1px solid var(--border-cream);
  border-radius: var(--pill);
  padding: 10px 12px 10px 24px;
  box-shadow: var(--shadow-float);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em;
}
.brand-dot { color: #A8C42F; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--ink);
}
.nav-links a:hover { color: var(--muted); }

/* ---------- language tab (fixed right edge) ---------- */
.lang-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; z-index: 60;
  border-radius: 16px 0 0 16px; overflow: hidden;
  border: 1px solid var(--hairline-dark); border-right: 0;
  background: var(--dark);
  box-shadow: -8px 12px 28px rgba(18, 20, 19, .18);
}
.lang-opt {
  writing-mode: vertical-rl;
  padding: 16px 10px;
  font-weight: 800; font-size: .78rem; letter-spacing: .14em;
  text-decoration: none; color: var(--canvas); background: var(--dark);
}
.lang-opt + .lang-opt { border-top: 1px solid var(--hairline-dark); }
.lang-opt.active { background: var(--lime); color: var(--dark); }
.lang-opt:hover { background: var(--lime); color: var(--dark); }

/* ---------- buttons / pills / chips / nodes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--lime); color: var(--dark); }
.btn-primary:hover { background: var(--lime-press); }
.btn-secondary { background: var(--surface-card); color: var(--ink); border-color: var(--border-cream); }
.btn-secondary:hover { background: var(--surface-high); }
.btn-dark { background: var(--dark); color: #fff; border: 0; }
.btn-dark:hover { background: var(--dark-2); }
.btn-small { padding: 11px 20px; font-size: .875rem; }
.arr { font-weight: 800; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--pill);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.chip-accent { background: var(--lime); color: var(--dark); }
.chip-muted { background: var(--surface-low); color: var(--ink); border: 1px solid var(--border-cream); text-transform: none; letter-spacing: .02em; font-size: .85rem; }
.chip-onaccent { background: var(--dark); color: var(--lime); }

.action-node {
  width: 48px; height: 48px; border-radius: var(--pill);
  background: var(--lime); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; flex-shrink: 0;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: var(--pill); padding: 8px 16px; margin-bottom: 20px;
  box-shadow: var(--shadow-float);
}
.eyebrow-text {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.eyebrow-on-dark { background: rgba(255, 255, 255, .06); border-color: var(--hairline-dark); box-shadow: none; }
.eyebrow-on-dark .eyebrow-text { color: var(--lime); }

/* ---------- hero: architectural 50/50 split ---------- */
.hero { padding: 3.5rem 0 4.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hero-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-card); box-shadow: var(--shadow-float);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 20, 19, .72), rgba(18, 20, 19, 0) 55%);
  pointer-events: none;
}
.status-pill {
  position: absolute; top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-radius: var(--pill); padding: 9px 16px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.ping { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.ping.solid { margin-left: -12px; }
.ping:first-child { animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.1); } }
.hero-overlay-card {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(18, 20, 19, .85); backdrop-filter: blur(14px);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md); padding: 22px;
  color: #fff;
}
.oc-label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 6px;
}
.oc-title { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }

.hero-copy h1 { margin-bottom: 18px; }
.hero-sub { font-size: 1.125rem; line-height: 1.75; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.trust-bar {
  display: flex; align-items: stretch; justify-content: space-between; gap: 18px;
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: var(--radius-md); padding: 22px 24px; box-shadow: var(--shadow-float);
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item + .trust-item { border-left: 1px solid var(--border-cream); padding-left: 18px; }
.trust-value { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.trust-label { font-size: .82rem; color: var(--muted); }

/* ---------- straight answer (GEO) ---------- */
.answer-band { padding: 1rem 0 2.5rem; }
.answer-card {
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: var(--radius-card); padding: 40px;
  box-shadow: var(--shadow-float);
}
.answer-card p { font-size: 1.15rem; line-height: 1.8; margin: 14px 0 0; max-width: 60rem; }

/* ---------- tools strip ---------- */
.tools-strip { padding: 1rem 0 2rem; }
.tools-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: var(--pill); padding: 16px 28px; box-shadow: var(--shadow-float);
}
.tools-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.tools-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- generic sections + splits ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface-low); }
.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem; align-items: center;
}
.split-copy .checks { margin-top: 22px; }
.img-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-cream); box-shadow: var(--shadow-float);
  background: var(--surface-card);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

ul.checks { list-style: none; padding: 0; margin: 20px 0 0; max-width: 40rem; }
ul.checks li { padding: 9px 0 9px 34px; position: relative; color: var(--ink); }
ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--dark); font-weight: 900;
  background: var(--lime); width: 21px; height: 21px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .72rem;
}

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 2.75rem; }
.section-head > div { max-width: 46rem; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center > div { margin: 0 auto; }

/* ---------- framework cards (packages) ---------- */
.framework-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}
.framework-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  border-radius: var(--radius-lg); padding: 36px;
  transition: transform .2s ease;
}
.framework-card:hover { transform: translateY(-3px); }
.card-dark {
  background: var(--dark); color: #fff; border: 1px solid var(--hairline-dark);
}
.card-highlight {
  background: var(--lime); color: var(--dark); border: 1px solid var(--lime-press);
}
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.fc-framework {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.card-dark .fc-framework { color: var(--lime); }
.card-highlight .fc-framework { color: var(--dark); }
.fc-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--pill);
}
.card-dark .fc-tag { background: rgba(255, 255, 255, .1); color: var(--canvas); }
.card-highlight .fc-tag { background: var(--dark); color: var(--lime); }
.framework-card h3 { margin-bottom: 12px; }
.fc-desc { font-size: .98rem; line-height: 1.7; }
.card-dark .fc-desc { color: var(--on-dark-muted); }
.card-highlight .fc-desc { color: rgba(18, 20, 19, .82); }
.fc-metric {
  display: inline-flex; margin-top: 18px; padding: 8px 15px; border-radius: var(--pill);
  font-size: .82rem; font-weight: 700;
}
.card-dark .fc-metric { background: rgba(212, 248, 81, .12); color: var(--lime); }
.card-highlight .fc-metric { background: rgba(18, 20, 19, .1); color: var(--dark); }
.fc-bullets { list-style: none; padding: 0; margin: 0; }
.fc-bullets li {
  padding: 8px 0 8px 26px; position: relative; font-size: .93rem;
}
.fc-bullets li::before {
  content: "→"; position: absolute; left: 0; top: 8px; font-weight: 800;
}
.card-dark .fc-bullets li::before { color: var(--lime); }
.card-highlight .fc-bullets li::before { color: var(--dark); }
.fc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 22px;
}
.card-dark .fc-foot { border-top: 1px solid var(--hairline-dark); }
.card-highlight .fc-foot { border-top: 1px solid rgba(18, 20, 19, .18); }
.fc-price { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.fc-period { display: block; font-size: .82rem; opacity: .75; margin-top: 3px; }
.fc-foot-right { display: flex; align-items: center; gap: 14px; }
.fc-note { font-size: .78rem; opacity: .75; text-align: right; max-width: 10rem; }
.card-highlight .action-node { background: var(--dark); color: var(--lime); }

/* ---------- stats monolith ---------- */
.stats-monolith {
  position: relative; overflow: hidden;
  background: var(--dark-2); border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg); padding: 4rem;
  color: #fff;
}
.stats-monolith::before {
  content: ""; position: absolute; top: -140px; left: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(212, 248, 81, .1); filter: blur(70px); pointer-events: none;
}
.stats-head {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; padding-bottom: 34px; margin-bottom: 34px;
  border-bottom: 1px solid var(--hairline-dark);
}
.stats-note { max-width: 26rem; color: var(--on-dark-muted); font-size: .95rem; margin: 0; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-block {
  background: rgba(255, 255, 255, .045); border-radius: var(--radius-md); padding: 26px;
}
.stat-value {
  font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
}
.stat-arrow { color: var(--lime); }
.stat-block p { margin: 10px 0 0; color: var(--on-dark-muted); font-size: .88rem; line-height: 1.55; }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--border-cream); background: var(--surface-card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td {
  padding: 18px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border-cream); font-size: .95rem;
}
table.compare thead th {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  background: var(--surface-low);
}
table.compare th[scope="row"] { font-weight: 700; width: 21%; background: var(--canvas-bright); }
table.compare td.us { background: var(--lime-soft); font-weight: 600; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- proof cards ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proof-card {
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: var(--radius-card); padding: 40px;
}
.proof-card h3 { margin: 18px 0 12px; font-size: 1.45rem; }
.proof-card p { color: var(--muted); margin: 0; line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 56rem; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--surface-card); border: 1px solid var(--border-cream);
  border-radius: 20px; padding: 4px 26px;
}
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  padding: 18px 40px 18px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 46rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--lime); border-radius: 36px; padding: 5rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner { max-width: 46rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-inner h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); margin: 6px 0 0; }
.cta-inner > p { font-size: 1.12rem; margin: 0; color: rgba(18, 20, 19, .82); }
.cta-form {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 34rem;
  background: var(--surface-card); border-radius: var(--pill); padding: 8px 8px 8px 22px;
  box-shadow: 0 18px 36px rgba(18, 20, 19, .12); margin-top: 8px;
}
.cta-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); padding: 12px 0;
}
.cta-form input::placeholder { color: var(--muted); }
.cta-note { font-size: .82rem; letter-spacing: .02em; color: rgba(18, 20, 19, .7); margin: 0; }
.cta-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding: 4.5rem 0 22px; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 2.5rem;
}
.brand-foot {
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: #fff;
  letter-spacing: .01em; margin-bottom: 14px;
}
.footer-blurb { max-width: 24rem; line-height: 1.7; font-size: .93rem; }
.footer-status {
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 18px;
}
.dot-accent { background: var(--lime); animation: pulse 2s ease-in-out infinite; display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.site-footer h3 {
  font-family: var(--font-body); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; font-size: .92rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-bar {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline-dark); padding-top: 20px;
  font-size: .8rem; color: var(--muted);
}
.footer-bar p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .framework-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  h1 { font-size: 2.5rem; line-height: 1.15; }
  h2 { font-size: 2rem; }
  .hero { padding: 2rem 0 3rem; }
  .hero-grid, .split, .proof-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-frame { aspect-ratio: 4 / 3; }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-item + .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--border-cream); padding-top: 14px; width: 100%; }
  .nav-links { display: none; }
  .nav-pill { padding: 8px 8px 8px 18px; }
  .tools-bar { flex-direction: column; align-items: flex-start; border-radius: var(--radius-md); }
  .tools-chips { justify-content: flex-start; }
  .section { padding: 3.5rem 0; }
  .stats-monolith { padding: 2.25rem; }
  .stats-head { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 1.25rem; }
  .cta-form { flex-direction: column; border-radius: var(--radius-md); padding: 14px; }
  .cta-form input { width: 100%; padding: 10px 8px; }
  .cta-form .btn { width: 100%; }
  .lang-tab { top: auto; bottom: 16px; transform: none; flex-direction: row; border-radius: 16px 0 0 16px; }
  .lang-opt { writing-mode: horizontal-tb; padding: 10px 14px; }
  .lang-opt + .lang-opt { border-top: 0; border-left: 1px solid var(--hairline-dark); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
