/* ==========================================================================
   Seggel — software / SaaS positioning styles
   Added sections: hero lead, SaaS products, technology, industries, final CTA.
   Palette + type inherited from the incumbent Elementor system:
     navy #121358 · body #404040 · light #F7F7F7 · white #FFFFFF
     display "Inter" · body "Source Sans Pro"
   ========================================================================== */

:root {
  --sg-navy: #121358;
  --sg-navy-soft: #2a2b7a;
  --sg-ink: #404040;
  --sg-ink-mute: #6b6b78;
  --sg-line: #e2e2ea;
  --sg-light: #f7f7f7;
  --sg-white: #ffffff;
  --sg-accent: #e63b2e;
  --sg-radius: 14px;
  --sg-maxw: 1240px;
}

.sg-section,
.sg-section * { box-sizing: border-box; }

.sg-section {
  width: 100%;
  padding: 96px 40px;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--sg-ink);
}

.sg-inner { max-width: var(--sg-maxw); margin: 0 auto; }

.sg-section--light { background: var(--sg-light); }
.sg-section--white { background: var(--sg-white); }

/* ---- shared type ------------------------------------------------------- */

.sg-h2 {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--sg-navy);
  margin: 0 0 20px;
  text-wrap: balance;
}

.sg-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--sg-ink);
  max-width: 68ch;
  margin: 0;
}

/* ---- buttons ----------------------------------------------------------- */

.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease,
              border-color .22s ease, transform .22s ease;
}

.sg-btn:focus-visible {
  outline: 3px solid var(--sg-accent);
  outline-offset: 3px;
}

.sg-btn--primary { background: var(--sg-navy); color: var(--sg-white); }
.sg-btn--primary:hover,
.sg-btn--primary:focus { background: #1c1d7d; color: var(--sg-white); transform: translateY(-2px); }

.sg-btn--ghost { background: transparent; color: var(--sg-navy); border-color: var(--sg-navy); }
.sg-btn--ghost:hover,
.sg-btn--ghost:focus { background: var(--sg-navy); color: var(--sg-white); transform: translateY(-2px); }

.sg-btn--onnavy { background: var(--sg-white); color: var(--sg-navy); }
.sg-btn--onnavy:hover,
.sg-btn--onnavy:focus { background: #ececfb; transform: translateY(-2px); }

.sg-btn--onnavy-ghost { background: transparent; color: var(--sg-white); border-color: rgba(255,255,255,.55); }
.sg-btn--onnavy-ghost:hover,
.sg-btn--onnavy-ghost:focus { border-color: var(--sg-white); background: rgba(255,255,255,.1); color: var(--sg-white); transform: translateY(-2px); }

.sg-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---- hero lead (home) -------------------------------------------------- */

.sg-hero-lead {
  width: 100%;
  max-width: 960px;
  margin: 8px auto 0;
  padding: 0 20px 8px;
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
  box-sizing: border-box;
}

.sg-hero-title {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--sg-navy);
  margin: 0 0 18px;
  text-wrap: balance;
}

.sg-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--sg-ink);
  max-width: 64ch;
  margin: 0 auto;
}

.sg-hero-lead .sg-btn-row { justify-content: center; margin-top: 28px; }

/* ---- products ---------------------------------------------------------- */

.sg-products__head { margin-bottom: 44px; max-width: 760px; }

.sg-product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--sg-navy);
  border-radius: var(--sg-radius);
  overflow: hidden;
  color: var(--sg-white);
}

.sg-product__main { padding: 52px 48px; }

.sg-product__name {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--sg-white);
}

.sg-product__desc {
  font-size: 17px;
  line-height: 1.7;
  color: #d6d7ee;
  margin: 0;
  max-width: 52ch;
}

.sg-product__aside {
  padding: 52px 48px;
  background: rgba(255, 255, 255, .06);
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.sg-product__aside-title {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #b9baE4;
  margin: 0 0 18px;
}

.sg-features { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }

.sg-features li {
  font-size: 14.5px;
  line-height: 1;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  color: #eceCf9;
  white-space: nowrap;
}

/* ---- technology (spec sheet, not cards) -------------------------------- */

.sg-tech__head { margin-bottom: 40px; max-width: 760px; }

.sg-tech__list { border-top: 1px solid var(--sg-line); }

.sg-tech__row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--sg-line);
}

.sg-tech__label {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0;
}

.sg-tech__value { font-size: 17px; line-height: 1.6; color: var(--sg-ink); margin: 0; }

/* placeholder marker — deliberately obvious, meant to be replaced */
.sg-ph {
  display: inline-block;
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #8a5a00;
  background: #fff4d6;
  border: 1px dashed #e0a92b;
  border-radius: 6px;
  padding: 6px 12px;
}

.sg-note {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sg-ink-mute);
}

/* ---- industries -------------------------------------------------------- */

.sg-industries__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items: start;
}

.sg-industries__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }

.sg-industries__list li {
  font-family: "Inter", "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--sg-navy);
  background: var(--sg-white);
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  padding: 13px 20px;
  transition: border-color .2s ease, background-color .2s ease;
}

.sg-industries__list li:hover { border-color: var(--sg-navy); background: #f2f2fa; }

.sg-section--light .sg-industries__list li { background: var(--sg-white); }
.sg-section--white .sg-industries__list li { background: var(--sg-light); }

/* ---- final CTA --------------------------------------------------------- */

.sg-cta { background: var(--sg-navy); color: var(--sg-white); text-align: center; }
.sg-cta .sg-h2 { color: var(--sg-white); margin-inline: auto; }
.sg-cta .sg-lede { color: #d6d7ee; margin-inline: auto; }
.sg-cta .sg-btn-row { justify-content: center; }

/* ---- responsive -------------------------------------------------------- */

@media (max-width: 1024px) {
  .sg-section { padding: 72px 32px; }
  .sg-product { grid-template-columns: 1fr; }
  .sg-product__aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .sg-industries__grid { grid-template-columns: 1fr; gap: 32px; }
  .sg-tech__row { grid-template-columns: 200px 1fr; }
}

@media (max-width: 767px) {
  .sg-section { padding: 56px 20px; }
  .sg-product__main,
  .sg-product__aside { padding: 34px 24px; }
  .sg-tech__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .sg-lede, .sg-hero-sub { font-size: 17px; }
  .sg-btn { width: 100%; }
  .sg-btn-row { gap: 12px; }
  .sg-features li { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-btn, .sg-industries__list li { transition: none; }
  .sg-btn:hover, .sg-btn:focus { transform: none; }
}
