/* ==========================================================================
   FinOrjin public marketing site — informational pages
   static/css/marketing/pages/public-info.css
   Loaded ONLY by marketing/{about,faq,how_to,file_management,security,
   contact,campaigns,announcements}.html (via marketing/_public_info_css.html),
   after the core marketing.css.
   Everything is scoped under body.mk-site and uses core tokens/components;
   this file only adds the few layouts those pages need.
   ========================================================================== */

/* ---- Shared page rhythm ---------------------------------------------------- */
.mk-site .mk-info-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.mk-site .mk-info-section--tight {
  padding-top: 0;
}

.mk-site .mk-narrow {
  max-width: calc(800px + 2 * var(--mk-gutter));
}

.mk-site .mk-center {
  text-align: center;
}

.mk-site .mk-info-link {
  margin-top: 32px;
  text-align: center;
}

.mk-site .mk-inline-link {
  color: var(--mk-blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-site .mk-inline-link:hover {
  color: var(--mk-blue-700);
}

.mk-site .mk-story__text {
  margin-top: 24px;
  color: var(--mk-ink-2);
  font-size: 1.05rem;
  line-height: 1.75;
}

.mk-site .mk-story__text p + p {
  margin-top: 1em;
}

.mk-site .mk-center .mk-story__text,
.mk-site .mk-story__text.mk-center {
  margin-inline: auto;
}

/* ---- Card grid (about principles, file features) --------------------------- */
.mk-site .mk-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.mk-site .mk-info-grid .mk-card__title {
  margin-top: 22px;
}

@media (min-width: 640px) {
  .mk-site .mk-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mk-site .mk-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Intelligence-related card: signal tint on the icon only (V1.1 rule). */
.mk-site .mk-card--signal .mk-icon-tile,
.mk-site .mk-icon-tile--signal {
  border-color: #bdebf7;
  background: linear-gradient(180deg, #fff 0%, var(--mk-signal-100) 100%);
  color: var(--mk-signal-600);
}

/* ---- About: story + vision card -------------------------------------------- */
.mk-site .mk-story {
  align-items: start;
}

.mk-site .mk-vision {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-gradient-dark);
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(6, 22, 49, 0.55);
}

.mk-site .mk-vision::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 200, 236, 0.22), transparent 70%);
}

.mk-site .mk-eyebrow--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--mk-blue-200);
}

.mk-site .mk-vision__title {
  margin-top: 18px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.mk-site .mk-vision__text {
  margin-top: 14px;
  color: var(--mk-on-dark-soft);
  line-height: 1.7;
}

/* ---- Checklist -------------------------------------------------------------- */
.mk-site .mk-checklist {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mk-ink-2);
  line-height: 1.6;
}

.mk-site .mk-checklist__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -1px;
  border-radius: 9px;
  background: var(--mk-blue-50);
  color: var(--mk-blue-600);
  font-size: 0.8rem;
}

.mk-site .mk-checklist--dark li {
  color: var(--mk-on-dark-soft);
}

.mk-site .mk-checklist--dark .mk-checklist__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mk-blue-200);
}

/* ---- FAQ page ----------------------------------------------------------------- */
.mk-site .mk-faq-page__groups {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.mk-site .mk-faq-group {
  scroll-margin-top: 112px;
}

.mk-site .mk-faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--mk-ink);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mk-site .mk-accordion__list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.mk-site .mk-accordion__a a {
  color: var(--mk-blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- How-to: nine-step journey + principle band + roles + notes --------------- */
@media (min-width: 1100px) {
  .mk-site .mk-journey--9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mk-site .mk-journey--9 .mk-journey__step::before {
  background-size: 900% 100%;
}

.mk-site .mk-journey--9 .mk-journey__step:nth-child(1)::before { background-position: 0% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(2)::before { background-position: 12.5% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(3)::before { background-position: 25% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(4)::before { background-position: 37.5% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(5)::before { background-position: 50% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(6)::before { background-position: 62.5% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(7)::before { background-position: 75% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(8)::before { background-position: 87.5% 0; }
.mk-site .mk-journey--9 .mk-journey__step:nth-child(9)::before { background-position: 100% 0; }

.mk-site .mk-principle-band {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 820px;
  margin: 40px auto 0;
  padding: 22px 26px;
  border: 1px solid #bdebf7;
  border-left: 4px solid var(--mk-signal-600);
  border-radius: var(--mk-radius-md);
  background: linear-gradient(90deg, var(--mk-signal-100) 0%, #fff 100%);
}

.mk-site .mk-principle-band__title {
  color: var(--mk-ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.mk-site .mk-principle-band__text {
  margin-top: 4px;
  color: var(--mk-ink-2);
  line-height: 1.6;
}

.mk-site .mk-roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.mk-site .mk-role__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mk-site .mk-role__head .mk-card__title {
  margin-top: 0;
}

@media (min-width: 900px) {
  .mk-site .mk-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mk-site .mk-notes {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid #f1d5b0;
  border-radius: var(--mk-radius-md);
  background: #fffaf3;
}

.mk-site .mk-notes__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mk-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.mk-site .mk-notes__title .mk-i {
  color: var(--mk-caution-600);
}

.mk-site .mk-notes ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--mk-ink-2);
  line-height: 1.6;
}

/* ---- File management note --------------------------------------------------- */
.mk-site .mk-info-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--mk-muted);
  font-size: 0.95rem;
}

.mk-site .mk-info-note .mk-i {
  flex: none;
  color: var(--mk-blue-600);
}

/* ---- Security page ------------------------------------------------------------ */
/* the capability panel follows the page hero directly: keep them apart */
.mk-site .mk-security--page {
  margin-top: clamp(40px, 6vw, 72px);
}

/* Layered visual (decorative, calm: navy/blue only) */
.mk-site .mk-layers {
  display: grid;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.mk-site .mk-layers__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 300px;
  max-width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--mk-line);
  border-radius: 18px;
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site .mk-layers__item--2 { margin-left: 6%; }
.mk-site .mk-layers__item--3 { margin-left: 12%; }
.mk-site .mk-layers__item--4 { margin-left: 18%; }

.mk-site .mk-layers__label {
  color: var(--mk-ink);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .mk-site .mk-layers__item--2,
  .mk-site .mk-layers__item--3,
  .mk-site .mk-layers__item--4 {
    margin-left: 0;
  }
}

/* ---- Contact form (core .mk-form / .mk-field / .mk-alert) ------------------- */
.mk-site .mk-contact-card,
.mk-site .mk-news-item {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site .mk-contact-card__title {
  margin-bottom: 20px;
  color: var(--mk-ink);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mk-site .mk-contact-card .mk-alert {
  margin-bottom: 18px;
}

.mk-site .mk-contact__submit {
  display: grid;
  margin-top: 6px;
}

.mk-site .mk-contact__submit .mk-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.mk-site .mk-contact__guidance,
.mk-site .mk-captcha__hint {
  color: var(--mk-muted);
  font-size: 0.88rem;
}

/* reCAPTCHA panel (contact.js toggles .is-verified) */
.mk-site .mk-captcha {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--mk-line-strong);
  border-radius: 14px;
  background: #f8fafc;
}

.mk-site .mk-captcha.is-verified {
  border-color: #b7e4c7;
  background: #effaf3;
}

.mk-site .mk-captcha__head {
  color: var(--mk-ink);
  font-weight: 700;
}

.mk-site .mk-captcha__widget {
  min-height: 78px;
  overflow-x: auto;
}

/* Google's checkbox is a fixed 304px iframe: scale it on narrow phones. */
@media (max-width: 419.98px) {
  .mk-site .mk-captcha__widget {
    min-height: 63px;
  }

  .mk-site .mk-captcha__widget > .g-recaptcha {
    transform: scale(0.8);
    transform-origin: 0 0;
  }
}

/* ---- Campaigns / announcements ------------------------------------------------ */
.mk-site .mk-news-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

.mk-site .mk-news-search .mk-input {
  flex: 1 1 240px;
  width: auto;
}

.mk-site .mk-news-search .mk-btn {
  height: 48px;
}

.mk-site .mk-news-card .mk-card__title {
  margin-top: 22px;
  font-size: 1.2rem;
}

.mk-site .mk-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--mk-subtle);
  font-size: 0.88rem;
  font-weight: 600;
}

.mk-site .mk-news-card .mk-news-meta {
  margin-top: auto;
  padding-top: 18px;
}

.mk-site .mk-news-cta {
  margin-top: 14px;
}

.mk-site .mk-news-card--muted {
  background: #f8fafc;
}

.mk-site .mk-news-list {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.mk-site .mk-news-item--highlight {
  border-left: 4px solid var(--mk-blue-600);
}

.mk-site .mk-news-item__title {
  color: var(--mk-ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mk-site .mk-news-item__title a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-site .mk-news-item__title a:hover {
  color: var(--mk-blue-600);
}

.mk-site .mk-news-item__text {
  margin-top: 12px;
  color: var(--mk-ink-2);
  line-height: 1.7;
}
