/* ============================================================
   Sopal homepage sections — authored on top of the TutorTracer
   Webflow base. Reuses the base design tokens (Aspekta/Newsreader,
   --colors-brand--*, the noise grain) so it stays visually of-a-piece
   with the hero/nav, but is clean hand-written CSS (not Webflow soup).
   Loaded LAST so it wins.
   ============================================================ */

:root {
  --sopal-green: #0a9d62;
  --sopal-green-deep: #0b7a4d;
  --sopal-ink: #15171a;
  --sopal-muted: #5b6166;
  --sopal-line: rgba(10, 20, 15, 0.10);
  --sopal-card: #ffffff;
  --sopal-wrap: 1160px;
}

/* ---- shared layout ---- */
.sopal-section { padding: 96px 0; }
.sopal-section.tight { padding: 64px 0; }
.sopal-wrap {
  max-width: var(--sopal-wrap);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.sopal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sopal-green);
  margin-bottom: 18px;
}
.sopal-section h2.heading-h2 { color: var(--sopal-ink); max-width: 780px; }
.sopal-section h2 .serif { font-family: inherit; font-style: normal; }
.sopal-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--sopal-muted);
  max-width: 660px;
  margin: 18px 0 0;
}

/* ---- buttons ---- */
.sopal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.sopal-btn-primary {
  background: var(--sopal-green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 157, 98, 0.28);
}
.sopal-btn-primary:hover { background: var(--sopal-green-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,157,98,0.34); }
.sopal-btn-ghost {
  background: transparent;
  color: var(--sopal-ink);
  border-color: var(--sopal-line);
}
.sopal-btn-ghost:hover { background: rgba(0,0,0,0.04); transform: translateY(-2px); }

/* ---- stat band ---- */
.sopal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--sopal-line);
  border-bottom: 1px solid var(--sopal-line);
  padding: 40px 28px;
}
.sopal-stat-num {
  display: block;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sopal-ink);
  line-height: 1;
}
.sopal-stat-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--sopal-muted);
}

/* ---- platform grid ---- */
.sopal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.sopal-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--sopal-card);
  border: 1px solid var(--sopal-line);
  border-radius: 18px;
  padding: 26px 24px;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  transition: transform 0.24s cubic-bezier(0.22,0.8,0.3,1), box-shadow 0.24s ease, border-color 0.24s ease;
}
/* nothing is expanded by default — the gradient + grain rise on hover */
.sopal-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0;
  transition: opacity 0.3s ease;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(134,216,198,0.95) 0%, rgba(134,216,198,0) 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(196,224,106,0.9) 0%, rgba(196,224,106,0) 55%),
    linear-gradient(135deg, #d8f6e7, #eafbd9);
}
.sopal-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  background-image: url("../images/6937bff8d8e3ccfe22518e69_noise-pattern.png");
  background-size: 200px 200px; mix-blend-mode: soft-light;
}
.sopal-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(10,157,98,0.5);
  box-shadow: 0 24px 52px rgba(20, 40, 30, 0.16);
  z-index: 3;
}
.sopal-card:hover::before { opacity: 1; }
.sopal-card:hover::after { opacity: 0.4; }
.sopal-card:hover h3 { color: #0c2a1d; }
.sopal-card:hover p { color: #244e3b; }
.sopal-card:hover .sopal-card-icon { background: rgba(10,120,70,0.16); color: var(--sopal-green-deep); }
.sopal-card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10,157,98,0.10);
  color: var(--sopal-green-deep);
  margin-bottom: 16px;
}
.sopal-card-icon svg { width: 21px; height: 21px; }
.sopal-card h3 { font-size: 17px; font-weight: 600; color: var(--sopal-ink); margin: 0 0 7px; letter-spacing: -0.01em; }
.sopal-card p { font-size: 14px; line-height: 1.55; color: var(--sopal-muted); margin: 0; }
.sopal-card-tag {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sopal-green);
}

/* featured card — adjudication search spans two columns, green panel */
.sopal-card-feature {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  color: #0c2a1d;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(134,216,198,0.9) 0%, rgba(134,216,198,0) 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(196,224,106,0.85) 0%, rgba(196,224,106,0) 55%),
    linear-gradient(135deg, #d8f6e7, #eafbd9);
  border-color: rgba(10,157,98,0.25);
}
.sopal-card-feature .sopal-card-icon { background: rgba(10,120,70,0.16); color: var(--sopal-green-deep); }
.sopal-card-feature h3 { font-size: 21px; }
.sopal-card-feature p { color: #244e3b; font-size: 15px; max-width: 40ch; }
.sopal-grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../images/6937bff8d8e3ccfe22518e69_noise-pattern.png");
  background-size: 200px 200px; opacity: 0.35; mix-blend-mode: soft-light;
}

/* ---- split spotlight ---- */
.sopal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sopal-split.reverse .sopal-split-copy { order: 2; }
.sopal-ticks { list-style: none; margin: 26px 0 0; padding: 0; }
.sopal-ticks li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 15.5px; line-height: 1.5; color: var(--sopal-ink);
}
.sopal-ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(10,157,98,0.14) url("../images/6937bff8d8e3ccfe22518e1e_icon-interface-arrow-right.svg") center/10px no-repeat;
}

/* mock product panel (skeleton — no fabricated case data) */
.sopal-panel {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, #ffffff, #f4faf6);
  border: 1px solid var(--sopal-line);
  box-shadow: 0 30px 70px rgba(20, 50, 35, 0.12);
  overflow: hidden;
}
.sopal-panel-bar {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--sopal-line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 14px; color: var(--sopal-muted);
}
.sopal-panel-bar svg { width: 17px; height: 17px; color: var(--sopal-green-deep); flex-shrink: 0; }
.sopal-row {
  border: 1px solid var(--sopal-line);
  border-radius: 12px; padding: 14px; margin-bottom: 10px; background: #fff;
}
.sopal-chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.sopal-chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(10,157,98,0.10); color: var(--sopal-green-deep);
}
.sopal-chip.amber { background: rgba(217,160,40,0.14); color: #9a6a12; }
.sopal-chip.slate { background: rgba(40,60,80,0.10); color: #3a4a5a; }
.sopal-sk { height: 9px; border-radius: 6px; background: rgba(20,40,30,0.10); }
.sopal-sk.w-90 { width: 90%; } .sopal-sk.w-70 { width: 70%; } .sopal-sk.w-50 { width: 50%; }
.sopal-sk + .sopal-sk { margin-top: 8px; }

/* check-style rows for the verify panel */
.sopal-check { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--sopal-line); }
.sopal-check:last-child { border-bottom: 0; }
.sopal-check-mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.sopal-check-mark.pass { background: rgba(10,157,98,0.15); color: var(--sopal-green-deep); }
.sopal-check-mark.warn { background: rgba(217,160,40,0.18); color: #9a6a12; }
.sopal-check-body { flex: 1; }
.sopal-check-body .sopal-sk { background: rgba(20,40,30,0.12); }

/* ---- AI assistant band ---- */
.sopal-ai {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: 72px 28px;
  overflow: hidden;
  background-color: var(--colors-brand--brand-1);
  background-image:
    radial-gradient(60% 90% at 18% 30%, rgba(18,160,106,0.55) 0%, transparent 70%),
    radial-gradient(55% 85% at 85% 40%, rgba(70,190,170,0.50) 0%, transparent 70%),
    radial-gradient(60% 90% at 50% 115%, rgba(196,224,106,0.55) 0%, transparent 66%);
}
.sopal-ai h2.heading-h2 { margin: 0 auto; color: #0c2a1d; }
.sopal-ai .sopal-eyebrow { color: var(--sopal-green-deep); }
.sopal-ai .sopal-lede { margin: 18px auto 30px; color: #1c4030; }
.sopal-ai .sopal-btn-primary { background: #0c2a1d; box-shadow: 0 10px 26px rgba(0,0,0,0.18); }
.sopal-ai .sopal-btn-primary:hover { background: #08231a; }

/* ---- pricing ---- */
.sopal-pricing-head { text-align: center; }
.sopal-pricing-head .sopal-eyebrow,
.sopal-pricing-head .sopal-lede { margin-left: auto; margin-right: auto; }
.sopal-pricing-head h2.heading-h2 { margin: 0 auto; }
.sopal-price-card {
  max-width: 560px; margin: 44px auto 0;
  border: 1px solid var(--sopal-line);
  border-radius: 24px; padding: 40px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(20, 50, 35, 0.10);
  text-align: center;
}
.sopal-price-amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.sopal-price-amount .num { font-size: 60px; font-weight: 600; letter-spacing: -0.03em; color: var(--sopal-ink); line-height: 1; }
.sopal-price-amount .per { font-size: 17px; color: var(--sopal-muted); }
.sopal-price-annual { margin-top: 12px; font-size: 15px; color: var(--sopal-muted); }
.sopal-price-annual b { color: var(--sopal-green-deep); }
.sopal-price-includes { list-style: none; margin: 28px 0; padding: 0; text-align: left; display: grid; gap: 12px; }
.sopal-price-includes li { position: relative; padding-left: 30px; font-size: 15px; color: var(--sopal-ink); }
.sopal-price-includes li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(10,157,98,0.14) url("../images/6937bff8d8e3ccfe22518e1e_icon-interface-arrow-right.svg") center/10px no-repeat;
}
.sopal-price-card .sopal-btn { width: 100%; justify-content: center; }
.sopal-price-fine { margin-top: 16px; font-size: 13px; color: var(--sopal-muted); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .sopal-grid { grid-template-columns: repeat(2, 1fr); }
  .sopal-card-feature { grid-column: span 2; }
  .sopal-split { grid-template-columns: 1fr; gap: 36px; }
  .sopal-split.reverse .sopal-split-copy { order: 0; }
  .sopal-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 600px) {
  .sopal-section { padding: 64px 0; }
  .sopal-grid { grid-template-columns: 1fr; }
  .sopal-card-feature { grid-column: span 1; }
  .sopal-stat-num { font-size: 32px; }
  .sopal-price-card { padding: 28px 22px; }
}

/* ============================================================
   Drop the italic serif accent — sans-serif across the whole site
   ============================================================ */
.serif,
.display-heading .serif,
.heading-h1 .serif,
.heading-h2 .serif,
.font-serif-accent {
  font-family: var(--typefaces--body, Aspekta, Arial, sans-serif) !important;
  font-style: normal !important;
}

/* ============================================================
   Closing CTA: left-align the content (override TT's align-center)
   ============================================================ */
.wide-section-content.cta .main-container.align-center { text-align: left !important; }
.wide-section-content.cta .vertical-content.align-center,
.wide-section-content.cta .cta-content {
  align-items: flex-start !important;
  text-align: left !important;
}
.wide-section-content.cta .display-heading,
.wide-section-content.cta .heading-h5 { text-align: left !important; max-width: 760px; }
.wide-section-content.cta .buttons { justify-content: flex-start !important; }

/* ============================================================
   Nav dropdown markers: square -> chevron.
   Down (˅) by default, flips up (^) on hover/open.
   ============================================================ */
.navbar .dropdown-toggle .square-small {
  width: 7px !important;
  height: 7px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  border: 0;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 0.2s ease, top 0.2s ease;
  margin-left: 4px;
  position: relative;
  top: -2px;
}
.navbar .nav-dropdown:hover .dropdown-toggle .square-small,
.navbar .nav-dropdown:focus-within .dropdown-toggle .square-small,
.navbar .dropdown-toggle:hover .square-small {
  transform: rotate(225deg);
  top: 1px;
}

/* ============================================================
   Hero: slightly more side margin (subtle inset of the gradient)
   ============================================================ */
.section.wide-section { padding-left: 18px; padding-right: 18px; }
@media (max-width: 600px) { .section.wide-section { padding-left: 10px; padding-right: 10px; } }

/* ============================================================
   Three-product section (Research / Plus / Projects) on the home
   ============================================================ */
.sopal-plans3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:42px; align-items:stretch; }
.sopal-plan3 { position:relative; border:1px solid var(--sopal-line); border-radius:20px; padding:32px 26px; background:#fff; display:flex; flex-direction:column; }
.sopal-plan3-hot { border-color:rgba(10,157,98,0.55); box-shadow:0 24px 56px rgba(20,40,30,0.12); }
.sopal-plan3-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--sopal-green); color:#fff; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 14px; border-radius:999px; }
.sopal-plan3 h3 { font-size:21px; font-weight:600; color:var(--sopal-ink); margin:0 0 4px; letter-spacing:-0.01em; }
.sopal-plan3-who { font-size:14px; color:var(--sopal-muted); margin:0 0 22px; }
.sopal-plan3-feats { list-style:none; margin:0 0 26px; padding:0; display:grid; gap:13px; flex:1; }
.sopal-plan3-feats li { position:relative; padding-left:30px; font-size:14.5px; line-height:1.45; color:var(--sopal-ink); }
.sopal-plan3-feats li::before { content:""; position:absolute; left:0; top:0; width:19px; height:19px; border-radius:50%; background:rgba(10,157,98,0.14); }
.sopal-plan3-feats li::after { content:""; position:absolute; left:6.5px; top:3px; width:5px; height:9px; border:solid var(--sopal-green-deep); border-width:0 2px 2px 0; transform:rotate(45deg); }
.sopal-plan3 .sopal-btn { width:100%; justify-content:center; }
@media (max-width:880px){ .sopal-plans3{grid-template-columns:1fr;} }
