@charset "UTF-8";

.text-entry-page {
  --te-ink: #363636;
  --te-muted: #686868;
  --te-line: #eadbd4;
  --te-warm: #fff9e8;
  --te-coral: #fff0ed;
  color: var(--te-ink);
}

.service-detail--nabor-teksta .service-detail__picture {
  object-fit: cover;
  border-radius: 0 52px 52px 52px;
}

.text-entry-hero__content .binding-hero__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-entry-definition__answer {
  margin-bottom: 1rem;
  color: var(--te-ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.text-entry-definition p {
  color: var(--te-muted);
  line-height: 1.5;
}

.text-entry-sources,
.text-entry-usecases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.text-entry-sources article,
.text-entry-usecases article {
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--te-line);
  border-radius: 0 30px 30px 30px;
  background: #fff;
}

.text-entry-sources span {
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.text-entry-sources h3,
.text-entry-usecases h3 {
  margin: auto 0 .7rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.text-entry-sources p,
.text-entry-usecases p {
  margin: 0;
  color: var(--te-muted);
  line-height: 1.58;
}

.text-entry-method {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.8rem, 5vw, 4rem);
  border-radius: 0 48px 48px 48px;
  background: var(--te-warm);
}

.text-entry-method > div:first-child > p:not(.print-books-eyebrow) {
  color: var(--te-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.text-entry-method__compare {
  display: grid;
  gap: 1rem;
}

.text-entry-method__compare article {
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  background: #fff;
}

.text-entry-method__compare strong,
.text-entry-method__compare span {
  display: block;
}

.text-entry-method__compare strong {
  margin-bottom: .55rem;
  font-size: 1.15rem;
}

.text-entry-method__compare span {
  color: var(--te-muted);
  line-height: 1.55;
}

.text-entry-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.text-entry-result li {
  min-width: 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--te-line);
  border-radius: 0 24px 24px 24px;
}

.text-entry-result strong,
.text-entry-result span {
  display: block;
}

.text-entry-result strong {
  margin-bottom: .4rem;
  font-size: 1.12rem;
}

.text-entry-result span {
  color: var(--te-muted);
  line-height: 1.5;
}

.text-entry-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.text-entry-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.5rem;
  border: 1px solid var(--te-line);
  border-radius: 0 28px 28px 28px;
}

.text-entry-steps li:last-child {
  grid-column: 1 / -1;
}

.text-entry-steps li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.text-entry-steps h3 {
  margin: .2rem 0 .5rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.text-entry-steps p {
  margin: 0;
  color: var(--te-muted);
  line-height: 1.55;
}

.text-entry-cost {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.8rem, 5vw, 4rem);
  border-radius: 0 48px 48px 48px;
  background: var(--te-coral);
}

.text-entry-cost > div > p:not(.print-books-eyebrow) {
  color: var(--te-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.text-entry-cost ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.text-entry-cost li {
  min-width: 0;
  padding: 1.1rem;
  border-radius: 0 20px 20px 20px;
  background: #fff;
}

.text-entry-cost li span,
.text-entry-cost li strong {
  display: block;
}

.text-entry-cost li span {
  margin-bottom: .35rem;
  color: var(--primary);
  font-size: .86rem;
  font-weight: 800;
}

.text-entry-cost li strong {
  line-height: 1.4;
}

.text-entry-boundary {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.text-entry-boundary > div > p:not(.print-books-eyebrow) {
  color: var(--te-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.text-entry-boundary nav {
  display: grid;
  gap: .75rem;
}

.text-entry-boundary a {
  display: block;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--te-line);
  border-radius: 0 22px 22px 22px;
  color: var(--te-ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.text-entry-boundary a:hover,
.text-entry-boundary a:focus-visible {
  border-color: var(--primary);
  transform: translateX(3px);
}

.text-entry-boundary strong,
.text-entry-boundary span {
  display: block;
}

.text-entry-boundary span {
  margin-top: .3rem;
  color: var(--te-muted);
  line-height: 1.45;
}

.text-entry-usecases article {
  min-height: 210px;
  border-top: 3px solid var(--primary);
  background: var(--te-warm);
}

@media (max-width: 1399.98px) {
  .text-entry-sources,
  .text-entry-usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1399.98px) {
  .text-entry-cost { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .text-entry-hero__content .binding-hero__facts {
    grid-template-columns: 1fr;
  }

  .text-entry-method,
  .text-entry-cost,
  .text-entry-boundary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .service-detail--nabor-teksta .service-detail__picture {
    border-radius: 0 34px 34px 34px;
  }

  .text-entry-sources,
  .text-entry-usecases,
  .text-entry-result,
  .text-entry-steps,
  .text-entry-cost ul {
    grid-template-columns: 1fr;
  }

  .text-entry-sources article,
  .text-entry-usecases article {
    min-height: 190px;
  }

  .text-entry-steps li:last-child {
    grid-column: auto;
  }

  .text-entry-method,
  .text-entry-cost {
    padding: 1.6rem 1.25rem;
    border-radius: 0 30px 30px 30px;
  }
}

@media (max-width: 420px) {
  .text-entry-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .85rem;
    padding: 1.25rem 1rem;
  }

  .text-entry-steps li > span {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 359.98px) {
  .text-entry-steps li { grid-template-columns: minmax(0, 1fr); }
  .text-entry-cost li { padding: 1rem; }
}
