/* ============================================================
   Svarg — How it works and Business types
   Both pages run on the home page's tokens and shell
   (body.mkt--home + landing-hero.css); this file is only the
   page bodies. Classes are sp-*.
   ============================================================ */

.sp-page main { line-height: normal; }

.sp-hero,
.sp-step,
.sp-types,
.sp-cta {
  max-width: 1312px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
  box-sizing: content-box;
}

/* ── Hero ───────────────────────────────────────────────────── */
.sp-hero { padding-top: 72px; padding-bottom: 72px; }
.sp-h1 {
  margin: 20px 0 0;
  max-width: 900px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--lh-text);
  text-wrap: balance;
}
.sp-lead {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--lh-body);
  text-wrap: pretty;
}

.sp-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.sp-journey a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #0b1e24;
  border: 1px solid #1d3a40;
  border-top: 3px solid var(--c);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.sp-journey a:hover,
.sp-journey a:focus-visible { border-color: var(--c); transform: translateY(-2px); }
.sp-journey__n { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: #6f8a8e; }
.sp-journey__name { font-size: 20px; font-weight: 800; color: var(--lh-text); }
.sp-journey__role { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c); }

/* ── One step per product ───────────────────────────────────── */
.sp-step {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid #10262c;
  scroll-margin-top: 90px;
}
.sp-step__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.sp-step__n { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #6f8a8e; }
.sp-step__name { font-size: 22px; font-weight: 800; color: var(--lh-text); }
.sp-step__role {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c);
  color: #04211f;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sp-step__tag {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #1d3a40;
  color: var(--lh-muted);
  font-size: 12px;
  font-weight: 600;
}
.sp-step__title { font-size: 40px; margin-top: 18px; }
.sp-step__p {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--lh-body);
  text-wrap: pretty;
}
.sp-step__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--c);
  font-size: 14.5px;
  line-height: 1.6;
  color: #c3d6d8;
}
.sp-step__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c);
  text-decoration: none;
}
.sp-step__link:hover { text-decoration: underline; }

.sp-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: #0a1a1f;
  border: 1px solid #1d3a40;
  transition: border-color 0.2s;
}
.sp-card:hover { border-color: var(--c); }
.sp-card__n { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--c); }
.sp-card__title { margin: 8px 0 0; font-size: 18px; font-weight: 700; color: var(--lh-text); }
.sp-card__body { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--lh-body); text-wrap: pretty; }

/* ── Business types ─────────────────────────────────────────── */
.sp-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 72px;
}
.sp-type {
  padding: 28px 28px 26px;
  border-radius: 22px;
  background: #0a1a1f;
  border: 1px solid #1d3a40;
  scroll-margin-top: 90px;
}
.sp-type:target { border-color: var(--lh-accent); box-shadow: 0 0 40px rgba(45, 212, 191, 0.15); }
.sp-type:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sp-type__head { display: flex; gap: 16px; align-items: flex-start; }
.sp-type__n {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--lh-gradient);
  color: #04211f;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-type__name { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.015em; color: var(--lh-text); }
.sp-type__ex { margin: 6px 0 0; font-size: 14.5px; color: var(--lh-muted); }
.sp-type__label {
  margin: 22px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lh-accent-soft);
}
.sp-type__drift { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; color: #c3d6d8; text-wrap: pretty; }
.sp-type__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.sp-type__signals li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 12px;
  background: #0b1e24;
  border: 1px solid #1d3a40;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lh-text);
}
.sp-ico { width: 15px; height: 15px; flex: none; color: var(--lh-icon); }

/* ── Closing call to action ─────────────────────────────────── */
.sp-cta {
  margin-bottom: 96px;
  padding-top: 64px;
  padding-bottom: 64px;
  border-radius: 28px;
  background: #0a1a1f radial-gradient(ellipse 700px 400px at 50% 0%, rgba(45, 212, 191, 0.12), transparent 70%);
  border: 1px solid #13292f;
  text-align: center;
  max-width: 1184px;
}
.sp-cta__title { font-size: 40px; margin: 0 auto; max-width: 760px; }
.sp-cta__p { margin: 16px auto 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--lh-body); }
.sp-cta__actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.sp-cta .lh-btn { text-decoration: none; }
.sp-cta__ghost {
  padding: 18px 28px;
  border-radius: 999px;
  border: 1px solid #1d3a40;
  color: var(--lh-text);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s;
}
.sp-cta__ghost:hover { border-color: var(--lh-accent); color: var(--lh-text); }

@media (prefers-reduced-motion: reduce) {
  .sp-journey a, .sp-card { transition: none; }
  .sp-journey a:hover { transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .sp-hero, .sp-step, .sp-types, .sp-cta { padding-left: 32px; padding-right: 32px; }
  .sp-cta { margin-left: 32px; margin-right: 32px; }
}
@media (max-width: 1023px) {
  .sp-step { grid-template-columns: 1fr; gap: 32px; }
  .sp-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-types { grid-template-columns: 1fr; }
  .sp-h1 { font-size: 46px; }
}
@media (max-width: 767px) {
  .sp-hero, .sp-step, .sp-types { padding-left: 16px; padding-right: 16px; }
  .sp-cta { margin: 0 16px 56px; padding: 40px 20px; }
  .sp-hero { padding-top: 40px; padding-bottom: 48px; }
  .sp-h1 { font-size: 34px; }
  .sp-lead { font-size: 16px; }
  .sp-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  .sp-journey li:last-child { grid-column: 1 / -1; }
  .sp-step { padding-top: 48px; padding-bottom: 48px; }
  .sp-step__title { font-size: 30px; }
  .sp-step__p { font-size: 16px; }
  .sp-type { padding: 22px 18px; }
  .sp-type__name { font-size: 21px; }
  .sp-cta__title { font-size: 30px; }
}

/* ── Integrations (/integrations/) ─────────────────────────────
   The logo tile is the home strip's (.lh-int__logo, landing-hero.css). */
.sp-ints { max-width: 1312px; margin: 0 auto; padding: 0 64px 96px; box-sizing: content-box; }
.sp-ints__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sp-int { padding: 28px 28px 30px; border-radius: 20px; background: #0a1a1f; border: 1px solid #13292f; scroll-margin-top: 96px; }
.sp-int__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-int .lh-int__logo { margin: 0; }
.sp-int__how { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lh-accent-soft); border: 1px solid #1f4a52; border-radius: 999px; padding: 6px 12px; }
.sp-int__name { margin: 20px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--lh-text); }
.sp-int__cat { margin: 4px 0 0; font-size: 14px; color: var(--lh-muted); }
.sp-int__reads { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--lh-body); text-wrap: pretty; }
.sp-ints__title { font-size: 36px; margin: 0 0 28px; }
.sp-ints__steps { --c: var(--lh-accent); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sp-ints__steps li { padding: 26px; border-radius: 18px; border: 1px solid #13292f; background: rgba(255, 255, 255, 0.015); }
.sp-ints__tm { margin: 28px auto 0; max-width: 560px; font-size: 12.5px; color: var(--lh-muted); }
@media (max-width: 1199px) { .sp-ints { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 1023px) { .sp-ints__steps { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .sp-ints { padding: 0 16px 56px; }
  .sp-ints__grid { grid-template-columns: 1fr; gap: 14px; }
  .sp-int { padding: 22px 20px 24px; }
  .sp-ints__title { font-size: 28px; }
}

/* ── Resources (/resources/): the blog index ── */
.sp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sp-posts__empty { grid-column: 1 / -1; margin: 0; padding: 40px 28px; border-radius: 20px; border: 1px dashed #1f4a52; text-align: center; font-size: 16px; color: var(--lh-body); }
@media (max-width: 1023px) { .sp-posts { grid-template-columns: 1fr; } }

/* ── Company (/company/) ── */
.co-believe__sub { margin: -12px 0 28px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--lh-body); text-wrap: pretty; }
.co-believe__sub a { color: var(--lh-accent-soft); }
.co-believe .sp-card__title { margin-top: 10px; }
.co-believe .sp-ints__title, .co-contact .sp-ints__title { margin-top: 14px; }
.co-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.co-contact__box { padding: 32px; border-radius: 20px; background: #0a1a1f; border: 1px solid #13292f; }
.co-contact .mkt-contact__form { display: grid; gap: 16px; }
.co-contact .mkt-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-contact .mkt-contact__field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--lh-text); }
.co-contact .mkt-contact__field em { font-style: normal; font-weight: 400; color: var(--lh-muted); }
.co-contact input, .co-contact textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--lh-text); padding: 12px 14px; border-radius: 12px;
  border: 1px solid #1f4a52; background: rgba(255, 255, 255, 0.03); outline: none; resize: vertical;
}
.co-contact input:focus, .co-contact textarea:focus { border-color: var(--lh-accent); }
.co-contact .cta-button { justify-self: start; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 26px; border: 0; border-radius: 999px; cursor: pointer; color: var(--lh-on-accent); background: var(--lh-gradient-btn); }
.co-contact .cta-button:disabled { opacity: .6; cursor: default; }
.co-contact .mkt-contact__error { margin: 0; color: #fca5a5; font-size: 14px; }
.co-contact .mkt-contact__success h2 { margin: 0; font-size: 22px; color: var(--lh-text); }
.co-contact .mkt-contact__success p { margin: 8px 0 0; color: var(--lh-body); }
@media (max-width: 1023px) { .co-contact { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767px) { .co-contact__box { padding: 22px 18px; } .co-contact .mkt-contact__row { grid-template-columns: 1fr; } }

/* ── Pricing (/pricing/): the plan cards and the contact dialog ── */
.pr-top { padding-bottom: 48px; }
.pr-cards-section { max-width: 1312px; margin: 0 auto; padding: 0 64px 96px; box-sizing: content-box; }
.pr-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border-radius: 20px; background: #0a1a1f; border: 1px solid #13292f; }
.pr-card--featured { border-color: var(--lh-accent); box-shadow: 0 0 0 1px var(--lh-accent), 0 24px 60px rgba(45, 212, 191, 0.12); }
.pr-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lh-on-accent); background: var(--lh-gradient-btn); white-space: nowrap; }
.pr-card__name { margin: 0; font-size: 22px; font-weight: 700; color: var(--lh-text); }
.pr-card__price { margin-top: 18px; }
.pr-price__custom { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--lh-accent-soft); }
.pr-card__sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--lh-body); min-height: 3.1em; }
.pr-features { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid #13292f; display: grid; gap: 12px; flex: 1; align-content: start; }
.pr-feature { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--lh-body); }
.pr-feature::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(45, 212, 191, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 10px; }
.pr-feature--lead { color: var(--lh-text); font-weight: 600; }
.pr-feature b { color: var(--lh-accent-soft); }
.pr-card__cta { margin-top: 26px; }
.pr-cta-btn { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.pr-cta-btn--outline { color: var(--lh-text); background: transparent; border: 1px solid #1f4a52; }
.pr-cta-btn--outline:hover { border-color: var(--lh-accent); color: var(--lh-text); }
.pr-cta-btn--primary { color: var(--lh-on-accent); background: var(--lh-gradient-btn); border: 0; }
.pr-footer-cta .sp-cta__ghost { font: inherit; cursor: pointer; background: transparent; }
.pr-dialog-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 10, 0.72); }
.pr-dialog-overlay[hidden] { display: none; }
.pr-dialog { position: relative; width: 100%; max-width: 440px; padding: 36px 30px 30px; border-radius: 22px; text-align: center; background: #0a1a1f; border: 1px solid #1f4a52; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.pr-dialog__close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: var(--lh-muted); font-size: 18px; cursor: pointer; }
.pr-dialog__icon { font-size: 30px; }
.pr-dialog__title { margin: 12px 0 0; font-size: 22px; font-weight: 700; color: var(--lh-text); }
.pr-dialog__body { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--lh-body); }
.pr-dialog__cta { margin-top: 22px; }
@media (max-width: 1199px) { .pr-cards-section { padding-left: 32px; padding-right: 32px; } .pr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 767px) { .pr-cards-section { padding: 0 16px 56px; } .pr-cards { grid-template-columns: 1fr; } }

/* ── Company copy (the owner's, 21 Oct 2026) ── */
.co-story { margin-top: 24px; max-width: 760px; display: grid; gap: 16px; }
.co-story p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--lh-body); text-wrap: pretty; }
.co-story__strong { font-size: 22px !important; font-weight: 800; color: var(--lh-text) !important; letter-spacing: -0.01em; }
.co-believe .co-believe__sub + .co-believe__sub { margin-top: -14px; }
.co-believe .sp-card__title { font-size: 17px; line-height: 1.35; }
.co-building .co-story { margin-top: 0; }
.co-promise { margin-bottom: 96px; }
.co-promise .lh-eyebrow { text-align: center; }
.co-promise__line { margin: 14px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: var(--lh-text); }
@media (max-width: 767px) { .co-story p { font-size: 16px; } .co-story__strong { font-size: 19px !important; } .co-promise__line { font-size: 21px; } .co-promise { margin-bottom: 56px; } }

/* ── Terms of Service (/terms/) ── */
.tm-hero { padding-bottom: 32px; }
.tm-body { max-width: 820px; margin: 0 auto 96px; padding: 0 64px; box-sizing: content-box; }
.tm-sec { padding: 22px 0; border-top: 1px solid #13292f; }
.tm-sec h2 { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--lh-text); }
.tm-sec p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; color: var(--lh-body); }
.tm-sec a { color: var(--lh-accent-soft); }
.tm-sec strong { color: var(--lh-text); }
.tm-todo { color: #FCD34D !important; }
@media (max-width: 1199px) { .tm-body { padding: 0 32px; } }
@media (max-width: 767px) { .tm-body { padding: 0 16px; margin-bottom: 56px; } .tm-sec h2 { font-size: 18px; } .tm-sec p { font-size: 15px; } }
