/* LOKTEJ_PUBLISH_YOUR_STORY_CSS_V1 */

.pys-page {
  background: #ffffff;
}

.pys-header {
  background: rgba(255, 255, 255, 0.97);
}

.pys-header-inner {
  gap: 24px;
}

.pys-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.pys-home-link {
  color: #333333;
  font-weight: 700;
  text-decoration: none;
}

.pys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pys-btn:hover {
  transform: translateY(-1px);
}

.pys-btn-primary {
  background: var(--loktej-red);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(177, 18, 38, 0.2);
}

.pys-btn-small {
  min-height: 42px;
  padding: 9px 16px;
  background: var(--loktej-red);
  color: #ffffff;
}

.pys-btn-outline {
  border-color: var(--loktej-red);
  color: var(--loktej-red);
  background: #ffffff;
}

.pys-hero {
  padding: 74px 0 68px;
  background:
    radial-gradient(circle at 85% 15%, rgba(177, 18, 38, 0.09), transparent 34%),
    linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}

.pys-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 52px;
  align-items: center;
}

.pys-kicker,
.pys-small-tag,
.pys-section-heading > span,
.pys-platform-summary-head > span,
.pys-final-card > div:first-child > span {
  display: inline-block;
  color: var(--loktej-red);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pys-hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.18;
}

.pys-hero h1 span {
  color: var(--loktej-red);
}

.pys-hero-lead {
  max-width: 700px;
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: #4c4c4c;
}

.pys-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.pys-trust-row span {
  padding: 9px 13px;
  border: 1px solid #ecd9dc;
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  color: #333333;
}

.pys-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.pys-phone {
  font-size: 16px;
}

.pys-phone strong {
  color: var(--loktej-red);
}

.pys-editorial-note {
  margin-top: 18px;
  color: #666666;
  font-size: 14px;
}

.pys-platform-summary {
  padding: 24px;
  border: 1px solid #eadde0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(45, 24, 28, 0.1);
}

.pys-platform-summary-head {
  margin-bottom: 16px;
}

.pys-platform-summary-head h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.pys-summary-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #eeeeee;
  color: inherit;
  text-decoration: none;
}

.pys-summary-row img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.pys-summary-row-english img {
  max-height: 78px;
}

.pys-summary-row strong,
.pys-summary-row span {
  display: block;
}

.pys-summary-row strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.pys-summary-row span {
  color: #666666;
  font-size: 14px;
}

.pys-section {
  padding: 78px 0;
}

.pys-section-soft {
  background: #faf7f7;
}

.pys-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.pys-section-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.pys-section-heading p {
  margin: 0;
  color: #5c5c5c;
  font-size: 18px;
  line-height: 1.65;
}

.pys-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pys-topic-grid div {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 17px 18px;
  border: 1px solid #ece4e5;
  border-radius: 14px;
  background: #ffffff;
  font-weight: 750;
  line-height: 1.35;
}

.pys-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pys-platform-card {
  padding: 26px;
  border: 1px solid #eadfe1;
  border-radius: 20px;
  background: #ffffff;
}

.pys-platform-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 92px;
  margin-bottom: 18px;
}

.pys-platform-logo-wrap img {
  max-width: 180px;
  max-height: 82px;
  object-fit: contain;
}

.pys-platform-logo-english img {
  max-height: 100px;
}

.pys-platform-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.pys-platform-card p {
  min-height: 74px;
  margin: 0 0 14px;
  color: #595959;
  line-height: 1.55;
}

.pys-platform-card a {
  color: var(--loktej-red);
  font-weight: 800;
  text-decoration: none;
}

.pys-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pys-steps article {
  padding: 24px;
  border: 1px solid #ece4e5;
  border-radius: 18px;
  background: #ffffff;
}

.pys-steps article > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--loktej-red);
  color: #ffffff;
  font-weight: 900;
}

.pys-steps h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.pys-steps p {
  margin: 0;
  color: #5e5e5e;
  line-height: 1.58;
}

.pys-writing-section {
  padding-top: 18px;
}

.pys-writing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid #eedadd;
  border-radius: 22px;
  background: #fff6f7;
}

.pys-writing-card h2 {
  margin: 7px 0 10px;
}

.pys-writing-card p {
  max-width: 820px;
  margin: 0;
  color: #565656;
  line-height: 1.65;
}

.pys-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pys-info-card,
.pys-terms-card,
.pys-print-copy-card {
  border: 1px solid #e9dfe1;
  border-radius: 20px;
  background: #ffffff;
}

.pys-info-card {
  padding: 28px;
}

.pys-info-card h3,
.pys-terms-card h3,
.pys-print-copy-card h3 {
  margin-top: 0;
}

.pys-info-card ul,
.pys-terms-card ul,
.pys-print-copy-card ul {
  padding-left: 21px;
  margin-bottom: 0;
}

.pys-info-card li,
.pys-terms-card li,
.pys-print-copy-card li {
  margin: 9px 0;
  line-height: 1.55;
}

.pys-terms-card {
  margin-top: 22px;
  padding: 28px;
}

.pys-print-copy-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  margin-top: 22px;
  padding: 30px;
  border-color: #e6c5ca;
}

.pys-print-copy-card h3 {
  margin: 8px 0 0;
  font-size: 30px;
}

.pys-print-copy-card p {
  margin-top: 0;
  line-height: 1.6;
}

.pys-final-cta {
  padding: 72px 0;
}

.pys-final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 38px;
  border-radius: 26px;
  background: #201b1c;
  color: #ffffff;
}

.pys-final-card > div:first-child > span {
  color: #ffffff;
}

.pys-final-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
}

.pys-final-card p {
  max-width: 700px;
  margin: 0;
  color: #ded9da;
  line-height: 1.6;
}

.pys-final-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 300px;
}

.pys-final-actions strong {
  text-align: center;
  font-size: 20px;
}

.pys-footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pys-footer-brand img {
  width: 120px;
  max-height: 62px;
  object-fit: contain;
}

.pys-footer-brand p {
  margin: 0;
}


@media (max-width: 980px) {

  .pys-hero-grid,
  .pys-writing-card,
  .pys-print-copy-card,
  .pys-final-card {
    grid-template-columns: 1fr;
  }

  .pys-topic-grid,
  .pys-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pys-platform-grid {
    grid-template-columns: 1fr;
  }

  .pys-platform-card p {
    min-height: auto;
  }

  .pys-final-actions {
    min-width: 0;
    align-items: flex-start;
  }

}


@media (max-width: 640px) {

  .pys-header-inner {
    flex-wrap: nowrap;
  }

  .pys-home-link {
    display: none;
  }

  .pys-btn-small {
    padding: 8px 12px;
  }

  .pys-hero {
    padding: 48px 0 52px;
  }

  .pys-hero-grid {
    gap: 32px;
  }

  .pys-hero h1 {
    font-size: 38px;
    line-height: 1.24;
  }

  .pys-hero-actions,
  .pys-hero-actions .pys-btn {
    width: 100%;
  }

  .pys-phone {
    width: 100%;
    text-align: center;
  }

  .pys-platform-summary {
    padding: 19px;
  }

  .pys-summary-row {
    grid-template-columns: 82px 1fr;
  }

  .pys-section {
    padding: 56px 0;
  }

  .pys-topic-grid,
  .pys-steps,
  .pys-info-grid {
    grid-template-columns: 1fr;
  }

  .pys-topic-grid div {
    min-height: auto;
  }

  .pys-writing-card,
  .pys-info-card,
  .pys-terms-card,
  .pys-print-copy-card,
  .pys-final-card {
    padding: 22px;
  }

  .pys-writing-card .pys-btn {
    width: 100%;
  }

  .pys-final-actions,
  .pys-final-actions .pys-btn {
    width: 100%;
  }

  .pys-footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

}